# This file was generated by the Julia Swagger Code Generator
# Do not modify this file directly. Modify the swagger specification instead.


mutable struct ApplicationGatewayRewriteRuleSetPropertiesFormat <: SwaggerModel
    rewriteRules::Any # spec type: Union{ Nothing, Vector{ApplicationGatewayRewriteRule} } # spec name: rewriteRules
    provisioningState::Any # spec type: Union{ Nothing, ProvisioningState } # spec name: provisioningState

    function ApplicationGatewayRewriteRuleSetPropertiesFormat(;rewriteRules=nothing, provisioningState=nothing)
        o = new()
        validate_property(ApplicationGatewayRewriteRuleSetPropertiesFormat, Symbol("rewriteRules"), rewriteRules)
        setfield!(o, Symbol("rewriteRules"), rewriteRules)
        validate_property(ApplicationGatewayRewriteRuleSetPropertiesFormat, Symbol("provisioningState"), provisioningState)
        setfield!(o, Symbol("provisioningState"), provisioningState)
        o
    end
end # type ApplicationGatewayRewriteRuleSetPropertiesFormat

const _property_map_ApplicationGatewayRewriteRuleSetPropertiesFormat = Dict{Symbol,Symbol}(Symbol("rewriteRules")=>Symbol("rewriteRules"), Symbol("provisioningState")=>Symbol("provisioningState"))
const _property_types_ApplicationGatewayRewriteRuleSetPropertiesFormat = Dict{Symbol,String}(Symbol("rewriteRules")=>"Vector{ApplicationGatewayRewriteRule}", Symbol("provisioningState")=>"ProvisioningState")
Base.propertynames(::Type{ ApplicationGatewayRewriteRuleSetPropertiesFormat }) = collect(keys(_property_map_ApplicationGatewayRewriteRuleSetPropertiesFormat))
Swagger.property_type(::Type{ ApplicationGatewayRewriteRuleSetPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayRewriteRuleSetPropertiesFormat[name]))}
Swagger.field_name(::Type{ ApplicationGatewayRewriteRuleSetPropertiesFormat }, property_name::Symbol) =  _property_map_ApplicationGatewayRewriteRuleSetPropertiesFormat[property_name]

function check_required(o::ApplicationGatewayRewriteRuleSetPropertiesFormat)
    true
end

function validate_property(::Type{ ApplicationGatewayRewriteRuleSetPropertiesFormat }, name::Symbol, val)
end
