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


@doc raw"""ResourceQuotaStatus defines the enforced hard limits and observed use.

    IoK8sApiCoreV1ResourceQuotaStatus(;
        hard=nothing,
        used=nothing,
    )

    - hard::Dict{String, IoK8sApimachineryPkgApiResourceQuantity} : Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
    - used::Dict{String, IoK8sApimachineryPkgApiResourceQuantity} : Used is the current observed total usage of the resource in the namespace.
"""
mutable struct IoK8sApiCoreV1ResourceQuotaStatus <: SwaggerModel
    hard::Any # spec type: Union{ Nothing, Dict{String, IoK8sApimachineryPkgApiResourceQuantity} } # spec name: hard
    used::Any # spec type: Union{ Nothing, Dict{String, IoK8sApimachineryPkgApiResourceQuantity} } # spec name: used

    function IoK8sApiCoreV1ResourceQuotaStatus(;hard=nothing, used=nothing)
        o = new()
        validate_property(IoK8sApiCoreV1ResourceQuotaStatus, Symbol("hard"), hard)
        setfield!(o, Symbol("hard"), hard)
        validate_property(IoK8sApiCoreV1ResourceQuotaStatus, Symbol("used"), used)
        setfield!(o, Symbol("used"), used)
        o
    end
end # type IoK8sApiCoreV1ResourceQuotaStatus

const _property_map_IoK8sApiCoreV1ResourceQuotaStatus = Dict{Symbol,Symbol}(Symbol("hard")=>Symbol("hard"), Symbol("used")=>Symbol("used"))
const _property_types_IoK8sApiCoreV1ResourceQuotaStatus = Dict{Symbol,String}(Symbol("hard")=>"Dict{String, IoK8sApimachineryPkgApiResourceQuantity}", Symbol("used")=>"Dict{String, IoK8sApimachineryPkgApiResourceQuantity}")
Base.propertynames(::Type{ IoK8sApiCoreV1ResourceQuotaStatus }) = collect(keys(_property_map_IoK8sApiCoreV1ResourceQuotaStatus))
Swagger.property_type(::Type{ IoK8sApiCoreV1ResourceQuotaStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1ResourceQuotaStatus[name]))}
Swagger.field_name(::Type{ IoK8sApiCoreV1ResourceQuotaStatus }, property_name::Symbol) =  _property_map_IoK8sApiCoreV1ResourceQuotaStatus[property_name]

function check_required(o::IoK8sApiCoreV1ResourceQuotaStatus)
    true
end

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