示例#1
0
 /// <summary>Constructor for deserialization.</summary>
 /// <param name="json">a <see cref="Microsoft.Azure.AzConfig.Runtime.Json.JsonObject" /> to deserialize from.</param>
 internal RemoveAzConfigurationStore_ResourceGroupNameConfigStoreName(Microsoft.Azure.AzConfig.Runtime.Json.JsonObject json)
 {
     // deserialize the contents
     _subscriptionId    = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("SubscriptionId"), out var __jsonSubscriptionId) ? (string)__jsonSubscriptionId : (string)SubscriptionId;
     _resourceGroupName = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("ResourceGroupName"), out var __jsonResourceGroupName) ? (string)__jsonResourceGroupName : (string)ResourceGroupName;
     _configStoreName   = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("ConfigStoreName"), out var __jsonConfigStoreName) ? (string)__jsonConfigStoreName : (string)ConfigStoreName;
 }
 /// <summary>Constructor for deserialization.</summary>
 /// <param name="json">a <see cref="Microsoft.Azure.AzConfig.Runtime.Json.JsonObject" /> to deserialize from.</param>
 internal GetAzConfigurationStore_ResourceGroupResourceGroupNameSkipToken(Microsoft.Azure.AzConfig.Runtime.Json.JsonObject json)
 {
     // deserialize the contents
     _subscriptionId    = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("SubscriptionId"), out var __jsonSubscriptionId) ? (string)__jsonSubscriptionId : (string)SubscriptionId;
     _resourceGroupName = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("ResourceGroupName"), out var __jsonResourceGroupName) ? (string)__jsonResourceGroupName : (string)ResourceGroupName;
     _skipToken         = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("SkipToken"), out var __jsonSkipToken) ? (string)__jsonSkipToken : (string)SkipToken;
 }
