Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDK 7.16 bindings #348

Merged
merged 1 commit into from
Oct 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion csharp/rtl/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public struct Constants

public const string DefaultApiVersion = "4.0";
public const string AgentPrefix = "CS-SDK";
public const string LookerVersion = "7.14";
public const string LookerVersion = "7.16";

public const string Bearer = "Bearer";
public const string LookerAppiId = "x-looker-appid";
Expand Down
4 changes: 2 additions & 2 deletions csharp/sdk/3.1/methods.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
using Looker.RTL;
// ReSharper disable InconsistentNaming

/// NOTE: Do not edit this file generated by Looker SDK Codegen for Looker 7.14 API 3.1
/// NOTE: Do not edit this file generated by Looker SDK Codegen for Looker 7.16 API 3.1

namespace Looker.SDK.API31
{
Expand Down Expand Up @@ -1507,7 +1507,7 @@ public async Task<SdkResponse<string, Exception>> delete_content_metadata_access
/// <param name="type">Either dashboard or look</param>
/// <param name="resource_id">ID of the dashboard or look to render</param>
/// <param name="reload">Whether or not to refresh the rendered image with the latest content</param>
/// <param name="format">A value of png produces a thumbnail in PNG format instead of SVG</param>
/// <param name="format">A value of png produces a thumbnail in PNG format instead of SVG (default)</param>
/// <param name="width">The width of the image if format is supplied</param>
/// <param name="height">The height of the image if format is supplied</param>
public async Task<SdkResponse<TSuccess, Exception>> content_thumbnail<TSuccess>(
Expand Down
38 changes: 23 additions & 15 deletions csharp/sdk/3.1/models.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
/// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
/// SOFTWARE.

/// 254 API models: 186 Spec, 0 Request, 51 Write, 17 Enum
/// 255 API models: 187 Spec, 0 Request, 51 Write, 17 Enum

#nullable enable
using System;
Expand All @@ -32,7 +32,7 @@
using Password = System.String;
// ReSharper disable InconsistentNaming

/// NOTE: Do not edit this file generated by Looker SDK Codegen for Looker 7.14 API 3.1
/// NOTE: Do not edit this file generated by Looker SDK Codegen for Looker 7.16 API 3.1

namespace Looker.SDK.API31
{
Expand Down Expand Up @@ -1093,6 +1093,8 @@ public class DBConnection : SdkModel
public Dialect? dialect { get; set; }
/// <summary>SQL Runner snippets for this connection (read-only)</summary>
public Snippet[]? snippets { get; set; } = null;
/// <summary>True if PDTs are enabled on this connection (read-only)</summary>
public bool? pdts_enabled { get; set; } = null;
/// <summary>Host name/address of server</summary>
public string? host { get; set; } = null;
/// <summary>Port number on server</summary>
Expand Down Expand Up @@ -1165,6 +1167,8 @@ public class DBConnectionBase : SdkModel
public Dialect? dialect { get; set; }
/// <summary>SQL Runner snippets for this connection (read-only)</summary>
public Snippet[]? snippets { get; set; } = null;
/// <summary>True if PDTs are enabled on this connection (read-only)</summary>
public bool? pdts_enabled { get; set; } = null;
}

public class DBConnectionOverride : SdkModel
Expand Down Expand Up @@ -1735,20 +1739,15 @@ public class Integration : SdkModel
/// <summary>Array of params for the integration.</summary>
public IntegrationParam[]? @params { get; set; } = null;
/// <summary>A list of data formats the integration supports. If unspecified, the default is all data formats. Valid values are: "txt", "csv", "inline_json", "json", "json_label", "json_detail", "json_detail_lite_stream", "xlsx", "html", "wysiwyg_pdf", "assembled_pdf", "wysiwyg_png", "csv_zip". (read-only)</summary>
[JsonConverter(typeof(StringEnumConverter))]
public SupportedFormats? supported_formats { get; set; }
public SupportedFormats[]? supported_formats { get; set; } = null;
/// <summary>A list of action types the integration supports. Valid values are: "cell", "query", "dashboard". (read-only)</summary>
[JsonConverter(typeof(StringEnumConverter))]
public SupportedActionTypes? supported_action_types { get; set; }
public SupportedActionTypes[]? supported_action_types { get; set; } = null;
/// <summary>A list of formatting options the integration supports. If unspecified, defaults to all formats. Valid values are: "formatted", "unformatted". (read-only)</summary>
[JsonConverter(typeof(StringEnumConverter))]
public SupportedFormattings? supported_formattings { get; set; }
public SupportedFormattings[]? supported_formattings { get; set; } = null;
/// <summary>A list of visualization formatting options the integration supports. If unspecified, defaults to all formats. Valid values are: "apply", "noapply". (read-only)</summary>
[JsonConverter(typeof(StringEnumConverter))]
public SupportedVisualizationFormattings? supported_visualization_formattings { get; set; }
public SupportedVisualizationFormattings[]? supported_visualization_formattings { get; set; } = null;
/// <summary>A list of all the download mechanisms the integration supports. The order of values is not significant: Looker will select the most appropriate supported download mechanism for a given query. The integration must ensure it can handle any of the mechanisms it claims to support. If unspecified, this defaults to all download setting values. Valid values are: "push", "url". (read-only)</summary>
[JsonConverter(typeof(StringEnumConverter))]
public SupportedDownloadSettings? supported_download_settings { get; set; }
public SupportedDownloadSettings[]? supported_download_settings { get; set; } = null;
/// <summary>URL to an icon for the integration. (read-only)</summary>
public string? icon_url { get; set; } = null;
/// <summary>Whether the integration uses oauth. (read-only)</summary>
Expand Down Expand Up @@ -2390,6 +2389,8 @@ public class LookmlModelExploreField : SdkModel
public string? sql { get; set; } = null;
/// <summary>An array of conditions and values that make up a SQL Case expression, as defined in the LookML model. The SQL syntax shown here is a representation intended for auditability, and is not neccessarily an exact match for what will ultimately be run in the database. It may contain special LookML syntax or annotations that are not valid SQL. This will be null if the current user does not have the see_lookml permission for the field's model. (read-only)</summary>
public LookmlModelExploreFieldSqlCase[]? sql_case { get; set; } = null;
/// <summary>Array of filter conditions defined for the measure in LookML. (read-only)</summary>
public LookmlModelExploreFieldMeasureFilters[]? filters { get; set; } = null;
/// <summary>The name of the dimension to base suggest queries from. (read-only)</summary>
public string? suggest_dimension { get; set; } = null;
/// <summary>The name of the explore to base suggest queries from. (read-only)</summary>
Expand All @@ -2403,8 +2404,7 @@ public class LookmlModelExploreField : SdkModel
/// <summary>The LookML type of the field. (read-only)</summary>
public string? type { get; set; } = null;
/// <summary>An array of user attribute types that are allowed to be used in filters on this field. Valid values are: "advanced_filter_string", "advanced_filter_number", "advanced_filter_datetime", "string", "number", "datetime", "relative_url", "yesno", "zipcode". (read-only)</summary>
[JsonConverter(typeof(StringEnumConverter))]
public UserAttributeFilterTypes? user_attribute_filter_types { get; set; }
public UserAttributeFilterTypes[]? user_attribute_filter_types { get; set; } = null;
/// <summary>If specified, the LookML value format string for formatting values of this field. (read-only)</summary>
public string? value_format { get; set; } = null;
/// <summary>The name of the view this field belongs to. (read-only)</summary>
Expand Down Expand Up @@ -2451,6 +2451,14 @@ public class LookmlModelExploreFieldMapLayer : SdkModel
public long? min_zoom_level { get; set; } = null;
}

public class LookmlModelExploreFieldMeasureFilters : SdkModel
{
/// <summary>Filter field name (read-only)</summary>
public string? field { get; set; } = null;
/// <summary>Filter condition value (read-only)</summary>
public string? condition { get; set; } = null;
}

public class LookmlModelExploreFieldset : SdkModel
{
/// <summary>Array of dimensions (read-only)</summary>
Expand Down Expand Up @@ -4624,7 +4632,7 @@ public class WriteDatagroup : SdkModel
}

/// Dynamically generated writeable type for DBConnection removes properties:
/// can, dialect, snippets, uses_oauth, created_at, user_id, example, last_regen_at, last_reap_at, managed
/// can, dialect, snippets, pdts_enabled, uses_oauth, created_at, user_id, example, last_regen_at, last_reap_at, managed
public class WriteDBConnection : SdkModel
{
/// <summary>Name of the connection. Also used as the unique identifier</summary>
Expand Down
4 changes: 2 additions & 2 deletions csharp/sdk/4.0/methods.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
using Looker.RTL;
// ReSharper disable InconsistentNaming

/// NOTE: Do not edit this file generated by Looker SDK Codegen for Looker 7.14 API 4.0
/// NOTE: Do not edit this file generated by Looker SDK Codegen for Looker 7.16 API 4.0

namespace Looker.SDK.API40
{
Expand Down Expand Up @@ -2287,7 +2287,7 @@ public async Task<SdkResponse<string, Exception>> delete_content_metadata_access
/// <param name="type">Either dashboard or look</param>
/// <param name="resource_id">ID of the dashboard or look to render</param>
/// <param name="reload">Whether or not to refresh the rendered image with the latest content</param>
/// <param name="format">A value of png produces a thumbnail in PNG format instead of SVG</param>
/// <param name="format">A value of png produces a thumbnail in PNG format instead of SVG (default)</param>
/// <param name="width">The width of the image if format is supplied</param>
/// <param name="height">The height of the image if format is supplied</param>
public async Task<SdkResponse<TSuccess, Exception>> content_thumbnail<TSuccess>(
Expand Down
38 changes: 23 additions & 15 deletions csharp/sdk/4.0/models.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
/// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
/// SOFTWARE.

/// 263 API models: 190 Spec, 0 Request, 55 Write, 18 Enum
/// 264 API models: 191 Spec, 0 Request, 55 Write, 18 Enum

#nullable enable
using System;
Expand All @@ -32,7 +32,7 @@
using Password = System.String;
// ReSharper disable InconsistentNaming

/// NOTE: Do not edit this file generated by Looker SDK Codegen for Looker 7.14 API 4.0
/// NOTE: Do not edit this file generated by Looker SDK Codegen for Looker 7.16 API 4.0

namespace Looker.SDK.API40
{
Expand Down Expand Up @@ -1179,6 +1179,8 @@ public class DBConnection : SdkModel
public Dialect? dialect { get; set; }
/// <summary>SQL Runner snippets for this connection (read-only)</summary>
public Snippet[]? snippets { get; set; } = null;
/// <summary>True if PDTs are enabled on this connection (read-only)</summary>
public bool? pdts_enabled { get; set; } = null;
/// <summary>Host name/address of server</summary>
public string? host { get; set; } = null;
/// <summary>Port number on server</summary>
Expand Down Expand Up @@ -1257,6 +1259,8 @@ public class DBConnectionBase : SdkModel
public Dialect? dialect { get; set; }
/// <summary>SQL Runner snippets for this connection (read-only)</summary>
public Snippet[]? snippets { get; set; } = null;
/// <summary>True if PDTs are enabled on this connection (read-only)</summary>
public bool? pdts_enabled { get; set; } = null;
}

public class DBConnectionOverride : SdkModel
Expand Down Expand Up @@ -1827,20 +1831,15 @@ public class Integration : SdkModel
/// <summary>Array of params for the integration.</summary>
public IntegrationParam[]? @params { get; set; } = null;
/// <summary>A list of data formats the integration supports. If unspecified, the default is all data formats. Valid values are: "txt", "csv", "inline_json", "json", "json_label", "json_detail", "json_detail_lite_stream", "xlsx", "html", "wysiwyg_pdf", "assembled_pdf", "wysiwyg_png", "csv_zip". (read-only)</summary>
[JsonConverter(typeof(StringEnumConverter))]
public SupportedFormats? supported_formats { get; set; }
public SupportedFormats[]? supported_formats { get; set; } = null;
/// <summary>A list of action types the integration supports. Valid values are: "cell", "query", "dashboard". (read-only)</summary>
[JsonConverter(typeof(StringEnumConverter))]
public SupportedActionTypes? supported_action_types { get; set; }
public SupportedActionTypes[]? supported_action_types { get; set; } = null;
/// <summary>A list of formatting options the integration supports. If unspecified, defaults to all formats. Valid values are: "formatted", "unformatted". (read-only)</summary>
[JsonConverter(typeof(StringEnumConverter))]
public SupportedFormattings? supported_formattings { get; set; }
public SupportedFormattings[]? supported_formattings { get; set; } = null;
/// <summary>A list of visualization formatting options the integration supports. If unspecified, defaults to all formats. Valid values are: "apply", "noapply". (read-only)</summary>
[JsonConverter(typeof(StringEnumConverter))]
public SupportedVisualizationFormattings? supported_visualization_formattings { get; set; }
public SupportedVisualizationFormattings[]? supported_visualization_formattings { get; set; } = null;
/// <summary>A list of all the download mechanisms the integration supports. The order of values is not significant: Looker will select the most appropriate supported download mechanism for a given query. The integration must ensure it can handle any of the mechanisms it claims to support. If unspecified, this defaults to all download setting values. Valid values are: "push", "url". (read-only)</summary>
[JsonConverter(typeof(StringEnumConverter))]
public SupportedDownloadSettings? supported_download_settings { get; set; }
public SupportedDownloadSettings[]? supported_download_settings { get; set; } = null;
/// <summary>URL to an icon for the integration. (read-only)</summary>
public string? icon_url { get; set; } = null;
/// <summary>Whether the integration uses oauth. (read-only)</summary>
Expand Down Expand Up @@ -2491,6 +2490,8 @@ public class LookmlModelExploreField : SdkModel
public string? sql { get; set; } = null;
/// <summary>An array of conditions and values that make up a SQL Case expression, as defined in the LookML model. The SQL syntax shown here is a representation intended for auditability, and is not neccessarily an exact match for what will ultimately be run in the database. It may contain special LookML syntax or annotations that are not valid SQL. This will be null if the current user does not have the see_lookml permission for the field's model. (read-only)</summary>
public LookmlModelExploreFieldSqlCase[]? sql_case { get; set; } = null;
/// <summary>Array of filter conditions defined for the measure in LookML. (read-only)</summary>
public LookmlModelExploreFieldMeasureFilters[]? filters { get; set; } = null;
/// <summary>The name of the dimension to base suggest queries from. (read-only)</summary>
public string? suggest_dimension { get; set; } = null;
/// <summary>The name of the explore to base suggest queries from. (read-only)</summary>
Expand All @@ -2504,8 +2505,7 @@ public class LookmlModelExploreField : SdkModel
/// <summary>The LookML type of the field. (read-only)</summary>
public string? type { get; set; } = null;
/// <summary>An array of user attribute types that are allowed to be used in filters on this field. Valid values are: "advanced_filter_string", "advanced_filter_number", "advanced_filter_datetime", "string", "number", "datetime", "relative_url", "yesno", "zipcode". (read-only)</summary>
[JsonConverter(typeof(StringEnumConverter))]
public UserAttributeFilterTypes? user_attribute_filter_types { get; set; }
public UserAttributeFilterTypes[]? user_attribute_filter_types { get; set; } = null;
/// <summary>If specified, the LookML value format string for formatting values of this field. (read-only)</summary>
public string? value_format { get; set; } = null;
/// <summary>The name of the view this field belongs to. (read-only)</summary>
Expand Down Expand Up @@ -2554,6 +2554,14 @@ public class LookmlModelExploreFieldMapLayer : SdkModel
public long? min_zoom_level { get; set; } = null;
}

public class LookmlModelExploreFieldMeasureFilters : SdkModel
{
/// <summary>Filter field name (read-only)</summary>
public string? field { get; set; } = null;
/// <summary>Filter condition value (read-only)</summary>
public string? condition { get; set; } = null;
}

public class LookmlModelExploreFieldset : SdkModel
{
/// <summary>Array of dimensions (read-only)</summary>
Expand Down Expand Up @@ -4759,7 +4767,7 @@ public class WriteDatagroup : SdkModel
}

/// Dynamically generated writeable type for DBConnection removes properties:
/// can, dialect, snippets, uses_oauth, created_at, user_id, example, last_regen_at, last_reap_at, managed
/// can, dialect, snippets, pdts_enabled, uses_oauth, created_at, user_id, example, last_regen_at, last_reap_at, managed
public class WriteDBConnection : SdkModel
{
/// <summary>Name of the connection. Also used as the unique identifier</summary>
Expand Down
2 changes: 1 addition & 1 deletion go/sdk/v3/methods.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ SOFTWARE.
*/


// NOTE: Do not edit this file generated by Looker SDK Codegen for Looker 7.14 API v3
// NOTE: Do not edit this file generated by Looker SDK Codegen for Looker 7.16 API v3

package v3

Expand Down
Loading