models.cs 306 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
/// 258 API models: 190 Spec, 0 Request, 51 Write, 17 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". (Enum defined in LookmlModelExploreField)
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;
80
81
  /// <summary>Web server base url (read-only)</summary>
  public string? web_server_url { get; set; } = null;
John Kaster's avatar
John Kaster committed
82
83
}

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

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

114
/// Field category Valid values are: "parameter", "filter", "measure", "dimension". (Enum defined in LookmlModelExploreField)
115
116
117
118
119
120
121
122
123
124
125
126
127
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
128
{
John Kaster's avatar
John Kaster committed
129
  /// <summary>Unique Id (read-only)</summary>
130
  public string? id { get; set; } = null;
John Kaster's avatar
John Kaster committed
131
  /// <summary>Label of color collection</summary>
132
  public string? label { get; set; } = null;
John Kaster's avatar
John Kaster committed
133
  /// <summary>Array of categorical palette definitions</summary>
134
  public DiscretePalette[]? categoricalPalettes { get; set; } = null;
John Kaster's avatar
John Kaster committed
135
  /// <summary>Array of discrete palette definitions</summary>
136
  public ContinuousPalette[]? sequentialPalettes { get; set; } = null;
John Kaster's avatar
John Kaster committed
137
  /// <summary>Array of diverging palette definitions</summary>
138
  public ContinuousPalette[]? divergingPalettes { get; set; } = null;
John Kaster's avatar
John Kaster committed
139
140
}

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

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

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

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

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

231
232
233
234
235
236
237
238
239
240
241
242
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;
}

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

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

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

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

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

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

345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
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;
}

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

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

382
public class ContentValidatorError : SdkModel
John Kaster's avatar
John Kaster committed
383
384
385
386
387
388
{
  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; }
389
390
391
  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
392
  /// <summary>A list of errors found for this piece of content (read-only)</summary>
393
  public ContentValidationError[]? errors { get; set; } = null;
John Kaster's avatar
John Kaster committed
394
  /// <summary>An id unique to this piece of content for this validation run (read-only)</summary>
395
  public string? id { get; set; } = null;
John Kaster's avatar
John Kaster committed
396
397
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