示例#3
0
 /// <summary>Constructor for deserialization.</summary>
 /// <param name="json">a <see cref="Microsoft.Azure.AzConfig.Runtime.Json.JsonObject" /> to deserialize from.</param>
 internal NewAzConfigurationStoreKey_KeySubscriptionIdResourceGroupNameConfigStoreNameId(Microsoft.Azure.AzConfig.Runtime.Json.JsonObject json)
 {
     // deserialize the contents
     _subscriptionId          = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("SubscriptionId"), out var __jsonSubscriptionId) ? (string)__jsonSubscriptionId : (string)SubscriptionId;
     _resourceGroupName       = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("ResourceGroupName"), out var __jsonResourceGroupName) ? (string)__jsonResourceGroupName : (string)ResourceGroupName;
     _configStoreName         = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("ConfigStoreName"), out var __jsonConfigStoreName) ? (string)__jsonConfigStoreName : (string)ConfigStoreName;
     _regenerateKeyParameters = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonObject>("RegenerateKeyParameters"), out var __jsonRegenerateKeyParameters) ? Microsoft.Azure.AzConfig.Models.RegenerateKeyParameters.FromJson(__jsonRegenerateKeyParameters) : RegenerateKeyParameters;
 }
 /// <summary>Constructor for deserialization.</summary>
 /// <param name="json">a <see cref="Microsoft.Azure.AzConfig.Runtime.Json.JsonObject" /> to deserialize from.</param>
 internal NewAzConfigurationStore_ResourceGroupNameConfigStoreNameLocationTagsPropertiesExpanded(Microsoft.Azure.AzConfig.Runtime.Json.JsonObject json)
 {
     // deserialize the contents
     _subscriptionId    = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("SubscriptionId"), out var __jsonSubscriptionId) ? (string)__jsonSubscriptionId : (string)SubscriptionId;
     _resourceGroupName = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("ResourceGroupName"), out var __jsonResourceGroupName) ? (string)__jsonResourceGroupName : (string)ResourceGroupName;
     _configStoreName   = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("ConfigStoreName"), out var __jsonConfigStoreName) ? (string)__jsonConfigStoreName : (string)ConfigStoreName;
     _configStoreCreationParametersBody = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonObject>("ConfigStoreCreationParametersBody"), out var __jsonConfigStoreCreationParametersBody) ? Microsoft.Azure.AzConfig.Models.ConfigurationStore.FromJson(__jsonConfigStoreCreationParametersBody) : ConfigStoreCreationParametersBody;
 }
 /// <summary>Constructor for deserialization.</summary>
 /// <param name="json">a <see cref="Microsoft.Azure.AzConfig.Runtime.Json.JsonObject" /> to deserialize from.</param>
 internal UpdateAzConfigurationStore_ResourceGroupNameConfigStoreNamePropertiesTags(Microsoft.Azure.AzConfig.Runtime.Json.JsonObject json)
 {
     // deserialize the contents
     _subscriptionId              = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("SubscriptionId"), out var __jsonSubscriptionId) ? (string)__jsonSubscriptionId : (string)SubscriptionId;
     _resourceGroupName           = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("ResourceGroupName"), out var __jsonResourceGroupName) ? (string)__jsonResourceGroupName : (string)ResourceGroupName;
     _configStoreName             = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("ConfigStoreName"), out var __jsonConfigStoreName) ? (string)__jsonConfigStoreName : (string)ConfigStoreName;
     _configStoreUpdateParameters = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonObject>("ConfigStoreUpdateParameters"), out var __jsonConfigStoreUpdateParameters) ? Microsoft.Azure.AzConfig.Models.ConfigurationStoreUpdateParameters.FromJson(__jsonConfigStoreUpdateParameters) : ConfigStoreUpdateParameters;
 }
        /// <summary>
        /// Deserializes a Microsoft.Azure.AzConfig.Runtime.Json.JsonObject into a new instance of <see cref="ErrorProperties" />.
        /// </summary>
        /// <param name="json">A Microsoft.Azure.AzConfig.Runtime.Json.JsonObject instance to deserialize from.</param>
        internal ErrorProperties(Microsoft.Azure.AzConfig.Runtime.Json.JsonObject json)
        {
            bool returnNow = false;

            BeforeFromJson(json, ref returnNow);
            if (returnNow)
            {
                return;
            }
            _code    = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("code"), out var __jsonCode) ? (string)__jsonCode : (string)Code;
            _message = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("message"), out var __jsonMessage) ? (string)__jsonMessage : (string)Message;
            AfterFromJson(json);
        }
        /// <summary>
        /// Deserializes a Microsoft.Azure.AzConfig.Runtime.Json.JsonObject into a new instance of <see cref="OperationDefinition" />.
        /// </summary>
        /// <param name="json">A Microsoft.Azure.AzConfig.Runtime.Json.JsonObject instance to deserialize from.</param>
        internal OperationDefinition(Microsoft.Azure.AzConfig.Runtime.Json.JsonObject json)
        {
            bool returnNow = false;

            BeforeFromJson(json, ref returnNow);
            if (returnNow)
            {
                return;
            }
            _name    = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("name"), out var __jsonName) ? (string)__jsonName : (string)Name;
            _display = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonObject>("display"), out var __jsonDisplay) ? Microsoft.Azure.AzConfig.Models.OperationDefinitionDisplay.FromJson(__jsonDisplay) : Display;
            AfterFromJson(json);
        }
        /// <summary>
        /// Deserializes a Microsoft.Azure.AzConfig.Runtime.Json.JsonObject into a new instance of <see cref="CheckNameAvailabilityParameters" />.
        /// </summary>
        /// <param name="json">A Microsoft.Azure.AzConfig.Runtime.Json.JsonObject instance to deserialize from.</param>
        internal CheckNameAvailabilityParameters(Microsoft.Azure.AzConfig.Runtime.Json.JsonObject json)
        {
            bool returnNow = false;

            BeforeFromJson(json, ref returnNow);
            if (returnNow)
            {
                return;
            }
            _name = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("name"), out var __jsonName) ? (string)__jsonName : (string)Name;
            _type = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("type"), out var __jsonType) ? (string)__jsonType : (string)Type;
            AfterFromJson(json);
        }
