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


mutable struct SecurityProfile <: SwaggerModel
    encryptionAtHost::Any # spec type: Union{ Nothing, Bool } # spec name: encryptionAtHost

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

const _property_map_SecurityProfile = Dict{Symbol,Symbol}(Symbol("encryptionAtHost")=>Symbol("encryptionAtHost"))
const _property_types_SecurityProfile = Dict{Symbol,String}(Symbol("encryptionAtHost")=>"Bool")
Base.propertynames(::Type{ SecurityProfile }) = collect(keys(_property_map_SecurityProfile))
Swagger.property_type(::Type{ SecurityProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SecurityProfile[name]))}
Swagger.field_name(::Type{ SecurityProfile }, property_name::Symbol) =  _property_map_SecurityProfile[property_name]

function check_required(o::SecurityProfile)
    true
end

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