/// <summary>
        /// Gets the object from Json properties.
        /// </summary>
        /// <param name="reader">The <see cref="T: Newtonsoft.Json.JsonReader" /> to read from, reader must be placed at first property.</param>
        /// <returns>The object Value.</returns>
        internal static ApplicationTypeMetadata GetFromJsonProperties(JsonReader reader)
        {
            var applicationTypeProvisionTimestamp = default(string);
            var armMetadata = default(ArmMetadata);

            do
            {
                var propName = reader.ReadPropertyName();
                if (string.Compare("ApplicationTypeProvisionTimestamp", propName, StringComparison.OrdinalIgnoreCase) == 0)
                {
                    applicationTypeProvisionTimestamp = reader.ReadValueAsString();
                }
                else if (string.Compare("ArmMetadata", propName, StringComparison.OrdinalIgnoreCase) == 0)
                {
                    armMetadata = ArmMetadataConverter.Deserialize(reader);
                }
                else
                {
                    reader.SkipPropertyValue();
                }
            }while (reader.TokenType != JsonToken.EndObject);

            return(new ApplicationTypeMetadata(
                       applicationTypeProvisionTimestamp: applicationTypeProvisionTimestamp,
                       armMetadata: armMetadata));
        }
        /// <summary>
        /// Gets the object from Json properties.
        /// </summary>
        /// <param name="reader">The <see cref="T: Newtonsoft.Json.JsonReader" /> to read from, reader must be placed at first property.</param>
        /// <returns>The object Value.</returns>
        internal static ServiceMetadata GetFromJsonProperties(JsonReader reader)
        {
            var armMetadata = default(ArmMetadata);

            do
            {
                var propName = reader.ReadPropertyName();
                if (string.Compare("ArmMetadata", propName, StringComparison.OrdinalIgnoreCase) == 0)
                {
                    armMetadata = ArmMetadataConverter.Deserialize(reader);
                }
                else
                {
                    reader.SkipPropertyValue();
                }
            }while (reader.TokenType != JsonToken.EndObject);

            return(new ServiceMetadata(
                       armMetadata: armMetadata));
        }