示例#9
0
        /// <summary>
        /// Deserializes a Microsoft.Azure.AzConfig.Runtime.Json.JsonObject into a new instance of <see cref="OperationDefinitionListResult" />.
        /// </summary>
        /// <param name="json">A Microsoft.Azure.AzConfig.Runtime.Json.JsonObject instance to deserialize from.</param>
        internal OperationDefinitionListResult(Microsoft.Azure.AzConfig.Runtime.Json.JsonObject json)
        {
            bool returnNow = false;

            BeforeFromJson(json, ref returnNow);
            if (returnNow)
            {
                return;
            }
            _nextLink = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)NextLink;
            _value    = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonArray>("value"), out var __jsonValue) ? If(__jsonValue, out var __v) ? new System.Func <Microsoft.Azure.AzConfig.Models.IOperationDefinition[]>(() => System.Linq.Enumerable.ToArray(System.Linq.Enumerable.Select(__v, (__u) => (Microsoft.Azure.AzConfig.Models.IOperationDefinition)(Microsoft.Azure.AzConfig.Models.OperationDefinition.FromJson(__u)))))() : null : Value;
            AfterFromJson(json);
        }
        /// <summary>
        /// Deserializes a Microsoft.Azure.AzConfig.Runtime.Json.JsonObject into a new instance of <see cref="NameAvailabilityStatus" />.
        /// </summary>
        /// <param name="json">A Microsoft.Azure.AzConfig.Runtime.Json.JsonObject instance to deserialize from.</param>
        internal NameAvailabilityStatus(Microsoft.Azure.AzConfig.Runtime.Json.JsonObject json)
        {
            bool returnNow = false;

            BeforeFromJson(json, ref returnNow);
            if (returnNow)
            {
                return;
            }
            _message       = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("message"), out var __jsonMessage) ? (string)__jsonMessage : (string)Message;
            _nameAvailable = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonBoolean>("nameAvailable"), out var __jsonNameAvailable) ? (bool?)__jsonNameAvailable : NameAvailable;
            _reason        = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("reason"), out var __jsonReason) ? (string)__jsonReason : (string)Reason;
            AfterFromJson(json);
        }
        /// <summary>
        /// Deserializes a Microsoft.Azure.AzConfig.Runtime.Json.JsonObject into a new instance of <see cref="ConfigurationStoreProperties" />.
        /// </summary>
        /// <param name="json">A Microsoft.Azure.AzConfig.Runtime.Json.JsonObject instance to deserialize from.</param>
        internal ConfigurationStoreProperties(Microsoft.Azure.AzConfig.Runtime.Json.JsonObject json)
        {
            bool returnNow = false;

            BeforeFromJson(json, ref returnNow);
            if (returnNow)
            {
                return;
            }
            _creationDate      = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("creationDate"), out var __jsonCreationDate) ? System.DateTime.TryParse((string)__jsonCreationDate, System.Globalization.CultureInfo.InvariantCulture, System.Globalization.DateTimeStyles.AdjustToUniversal, out var __jsonCreationDateValue) ? __jsonCreationDateValue : CreationDate : CreationDate;
            _endpoint          = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("endpoint"), out var __jsonEndpoint) ? (string)__jsonEndpoint : (string)Endpoint;
            _provisioningState = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("provisioningState"), out var __jsonProvisioningState) ? (string)__jsonProvisioningState : (string)ProvisioningState;
            AfterFromJson(json);
        }
示例#12
0
        /// <summary>
        /// Deserializes a Microsoft.Azure.AzConfig.Runtime.Json.JsonObject into a new instance of <see cref="OperationDefinitionDisplay" />.
        /// </summary>
        /// <param name="json">A Microsoft.Azure.AzConfig.Runtime.Json.JsonObject instance to deserialize from.</param>
        internal OperationDefinitionDisplay(Microsoft.Azure.AzConfig.Runtime.Json.JsonObject json)
        {
            bool returnNow = false;

            BeforeFromJson(json, ref returnNow);
            if (returnNow)
            {
                return;
            }
            _description = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("description"), out var __jsonDescription) ? (string)__jsonDescription : (string)Description;
            _operation   = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("operation"), out var __jsonOperation) ? (string)__jsonOperation : (string)Operation;
            _provider    = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("provider"), out var __jsonProvider) ? (string)__jsonProvider : (string)Provider;
            _resource    = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("resource"), out var __jsonResource) ? (string)__jsonResource : (string)Resource;
            AfterFromJson(json);
        }
