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


mutable struct IoK8sApiExtensionsV1beta1IngressStatus <: SwaggerModel
    loadBalancer::Any # spec type: Union{ Nothing, IoK8sApiCoreV1LoadBalancerStatus } # spec name: loadBalancer

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

const _property_map_IoK8sApiExtensionsV1beta1IngressStatus = Dict{Symbol,Symbol}(Symbol("loadBalancer")=>Symbol("loadBalancer"))
const _property_types_IoK8sApiExtensionsV1beta1IngressStatus = Dict{Symbol,String}(Symbol("loadBalancer")=>"IoK8sApiCoreV1LoadBalancerStatus")
Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1IngressStatus }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1IngressStatus))
Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1IngressStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1IngressStatus[name]))}
Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1IngressStatus }, property_name::Symbol) =  _property_map_IoK8sApiExtensionsV1beta1IngressStatus[property_name]

function check_required(o::IoK8sApiExtensionsV1beta1IngressStatus)
    true
end

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