717
public class Dashboard : SdkModel
John Kaster's avatar
John Kaster committed
718
{
John Kaster's avatar
John Kaster committed
719
  /// <summary>Operations the current user is able to perform on this object (read-only)</summary>
720
  public StringDictionary<bool>? can { get; set; } = null;
John Kaster's avatar
John Kaster committed
721
  /// <summary>Content Favorite Id (read-only)</summary>
722
  public long? content_favorite_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
723
  /// <summary>Id of content metadata (read-only)</summary>
724
  public long? content_metadata_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
725
  /// <summary>Description</summary>
726
  public string? description { get; set; } = null;
John Kaster's avatar
John Kaster committed
727
  /// <summary>Is Hidden</summary>
728
  public bool? hidden { get; set; } = null;
John Kaster's avatar
John Kaster committed
729
  /// <summary>Unique Id (read-only)</summary>
730
  public string? id { get; set; } = null;
John Kaster's avatar
John Kaster committed
731
  public LookModel? model { get; set; }
John Kaster's avatar
John Kaster committed
732
  /// <summary>Timezone in which the Dashboard will run by default.</summary>
733
  public string? query_timezone { get; set; } = null;
John Kaster's avatar
John Kaster committed
734
  /// <summary>Is Read-only (read-only)</summary>
735
  public bool? @readonly { get; set; } = null;
John Kaster's avatar
John Kaster committed
736
  /// <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>
737
  public string? refresh_interval { get; set; } = null;
John Kaster's avatar
John Kaster committed
738
  /// <summary>Refresh Interval in milliseconds (read-only)</summary>
739
  public long? refresh_interval_to_i { get; set; } = null;
John Kaster's avatar
John Kaster committed
740
  public FolderBase? folder { get; set; }
John Kaster's avatar
John Kaster committed
741
  /// <summary>Dashboard Title</summary>
742
  public string? title { get; set; } = null;
John Kaster's avatar
John Kaster committed
743
  /// <summary>Id of User (read-only)</summary>
744
  public long? user_id { get; set; } = null;
745
746
747
748
  /// <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
749
  public SpaceBase? space { get; set; }
750
  /// <summary>Enables alerts to keep in sync with dashboard filter changes</summary>
751
  public bool? alert_sync_with_dashboard_filter_enabled { get; set; } = null;
John Kaster's avatar
John Kaster committed
752
  /// <summary>Background color</summary>
753
  public string? background_color { get; set; } = null;
John Kaster's avatar
John Kaster committed
754
  /// <summary>Time that the Dashboard was created. (read-only)</summary>
755
  public DateTime? created_at { get; set; } = null;
John Kaster's avatar
John Kaster committed
756
  /// <summary>Enables crossfiltering in dashboards - only available in dashboards-next (beta)</summary>
757
  public bool? crossfilter_enabled { get; set; } = null;
John Kaster's avatar
John Kaster committed
758
  /// <summary>Elements (read-only)</summary>
759
  public DashboardElement[]? dashboard_elements { get; set; } = null;
John Kaster's avatar
John Kaster committed
760
  /// <summary>Filters (read-only)</summary>
761
  public DashboardFilter[]? dashboard_filters { get; set; } = null;
John Kaster's avatar
John Kaster committed
762
  /// <summary>Layouts (read-only)</summary>
763
  public DashboardLayout[]? dashboard_layouts { get; set; } = null;
John Kaster's avatar
John Kaster committed
764
  /// <summary>Whether or not a dashboard is 'soft' deleted.</summary>
765
  public bool? deleted { get; set; } = null;
John Kaster's avatar
John Kaster committed
766
  /// <summary>Time that the Dashboard was 'soft' deleted. (read-only)</summary>
767
  public DateTime? deleted_at { get; set; } = null;
John Kaster's avatar
John Kaster committed
768
  /// <summary>Id of User that 'soft' deleted the dashboard. (read-only)</summary>
769
  public long? deleter_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
770
  /// <summary>Relative path of URI of LookML file to edit the dashboard (LookML dashboard only). (read-only)</summary>
771
  public Url? edit_uri { get; set; } = null;
John Kaster's avatar
John Kaster committed
772
  /// <summary>Number of times favorited (read-only)</summary>
773
  public long? favorite_count { get; set; } = null;
Dr. Strangelove's avatar
Dr. Strangelove committed
774
775
  /// <summary>Sets the default state of the filters bar to collapsed or open</summary>
  public bool? filters_bar_collapsed { get; set; } = null;
776
777
  /// <summary>Sets the default state of the filters location to top(true) or right(false)</summary>
  public bool? filters_location_top { get; set; } = null;
John Kaster's avatar
John Kaster committed
778
  /// <summary>Time the dashboard was last accessed (read-only)</summary>
779
  public DateTime? last_accessed_at { get; set; } = null;
John Kaster's avatar
John Kaster committed
780
  /// <summary>Time last viewed in the Looker web UI (read-only)</summary>
781
  public DateTime? last_viewed_at { get; set; } = null;
782
783
784
785
786
787
788
789
  /// <summary>Time that the Dashboard was most recently updated. (read-only)</summary>
  public DateTime? updated_at { get; set; } = null;
  /// <summary>Id of User that most recently updated the dashboard. (read-only)</summary>
  public long? last_updater_id { get; set; } = null;
  /// <summary>Name of User that most recently updated the dashboard. (read-only)</summary>
  public string? last_updater_name { get; set; } = null;
  /// <summary>Name of User that created the dashboard. (read-only)</summary>
  public string? user_name { get; set; } = null;
John Kaster's avatar
John Kaster committed
790
  /// <summary>configuration option that governs how dashboard loading will happen.</summary>
791
  public string? load_configuration { get; set; } = null;
John Kaster's avatar
John Kaster committed
792
  /// <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>
793
  public string? lookml_link_id { get; set; } = null;
794
  /// <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://docs.looker.com/r/api/control-access)</summary>
795
  public bool? show_filters_bar { get; set; } = null;
John Kaster's avatar
John Kaster committed
796
  /// <summary>Show title</summary>
797
  public bool? show_title { get; set; } = null;
John Kaster's avatar
John Kaster committed
798
  /// <summary>Id of Space</summary>
799
  public string? space_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
800
  /// <summary>Id of folder</summary>
801
  public string? folder_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
802
  /// <summary>Color of text on text tiles</summary>
803
  public string? text_tile_text_color { get; set; } = null;
John Kaster's avatar
John Kaster committed
804
  /// <summary>Tile background color</summary>
805
  public string? tile_background_color { get; set; } = null;
John Kaster's avatar
John Kaster committed
806
  /// <summary>Tile text color</summary>
807
  public string? tile_text_color { get; set; } = null;
John Kaster's avatar
John Kaster committed
808
  /// <summary>Title color</summary>
809
  public string? title_color { get; set; } = null;
John Kaster's avatar
John Kaster committed
810
  /// <summary>Number of times viewed in the Looker web UI (read-only)</summary>
811
  public long? view_count { get; set; } = null;
John Kaster's avatar
John Kaster committed
812
813
814
  public DashboardAppearance? appearance { get; set; }
}

