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


mutable struct TerminateNotificationProfile <: SwaggerModel
    notBeforeTimeout::Any # spec type: Union{ Nothing, String } # spec name: notBeforeTimeout
    enable::Any # spec type: Union{ Nothing, Bool } # spec name: enable

    function TerminateNotificationProfile(;notBeforeTimeout=nothing, enable=nothing)
        o = new()
        validate_property(TerminateNotificationProfile, Symbol("notBeforeTimeout"), notBeforeTimeout)
        setfield!(o, Symbol("notBeforeTimeout"), notBeforeTimeout)
        validate_property(TerminateNotificationProfile, Symbol("enable"), enable)
        setfield!(o, Symbol("enable"), enable)
        o
    end
end # type TerminateNotificationProfile

const _property_map_TerminateNotificationProfile = Dict{Symbol,Symbol}(Symbol("notBeforeTimeout")=>Symbol("notBeforeTimeout"), Symbol("enable")=>Symbol("enable"))
const _property_types_TerminateNotificationProfile = Dict{Symbol,String}(Symbol("notBeforeTimeout")=>"String", Symbol("enable")=>"Bool")
Base.propertynames(::Type{ TerminateNotificationProfile }) = collect(keys(_property_map_TerminateNotificationProfile))
Swagger.property_type(::Type{ TerminateNotificationProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TerminateNotificationProfile[name]))}
Swagger.field_name(::Type{ TerminateNotificationProfile }, property_name::Symbol) =  _property_map_TerminateNotificationProfile[property_name]

function check_required(o::TerminateNotificationProfile)
    true
end

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