/// <summary> /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject into a new instance of <see cref="Any" />. /// </summary> /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject instance to deserialize from.</param> internal Any(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject json) { bool returnNow = false; BeforeFromJson(json, ref returnNow); if (returnNow) { return; } AfterFromJson(json); }
/// <summary> /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject into a new instance of <see cref="UserAssignedIdentities" />. /// </summary> /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject instance to deserialize from.</param> /// <param name="exclusions"></param> internal UserAssignedIdentities(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject json, global::System.Collections.Generic.HashSet <string> exclusions = null) { bool returnNow = false; BeforeFromJson(json, ref returnNow); if (returnNow) { return; } Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.JsonSerializable.FromJson(json, ((Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.IAssociativeArray <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.IUserAssignedIdentity>) this).AdditionalProperties, (j) => Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.UserAssignedIdentity.FromJson(j), exclusions); AfterFromJson(json); }
/// <summary> /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject into a new instance of <see cref="IotMappingPropertiesContent" />. /// </summary> /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject instance to deserialize from.</param> /// <param name="exclusions"></param> internal IotMappingPropertiesContent(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject json, global::System.Collections.Generic.HashSet <string> exclusions = null) { bool returnNow = false; BeforeFromJson(json, ref returnNow); if (returnNow) { return; } Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.JsonSerializable.FromJson(json, ((Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.IAssociativeArray <global::System.Object>) this).AdditionalProperties, Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.JsonSerializable.DeserializeDictionary(() => new global::System.Collections.Generic.Dictionary <global::System.String, global::System.Object>()), exclusions); AfterFromJson(json); }
/// <summary> /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject into a new instance of <see cref="IotMappingProperties" />. /// </summary> /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject instance to deserialize from.</param> internal IotMappingProperties(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject json) { bool returnNow = false; BeforeFromJson(json, ref returnNow); if (returnNow) { return; } { _content = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject>("content"), out var __jsonContent) ? Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.IotMappingPropertiesContent.FromJson(__jsonContent) : Content; } AfterFromJson(json); }
/// <summary> /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject into a new instance of <see cref="ServiceManagedIdentity" />. /// </summary> /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject instance to deserialize from.</param> internal ServiceManagedIdentity(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject json) { bool returnNow = false; BeforeFromJson(json, ref returnNow); if (returnNow) { return; } { _identity = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject>("identity"), out var __jsonIdentity) ? Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.ServiceManagedIdentityAutoGenerated.FromJson(__jsonIdentity) : Identity; } AfterFromJson(json); }
/// <summary> /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject into a new instance of <see cref="ServiceAccessPolicyEntry" />. /// </summary> /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject instance to deserialize from.</param> internal ServiceAccessPolicyEntry(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject json) { bool returnNow = false; BeforeFromJson(json, ref returnNow); if (returnNow) { return; } { _objectId = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonString>("objectId"), out var __jsonObjectId) ? (string)__jsonObjectId : (string)ObjectId; } AfterFromJson(json); }
/// <summary> /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject into a new instance of <see cref="WorkspacePatchResource" />. /// </summary> /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject instance to deserialize from.</param> internal WorkspacePatchResource(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject json) { bool returnNow = false; BeforeFromJson(json, ref returnNow); if (returnNow) { return; } __resourceTags1 = new Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.ResourceTags1(json); AfterFromJson(json); }
/// <summary> /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject into a new instance of <see cref="ResourceTags" />. /// </summary> /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject instance to deserialize from.</param> /// <param name="exclusions"></param> internal ResourceTags(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject json, global::System.Collections.Generic.HashSet <string> exclusions = null) { bool returnNow = false; BeforeFromJson(json, ref returnNow); if (returnNow) { return; } Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.JsonSerializable.FromJson(json, ((Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.IAssociativeArray <string>) this).AdditionalProperties, null, exclusions); AfterFromJson(json); }
/// <summary> /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject into a new instance of <see cref="PrivateEndpointConnectionListResult" />. /// </summary> /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject instance to deserialize from.</param> internal PrivateEndpointConnectionListResult(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject json) { bool returnNow = false; BeforeFromJson(json, ref returnNow); if (returnNow) { return; } { _value = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonArray>("value"), out var __jsonValue) ? If(__jsonValue as Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonArray, out var __v) ? new global::System.Func <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api10.IPrivateEndpointConnection[]>(() => global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u) => (Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api10.IPrivateEndpointConnection)(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api10.PrivateEndpointConnection.FromJson(__u)))))() : null : Value; } AfterFromJson(json); }
/// <summary> /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject into a new instance of <see cref="Error" />. /// </summary> /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject instance to deserialize from.</param> internal Error(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject json) { bool returnNow = false; BeforeFromJson(json, ref returnNow); if (returnNow) { return; } { _error1 = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject>("error"), out var __jsonError) ? Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.InternalErrorDetails.FromJson(__jsonError) : Error1; } AfterFromJson(json); }
/// <summary> /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject into a new instance of <see cref="ServiceExportConfigurationInfo" />. /// </summary> /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject instance to deserialize from.</param> internal ServiceExportConfigurationInfo(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject json) { bool returnNow = false; BeforeFromJson(json, ref returnNow); if (returnNow) { return; } { _storageAccountName = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonString>("storageAccountName"), out var __jsonStorageAccountName) ? (string)__jsonStorageAccountName : (string)StorageAccountName; } AfterFromJson(json); }
/// <summary> /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject into a new instance of <see cref="IotDestinationProperties" />. /// </summary> /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject instance to deserialize from.</param> internal IotDestinationProperties(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject json) { bool returnNow = false; BeforeFromJson(json, ref returnNow); if (returnNow) { return; } { _provisioningState = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonString>("provisioningState"), out var __jsonProvisioningState) ? (string)__jsonProvisioningState : (string)ProvisioningState; } AfterFromJson(json); }
/// <summary> /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject into a new instance of <see cref="PrivateEndpoint" />. /// </summary> /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject instance to deserialize from.</param> internal PrivateEndpoint(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject json) { bool returnNow = false; BeforeFromJson(json, ref returnNow); if (returnNow) { return; } { _id = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonString>("id"), out var __jsonId) ? (string)__jsonId : (string)Id; } AfterFromJson(json); }
/// <summary> /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject into a new instance of <see cref="ServicesPropertiesUpdateParameters" />. /// </summary> /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject instance to deserialize from.</param> internal ServicesPropertiesUpdateParameters(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject json) { bool returnNow = false; BeforeFromJson(json, ref returnNow); if (returnNow) { return; } { _publicNetworkAccess = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonString>("publicNetworkAccess"), out var __jsonPublicNetworkAccess) ? (string)__jsonPublicNetworkAccess : (string)PublicNetworkAccess; } AfterFromJson(json); }
/// <summary> /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject into a new instance of <see cref="ResourceTags1" />. /// </summary> /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject instance to deserialize from.</param> internal ResourceTags1(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject json) { bool returnNow = false; BeforeFromJson(json, ref returnNow); if (returnNow) { return; } { _tag = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject>("tags"), out var __jsonTags) ? Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.ResourceTags.FromJson(__jsonTags) : Tag; } AfterFromJson(json); }
/// <summary> /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject into a new instance of <see cref="OperationProperties" />. /// </summary> /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject instance to deserialize from.</param> internal OperationProperties(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject json) { bool returnNow = false; BeforeFromJson(json, ref returnNow); if (returnNow) { return; } { _serviceSpecification = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject>("serviceSpecification"), out var __jsonServiceSpecification) ? Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.ServiceSpecification.FromJson(__jsonServiceSpecification) : ServiceSpecification; } AfterFromJson(json); }
/// <summary> /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject into a new instance of <see cref="LocationBasedResource" />. /// </summary> /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject instance to deserialize from.</param> internal LocationBasedResource(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject json) { bool returnNow = false; BeforeFromJson(json, ref returnNow); if (returnNow) { return; } __resourceCore = new Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.ResourceCore(json); { _location = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonString>("location"), out var __jsonLocation) ? (string)__jsonLocation : (string)Location; } AfterFromJson(json); }
/// <summary> /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject into a new instance of <see cref="ServiceAcrConfigurationInfo" />. /// </summary> /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject instance to deserialize from.</param> internal ServiceAcrConfigurationInfo(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject json) { bool returnNow = false; BeforeFromJson(json, ref returnNow); if (returnNow) { return; } { _loginServer = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonArray>("loginServers"), out var __jsonLoginServers) ? If(__jsonLoginServers as Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonArray, out var __v) ? new global::System.Func <string[]>(() => global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u) => (string)(__u is Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonString __t ? (string)(__t.ToString()) : null))))() : null : LoginServer; } { _ociArtifact = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonArray>("ociArtifacts"), out var __jsonOciArtifacts) ? If(__jsonOciArtifacts as Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonArray, out var __q) ? new global::System.Func <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.IServiceOciArtifactEntry[]>(() => global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__q, (__p) => (Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.IServiceOciArtifactEntry)(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.ServiceOciArtifactEntry.FromJson(__p)))))() : null : OciArtifact; } AfterFromJson(json); }
/// <summary> /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject into a new instance of <see cref="PrivateLinkResource" />. /// </summary> /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject instance to deserialize from.</param> internal PrivateLinkResource(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject json) { bool returnNow = false; BeforeFromJson(json, ref returnNow); if (returnNow) { return; } __resource = new Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api10.Resource(json); { _property = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject>("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api10.PrivateLinkResourceProperties.FromJson(__jsonProperties) : Property; } AfterFromJson(json); }
/// <summary> /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject into a new instance of <see cref="DicomServiceAuthenticationConfiguration" />. /// </summary> /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject instance to deserialize from.</param> internal DicomServiceAuthenticationConfiguration(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject json) { bool returnNow = false; BeforeFromJson(json, ref returnNow); if (returnNow) { return; } { _authority = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonString>("authority"), out var __jsonAuthority) ? (string)__jsonAuthority : (string)Authority; } { _audience = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonArray>("audiences"), out var __jsonAudiences) ? If(__jsonAudiences as Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonArray, out var __v) ? new global::System.Func <string[]>(() => global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u) => (string)(__u is Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonString __t ? (string)(__t.ToString()) : null))))() : null : Audience; } AfterFromJson(json); }
/// <summary> /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject into a new instance of <see cref="IotConnectorPatchResource" />. /// </summary> /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject instance to deserialize from.</param> internal IotConnectorPatchResource(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject json) { bool returnNow = false; BeforeFromJson(json, ref returnNow); if (returnNow) { return; } __resourceTags1 = new Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.ResourceTags1(json); __serviceManagedIdentity = new Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.ServiceManagedIdentity(json); AfterFromJson(json); }
/// <summary> /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject into a new instance of <see cref="CheckNameAvailabilityParameters" />. /// </summary> /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject instance to deserialize from.</param> internal CheckNameAvailabilityParameters(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject json) { bool returnNow = false; BeforeFromJson(json, ref returnNow); if (returnNow) { return; } { _name = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonString>("name"), out var __jsonName) ? (string)__jsonName : (string)Name; } { _type = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonString>("type"), out var __jsonType) ? (string)__jsonType : (string)Type; } AfterFromJson(json); }
/// <summary> /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject into a new instance of <see cref="ServicesPatchDescription" />. /// </summary> /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject instance to deserialize from.</param> internal ServicesPatchDescription(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject json) { bool returnNow = false; BeforeFromJson(json, ref returnNow); if (returnNow) { return; } { _property = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject>("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.ServicesPropertiesUpdateParameters.FromJson(__jsonProperties) : Property; } { _tag = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject>("tags"), out var __jsonTags) ? Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.ServicesPatchDescriptionTags.FromJson(__jsonTags) : Tag; } AfterFromJson(json); }
/// <summary> /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject into a new instance of <see cref="ServiceCosmosDbConfigurationInfo" />. /// </summary> /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject instance to deserialize from.</param> internal ServiceCosmosDbConfigurationInfo(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject json) { bool returnNow = false; BeforeFromJson(json, ref returnNow); if (returnNow) { return; } { _offerThroughput = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonNumber>("offerThroughput"), out var __jsonOfferThroughput) ? (int?)__jsonOfferThroughput : OfferThroughput; } { _keyVaultKeyUri = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonString>("keyVaultKeyUri"), out var __jsonKeyVaultKeyUri) ? (string)__jsonKeyVaultKeyUri : (string)KeyVaultKeyUri; } AfterFromJson(json); }
/// <summary> /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject into a new instance of <see cref="ServiceSpecification" />. /// </summary> /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject instance to deserialize from.</param> internal ServiceSpecification(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject json) { bool returnNow = false; BeforeFromJson(json, ref returnNow); if (returnNow) { return; } { _logSpecification = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonArray>("logSpecifications"), out var __jsonLogSpecifications) ? If(__jsonLogSpecifications as Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonArray, out var __v) ? new global::System.Func <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.ILogSpecification[]>(() => global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u) => (Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.ILogSpecification)(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.LogSpecification.FromJson(__u)))))() : null : LogSpecification; } { _metricSpecification = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonArray>("metricSpecifications"), out var __jsonMetricSpecifications) ? If(__jsonMetricSpecifications as Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonArray, out var __q) ? new global::System.Func <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.IMetricSpecification[]>(() => global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__q, (__p) => (Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.IMetricSpecification)(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.MetricSpecification.FromJson(__p)))))() : null : MetricSpecification; } AfterFromJson(json); }
/// <summary> /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject into a new instance of <see cref="UserAssignedIdentity" />. /// </summary> /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject instance to deserialize from.</param> internal UserAssignedIdentity(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject json) { bool returnNow = false; BeforeFromJson(json, ref returnNow); if (returnNow) { return; } { _principalId = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonString>("principalId"), out var __jsonPrincipalId) ? (string)__jsonPrincipalId : (string)PrincipalId; } { _clientId = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonString>("clientId"), out var __jsonClientId) ? (string)__jsonClientId : (string)ClientId; } AfterFromJson(json); }
/// <summary> /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject into a new instance of <see cref="ResourceVersionPolicyConfiguration" />. /// </summary> /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject instance to deserialize from.</param> internal ResourceVersionPolicyConfiguration(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject json) { bool returnNow = false; BeforeFromJson(json, ref returnNow); if (returnNow) { return; } { _default = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonString>("default"), out var __jsonDefault) ? (string)__jsonDefault : (string)Default; } { _resourceTypeOverride = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject>("resourceTypeOverrides"), out var __jsonResourceTypeOverrides) ? Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.ResourceVersionPolicyConfigurationResourceTypeOverrides.FromJson(__jsonResourceTypeOverrides) : ResourceTypeOverride; } AfterFromJson(json); }
/// <summary> /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject into a new instance of <see cref="PrivateLinkResourceDescription" />. /// </summary> /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject instance to deserialize from.</param> internal PrivateLinkResourceDescription(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject json) { bool returnNow = false; BeforeFromJson(json, ref returnNow); if (returnNow) { return; } __privateLinkResource = new Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api10.PrivateLinkResource(json); { _systemData = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject>("systemData"), out var __jsonSystemData) ? Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api10.SystemData.FromJson(__jsonSystemData) : SystemData; } AfterFromJson(json); }
/// <summary> /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject into a new instance of <see cref="ServicesDescriptionListResult" />. /// </summary> /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject instance to deserialize from.</param> internal ServicesDescriptionListResult(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject json) { bool returnNow = false; BeforeFromJson(json, ref returnNow); if (returnNow) { return; } { _nextLink = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonString>("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)NextLink; } { _value = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonArray>("value"), out var __jsonValue) ? If(__jsonValue as Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonArray, out var __v) ? new global::System.Func <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.IServicesDescription[]>(() => global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u) => (Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.IServicesDescription)(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.ServicesDescription.FromJson(__u)))))() : null : Value; } AfterFromJson(json); }
/// <summary> /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject into a new instance of <see cref="WorkspaceProperties" />. /// </summary> /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject instance to deserialize from.</param> internal WorkspaceProperties(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonObject json) { bool returnNow = false; BeforeFromJson(json, ref returnNow); if (returnNow) { return; } { _provisioningState = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonString>("provisioningState"), out var __jsonProvisioningState) ? (string)__jsonProvisioningState : (string)ProvisioningState; } { _privateEndpointConnection = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonArray>("privateEndpointConnections"), out var __jsonPrivateEndpointConnections) ? If(__jsonPrivateEndpointConnections as Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonArray, out var __v) ? new global::System.Func <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api10.IPrivateEndpointConnection[]>(() => global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u) => (Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api10.IPrivateEndpointConnection)(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api10.PrivateEndpointConnection.FromJson(__u)))))() : null : PrivateEndpointConnection; } { _publicNetworkAccess = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.Json.JsonString>("publicNetworkAccess"), out var __jsonPublicNetworkAccess) ? (string)__jsonPublicNetworkAccess : (string)PublicNetworkAccess; } AfterFromJson(json); }