815
public class DashboardAggregateTableLookml : SdkModel
John Kaster's avatar
John Kaster committed
816
{
John Kaster's avatar
John Kaster committed
817
  /// <summary>Dashboard Id (read-only)</summary>
818
  public string? dashboard_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
819
  /// <summary>Aggregate Table LookML (read-only)</summary>
820
  public string? aggregate_table_lookml { get; set; } = null;
John Kaster's avatar
John Kaster committed
821
822
}

823
public class DashboardAppearance : SdkModel
John Kaster's avatar
John Kaster committed
824
{
John Kaster's avatar
John Kaster committed
825
  /// <summary>Page margin (side) width</summary>
826
  public long? page_side_margins { get; set; } = null;
John Kaster's avatar
John Kaster committed
827
  /// <summary>Background color for the dashboard</summary>
828
  public string? page_background_color { get; set; } = null;
John Kaster's avatar
John Kaster committed
829
  /// <summary>Title alignment on dashboard tiles</summary>
830
  public string? tile_title_alignment { get; set; } = null;
John Kaster's avatar
John Kaster committed
831
  /// <summary>Space between tiles</summary>
832
  public long? tile_space_between { get; set; } = null;
John Kaster's avatar
John Kaster committed
833
  /// <summary>Background color for tiles</summary>
834
  public string? tile_background_color { get; set; } = null;
John Kaster's avatar
John Kaster committed
835
  /// <summary>Tile shadow on/off</summary>
836
  public bool? tile_shadow { get; set; } = null;
John Kaster's avatar
John Kaster committed
837
  /// <summary>Key color</summary>
838
  public string? key_color { get; set; } = null;
John Kaster's avatar
John Kaster committed
839
840
}

841
public class DashboardBase : SdkModel
John Kaster's avatar
John Kaster committed
842
{
John Kaster's avatar
John Kaster committed
843
  /// <summary>Operations the current user is able to perform on this object (read-only)</summary>
844
  public StringDictionary<bool>? can { get; set; } = null;
John Kaster's avatar
John Kaster committed
845
  /// <summary>Content Favorite Id (read-only)</summary>
846
  public long? content_favorite_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
847
  /// <summary>Id of content metadata (read-only)</summary>
848
  public long? content_metadata_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
849
  /// <summary>Description (read-only)</summary>
850
  public string? description { get; set; } = null;
John Kaster's avatar
John Kaster committed
851
  /// <summary>Is Hidden (read-only)</summary>
852
  public bool? hidden { get; set; } = null;
John Kaster's avatar
John Kaster committed
853
  /// <summary>Unique Id (read-only)</summary>
854
  public string? id { get; set; } = null;
John Kaster's avatar
John Kaster committed
855
  public LookModel? model { get; set; }
John Kaster's avatar
John Kaster committed
856
  /// <summary>Timezone in which the Dashboard will run by default. (read-only)</summary>
857
  public string? query_timezone { get; set; } = null;
John Kaster's avatar
John Kaster committed
858
  /// <summary>Is Read-only (read-only)</summary>
859
  public bool? @readonly { get; set; } = null;
John Kaster's avatar
John Kaster committed
860
  /// <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>
861
  public string? refresh_interval { get; set; } = null;
John Kaster's avatar
John Kaster committed
862
  /// <summary>Refresh Interval in milliseconds (read-only)</summary>
863
  public long? refresh_interval_to_i { get; set; } = null;
John Kaster's avatar
John Kaster committed
864
  public FolderBase? folder { get; set; }
John Kaster's avatar
John Kaster committed
865
  /// <summary>Dashboard Title (read-only)</summary>
866
  public string? title { get; set; } = null;
John Kaster's avatar
John Kaster committed
867
  /// <summary>Id of User (read-only)</summary>
868
  public long? user_id { get; set; } = null;
869
870
871
872
  /// <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
873
874
875
  public SpaceBase? space { get; set; }
}