示例#13
0
        /// <summary>
        /// Deserializes a Microsoft.Azure.AzConfig.Runtime.Json.JsonObject into a new instance of <see cref="Resource" />.
        /// </summary>
        /// <param name="json">A Microsoft.Azure.AzConfig.Runtime.Json.JsonObject instance to deserialize from.</param>
        internal Resource(Microsoft.Azure.AzConfig.Runtime.Json.JsonObject json)
        {
            bool returnNow = false;

            BeforeFromJson(json, ref returnNow);
            if (returnNow)
            {
                return;
            }
            _name     = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("name"), out var __jsonName) ? (string)__jsonName : (string)Name;
            _type     = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("type"), out var __jsonType) ? (string)__jsonType : (string)Type;
            _id       = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("id"), out var __jsonId) ? (string)__jsonId : (string)Id;
            _location = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("location"), out var __jsonLocation) ? (string)__jsonLocation : (string)Location;
            _tag      = /* 1 */ new System.Collections.Hashtable(System.Linq.Enumerable.ToDictionary <string, string, string>(json.Property("tags")?.Keys ?? System.Linq.Enumerable.Empty <string>(), each => each, each => json.Property("tags").PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonNode>(each) is Microsoft.Azure.AzConfig.Runtime.Json.JsonString __t ? (string)__t : null));
            AfterFromJson(json);
        }
示例#14
0
        /// <summary>
        /// Deserializes a Microsoft.Azure.AzConfig.Runtime.Json.JsonObject into a new instance of <see cref="RegenerateKeyParameters" />.
        /// </summary>
        /// <param name="json">A Microsoft.Azure.AzConfig.Runtime.Json.JsonObject instance to deserialize from.</param>
        internal RegenerateKeyParameters(Microsoft.Azure.AzConfig.Runtime.Json.JsonObject json)
        {
            bool returnNow = false;

            BeforeFromJson(json, ref returnNow);
            if (returnNow)
            {
                return;
            }
            _id = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("id"), out var __jsonId) ? (string)__jsonId : (string)Id;
            AfterFromJson(json);
        }
示例#15
0
        /// <summary>
        /// Deserializes a Microsoft.Azure.AzConfig.Runtime.Json.JsonObject into a new instance of <see cref="Error" />.
        /// </summary>
        /// <param name="json">A Microsoft.Azure.AzConfig.Runtime.Json.JsonObject instance to deserialize from.</param>
        internal Error(Microsoft.Azure.AzConfig.Runtime.Json.JsonObject json)
        {
            bool returnNow = false;

            BeforeFromJson(json, ref returnNow);
            if (returnNow)
            {
                return;
            }
            _errorProperty = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonObject>("error"), out var __jsonError) ? Microsoft.Azure.AzConfig.Models.ErrorProperties.FromJson(__jsonError) : ErrorProperty;
            AfterFromJson(json);
        }
        /// <summary>
        /// Deserializes a Microsoft.Azure.AzConfig.Runtime.Json.JsonObject into a new instance of <see cref="ConfigurationStorePropertiesUpdateParameters"
        /// />.
        /// </summary>
        /// <param name="json">A Microsoft.Azure.AzConfig.Runtime.Json.JsonObject instance to deserialize from.</param>
        internal ConfigurationStorePropertiesUpdateParameters(Microsoft.Azure.AzConfig.Runtime.Json.JsonObject json)
        {
            bool returnNow = false;

            BeforeFromJson(json, ref returnNow);
            if (returnNow)
            {
                return;
            }
            _enabled = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonBoolean>("enabled"), out var __jsonEnabled) ? (bool?)__jsonEnabled : Enabled;
            AfterFromJson(json);
        }
        /// <summary>
        /// Deserializes a Microsoft.Azure.AzConfig.Runtime.Json.JsonObject into a new instance of <see cref="ConfigurationStore" />.
        /// </summary>
        /// <param name="json">A Microsoft.Azure.AzConfig.Runtime.Json.JsonObject instance to deserialize from.</param>
        internal ConfigurationStore(Microsoft.Azure.AzConfig.Runtime.Json.JsonObject json)
        {
            bool returnNow = false;

            BeforeFromJson(json, ref returnNow);
            if (returnNow)
            {
                return;
            }
            _resource   = new Microsoft.Azure.AzConfig.Models.Resource(json);
            _properties = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonObject>("properties"), out var __jsonProperties) ? Microsoft.Azure.AzConfig.Models.ConfigurationStoreProperties.FromJson(__jsonProperties) : Properties;
            AfterFromJson(json);
        }
