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


mutable struct IoK8sApiExtensionsV1beta1ReplicaSet <: SwaggerModel
    apiVersion::Any # spec type: Union{ Nothing, String } # spec name: apiVersion
    kind::Any # spec type: Union{ Nothing, String } # spec name: kind
    metadata::Any # spec type: Union{ Nothing, IoK8sApimachineryPkgApisMetaV1ObjectMeta } # spec name: metadata
    spec::Any # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1ReplicaSetSpec } # spec name: spec
    status::Any # spec type: Union{ Nothing, IoK8sApiExtensionsV1beta1ReplicaSetStatus } # spec name: status

    function IoK8sApiExtensionsV1beta1ReplicaSet(;apiVersion=nothing, kind=nothing, metadata=nothing, spec=nothing, status=nothing)
        o = new()
        validate_property(IoK8sApiExtensionsV1beta1ReplicaSet, Symbol("apiVersion"), apiVersion)
        setfield!(o, Symbol("apiVersion"), apiVersion)
        validate_property(IoK8sApiExtensionsV1beta1ReplicaSet, Symbol("kind"), kind)
        setfield!(o, Symbol("kind"), kind)
        validate_property(IoK8sApiExtensionsV1beta1ReplicaSet, Symbol("metadata"), metadata)
        setfield!(o, Symbol("metadata"), metadata)
        validate_property(IoK8sApiExtensionsV1beta1ReplicaSet, Symbol("spec"), spec)
        setfield!(o, Symbol("spec"), spec)
        validate_property(IoK8sApiExtensionsV1beta1ReplicaSet, Symbol("status"), status)
        setfield!(o, Symbol("status"), status)
        o
    end
end # type IoK8sApiExtensionsV1beta1ReplicaSet

const _property_map_IoK8sApiExtensionsV1beta1ReplicaSet = Dict{Symbol,Symbol}(Symbol("apiVersion")=>Symbol("apiVersion"), Symbol("kind")=>Symbol("kind"), Symbol("metadata")=>Symbol("metadata"), Symbol("spec")=>Symbol("spec"), Symbol("status")=>Symbol("status"))
const _property_types_IoK8sApiExtensionsV1beta1ReplicaSet = Dict{Symbol,String}(Symbol("apiVersion")=>"String", Symbol("kind")=>"String", Symbol("metadata")=>"IoK8sApimachineryPkgApisMetaV1ObjectMeta", Symbol("spec")=>"IoK8sApiExtensionsV1beta1ReplicaSetSpec", Symbol("status")=>"IoK8sApiExtensionsV1beta1ReplicaSetStatus")
Base.propertynames(::Type{ IoK8sApiExtensionsV1beta1ReplicaSet }) = collect(keys(_property_map_IoK8sApiExtensionsV1beta1ReplicaSet))
Swagger.property_type(::Type{ IoK8sApiExtensionsV1beta1ReplicaSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiExtensionsV1beta1ReplicaSet[name]))}
Swagger.field_name(::Type{ IoK8sApiExtensionsV1beta1ReplicaSet }, property_name::Symbol) =  _property_map_IoK8sApiExtensionsV1beta1ReplicaSet[property_name]

function check_required(o::IoK8sApiExtensionsV1beta1ReplicaSet)
    true
end

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