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


mutable struct PublicIPAddressDnsSettings <: SwaggerModel
    domainNameLabel::Any # spec type: Union{ Nothing, String } # spec name: domainNameLabel
    fqdn::Any # spec type: Union{ Nothing, String } # spec name: fqdn
    reverseFqdn::Any # spec type: Union{ Nothing, String } # spec name: reverseFqdn

    function PublicIPAddressDnsSettings(;domainNameLabel=nothing, fqdn=nothing, reverseFqdn=nothing)
        o = new()
        validate_property(PublicIPAddressDnsSettings, Symbol("domainNameLabel"), domainNameLabel)
        setfield!(o, Symbol("domainNameLabel"), domainNameLabel)
        validate_property(PublicIPAddressDnsSettings, Symbol("fqdn"), fqdn)
        setfield!(o, Symbol("fqdn"), fqdn)
        validate_property(PublicIPAddressDnsSettings, Symbol("reverseFqdn"), reverseFqdn)
        setfield!(o, Symbol("reverseFqdn"), reverseFqdn)
        o
    end
end # type PublicIPAddressDnsSettings

const _property_map_PublicIPAddressDnsSettings = Dict{Symbol,Symbol}(Symbol("domainNameLabel")=>Symbol("domainNameLabel"), Symbol("fqdn")=>Symbol("fqdn"), Symbol("reverseFqdn")=>Symbol("reverseFqdn"))
const _property_types_PublicIPAddressDnsSettings = Dict{Symbol,String}(Symbol("domainNameLabel")=>"String", Symbol("fqdn")=>"String", Symbol("reverseFqdn")=>"String")
Base.propertynames(::Type{ PublicIPAddressDnsSettings }) = collect(keys(_property_map_PublicIPAddressDnsSettings))
Swagger.property_type(::Type{ PublicIPAddressDnsSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddressDnsSettings[name]))}
Swagger.field_name(::Type{ PublicIPAddressDnsSettings }, property_name::Symbol) =  _property_map_PublicIPAddressDnsSettings[property_name]

function check_required(o::PublicIPAddressDnsSettings)
    true
end

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