876
public class DashboardElement : SdkModel
John Kaster's avatar
John Kaster committed
877
{
John Kaster's avatar
John Kaster committed
878
  /// <summary>Operations the current user is able to perform on this object (read-only)</summary>
879
  public StringDictionary<bool>? can { get; set; } = null;
John Kaster's avatar
John Kaster committed
880
  /// <summary>Text tile body text</summary>
881
  public string? body_text { get; set; } = null;
John Kaster's avatar
John Kaster committed
882
  /// <summary>Text tile body text as Html (read-only)</summary>
883
  public string? body_text_as_html { get; set; } = null;
John Kaster's avatar
John Kaster committed
884
  /// <summary>Id of Dashboard</summary>
885
  public string? dashboard_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
886
  /// <summary>Relative path of URI of LookML file to edit the dashboard element (LookML dashboard only). (read-only)</summary>
887
  public Url? edit_uri { get; set; } = null;
John Kaster's avatar
John Kaster committed
888
  /// <summary>Unique Id (read-only)</summary>
889
  public string? id { get; set; } = null;
John Kaster's avatar
John Kaster committed
890
  public LookWithQuery? look { get; set; }
John Kaster's avatar
John Kaster committed
891
  /// <summary>Id Of Look</summary>
892
  public string? look_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
893
  /// <summary>LookML link ID (read-only)</summary>
894
  public string? lookml_link_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
895
  /// <summary>ID of merge result</summary>
896
  public string? merge_result_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
897
  /// <summary>Note Display</summary>
898
  public string? note_display { get; set; } = null;
John Kaster's avatar
John Kaster committed
899
  /// <summary>Note State</summary>
900
  public string? note_state { get; set; } = null;
John Kaster's avatar
John Kaster committed
901
  /// <summary>Note Text</summary>
902
  public string? note_text { get; set; } = null;
John Kaster's avatar
John Kaster committed
903
  /// <summary>Note Text as Html (read-only)</summary>
904
  public string? note_text_as_html { get; set; } = null;
John Kaster's avatar
John Kaster committed
905
  public Query? query { get; set; }
John Kaster's avatar
John Kaster committed
906
  /// <summary>Id Of Query</summary>
907
  public long? query_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
908
  /// <summary>Refresh Interval</summary>
909
  public string? refresh_interval { get; set; } = null;
John Kaster's avatar
John Kaster committed
910
  /// <summary>Refresh Interval as integer (read-only)</summary>
911
  public long? refresh_interval_to_i { get; set; } = null;
John Kaster's avatar
John Kaster committed
912
  public ResultMakerWithIdVisConfigAndDynamicFields? result_maker { get; set; }
John Kaster's avatar
John Kaster committed
913
  /// <summary>ID of the ResultMakerLookup entry.</summary>
914
  public long? result_maker_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
915
  /// <summary>Text tile subtitle text</summary>
916
  public string? subtitle_text { get; set; } = null;
John Kaster's avatar
John Kaster committed
917
  /// <summary>Title of dashboard element</summary>
918
  public string? title { get; set; } = null;
John Kaster's avatar
John Kaster committed
919
  /// <summary>Whether title is hidden</summary>
920
  public bool? title_hidden { get; set; } = null;
John Kaster's avatar
John Kaster committed
921
  /// <summary>Text tile title</summary>
922
  public string? title_text { get; set; } = null;
John Kaster's avatar
John Kaster committed
923
  /// <summary>Type</summary>
924
  public string? type { get; set; } = null;
John Kaster's avatar
John Kaster committed
925
  /// <summary>Count of Alerts associated to a dashboard element (read-only)</summary>
926
  public long? alert_count { get; set; } = null;
927
928
  /// <summary>JSON with all the properties required for rich editor and buttons elements</summary>
  public string? rich_content_json { get; set; } = null;
John Kaster's avatar
John Kaster committed
929
  /// <summary>Text tile title text as Html (read-only)</summary>
930
  public string? title_text_as_html { get; set; } = null;
John Kaster's avatar
John Kaster committed
931
  /// <summary>Text tile subtitle text as Html (read-only)</summary>
932
  public string? subtitle_text_as_html { get; set; } = null;
John Kaster's avatar
John Kaster committed
933
934
}

