/// <summary> /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject into a new instance of <see cref="ClusterPrincipalAssignment" />. /// </summary> /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject instance to deserialize from.</param> internal ClusterPrincipalAssignment(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) { bool returnNow = false; BeforeFromJson(json, ref returnNow); if (returnNow) { return; } __proxyResource = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ProxyResource(json); { _property = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject>("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200614.ClusterPrincipalProperties.FromJson(__jsonProperties) : Property; } AfterFromJson(json); }
/// <summary> /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject into a new instance of <see cref="DataConnection" />. /// </summary> /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject instance to deserialize from.</param> internal DataConnection(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) { bool returnNow = false; BeforeFromJson(json, ref returnNow); if (returnNow) { return; } __proxyResource = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ProxyResource(json); { _kind = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString>("kind"), out var __jsonKind) ? (string)__jsonKind : (string)Kind; } { _location = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString>("location"), out var __jsonLocation) ? (string)__jsonLocation : (string)Location; } AfterFromJson(json); }
/// <summary> /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject into a new instance of <see cref="AttachedDatabaseConfiguration" />. /// </summary> /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject instance to deserialize from.</param> internal AttachedDatabaseConfiguration(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject json) { bool returnNow = false; BeforeFromJson(json, ref returnNow); if (returnNow) { return; } __proxyResource = new Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api10.ProxyResource(json); { _property = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonObject>("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200614.AttachedDatabaseConfigurationProperties.FromJson(__jsonProperties) : Property; } { _location = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Json.JsonString>("location"), out var __jsonLocation) ? (string)__jsonLocation : (string)Location; } AfterFromJson(json); }