• John Kaster's avatar
    Generating methods and streams by tag then method (#264) · 2b9b2823
    John Kaster authored
    
    - tags are listed alphabetically
    - methods are listed in natural order
    - fixed a c# reserved word in http calls also
    - Typescript, Kotlin have region folding in IntelliJ
    - C# has region folding in Rider
    - Swift has no region folding at all, contradicting documentation on `// MARK`
    - Black reformats `#region` and `#endregion` to `# region` and `# endregion`
      - IntelliJ doesn't detect either version of region folding documented for Python
      - Maybe only PyCharm supports it
    - Updated SDK code to Looker 7.12's spec
    
    Co-authored-by: default avatarJoseph Axisa <jax@looker.com>
    2b9b2823
models.cs 294.34 KiB
/// MIT License
///
/// Copyright (c) 2019 Looker Data Sciences, Inc.
///
/// 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.
/// 251 API models: 183 Spec, 0 Request, 51 Write, 17 Enum
#nullable enable
using System;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Looker.RTL;
using Url = System.String;
using Password = System.String;
// ReSharper disable InconsistentNaming
/// NOTE: Do not edit this file generated by Looker SDK Codegen for Looker 7.12 API 3.1
namespace Looker.SDK.API31 
public class AccessToken : SdkModel
  /// <summary>Access Token used for API calls (read-only)</summary>
  public string? access_token { get; set; } = null;
  /// <summary>Type of Token (read-only)</summary>
  public string? token_type { get; set; } = null;
  /// <summary>Number of seconds before the token expires (read-only)</summary>
  public long? expires_in { get; set; } = null;
/// The appropriate horizontal text alignment the values of this field should be displayed in. Valid values are: "left", "right".
public enum Align
  [EnumMember(Value = "left")]
  left,
  [EnumMember(Value = "right")]
  right
public class ApiSession : SdkModel
  /// <summary>Operations the current user is able to perform on this object (read-only)</summary>
  public StringDictionary<bool>? can { get; set; } = null;
  /// <summary>The id of active workspace for this session</summary>
  public string? workspace_id { get; set; } = null;
  /// <summary>The id of the actual user in the case when this session represents one user sudo'ing as another (read-only)</summary>
  public long? sudo_user_id { get; set; } = null;
public class ApiVersion : SdkModel