935
public class DashboardFilter : SdkModel
John Kaster's avatar
John Kaster committed
936
{
John Kaster's avatar
John Kaster committed
937
  /// <summary>Operations the current user is able to perform on this object (read-only)</summary>
938
  public StringDictionary<bool>? can { get; set; } = null;
John Kaster's avatar
John Kaster committed
939
  /// <summary>Unique Id (read-only)</summary>
940
  public string? id { get; set; } = null;
John Kaster's avatar
John Kaster committed
941
  /// <summary>Id of Dashboard (read-only)</summary>
942
  public string? dashboard_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
943
  /// <summary>Name of filter</summary>
944
  public string? name { get; set; } = null;
John Kaster's avatar
John Kaster committed
945
  /// <summary>Title of filter</summary>
946
  public string? title { get; set; } = null;
John Kaster's avatar
John Kaster committed
947
  /// <summary>Type of filter: one of date, number, string, or field</summary>
948
  public string? type { get; set; } = null;
John Kaster's avatar
John Kaster committed
949
  /// <summary>Default value of filter</summary>
950
  public string? default_value { get; set; } = null;
John Kaster's avatar
John Kaster committed
951
  /// <summary>Model of filter (required if type = field)</summary>
952
  public string? model { get; set; } = null;
John Kaster's avatar
John Kaster committed
953
  /// <summary>Explore of filter (required if type = field)</summary>
954
  public string? explore { get; set; } = null;
John Kaster's avatar
John Kaster committed
955
  /// <summary>Dimension of filter (required if type = field)</summary>
956
  public string? dimension { get; set; } = null;
John Kaster's avatar
John Kaster committed
957
  /// <summary>Field information (read-only)</summary>
958
  public StringDictionary<object>? field { get; set; } = null;
John Kaster's avatar
John Kaster committed
959
  /// <summary>Display order of this filter relative to other filters</summary>
960
  public long? row { get; set; } = null;
John Kaster's avatar
John Kaster committed
961
  /// <summary>Array of listeners for faceted filters</summary>
962
  public string[]? listens_to_filters { get; set; } = null;
John Kaster's avatar
John Kaster committed
963
  /// <summary>Whether the filter allows multiple filter values (deprecated in the latest version of dashboards)</summary>
964
  public bool? allow_multiple_values { get; set; } = null;
John Kaster's avatar
John Kaster committed
965
  /// <summary>Whether the filter requires a value to run the dashboard</summary>
966
  public bool? required { get; set; } = null;
John Kaster's avatar
John Kaster committed
967
  /// <summary>The visual configuration for this filter. Used to set up how the UI for this filter should appear.</summary>
968
  public StringDictionary<object>? ui_config { get; set; } = null;
John Kaster's avatar
John Kaster committed
969
970
}

971
public class DashboardLayout : SdkModel
John Kaster's avatar
John Kaster committed
972
{
John Kaster's avatar
John Kaster committed
973
  /// <summary>Operations the current user is able to perform on this object (read-only)</summary>
974
  public StringDictionary<bool>? can { get; set; } = null;
John Kaster's avatar
John Kaster committed
975
  /// <summary>Unique Id (read-only)</summary>
976
  public string? id { get; set; } = null;
John Kaster's avatar
John Kaster committed
977
  /// <summary>Id of Dashboard</summary>
978
  public string? dashboard_id { get; set; } = null;
John Kaster's avatar
John Kaster committed
979
  /// <summary>Type</summary>
980
  public string? type { get; set; } = null;
John Kaster's avatar
John Kaster committed
981
  /// <summary>Is Active</summary>
982
  public bool? active { get; set; } = null;
John Kaster's avatar
John Kaster committed
983
  /// <summary>Column Width</summary>
984
  public long? column_width { get; set; } = null;
John Kaster's avatar
John Kaster committed
985
  /// <summary>Width</summary>
986
  public long? width { get; set; } = null;
John Kaster's avatar
John Kaster committed
987
  /// <summary>Whether or not the dashboard layout is deleted. (read-only)</summary>
988
  public bool? deleted { get; set; } = null;
John Kaster's avatar
John Kaster committed
989
  /// <summary>Title extracted from the dashboard this layout represents. (read-only)</summary>
990
  public string? dashboard_title { get; set; } = null;
John Kaster's avatar
John Kaster committed
991
  /// <summary>Components (read-only)</summary>
992
  public DashboardLayoutComponent[]? dashboard_layout_components { get; set; } = null;
John Kaster's avatar
John Kaster committed
993
994
}

995
public class DashboardLayoutComponent : SdkModel
John Kaster's avatar
John Kaster committed
996
{
John Kaster's avatar
John Kaster committed
997
  /// <summary>Operations the current user is able to perform on this object (read-only)</summary>
998
  public StringDictionary<bool>? can { get; set; } = null;
John Kaster's avatar
John Kaster committed
999
  /// <summary>Unique Id (read-only)</summary>
1000
  public string? id { get; set; } = null;
For faster browsing, not all history is shown. View entire blame