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



mutable struct OutboundNatRule <: SwaggerModel
    id::Any # spec type: Union{ Nothing, String } # spec name: id

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

const _property_map_OutboundNatRule = Dict{Symbol,Symbol}(Symbol("id")=>Symbol("id"))
const _property_types_OutboundNatRule = Dict{Symbol,String}(Symbol("id")=>"String")
Base.propertynames(::Type{ OutboundNatRule }) = collect(keys(_property_map_OutboundNatRule))
Swagger.property_type(::Type{ OutboundNatRule }, name::Symbol) = Union{Nothing,eval(Meta.parse(_property_types_OutboundNatRule[name]))}
Swagger.field_name(::Type{ OutboundNatRule }, property_name::Symbol) =  _property_map_OutboundNatRule[property_name]

function check_required(o::OutboundNatRule)
    true
end

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