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


mutable struct BillingProfile <: SwaggerModel
    maxPrice::Any # spec type: Union{ Nothing, Float64 } # spec name: maxPrice

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

const _property_map_BillingProfile = Dict{Symbol,Symbol}(Symbol("maxPrice")=>Symbol("maxPrice"))
const _property_types_BillingProfile = Dict{Symbol,String}(Symbol("maxPrice")=>"Float64")
Base.propertynames(::Type{ BillingProfile }) = collect(keys(_property_map_BillingProfile))
Swagger.property_type(::Type{ BillingProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BillingProfile[name]))}
Swagger.field_name(::Type{ BillingProfile }, property_name::Symbol) =  _property_map_BillingProfile[property_name]

function check_required(o::BillingProfile)
    true
end

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