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



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

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

const _property_map_TrustedIdProviderProperties = Dict{Symbol,Symbol}(Symbol("idProvider")=>Symbol("idProvider"))
const _property_types_TrustedIdProviderProperties = Dict{Symbol,String}(Symbol("idProvider")=>"String")
Base.propertynames(::Type{ TrustedIdProviderProperties }) = collect(keys(_property_map_TrustedIdProviderProperties))
Swagger.property_type(::Type{ TrustedIdProviderProperties }, name::Symbol) = Union{Nothing,eval(Meta.parse(_property_types_TrustedIdProviderProperties[name]))}
Swagger.field_name(::Type{ TrustedIdProviderProperties }, property_name::Symbol) =  _property_map_TrustedIdProviderProperties[property_name]

function check_required(o::TrustedIdProviderProperties)
    (getproperty(o, Symbol("idProvider")) === nothing) && (return false)
    true
end

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