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


mutable struct ServiceEndpointPropertiesFormat <: SwaggerModel
    service::Any # spec type: Union{ Nothing, String } # spec name: service
    locations::Any # spec type: Union{ Nothing, Vector{String} } # spec name: locations
    provisioningState::Any # spec type: Union{ Nothing, ProvisioningState } # spec name: provisioningState

    function ServiceEndpointPropertiesFormat(;service=nothing, locations=nothing, provisioningState=nothing)
        o = new()
        validate_property(ServiceEndpointPropertiesFormat, Symbol("service"), service)
        setfield!(o, Symbol("service"), service)
        validate_property(ServiceEndpointPropertiesFormat, Symbol("locations"), locations)
        setfield!(o, Symbol("locations"), locations)
        validate_property(ServiceEndpointPropertiesFormat, Symbol("provisioningState"), provisioningState)
        setfield!(o, Symbol("provisioningState"), provisioningState)
        o
    end
end # type ServiceEndpointPropertiesFormat

const _property_map_ServiceEndpointPropertiesFormat = Dict{Symbol,Symbol}(Symbol("service")=>Symbol("service"), Symbol("locations")=>Symbol("locations"), Symbol("provisioningState")=>Symbol("provisioningState"))
const _property_types_ServiceEndpointPropertiesFormat = Dict{Symbol,String}(Symbol("service")=>"String", Symbol("locations")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState")
Base.propertynames(::Type{ ServiceEndpointPropertiesFormat }) = collect(keys(_property_map_ServiceEndpointPropertiesFormat))
Swagger.property_type(::Type{ ServiceEndpointPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPropertiesFormat[name]))}
Swagger.field_name(::Type{ ServiceEndpointPropertiesFormat }, property_name::Symbol) =  _property_map_ServiceEndpointPropertiesFormat[property_name]

function check_required(o::ServiceEndpointPropertiesFormat)
    true
end

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