示例#18
0
        /// <summary>
        /// Deserializes a Microsoft.Azure.AzConfig.Runtime.Json.JsonObject into a new instance of <see cref="ConfigurationStoreUpdateParameters" />.
        /// </summary>
        /// <param name="json">A Microsoft.Azure.AzConfig.Runtime.Json.JsonObject instance to deserialize from.</param>
        internal ConfigurationStoreUpdateParameters(Microsoft.Azure.AzConfig.Runtime.Json.JsonObject json)
        {
            bool returnNow = false;

            BeforeFromJson(json, ref returnNow);
            if (returnNow)
            {
                return;
            }
            _properties = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonObject>("properties"), out var __jsonProperties) ? Microsoft.Azure.AzConfig.Models.ConfigurationStorePropertiesUpdateParameters.FromJson(__jsonProperties) : Properties;
            _tag        = /* 1 */ new System.Collections.Hashtable(System.Linq.Enumerable.ToDictionary <string, string, string>(json.Property("tags")?.Keys ?? System.Linq.Enumerable.Empty <string>(), each => each, each => json.Property("tags").PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonNode>(each) is Microsoft.Azure.AzConfig.Runtime.Json.JsonString __t ? (string)__t : null));
            AfterFromJson(json);
        }
示例#19
0
        /// <summary>
        /// Deserializes a Microsoft.Azure.AzConfig.Runtime.Json.JsonObject into a new instance of <see cref="ApiKey" />.
        /// </summary>
        /// <param name="json">A Microsoft.Azure.AzConfig.Runtime.Json.JsonObject instance to deserialize from.</param>
        internal ApiKey(Microsoft.Azure.AzConfig.Runtime.Json.JsonObject json)
        {
            bool returnNow = false;

            BeforeFromJson(json, ref returnNow);
            if (returnNow)
            {
                return;
            }
            _name             = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("name"), out var __jsonName) ? (string)__jsonName : (string)Name;
            _connectionString = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("connectionString"), out var __jsonConnectionString) ? (string)__jsonConnectionString : (string)ConnectionString;
            _id           = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("id"), out var __jsonId) ? (string)__jsonId : (string)Id;
            _lastModified = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("lastModified"), out var __jsonLastModified) ? System.DateTime.TryParse((string)__jsonLastModified, System.Globalization.CultureInfo.InvariantCulture, System.Globalization.DateTimeStyles.AdjustToUniversal, out var __jsonLastModifiedValue) ? __jsonLastModifiedValue : LastModified : LastModified;
            _readOnly     = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonBoolean>("readOnly"), out var __jsonReadOnly) ? (bool?)__jsonReadOnly : ReadOnly;
            _value        = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("value"), out var __jsonValue) ? (string)__jsonValue : (string)Value;
            AfterFromJson(json);
        }
 /// <summary>Constructor for deserialization.</summary>
 /// <param name="json">a <see cref="Microsoft.Azure.AzConfig.Runtime.Json.JsonObject" /> to deserialize from.</param>
 internal TestAzOperationNameAvailability_NameAvailabilityNameTypeExpanded(Microsoft.Azure.AzConfig.Runtime.Json.JsonObject json)
 {
     // deserialize the contents
     _subscriptionId = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("SubscriptionId"), out var __jsonSubscriptionId) ? (string)__jsonSubscriptionId : (string)SubscriptionId;
     _checkNameAvailabilityParametersBody = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonObject>("CheckNameAvailabilityParametersBody"), out var __jsonCheckNameAvailabilityParametersBody) ? Microsoft.Azure.AzConfig.Models.CheckNameAvailabilityParameters.FromJson(__jsonCheckNameAvailabilityParametersBody) : CheckNameAvailabilityParametersBody;
 }
 /// <summary>Constructor for deserialization.</summary>
 /// <param name="json">a <see cref="Microsoft.Azure.AzConfig.Runtime.Json.JsonObject" /> to deserialize from.</param>
 internal GetAzOperation_SkipTokenEtc(Microsoft.Azure.AzConfig.Runtime.Json.JsonObject json)
 {
     // deserialize the contents
     _skipToken = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("SkipToken"), out var __jsonSkipToken) ? (string)__jsonSkipToken : (string)SkipToken;
 }
 /// <summary>Constructor for deserialization.</summary>
 /// <param name="json">a <see cref="Microsoft.Azure.AzConfig.Runtime.Json.JsonObject" /> to deserialize from.</param>
 internal GetAzConfigurationStore_SubscriptionId(Microsoft.Azure.AzConfig.Runtime.Json.JsonObject json)
 {
     // deserialize the contents
     _subscriptionId = If(json?.PropertyT <Microsoft.Azure.AzConfig.Runtime.Json.JsonString>("SubscriptionId"), out var __jsonSubscriptionId) ? (string)__jsonSubscriptionId : (string)SubscriptionId;
 }