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


mutable struct ApplicationGatewayBackendAddressPoolPropertiesFormat <: SwaggerModel
    backendIPConfigurations::Any # spec type: Union{ Nothing, Vector{NetworkInterfaceIPConfiguration2} } # spec name: backendIPConfigurations
    backendAddresses::Any # spec type: Union{ Nothing, Vector{ApplicationGatewayBackendAddress} } # spec name: backendAddresses
    provisioningState::Any # spec type: Union{ Nothing, ProvisioningState } # spec name: provisioningState

    function ApplicationGatewayBackendAddressPoolPropertiesFormat(;backendIPConfigurations=nothing, backendAddresses=nothing, provisioningState=nothing)
        o = new()
        validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("backendIPConfigurations"), backendIPConfigurations)
        setfield!(o, Symbol("backendIPConfigurations"), backendIPConfigurations)
        validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("backendAddresses"), backendAddresses)
        setfield!(o, Symbol("backendAddresses"), backendAddresses)
        validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("provisioningState"), provisioningState)
        setfield!(o, Symbol("provisioningState"), provisioningState)
        o
    end
end # type ApplicationGatewayBackendAddressPoolPropertiesFormat

const _property_map_ApplicationGatewayBackendAddressPoolPropertiesFormat = Dict{Symbol,Symbol}(Symbol("backendIPConfigurations")=>Symbol("backendIPConfigurations"), Symbol("backendAddresses")=>Symbol("backendAddresses"), Symbol("provisioningState")=>Symbol("provisioningState"))
const _property_types_ApplicationGatewayBackendAddressPoolPropertiesFormat = Dict{Symbol,String}(Symbol("backendIPConfigurations")=>"Vector{NetworkInterfaceIPConfiguration2}", Symbol("backendAddresses")=>"Vector{ApplicationGatewayBackendAddress}", Symbol("provisioningState")=>"ProvisioningState")
Base.propertynames(::Type{ ApplicationGatewayBackendAddressPoolPropertiesFormat }) = collect(keys(_property_map_ApplicationGatewayBackendAddressPoolPropertiesFormat))
Swagger.property_type(::Type{ ApplicationGatewayBackendAddressPoolPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendAddressPoolPropertiesFormat[name]))}
Swagger.field_name(::Type{ ApplicationGatewayBackendAddressPoolPropertiesFormat }, property_name::Symbol) =  _property_map_ApplicationGatewayBackendAddressPoolPropertiesFormat[property_name]

function check_required(o::ApplicationGatewayBackendAddressPoolPropertiesFormat)
    true
end

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