models.cs 301 KB
Newer Older
1
2
/// MIT License
///
3
/// Copyright (c) 2021 Looker Data Sciences, Inc.
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
///
/// Permission is hereby granted, free of charge, to any person obtaining a copy
/// of this software and associated documentation files (the "Software"), to deal
/// in the Software without restriction, including without limitation the rights
/// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
/// copies of the Software, and to permit persons to whom the Software is
/// furnished to do so, subject to the following conditions:
///
/// The above copyright notice and this permission notice shall be included in all
/// copies or substantial portions of the Software.
///
/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
/// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
/// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
/// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
/// SOFTWARE.
22
///
23

24
/// 255 API models: 188 Spec, 0 Request, 51 Write, 16 Enum
25

John Kaster's avatar
John Kaster committed
26
27
#nullable enable
using System;
28
29
30
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
John Kaster's avatar
John Kaster committed
31
32
33
34
35
using Looker.RTL;
using Url = System.String;
using Password = System.String;
// ReSharper disable InconsistentNaming

36
/// NOTE: Do not edit this file generated by Looker SDK Codegen for API 3.1
John Kaster's avatar
John Kaster committed
37

38
namespace Looker.SDK.API31
John Kaster's avatar
John Kaster committed
39
40
41
{


42
public class AccessToken : SdkModel
John Kaster's avatar
John Kaster committed
43
{
John Kaster's avatar
John Kaster committed
44
  /// <summary>Access Token used for API calls (read-only)</summary>
45
  public string? access_token { get; set; } = null;
John Kaster's avatar
John Kaster committed
46
  /// <summary>Type of Token (read-only)</summary>
47
  public string? token_type { get; set; } = null;
John Kaster's avatar
John Kaster committed
48
  /// <summary>Number of seconds before the token expires (read-only)</summary>
49
  public long? expires_in { get; set; } = null;
John Kaster's avatar
John Kaster committed
50
51
}

52
/// The appropriate horizontal text alignment the values of this field should be displayed in. Valid values are: "left", "right".
53
54
55
56
57
58
59
60
61
public enum Align
{
  [EnumMember(Value = "left")]
  left,
  [EnumMember(Value = "right")]
  right
}

public class ApiSession : SdkModel
John Kaster's avatar
John Kaster committed
62
{
John Kaster's avatar
John Kaster committed
63
  /// <summary>Operations the current user is able to perform on this object (read-only)</summary>
64
  public StringDictionary<bool>? can { get; set; } = null;
John Kaster's avatar
John Kaster committed
65
  /// <summary>The id of active workspace for this session</summary>
66
  public string? workspace_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
67
  /// <summary>The id of the actual user in the case when this session represents one user sudo'ing as another (read-only)</summary>
68
  public long? sudo_user_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
69
70
}

71
public class ApiVersion : SdkModel
John Kaster's avatar
John Kaster committed
72
{
John Kaster's avatar
John Kaster committed
73
  /// <summary>Current Looker release version number (read-only)</summary>
74
  public string? looker_release_version { get; set; } = null;
John Kaster's avatar
John Kaster committed
75
  public ApiVersionElement? current_version { get; set; }
John Kaster's avatar
John Kaster committed
76
  /// <summary>Array of versions supported by this Looker instance (read-only)</summary>
77
  public ApiVersionElement[]? supported_versions { get; set; } = null;
John Kaster's avatar
John Kaster committed
78
79
  /// <summary>API server base url (read-only)</summary>
  public string? api_server_url { get; set; } = null;
John Kaster's avatar
John Kaster committed
80
81
}

82
public class ApiVersionElement : SdkModel
John Kaster's avatar
John Kaster committed
83
{
John Kaster's avatar
John Kaster committed
84
  /// <summary>Version number as it appears in '/api/xxx/' urls (read-only)</summary>
85
  public string? version { get; set; } = null;
John Kaster's avatar
John Kaster committed
86
  /// <summary>Full version number including minor version (read-only)</summary>
87
  public string? full_version { get; set; } = null;
John Kaster's avatar
John Kaster committed
88
  /// <summary>Status of this version (read-only)</summary>
89
  public string? status { get; set; } = null;
John Kaster's avatar
John Kaster committed
90
  /// <summary>Url for swagger.json for this version (read-only)</summary>
91
  public Url? swagger_url { get; set; } = null;
John Kaster's avatar
John Kaster committed
92
93
}

94
public class BackupConfiguration : SdkModel
John Kaster's avatar
John Kaster committed
95
{
John Kaster's avatar
John Kaster committed
96
  /// <summary>Operations the current user is able to perform on this object (read-only)</summary>
97
  public StringDictionary<bool>? can { get; set; } = null;
John Kaster's avatar
John Kaster committed
98
  /// <summary>Type of backup: looker-s3 or custom-s3</summary>
99
  public string? type { get; set; } = null;
John Kaster's avatar
John Kaster committed
100
  /// <summary>Name of bucket for custom-s3 backups</summary>
101
  public string? custom_s3_bucket { get; set; } = null;
John Kaster's avatar
John Kaster committed
102
  /// <summary>Name of region where the bucket is located</summary>
103
  public string? custom_s3_bucket_region { get; set; } = null;
John Kaster's avatar
John Kaster committed
104
  /// <summary>(Write-Only) AWS S3 key used for custom-s3 backups</summary>
105
  public string? custom_s3_key { get; set; } = null;
John Kaster's avatar
John Kaster committed
106
  /// <summary>(Write-Only) AWS S3 secret used for custom-s3 backups</summary>
107
  public string? custom_s3_secret { get; set; } = null;
John Kaster's avatar
John Kaster committed
108
  /// <summary>Link to get this item (read-only)</summary>
109
  public Url? url { get; set; } = null;
John Kaster's avatar
John Kaster committed
110
111
}

112
113
114
115
116
117
118
119
120
121
122
123
124
125
/// Field category Valid values are: "parameter", "filter", "measure", "dimension".
public enum Category
{
  [EnumMember(Value = "parameter")]
  parameter,
  [EnumMember(Value = "filter")]
  filter,
  [EnumMember(Value = "measure")]
  measure,
  [EnumMember(Value = "dimension")]
  dimension
}

public class ColorCollection : SdkModel
John Kaster's avatar
John Kaster committed
126
{
John Kaster's avatar
John Kaster committed
127
  /// <summary>Unique Id (read-only)</summary>
128
  public string? id { get; set; } = null;
John Kaster's avatar
John Kaster committed
129
  /// <summary>Label of color collection</summary>
130
  public string? label { get; set; } = null;
John Kaster's avatar
John Kaster committed
131
  /// <summary>Array of categorical palette definitions</summary>
132
  public DiscretePalette[]? categoricalPalettes { get; set; } = null;
John Kaster's avatar
John Kaster committed
133
  /// <summary>Array of discrete palette definitions</summary>
134
  public ContinuousPalette[]? sequentialPalettes { get; set; } = null;
John Kaster's avatar
John Kaster committed
135
  /// <summary>Array of diverging palette definitions</summary>
136
  public ContinuousPalette[]? divergingPalettes { get; set; } = null;
John Kaster's avatar
John Kaster committed
137
138
}

139
public class ColorStop : SdkModel
John Kaster's avatar
John Kaster committed
140
{
John Kaster's avatar
John Kaster committed
141
  /// <summary>CSS color string</summary>
142
  public string? color { get; set; } = null;
John Kaster's avatar
John Kaster committed
143
  /// <summary>Offset in continuous palette (0 to 100)</summary>
144
  public long? offset { get; set; } = null;
John Kaster's avatar
John Kaster committed
145
146
}

147
public class ContentFavorite : SdkModel
John Kaster's avatar
John Kaster committed
148
{
John Kaster's avatar
John Kaster committed
149
  /// <summary>Unique Id (read-only)</summary>
150
  public long? id { get; set; } = null;
John Kaster's avatar
John Kaster committed
151
  /// <summary>User Id which owns this ContentFavorite</summary>
152
  public long? user_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
153
  /// <summary>Content Metadata Id associated with this ContentFavorite</summary>
154
  public long? content_metadata_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
155
  /// <summary>Id of a look (read-only)</summary>
156
  public long? look_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
157
  /// <summary>Id of a dashboard (read-only)</summary>
158
  public long? dashboard_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
159
160
161
162
  public LookBasic? look { get; set; }
  public DashboardBase? dashboard { get; set; }
}

163
public class ContentMeta : SdkModel
John Kaster's avatar
John Kaster committed
164
{
John Kaster's avatar
John Kaster committed
165
  /// <summary>Operations the current user is able to perform on this object (read-only)</summary>
166
  public StringDictionary<bool>? can { get; set; } = null;
John Kaster's avatar
John Kaster committed
167
  /// <summary>Unique Id (read-only)</summary>
168
  public long? id { get; set; } = null;
John Kaster's avatar
John Kaster committed
169
  /// <summary>Name or title of underlying content (read-only)</summary>
170
  public string? name { get; set; } = null;
John Kaster's avatar
John Kaster committed
171
  /// <summary>Id of Parent Content (read-only)</summary>
172
  public long? parent_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
173
  /// <summary>Id of associated dashboard when content_type is "dashboard" (read-only)</summary>
174
  public string? dashboard_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
175
  /// <summary>Id of associated look when content_type is "look" (read-only)</summary>
176
  public long? look_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
177
  /// <summary>Id of associated folder when content_type is "space" (read-only)</summary>
178
  public string? folder_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
179
  /// <summary>Content Type ("dashboard", "look", or "space") (read-only)</summary>
180
  public string? content_type { get; set; } = null;
John Kaster's avatar
John Kaster committed
181
  /// <summary>Whether content inherits its access levels from parent</summary>
182
  public bool? inherits { get; set; } = null;
John Kaster's avatar
John Kaster committed
183
  /// <summary>Id of Inherited Content (read-only)</summary>
184
  public long? inheriting_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
185
  /// <summary>Content Slug (read-only)</summary>
186
  public string? slug { get; set; } = null;
John Kaster's avatar
John Kaster committed
187
  /// <summary>Id of associated space when content_type is "space" (read-only)</summary>
188
  public string? space_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
189
190
}

191
/// WARNING: no writeable properties found for POST, PUT, or PATCH
192
public class ContentMetaGroupUser : SdkModel
John Kaster's avatar
John Kaster committed
193
{
John Kaster's avatar
John Kaster committed
194
  /// <summary>Operations the current user is able to perform on this object (read-only)</summary>
195
  public StringDictionary<bool>? can { get; set; } = null;
John Kaster's avatar
John Kaster committed
196
  /// <summary>Unique Id (read-only)</summary>
197
  public string? id { get; set; } = null;
John Kaster's avatar
John Kaster committed
198
  /// <summary>Id of associated Content Metadata (read-only)</summary>
199
  public string? content_metadata_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
200
  /// <summary>Type of permission: "view" or "edit" Valid values are: "view", "edit". (read-only)</summary>
201
202
  [JsonConverter(typeof(StringEnumConverter))]
  public PermissionType? permission_type { get; set; }
John Kaster's avatar
John Kaster committed
203
  /// <summary>ID of associated group (read-only)</summary>
204
  public long? group_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
205
  /// <summary>ID of associated user (read-only)</summary>
206
  public long? user_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
207
208
}

209
public class ContentValidation : SdkModel
John Kaster's avatar
John Kaster committed
210
{
John Kaster's avatar
John Kaster committed
211
  /// <summary>A list of content errors (read-only)</summary>
212
  public ContentValidatorError[]? content_with_errors { get; set; } = null;
John Kaster's avatar
John Kaster committed
213
  /// <summary>Duration of content validation in seconds (read-only)</summary>
214
  public float? computation_time { get; set; } = null;
John Kaster's avatar
John Kaster committed
215
  /// <summary>The number of looks validated (read-only)</summary>
216
  public long? total_looks_validated { get; set; } = null;
John Kaster's avatar
John Kaster committed
217
  /// <summary>The number of dashboard elements validated (read-only)</summary>
218
  public long? total_dashboard_elements_validated { get; set; } = null;
John Kaster's avatar
John Kaster committed
219
  /// <summary>The number of dashboard filters validated (read-only)</summary>
220
  public long? total_dashboard_filters_validated { get; set; } = null;
John Kaster's avatar
John Kaster committed
221
  /// <summary>The number of scheduled plans validated (read-only)</summary>
222
  public long? total_scheduled_plans_validated { get; set; } = null;
223
224
  /// <summary>The number of alerts validated (read-only)</summary>
  public long? total_alerts_validated { get; set; } = null;
John Kaster's avatar
John Kaster committed
225
  /// <summary>The number of explores used across all content validated (read-only)</summary>
226
  public long? total_explores_validated { get; set; } = null;
John Kaster's avatar
John Kaster committed
227
228
}

229
230
231
232
233
234
235
236
237
238
239
240
public class ContentValidationAlert : SdkModel
{
  /// <summary>ID of the alert</summary>
  public long? id { get; set; } = null;
  /// <summary>ID of the LookML dashboard associated with the alert</summary>
  public string? lookml_dashboard_id { get; set; } = null;
  /// <summary>ID of the LookML dashboard element associated with the alert</summary>
  public string? lookml_link_id { get; set; } = null;
  /// <summary>An optional, user-defined title for the alert</summary>
  public string? custom_title { get; set; } = null;
}

241
public class ContentValidationDashboard : SdkModel
John Kaster's avatar
John Kaster committed
242
{
John Kaster's avatar
John Kaster committed
243
  /// <summary>Description</summary>
244
  public string? description { get; set; } = null;
John Kaster's avatar
John Kaster committed
245
  /// <summary>Unique Id (read-only)</summary>
246
  public string? id { get; set; } = null;
John Kaster's avatar
John Kaster committed
247
  public ContentValidationFolder? folder { get; set; }
John Kaster's avatar
John Kaster committed
248
  /// <summary>Dashboard Title</summary>
249
  public string? title { get; set; } = null;
John Kaster's avatar
John Kaster committed
250
251
252
  public ContentValidationSpace? space { get; set; }
}

253
public class ContentValidationDashboardElement : SdkModel
John Kaster's avatar
John Kaster committed
254
{
John Kaster's avatar
John Kaster committed
255
  /// <summary>Text tile body text</summary>
256
  public string? body_text { get; set; } = null;
John Kaster's avatar
John Kaster committed
257
  /// <summary>Id of Dashboard</summary>
258
  public string? dashboard_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
259
  /// <summary>Unique Id (read-only)</summary>
260
  public string? id { get; set; } = null;
John Kaster's avatar
John Kaster committed
261
  /// <summary>Id Of Look</summary>
262
  public string? look_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
263
  /// <summary>Note Display</summary>
264
  public string? note_display { get; set; } = null;
John Kaster's avatar
John Kaster committed
265
  /// <summary>Note State</summary>
266
  public string? note_state { get; set; } = null;
John Kaster's avatar
John Kaster committed
267
  /// <summary>Note Text</summary>
268
  public string? note_text { get; set; } = null;
John Kaster's avatar
John Kaster committed
269
  /// <summary>Note Text as Html (read-only)</summary>
270
  public string? note_text_as_html { get; set; } = null;
John Kaster's avatar
John Kaster committed
271
  /// <summary>Id Of Query</summary>
272
  public long? query_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
273
  /// <summary>Text tile subtitle text</summary>
274
  public string? subtitle_text { get; set; } = null;
John Kaster's avatar
John Kaster committed
275
  /// <summary>Title of dashboard element</summary>
276
  public string? title { get; set; } = null;
John Kaster's avatar
John Kaster committed
277
  /// <summary>Whether title is hidden</summary>
278
  public bool? title_hidden { get; set; } = null;
John Kaster's avatar
John Kaster committed
279
  /// <summary>Text tile title</summary>
280
  public string? title_text { get; set; } = null;
John Kaster's avatar
John Kaster committed
281
  /// <summary>Type</summary>
282
  public string? type { get; set; } = null;
John Kaster's avatar
John Kaster committed
283
284
}

285
public class ContentValidationDashboardFilter : SdkModel
John Kaster's avatar
John Kaster committed
286
{
John Kaster's avatar
John Kaster committed
287
  /// <summary>Unique Id (read-only)</summary>
288
  public string? id { get; set; } = null;
John Kaster's avatar
John Kaster committed
289
  /// <summary>Id of Dashboard (read-only)</summary>
290
  public string? dashboard_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
291
  /// <summary>Name of filter</summary>
292
  public string? name { get; set; } = null;
John Kaster's avatar
John Kaster committed
293
  /// <summary>Title of filter</summary>
294
  public string? title { get; set; } = null;
John Kaster's avatar
John Kaster committed
295
  /// <summary>Type of filter: one of date, number, string, or field</summary>
296
  public string? type { get; set; } = null;
John Kaster's avatar
John Kaster committed
297
  /// <summary>Default value of filter</summary>
298
  public string? default_value { get; set; } = null;
John Kaster's avatar
John Kaster committed
299
  /// <summary>Model of filter (required if type = field)</summary>
300
  public string? model { get; set; } = null;
John Kaster's avatar
John Kaster committed
301
  /// <summary>Explore of filter (required if type = field)</summary>
302
  public string? explore { get; set; } = null;
John Kaster's avatar
John Kaster committed
303
  /// <summary>Dimension of filter (required if type = field)</summary>
304
  public string? dimension { get; set; } = null;
John Kaster's avatar
John Kaster committed
305
306
}

307
public class ContentValidationError : SdkModel
John Kaster's avatar
John Kaster committed
308
{
John Kaster's avatar
John Kaster committed
309
  /// <summary>Error message (read-only)</summary>
310
  public string? message { get; set; } = null;
John Kaster's avatar
John Kaster committed
311
  /// <summary>Name of the field involved in the error (read-only)</summary>
312
  public string? field_name { get; set; } = null;
John Kaster's avatar
John Kaster committed
313
  /// <summary>Name of the model involved in the error (read-only)</summary>
314
  public string? model_name { get; set; } = null;
John Kaster's avatar
John Kaster committed
315
  /// <summary>Name of the explore involved in the error (read-only)</summary>
316
  public string? explore_name { get; set; } = null;
John Kaster's avatar
John Kaster committed
317
  /// <summary>Whether this validation error is removable (read-only)</summary>
318
  public bool? removable { get; set; } = null;
John Kaster's avatar
John Kaster committed
319
320
}

321
public class ContentValidationFolder : SdkModel
John Kaster's avatar
John Kaster committed
322
{
John Kaster's avatar
John Kaster committed
323
  /// <summary>Unique Name</summary>
John Kaster's avatar
John Kaster committed
324
  public string name { get; set; } = "";
John Kaster's avatar
John Kaster committed
325
  /// <summary>Unique Id (read-only)</summary>
326
  public string? id { get; set; } = null;
John Kaster's avatar
John Kaster committed
327
328
}

329
public class ContentValidationLook : SdkModel
John Kaster's avatar
John Kaster committed
330
{
John Kaster's avatar
John Kaster committed
331
  /// <summary>Unique Id (read-only)</summary>
332
  public long? id { get; set; } = null;
John Kaster's avatar
John Kaster committed
333
  /// <summary>Look Title</summary>
334
  public string? title { get; set; } = null;
335
336
  /// <summary>Short Url (read-only)</summary>
  public string? short_url { get; set; } = null;
John Kaster's avatar
John Kaster committed
337
338
339
340
  public ContentValidationFolder? folder { get; set; }
  public ContentValidationSpace? space { get; set; }
}

341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
public class ContentValidationLookMLDashboard : SdkModel
{
  /// <summary>ID of the LookML Dashboard (read-only)</summary>
  public string? id { get; set; } = null;
  /// <summary>Title of the LookML Dashboard (read-only)</summary>
  public string? title { get; set; } = null;
  /// <summary>ID of Space (read-only)</summary>
  public string? space_id { get; set; } = null;
  public SpaceBase? space { get; set; }
}

public class ContentValidationLookMLDashboardElement : SdkModel
{
  /// <summary>Link ID of the LookML Dashboard Element (read-only)</summary>
  public string? lookml_link_id { get; set; } = null;
  /// <summary>Title of the LookML Dashboard Element (read-only)</summary>
  public string? title { get; set; } = null;
}

360
public class ContentValidationScheduledPlan : SdkModel
John Kaster's avatar
John Kaster committed
361
{
John Kaster's avatar
John Kaster committed
362
  /// <summary>Name of this scheduled plan</summary>
363
  public string? name { get; set; } = null;
John Kaster's avatar
John Kaster committed
364
  /// <summary>Id of a look</summary>
365
  public long? look_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
366
  /// <summary>Unique Id (read-only)</summary>
367
  public long? id { get; set; } = null;
John Kaster's avatar
John Kaster committed
368
369
}

370
public class ContentValidationSpace : SdkModel
John Kaster's avatar
John Kaster committed
371
{
John Kaster's avatar
John Kaster committed
372
  /// <summary>Unique Name</summary>
John Kaster's avatar
John Kaster committed
373
  public string name { get; set; } = "";
John Kaster's avatar
John Kaster committed
374
  /// <summary>Unique Id (read-only)</summary>
375
  public string? id { get; set; } = null;
John Kaster's avatar
John Kaster committed
376
377
}

378
public class ContentValidatorError : SdkModel
John Kaster's avatar
John Kaster committed
379
380
381
382
383
384
{
  public ContentValidationLook? look { get; set; }
  public ContentValidationDashboard? dashboard { get; set; }
  public ContentValidationDashboardElement? dashboard_element { get; set; }
  public ContentValidationDashboardFilter? dashboard_filter { get; set; }
  public ContentValidationScheduledPlan? scheduled_plan { get; set; }
385
386
387
  public ContentValidationAlert? alert { get; set; }
  public ContentValidationLookMLDashboard? lookml_dashboard { get; set; }
  public ContentValidationLookMLDashboardElement? lookml_dashboard_element { get; set; }
John Kaster's avatar
John Kaster committed
388
  /// <summary>A list of errors found for this piece of content (read-only)</summary>
389
  public ContentValidationError[]? errors { get; set; } = null;
John Kaster's avatar
John Kaster committed
390
  /// <summary>An id unique to this piece of content for this validation run (read-only)</summary>
391
  public string? id { get; set; } = null;
John Kaster's avatar
John Kaster committed
392
393
}

394
public class ContentView : SdkModel
John Kaster's avatar
John Kaster committed
395
{
John Kaster's avatar
John Kaster committed
396
  /// <summary>Operations the current user is able to perform on this object (read-only)</summary>
397
  public StringDictionary<bool>? can { get; set; } = null;
John Kaster's avatar
John Kaster committed
398
  /// <summary>Unique Id (read-only)</summary>
399
  public long? id { get; set; } = null;
John Kaster's avatar
John Kaster committed
400
  /// <summary>Id of viewed Look (read-only)</summary>
401
  public long? look_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
402
  /// <summary>Id of the viewed Dashboard (read-only)</summary>
403
  public long? dashboard_id { get; set; } = null;
404
405
  /// <summary>Name or title of underlying content (read-only)</summary>
  public string? title { get; set; } = null;
John Kaster's avatar
John Kaster committed
406
  /// <summary>Content metadata id of the Look or Dashboard (read-only)</summary>
407
  public long? content_metadata_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
408
  /// <summary>Id of user content was viewed by (read-only)</summary>
409
  public long? user_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
410
  /// <summary>Id of group content was viewed by (read-only)</summary>
411
  public long? group_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
412
  /// <summary>Number of times piece of content was viewed (read-only)</summary>
413
  public long? view_count { get; set; } = null;
John Kaster's avatar
John Kaster committed
414
  /// <summary>Number of times piece of content was favorited (read-only)</summary>
415
  public long? favorite_count { get; set; } = null;
John Kaster's avatar
John Kaster committed
416
  /// <summary>Date the piece of content was last viewed (read-only)</summary>
417
  public string? last_viewed_at { get; set; } = null;
John Kaster's avatar
John Kaster committed
418
  /// <summary>Week start date for the view and favorite count during that given week (read-only)</summary>
419
  public string? start_of_week_date { get; set; } = null;
John Kaster's avatar
John Kaster committed
420
421
}

422
public class ContinuousPalette : SdkModel
John Kaster's avatar
John Kaster committed
423
{
John Kaster's avatar
John Kaster committed
424
  /// <summary>Unique identity string (read-only)</summary>
425
  public string? id { get; set; } = null;
John Kaster's avatar
John Kaster committed
426
  /// <summary>Label for palette</summary>
427
  public string? label { get; set; } = null;
John Kaster's avatar
John Kaster committed
428
  /// <summary>Type of palette</summary>
429
  public string? type { get; set; } = null;
John Kaster's avatar
John Kaster committed
430
  /// <summary>Array of ColorStops in the palette</summary>
431
  public ColorStop[]? stops { get; set; } = null;
John Kaster's avatar
John Kaster committed
432
433
}

434
public class CreateDashboardFilter : SdkModel
John Kaster's avatar
John Kaster committed
435
{
John Kaster's avatar
John Kaster committed
436
  /// <summary>Unique Id (read-only)</summary>
437
  public string? id { get; set; } = null;
John Kaster's avatar
John Kaster committed
438
  /// <summary>Id of Dashboard</summary>
John Kaster's avatar
John Kaster committed
439
  public string dashboard_id { get; set; } = "";
John Kaster's avatar
John Kaster committed
440
  /// <summary>Name of filter</summary>
John Kaster's avatar
John Kaster committed
441
  public string name { get; set; } = "";
John Kaster's avatar
John Kaster committed
442
  /// <summary>Title of filter</summary>
John Kaster's avatar
John Kaster committed
443
  public string title { get; set; } = "";
John Kaster's avatar
John Kaster committed
444
  /// <summary>Type of filter: one of date, number, string, or field</summary>
John Kaster's avatar
John Kaster committed
445
  public string type { get; set; } = "";
John Kaster's avatar
John Kaster committed
446
  /// <summary>Default value of filter</summary>
447
  public string? default_value { get; set; } = null;
John Kaster's avatar
John Kaster committed
448
  /// <summary>Model of filter (required if type = field)</summary>
449
  public string? model { get; set; } = null;
John Kaster's avatar
John Kaster committed
450
  /// <summary>Explore of filter (required if type = field)</summary>
451
  public string? explore { get; set; } = null;
John Kaster's avatar
John Kaster committed
452
  /// <summary>Dimension of filter (required if type = field)</summary>
453
  public string? dimension { get; set; } = null;
John Kaster's avatar
John Kaster committed
454
  /// <summary>Field information (read-only)</summary>
455
  public StringDictionary<object>? field { get; set; } = null;
John Kaster's avatar
John Kaster committed
456
  /// <summary>Display order of this filter relative to other filters</summary>
457
  public long? row { get; set; } = null;
John Kaster's avatar
John Kaster committed
458
  /// <summary>Array of listeners for faceted filters</summary>
459
  public string[]? listens_to_filters { get; set; } = null;
John Kaster's avatar
John Kaster committed
460
  /// <summary>Whether the filter allows multiple filter values (deprecated in the latest version of dashboards)</summary>
461
  public bool? allow_multiple_values { get; set; } = null;
John Kaster's avatar
John Kaster committed
462
  /// <summary>Whether the filter requires a value to run the dashboard</summary>
463
  public bool? required { get; set; } = null;
John Kaster's avatar
John Kaster committed
464
  /// <summary>The visual configuration for this filter. Used to set up how the UI for this filter should appear.</summary>
465
  public StringDictionary<object>? ui_config { get; set; } = null;
John Kaster's avatar
John Kaster committed
466
467
}

468
public class CreateDashboardRenderTask : SdkModel
John Kaster's avatar
John Kaster committed
469
{
John Kaster's avatar
John Kaster committed
470
  /// <summary>Filter values to apply to the dashboard queries, in URL query format</summary>
471
  public string? dashboard_filters { get; set; } = null;
John Kaster's avatar
John Kaster committed
472
  /// <summary>Dashboard layout style: single_column or tiled</summary>
473
  public string? dashboard_style { get; set; } = null;
John Kaster's avatar
John Kaster committed
474
475
}

476
public class CreateFolder : SdkModel
John Kaster's avatar
John Kaster committed
477
{
John Kaster's avatar
John Kaster committed
478
  /// <summary>Unique Name</summary>
John Kaster's avatar
John Kaster committed
479
  public string name { get; set; } = "";
John Kaster's avatar
John Kaster committed
480
  /// <summary>Id of Parent. If the parent id is null, this is a root-level entry</summary>
John Kaster's avatar
John Kaster committed
481
482
483
  public string parent_id { get; set; } = "";
}

484
public class CreateQueryTask : SdkModel
John Kaster's avatar
John Kaster committed
485
{
John Kaster's avatar
John Kaster committed
486
  /// <summary>Operations the current user is able to perform on this object (read-only)</summary>
487
  public StringDictionary<bool>? can { get; set; } = null;
John Kaster's avatar
John Kaster committed
488
  /// <summary>Id of query to run</summary>
John Kaster's avatar
John Kaster committed
489
  public long query_id { get; set; }
John Kaster's avatar
John Kaster committed
490
  /// <summary>Desired async query result format. Valid values are: "inline_json", "json", "json_detail", "json_fe", "csv", "html", "md", "txt", "xlsx", "gsxml".</summary>
491
492
  [JsonConverter(typeof(StringEnumConverter))]
  public ResultFormat result_format { get; set; }
John Kaster's avatar
John Kaster committed
493
  /// <summary>Source of query task</summary>
494
  public string? source { get; set; } = null;
John Kaster's avatar
John Kaster committed
495
  /// <summary>Create the task but defer execution</summary>
496
  public bool? deferred { get; set; } = null;
John Kaster's avatar
John Kaster committed
497
  /// <summary>Id of look associated with query.</summary>
498
  public long? look_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
499
  /// <summary>Id of dashboard associated with query.</summary>
500
  public string? dashboard_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
501
502
}

503
public class CreateSpace : SdkModel
John Kaster's avatar
John Kaster committed
504
{
John Kaster's avatar
John Kaster committed
505
  /// <summary>Unique Name</summary>
John Kaster's avatar
John Kaster committed
506
  public string name { get; set; } = "";
John Kaster's avatar
John Kaster committed
507
  /// <summary>Id of Parent. If the parent id is null, this is a root-level entry</summary>
John Kaster's avatar
John Kaster committed
508
509
510
  public string parent_id { get; set; } = "";
}

511
/// WARNING: no writeable properties found for POST, PUT, or PATCH
512
public class CredentialsApi3 : SdkModel
John Kaster's avatar
John Kaster committed
513
{
John Kaster's avatar
John Kaster committed
514
  /// <summary>Operations the current user is able to perform on this object (read-only)</summary>
515
  public StringDictionary<bool>? can { get; set; } = null;
John Kaster's avatar
John Kaster committed
516
  /// <summary>Unique Id (read-only)</summary>
517
  public long? id { get; set; } = null;
John Kaster's avatar
John Kaster committed
518
  /// <summary>API key client_id (read-only)</summary>
519
  public string? client_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
520
  /// <summary>Timestamp for the creation of this credential (read-only)</summary>
521
  public string? created_at { get; set; } = null;
John Kaster's avatar
John Kaster committed
522
  /// <summary>Has this credential been disabled? (read-only)</summary>
523
  public bool? is_disabled { get; set; } = null;
John Kaster's avatar
John Kaster committed
524
  /// <summary>Short name for the type of this kind of credential (read-only)</summary>
525
  public string? type { get; set; } = null;
John Kaster's avatar
John Kaster committed
526
  /// <summary>Link to get this item (read-only)</summary>
527
  public Url? url { get; set; } = null;
John Kaster's avatar
John Kaster committed
528
529
}

530
public class CredentialsEmail : SdkModel
John Kaster's avatar
John Kaster committed
531
{
John Kaster's avatar
John Kaster committed
532
  /// <summary>Operations the current user is able to perform on this object (read-only)</summary>
533
  public StringDictionary<bool>? can { get; set; } = null;
John Kaster's avatar
John Kaster committed
534
  /// <summary>Timestamp for the creation of this credential (read-only)</summary>
535
  public string? created_at { get; set; } = null;
John Kaster's avatar
John Kaster committed
536
  /// <summary>EMail address used for user login</summary>
537
  public string? email { get; set; } = null;
John Kaster's avatar
John Kaster committed
538
  /// <summary>Force the user to change their password upon their next login</summary>
539
  public bool? forced_password_reset_at_next_login { get; set; } = null;
John Kaster's avatar
John Kaster committed
540
  /// <summary>Has this credential been disabled? (read-only)</summary>
541
  public bool? is_disabled { get; set; } = null;
John Kaster's avatar
John Kaster committed
542
  /// <summary>Timestamp for most recent login using credential (read-only)</summary>
543
  public string? logged_in_at { get; set; } = null;
John Kaster's avatar
John Kaster committed
544
  /// <summary>Url with one-time use secret token that the user can use to reset password (read-only)</summary>
545
  public string? password_reset_url { get; set; } = null;
John Kaster's avatar
John Kaster committed
546
  /// <summary>Short name for the type of this kind of credential (read-only)</summary>
547
  public string? type { get; set; } = null;
John Kaster's avatar
John Kaster committed
548
  /// <summary>Link to get this item (read-only)</summary>
549
  public Url? url { get; set; } = null;
John Kaster's avatar
John Kaster committed
550
  /// <summary>Link to get this user (read-only)</summary>
551
  public Url? user_url { get; set; } = null;
John Kaster's avatar
John Kaster committed
552
553
}

554
public class CredentialsEmbed : SdkModel
John Kaster's avatar
John Kaster committed
555
{
John Kaster's avatar
John Kaster committed
556
  /// <summary>Operations the current user is able to perform on this object (read-only)</summary>
557
  public StringDictionary<bool>? can { get; set; } = null;
John Kaster's avatar
John Kaster committed
558
  /// <summary>Timestamp for the creation of this credential (read-only)</summary>
559
  public string? created_at { get; set; } = null;
John Kaster's avatar
John Kaster committed
560
  /// <summary>Embedder's id for a group to which this user was added during the most recent login (read-only)</summary>
561
  public string? external_group_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
562
  /// <summary>Embedder's unique id for the user (read-only)</summary>
563
  public string? external_user_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
564
  /// <summary>Unique Id (read-only)</summary>
565
  public long? id { get; set; } = null;
John Kaster's avatar
John Kaster committed
566
  /// <summary>Has this credential been disabled? (read-only)</summary>
567
  public bool? is_disabled { get; set; } = null;
John Kaster's avatar
John Kaster committed
568
  /// <summary>Timestamp for most recent login using credential (read-only)</summary>
569
  public string? logged_in_at { get; set; } = null;
John Kaster's avatar
John Kaster committed
570
  /// <summary>Short name for the type of this kind of credential (read-only)</summary>
571
  public string? type { get; set; } = null;
John Kaster's avatar
John Kaster committed
572
  /// <summary>Link to get this item (read-only)</summary>
573
  public Url? url { get; set; } = null;
John Kaster's avatar
John Kaster committed
574
575
}

576
public class CredentialsGoogle : SdkModel
John Kaster's avatar
John Kaster committed
577
{
John Kaster's avatar
John Kaster committed
578
  /// <summary>Operations the current user is able to perform on this object (read-only)</summary>
579
  public StringDictionary<bool>? can { get; set; } = null;
John Kaster's avatar
John Kaster committed
580
  /// <summary>Timestamp for the creation of this credential (read-only)</summary>
581
  public string? created_at { get; set; } = null;
John Kaster's avatar
John Kaster committed
582
  /// <summary>Google domain (read-only)</summary>
583
  public string? domain { get; set; } = null;
John Kaster's avatar
John Kaster committed
584
  /// <summary>EMail address (read-only)</summary>
585
  public string? email { get; set; } = null;
John Kaster's avatar
John Kaster committed
586
  /// <summary>Google's Unique ID for this user (read-only)</summary>
587
  public string? google_user_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
588
  /// <summary>Has this credential been disabled? (read-only)</summary>
589
  public bool? is_disabled { get; set; } = null;
John Kaster's avatar
John Kaster committed
590
  /// <summary>Timestamp for most recent login using credential (read-only)</summary>
591
  public string? logged_in_at { get; set; } = null;
John Kaster's avatar
John Kaster committed
592
  /// <summary>Short name for the type of this kind of credential (read-only)</summary>
593
  public string? type { get; set; } = null;
John Kaster's avatar
John Kaster committed
594
  /// <summary>Link to get this item (read-only)</summary>
595
  public Url? url { get; set; } = null;
John Kaster's avatar
John Kaster committed
596
597
}

598
public class CredentialsLDAP : SdkModel
John Kaster's avatar
John Kaster committed
599
{
John Kaster's avatar
John Kaster committed
600
  /// <summary>Operations the current user is able to perform on this object (read-only)</summary>
601
  public StringDictionary<bool>? can { get; set; } = null;
John Kaster's avatar
John Kaster committed
602
  /// <summary>Timestamp for the creation of this credential (read-only)</summary>
603
  public string? created_at { get; set; } = null;
John Kaster's avatar
John Kaster committed
604
  /// <summary>EMail address (read-only)</summary>
605
  public string? email { get; set; } = null;
John Kaster's avatar
John Kaster committed
606
  /// <summary>Has this credential been disabled? (read-only)</summary>
607
  public bool? is_disabled { get; set; } = null;
John Kaster's avatar
John Kaster committed
608
  /// <summary>LDAP Distinguished name for this user (as-of the last login) (read-only)</summary>
609
  public string? ldap_dn { get; set; } = null;
John Kaster's avatar
John Kaster committed
610
  /// <summary>LDAP Unique ID for this user (read-only)</summary>
611
  public string? ldap_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
612
  /// <summary>Timestamp for most recent login using credential (read-only)</summary>
613
  public string? logged_in_at { get; set; } = null;
John Kaster's avatar
John Kaster committed
614
  /// <summary>Short name for the type of this kind of credential (read-only)</summary>
615
  public string? type { get; set; } = null;
John Kaster's avatar
John Kaster committed
616
  /// <summary>Link to get this item (read-only)</summary>
617
  public Url? url { get; set; } = null;
John Kaster's avatar
John Kaster committed
618
619
}

620
public class CredentialsLookerOpenid : SdkModel
John Kaster's avatar
John Kaster committed
621
{
John Kaster's avatar
John Kaster committed
622
  /// <summary>Operations the current user is able to perform on this object (read-only)</summary>
623
  public StringDictionary<bool>? can { get; set; } = null;
John Kaster's avatar
John Kaster committed
624
  /// <summary>Timestamp for the creation of this credential (read-only)</summary>
625
  public string? created_at { get; set; } = null;
John Kaster's avatar
John Kaster committed
626
  /// <summary>EMail address used for user login (read-only)</summary>
627
  public string? email { get; set; } = null;
John Kaster's avatar
John Kaster committed
628
  /// <summary>Has this credential been disabled? (read-only)</summary>
629
  public bool? is_disabled { get; set; } = null;
John Kaster's avatar
John Kaster committed
630
  /// <summary>Timestamp for most recent login using credential (read-only)</summary>
631
  public string? logged_in_at { get; set; } = null;
John Kaster's avatar
John Kaster committed
632
  /// <summary>IP address of client for most recent login using credential (read-only)</summary>
633
  public string? logged_in_ip { get; set; } = null;
John Kaster's avatar
John Kaster committed
634
  /// <summary>Short name for the type of this kind of credential (read-only)</summary>
635
  public string? type { get; set; } = null;
John Kaster's avatar
John Kaster committed
636
  /// <summary>Link to get this item (read-only)</summary>
637
  public Url? url { get; set; } = null;
John Kaster's avatar
John Kaster committed
638
  /// <summary>Link to get this user (read-only)</summary>
639
  public Url? user_url { get; set; } = null;
John Kaster's avatar
John Kaster committed
640
641
}

642
public class CredentialsOIDC : SdkModel
John Kaster's avatar
John Kaster committed
643
{
John Kaster's avatar
John Kaster committed
644
  /// <summary>Operations the current user is able to perform on this object (read-only)</summary>
645
  public StringDictionary<bool>? can { get; set; } = null;
John Kaster's avatar
John Kaster committed
646
  /// <summary>Timestamp for the creation of this credential (read-only)</summary>
647
  public string? created_at { get; set; } = null;
John Kaster's avatar
John Kaster committed
648
  /// <summary>EMail address (read-only)</summary>
649
  public string? email { get; set; } = null;
John Kaster's avatar
John Kaster committed
650
  /// <summary>Has this credential been disabled? (read-only)</summary>
651
  public bool? is_disabled { get; set; } = null;
John Kaster's avatar
John Kaster committed
652
  /// <summary>Timestamp for most recent login using credential (read-only)</summary>
653
  public string? logged_in_at { get; set; } = null;
John Kaster's avatar
John Kaster committed
654
  /// <summary>OIDC OP's Unique ID for this user (read-only)</summary>
655
  public string? oidc_user_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
656
  /// <summary>Short name for the type of this kind of credential (read-only)</summary>
657
  public string? type { get; set; } = null;
John Kaster's avatar
John Kaster committed
658
  /// <summary>Link to get this item (read-only)</summary>
659
  public Url? url { get; set; } = null;
John Kaster's avatar
John Kaster committed
660
661
}

662
public class CredentialsSaml : SdkModel
John Kaster's avatar
John Kaster committed
663
{
John Kaster's avatar
John Kaster committed
664
  /// <summary>Operations the current user is able to perform on this object (read-only)</summary>
665
  public StringDictionary<bool>? can { get; set; } = null;
John Kaster's avatar
John Kaster committed
666
  /// <summary>Timestamp for the creation of this credential (read-only)</summary>
667
  public string? created_at { get; set; } = null;
John Kaster's avatar
John Kaster committed
668
  /// <summary>EMail address (read-only)</summary>
669
  public string? email { get; set; } = null;
John Kaster's avatar
John Kaster committed
670
  /// <summary>Has this credential been disabled? (read-only)</summary>
671
  public bool? is_disabled { get; set; } = null;
John Kaster's avatar
John Kaster committed
672
  /// <summary>Timestamp for most recent login using credential (read-only)</summary>
673
  public string? logged_in_at { get; set; } = null;
John Kaster's avatar
John Kaster committed
674
  /// <summary>Saml IdP's Unique ID for this user (read-only)</summary>
675
  public string? saml_user_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
676
  /// <summary>Short name for the type of this kind of credential (read-only)</summary>
677
  public string? type { get; set; } = null;
John Kaster's avatar
John Kaster committed
678
  /// <summary>Link to get this item (read-only)</summary>
679
  public Url? url { get; set; } = null;
John Kaster's avatar
John Kaster committed
680
681
}

682
/// WARNING: no writeable properties found for POST, PUT, or PATCH
683
public class CredentialsTotp : SdkModel
John Kaster's avatar
John Kaster committed
684
{
John Kaster's avatar
John Kaster committed
685
  /// <summary>Operations the current user is able to perform on this object (read-only)</summary>
686
  public StringDictionary<bool>? can { get; set; } = null;
John Kaster's avatar
John Kaster committed
687
  /// <summary>Timestamp for the creation of this credential (read-only)</summary>
688
  public string? created_at { get; set; } = null;
John Kaster's avatar
John Kaster committed
689
  /// <summary>Has this credential been disabled? (read-only)</summary>
690
  public bool? is_disabled { get; set; } = null;
John Kaster's avatar
John Kaster committed
691
  /// <summary>Short name for the type of this kind of credential (read-only)</summary>
692
  public string? type { get; set; } = null;
John Kaster's avatar
John Kaster committed
693
  /// <summary>User has verified (read-only)</summary>
694
  public bool? verified { get; set; } = null;
John Kaster's avatar
John Kaster committed
695
  /// <summary>Link to get this item (read-only)</summary>
696
  public Url? url { get; set; } = null;
John Kaster's avatar
John Kaster committed
697
698
}

699
public class CustomWelcomeEmail : SdkModel
John Kaster's avatar
John Kaster committed
700
{
John Kaster's avatar
John Kaster committed
701
  /// <summary>Operations the current user is able to perform on this object (read-only)</summary>
702
  public StringDictionary<bool>? can { get; set; } = null;
John Kaster's avatar
John Kaster committed
703
  /// <summary>If true, custom email content will replace the default body of welcome emails</summary>
704
  public bool? enabled { get; set; } = null;
John Kaster's avatar
John Kaster committed
705
  /// <summary>The HTML to use as custom content for welcome emails. Script elements and other potentially dangerous markup will be removed.</summary>
706
  public string? content { get; set; } = null;
John Kaster's avatar
John Kaster committed
707
  /// <summary>The text to appear in the email subject line.</summary>
708
  public string? subject { get; set; } = null;
John Kaster's avatar
John Kaster committed
709
  /// <summary>The text to appear in the header line of the email body.</summary>
710
  public string? header { get; set; } = null;
John Kaster's avatar
John Kaster committed
711
712
}

713
public class Dashboard : SdkModel
John Kaster's avatar
John Kaster committed
714
{
John Kaster's avatar
John Kaster committed
715
  /// <summary>Operations the current user is able to perform on this object (read-only)</summary>
716
  public StringDictionary<bool>? can { get; set; } = null;
John Kaster's avatar
John Kaster committed
717
  /// <summary>Content Favorite Id (read-only)</summary>
718
  public long? content_favorite_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
719
  /// <summary>Id of content metadata (read-only)</summary>
720
  public long? content_metadata_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
721
  /// <summary>Description</summary>
722
  public string? description { get; set; } = null;
John Kaster's avatar
John Kaster committed
723
  /// <summary>Is Hidden</summary>
724
  public bool? hidden { get; set; } = null;
John Kaster's avatar
John Kaster committed
725
  /// <summary>Unique Id (read-only)</summary>
726
  public string? id { get; set; } = null;
John Kaster's avatar
John Kaster committed
727
  public LookModel? model { get; set; }
John Kaster's avatar
John Kaster committed
728
  /// <summary>Timezone in which the Dashboard will run by default.</summary>
729
  public string? query_timezone { get; set; } = null;
John Kaster's avatar
John Kaster committed
730
  /// <summary>Is Read-only (read-only)</summary>
731
  public bool? @readonly { get; set; } = null;
John Kaster's avatar
John Kaster committed
732
  /// <summary>Refresh Interval, as a time duration phrase like "2 hours 30 minutes". A number with no time units will be interpreted as whole seconds.</summary>
733
  public string? refresh_interval { get; set; } = null;
John Kaster's avatar
John Kaster committed
734
  /// <summary>Refresh Interval in milliseconds (read-only)</summary>
735
  public long? refresh_interval_to_i { get; set; } = null;
John Kaster's avatar
John Kaster committed
736
  public FolderBase? folder { get; set; }
John Kaster's avatar
John Kaster committed
737
  /// <summary>Dashboard Title</summary>
738
  public string? title { get; set; } = null;
John Kaster's avatar
John Kaster committed
739
  /// <summary>Id of User (read-only)</summary>
740
  public long? user_id { get; set; } = null;
741
742
743
744
  /// <summary>Content Metadata Slug</summary>
  public string? slug { get; set; } = null;
  /// <summary>The preferred route for viewing this dashboard (ie: dashboards or dashboards-next)</summary>
  public string? preferred_viewer { get; set; } = null;
John Kaster's avatar
John Kaster committed
745
  public SpaceBase? space { get; set; }
746
747
  /// <summary>Enables alerts to keep in sync with dashboard filter changes - only available in alerts 2.0 (beta)</summary>
  public bool? alert_sync_with_dashboard_filter_enabled { get; set; } = null;
John Kaster's avatar
John Kaster committed
748
  /// <summary>Background color</summary>
749
  public string? background_color { get; set; } = null;
John Kaster's avatar
John Kaster committed
750
  /// <summary>Time that the Dashboard was created. (read-only)</summary>
751
  public DateTime? created_at { get; set; } = null;
John Kaster's avatar
John Kaster committed
752
  /// <summary>Enables crossfiltering in dashboards - only available in dashboards-next (beta)</summary>
753
  public bool? crossfilter_enabled { get; set; } = null;
John Kaster's avatar
John Kaster committed
754
  /// <summary>Elements (read-only)</summary>
755
  public DashboardElement[]? dashboard_elements { get; set; } = null;
John Kaster's avatar
John Kaster committed
756
  /// <summary>Filters (read-only)</summary>
757
  public DashboardFilter[]? dashboard_filters { get; set; } = null;
John Kaster's avatar
John Kaster committed
758
  /// <summary>Layouts (read-only)</summary>
759
  public DashboardLayout[]? dashboard_layouts { get; set; } = null;
John Kaster's avatar
John Kaster committed
760
  /// <summary>Whether or not a dashboard is 'soft' deleted.</summary>
761
  public bool? deleted { get; set; } = null;
John Kaster's avatar
John Kaster committed
762
  /// <summary>Time that the Dashboard was 'soft' deleted. (read-only)</summary>
763
  public DateTime? deleted_at { get; set; } = null;
John Kaster's avatar
John Kaster committed
764
  /// <summary>Id of User that 'soft' deleted the dashboard. (read-only)</summary>
765
  public long? deleter_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
766
  /// <summary>Relative path of URI of LookML file to edit the dashboard (LookML dashboard only). (read-only)</summary>
767
  public Url? edit_uri { get; set; } = null;
John Kaster's avatar
John Kaster committed
768
  /// <summary>Number of times favorited (read-only)</summary>
769
  public long? favorite_count { get; set; } = null;
John Kaster's avatar
John Kaster committed
770
  /// <summary>Time the dashboard was last accessed (read-only)</summary>
771
  public DateTime? last_accessed_at { get; set; } = null;
John Kaster's avatar
John Kaster committed
772
  /// <summary>Time last viewed in the Looker web UI (read-only)</summary>
773
  public DateTime? last_viewed_at { get; set; } = null;
John Kaster's avatar
John Kaster committed
774
  /// <summary>configuration option that governs how dashboard loading will happen.</summary>
775
  public string? load_configuration { get; set; } = null;
John Kaster's avatar
John Kaster committed
776
  /// <summary>Links this dashboard to a particular LookML dashboard such that calling a **sync** operation on that LookML dashboard will update this dashboard to match.</summary>
777
  public string? lookml_link_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
778
  /// <summary>Show filters bar.  **Security Note:** This property only affects the *cosmetic* appearance of the dashboard, not a user's ability to access data. Hiding the filters bar does **NOT** prevent users from changing filters by other means. For information on how to set up secure data access control policies, see [Control User Access to Data](https://looker.com/docs/r/api/control-access)</summary>
779
  public bool? show_filters_bar { get; set; } = null;
John Kaster's avatar
John Kaster committed
780
  /// <summary>Show title</summary>
781
  public bool? show_title { get; set; } = null;
John Kaster's avatar
John Kaster committed
782
  /// <summary>Id of Space</summary>
783
  public string? space_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
784
  /// <summary>Id of folder</summary>
785
  public string? folder_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
786
  /// <summary>Color of text on text tiles</summary>
787
  public string? text_tile_text_color { get; set; } = null;
John Kaster's avatar
John Kaster committed
788
  /// <summary>Tile background color</summary>
789
  public string? tile_background_color { get; set; } = null;
John Kaster's avatar
John Kaster committed
790
  /// <summary>Tile text color</summary>
791
  public string? tile_text_color { get; set; } = null;
John Kaster's avatar
John Kaster committed
792
  /// <summary>Title color</summary>
793
  public string? title_color { get; set; } = null;
John Kaster's avatar
John Kaster committed
794
  /// <summary>Number of times viewed in the Looker web UI (read-only)</summary>
795
  public long? view_count { get; set; } = null;
John Kaster's avatar
John Kaster committed
796
797
798
  public DashboardAppearance? appearance { get; set; }
}

799
public class DashboardAggregateTableLookml : SdkModel
John Kaster's avatar
John Kaster committed
800
{
John Kaster's avatar
John Kaster committed
801
  /// <summary>Dashboard Id (read-only)</summary>
802
  public string? dashboard_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
803
  /// <summary>Aggregate Table LookML (read-only)</summary>
804
  public string? aggregate_table_lookml { get; set; } = null;
John Kaster's avatar
John Kaster committed
805
806
}

807
public class DashboardAppearance : SdkModel
John Kaster's avatar
John Kaster committed
808
{
John Kaster's avatar
John Kaster committed
809
  /// <summary>Page margin (side) width</summary>
810
  public long? page_side_margins { get; set; } = null;
John Kaster's avatar
John Kaster committed
811
  /// <summary>Background color for the dashboard</summary>
812
  public string? page_background_color { get; set; } = null;
John Kaster's avatar
John Kaster committed
813
  /// <summary>Title alignment on dashboard tiles</summary>
814
  public string? tile_title_alignment { get; set; } = null;
John Kaster's avatar
John Kaster committed
815
  /// <summary>Space between tiles</summary>
816
  public long? tile_space_between { get; set; } = null;
John Kaster's avatar
John Kaster committed
817
  /// <summary>Background color for tiles</summary>
818
  public string? tile_background_color { get; set; } = null;
John Kaster's avatar
John Kaster committed
819
  /// <summary>Tile shadow on/off</summary>
820
  public bool? tile_shadow { get; set; } = null;
John Kaster's avatar
John Kaster committed
821
  /// <summary>Key color</summary>
822
  public string? key_color { get; set; } = null;
John Kaster's avatar
John Kaster committed
823
824
}

825
public class DashboardBase : SdkModel
John Kaster's avatar
John Kaster committed
826
{
John Kaster's avatar
John Kaster committed
827
  /// <summary>Operations the current user is able to perform on this object (read-only)</summary>
828
  public StringDictionary<bool>? can { get; set; } = null;
John Kaster's avatar
John Kaster committed
829
  /// <summary>Content Favorite Id (read-only)</summary>
830
  public long? content_favorite_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
831
  /// <summary>Id of content metadata (read-only)</summary>
832
  public long? content_metadata_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
833
  /// <summary>Description (read-only)</summary>
834
  public string? description { get; set; } = null;
John Kaster's avatar
John Kaster committed
835
  /// <summary>Is Hidden (read-only)</summary>
836
  public bool? hidden { get; set; } = null;
John Kaster's avatar
John Kaster committed
837
  /// <summary>Unique Id (read-only)</summary>
838
  public string? id { get; set; } = null;
John Kaster's avatar
John Kaster committed
839
  public LookModel? model { get; set; }
John Kaster's avatar
John Kaster committed
840
  /// <summary>Timezone in which the Dashboard will run by default. (read-only)</summary>
841
  public string? query_timezone { get; set; } = null;
John Kaster's avatar
John Kaster committed
842
  /// <summary>Is Read-only (read-only)</summary>
843
  public bool? @readonly { get; set; } = null;
John Kaster's avatar
John Kaster committed
844
  /// <summary>Refresh Interval, as a time duration phrase like "2 hours 30 minutes". A number with no time units will be interpreted as whole seconds. (read-only)</summary>
845
  public string? refresh_interval { get; set; } = null;
John Kaster's avatar
John Kaster committed
846
  /// <summary>Refresh Interval in milliseconds (read-only)</summary>
847
  public long? refresh_interval_to_i { get; set; } = null;
John Kaster's avatar
John Kaster committed
848
  public FolderBase? folder { get; set; }
John Kaster's avatar
John Kaster committed
849
  /// <summary>Dashboard Title (read-only)</summary>
850
  public string? title { get; set; } = null;
John Kaster's avatar
John Kaster committed
851
  /// <summary>Id of User (read-only)</summary>
852
  public long? user_id { get; set; } = null;
853
854
855
856
  /// <summary>Content Metadata Slug (read-only)</summary>
  public string? slug { get; set; } = null;
  /// <summary>The preferred route for viewing this dashboard (ie: dashboards or dashboards-next) (read-only)</summary>
  public string? preferred_viewer { get; set; } = null;
John Kaster's avatar
John Kaster committed
857
858
859
  public SpaceBase? space { get; set; }
}

860
public class DashboardElement : SdkModel
John Kaster's avatar
John Kaster committed
861
{
John Kaster's avatar
John Kaster committed
862
  /// <summary>Operations the current user is able to perform on this object (read-only)</summary>
863
  public StringDictionary<bool>? can { get; set; } = null;
John Kaster's avatar
John Kaster committed
864
  /// <summary>Text tile body text</summary>
865
  public string? body_text { get; set; } = null;
John Kaster's avatar
John Kaster committed
866
  /// <summary>Text tile body text as Html (read-only)</summary>
867
  public string? body_text_as_html { get; set; } = null;
John Kaster's avatar
John Kaster committed
868
  /// <summary>Id of Dashboard</summary>
869
  public string? dashboard_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
870
  /// <summary>Relative path of URI of LookML file to edit the dashboard element (LookML dashboard only). (read-only)</summary>
871
  public Url? edit_uri { get; set; } = null;
John Kaster's avatar
John Kaster committed
872
  /// <summary>Unique Id (read-only)</summary>
873
  public string? id { get; set; } = null;
John Kaster's avatar
John Kaster committed
874
  public LookWithQuery? look { get; set; }
John Kaster's avatar
John Kaster committed
875
  /// <summary>Id Of Look</summary>
876
  public string? look_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
877
  /// <summary>LookML link ID (read-only)</summary>
878
  public string? lookml_link_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
879
  /// <summary>ID of merge result</summary>
880
  public string? merge_result_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
881
  /// <summary>Note Display</summary>
882
  public string? note_display { get; set; } = null;
John Kaster's avatar
John Kaster committed
883
  /// <summary>Note State</summary>
884
  public string? note_state { get; set; } = null;
John Kaster's avatar
John Kaster committed
885
  /// <summary>Note Text</summary>
886
  public string? note_text { get; set; } = null;
John Kaster's avatar
John Kaster committed
887
  /// <summary>Note Text as Html (read-only)</summary>
888
  public string? note_text_as_html { get; set; } = null;
John Kaster's avatar
John Kaster committed
889
  public Query? query { get; set; }
John Kaster's avatar
John Kaster committed
890
  /// <summary>Id Of Query</summary>
891
  public long? query_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
892
  /// <summary>Refresh Interval</summary>
893
  public string? refresh_interval { get; set; } = null;
John Kaster's avatar
John Kaster committed
894
  /// <summary>Refresh Interval as integer (read-only)</summary>
895
  public long? refresh_interval_to_i { get; set; } = null;
John Kaster's avatar
John Kaster committed
896
  public ResultMakerWithIdVisConfigAndDynamicFields? result_maker { get; set; }
John Kaster's avatar
John Kaster committed
897
  /// <summary>ID of the ResultMakerLookup entry.</summary>
898
  public long? result_maker_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
899
  /// <summary>Text tile subtitle text</summary>
900
  public string? subtitle_text { get; set; } = null;
John Kaster's avatar
John Kaster committed
901
  /// <summary>Title of dashboard element</summary>
902
  public string? title { get; set; } = null;
John Kaster's avatar
John Kaster committed
903
  /// <summary>Whether title is hidden</summary>
904
  public bool? title_hidden { get; set; } = null;
John Kaster's avatar
John Kaster committed
905
  /// <summary>Text tile title</summary>
906
  public string? title_text { get; set; } = null;
John Kaster's avatar
John Kaster committed
907
  /// <summary>Type</summary>
908
  public string? type { get; set; } = null;
John Kaster's avatar
John Kaster committed
909
  /// <summary>Count of Alerts associated to a dashboard element (read-only)</summary>
910
  public long? alert_count { get; set; } = null;
John Kaster's avatar
John Kaster committed
911
  /// <summary>Text tile title text as Html (read-only)</summary>
912
  public string? title_text_as_html { get; set; } = null;
John Kaster's avatar
John Kaster committed
913
  /// <summary>Text tile subtitle text as Html (read-only)</summary>
914
  public string? subtitle_text_as_html { get; set; } = null;
John Kaster's avatar
John Kaster committed
915
916
}

917
public class DashboardFilter : SdkModel
John Kaster's avatar
John Kaster committed
918
{
John Kaster's avatar
John Kaster committed
919
  /// <summary>Operations the current user is able to perform on this object (read-only)</summary>
920
  public StringDictionary<bool>? can { get; set; } = null;
John Kaster's avatar
John Kaster committed
921
  /// <summary>Unique Id (read-only)</summary>
922
  public string? id { get; set; } = null;
John Kaster's avatar
John Kaster committed
923
  /// <summary>Id of Dashboard (read-only)</summary>
924
  public string? dashboard_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
925
  /// <summary>Name of filter</summary>
926
  public string? name { get; set; } = null;
John Kaster's avatar
John Kaster committed
927
  /// <summary>Title of filter</summary>
928
  public string? title { get; set; } = null;
John Kaster's avatar
John Kaster committed
929
  /// <summary>Type of filter: one of date, number, string, or field</summary>
930
  public string? type { get; set; } = null;
John Kaster's avatar
John Kaster committed
931
  /// <summary>Default value of filter</summary>
932
  public string? default_value { get; set; } = null;
John Kaster's avatar
John Kaster committed
933
  /// <summary>Model of filter (required if type = field)</summary>
934
  public string? model { get; set; } = null;
John Kaster's avatar
John Kaster committed
935
  /// <summary>Explore of filter (required if type = field)</summary>
936
  public string? explore { get; set; } = null;
John Kaster's avatar
John Kaster committed
937
  /// <summary>Dimension of filter (required if type = field)</summary>
938
  public string? dimension { get; set; } = null;
John Kaster's avatar
John Kaster committed
939
  /// <summary>Field information (read-only)</summary>
940
  public StringDictionary<object>? field { get; set; } = null;
John Kaster's avatar
John Kaster committed
941
  /// <summary>Display order of this filter relative to other filters</summary>
942
  public long? row { get; set; } = null;
John Kaster's avatar
John Kaster committed
943
  /// <summary>Array of listeners for faceted filters</summary>
944
  public string[]? listens_to_filters { get; set; } = null;
John Kaster's avatar
John Kaster committed
945
  /// <summary>Whether the filter allows multiple filter values (deprecated in the latest version of dashboards)</summary>
946
  public bool? allow_multiple_values { get; set; } = null;
John Kaster's avatar
John Kaster committed
947
  /// <summary>Whether the filter requires a value to run the dashboard</summary>
948
  public bool? required { get; set; } = null;
John Kaster's avatar
John Kaster committed
949
  /// <summary>The visual configuration for this filter. Used to set up how the UI for this filter should appear.</summary>
950
  public StringDictionary<object>? ui_config { get; set; } = null;
John Kaster's avatar
John Kaster committed
951
952
}

953
public class DashboardLayout : SdkModel
John Kaster's avatar
John Kaster committed
954
{
John Kaster's avatar
John Kaster committed
955
  /// <summary>Operations the current user is able to perform on this object (read-only)</summary>
956
  public StringDictionary<bool>? can { get; set; } = null;
John Kaster's avatar
John Kaster committed
957
  /// <summary>Unique Id (read-only)</summary>
958
  public string? id { get; set; } = null;
John Kaster's avatar
John Kaster committed
959
  /// <summary>Id of Dashboard</summary>
960
  public string? dashboard_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
961
  /// <summary>Type</summary>
962
  public string? type { get; set; } = null;
John Kaster's avatar
John Kaster committed
963
  /// <summary>Is Active</summary>
964
  public bool? active { get; set; } = null;
John Kaster's avatar
John Kaster committed
965
  /// <summary>Column Width</summary>
966
  public long? column_width { get; set; } = null;
John Kaster's avatar
John Kaster committed
967
  /// <summary>Width</summary>
968
  public long? width { get; set; } = null;
John Kaster's avatar
John Kaster committed
969
  /// <summary>Whether or not the dashboard layout is deleted. (read-only)</summary>
970
  public bool? deleted { get; set; } = null;
John Kaster's avatar
John Kaster committed
971
  /// <summary>Title extracted from the dashboard this layout represents. (read-only)</summary>
972
  public string? dashboard_title { get; set; } = null;
John Kaster's avatar
John Kaster committed
973
  /// <summary>Components (read-only)</summary>
974
  public DashboardLayoutComponent[]? dashboard_layout_components { get; set; } = null;
John Kaster's avatar
John Kaster committed
975
976
}

977
public class DashboardLayoutComponent : SdkModel
John Kaster's avatar
John Kaster committed
978
{
John Kaster's avatar
John Kaster committed
979
  /// <summary>Operations the current user is able to perform on this object (read-only)</summary>
980
  public StringDictionary<bool>? can { get; set; } = null;
John Kaster's avatar
John Kaster committed
981
  /// <summary>Unique Id (read-only)</summary>
982
  public string? id { get; set; } = null;
John Kaster's avatar
John Kaster committed
983
  /// <summary>Id of Dashboard Layout</summary>
984
  public string? dashboard_layout_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
985
  /// <summary>Id Of Dashboard Element</summary>
986
  public string? dashboard_element_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
987
  /// <summary>Row</summary>
988
  public long? row { get; set; } = null;
John Kaster's avatar
John Kaster committed
989
  /// <summary>Column</summary>
990
  public long? column { get; set; } = null;
John Kaster's avatar
John Kaster committed
991
  /// <summary>Width</summary>
992
  public long? width { get; set; } = null;
John Kaster's avatar
John Kaster committed
993
  /// <summary>Height</summary>
994
  public long? height { get; set; } = null;
John Kaster's avatar
John Kaster committed
995
  /// <summary>Whether or not the dashboard layout component is deleted (read-only)</summary>
996
  public bool? deleted { get; set; } = null;
John Kaster's avatar
John Kaster committed
997
  /// <summary>Dashboard element title, extracted from the Dashboard Element. (read-only)</summary>
998
  public string? element_title { get; set; } = null;
John Kaster's avatar
John Kaster committed
999
  /// <summary>Whether or not the dashboard element title is displayed. (read-only)</summary>
1000
  public bool? element_title_hidden { get; set; } = null;
For faster browsing, not all history is shown. View entire blame