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


mutable struct Sku <: SwaggerModel
    name::Any # spec type: Union{ Nothing, String } # spec name: name
    tier::Any # spec type: Union{ Nothing, String } # spec name: tier
    capacity::Any # spec type: Union{ Nothing, Int64 } # spec name: capacity

    function Sku(;name=nothing, tier=nothing, capacity=nothing)
        o = new()
        validate_property(Sku, Symbol("name"), name)
        setfield!(o, Symbol("name"), name)
        validate_property(Sku, Symbol("tier"), tier)
        setfield!(o, Symbol("tier"), tier)
        validate_property(Sku, Symbol("capacity"), capacity)
        setfield!(o, Symbol("capacity"), capacity)
        o
    end
end # type Sku

const _property_map_Sku = Dict{Symbol,Symbol}(Symbol("name")=>Symbol("name"), Symbol("tier")=>Symbol("tier"), Symbol("capacity")=>Symbol("capacity"))
const _property_types_Sku = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("tier")=>"String", Symbol("capacity")=>"Int64")
Base.propertynames(::Type{ Sku }) = collect(keys(_property_map_Sku))
Swagger.property_type(::Type{ Sku }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Sku[name]))}
Swagger.field_name(::Type{ Sku }, property_name::Symbol) =  _property_map_Sku[property_name]

function check_required(o::Sku)
    true
end

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