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



mutable struct DhcpOptions <: SwaggerModel
    dnsServers::Any # spec type: Union{ Nothing, Vector{String} } # spec name: dnsServers

    function DhcpOptions(;dnsServers=nothing)
        o = new()
        validate_property(DhcpOptions, Symbol("dnsServers"), dnsServers)
        setfield!(o, Symbol("dnsServers"), dnsServers)
        o
    end
end # type DhcpOptions

const _property_map_DhcpOptions = Dict{Symbol,Symbol}(Symbol("dnsServers")=>Symbol("dnsServers"))
const _property_types_DhcpOptions = Dict{Symbol,String}(Symbol("dnsServers")=>"Vector{String}")
Base.propertynames(::Type{ DhcpOptions }) = collect(keys(_property_map_DhcpOptions))
Swagger.property_type(::Type{ DhcpOptions }, name::Symbol) = Union{Nothing,eval(Meta.parse(_property_types_DhcpOptions[name]))}
Swagger.field_name(::Type{ DhcpOptions }, property_name::Symbol) =  _property_map_DhcpOptions[property_name]

function check_required(o::DhcpOptions)
    true
end

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