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


@doc raw"""Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode.

    IoK8sApiCoreV1DownwardAPIProjection(;
        items=nothing,
    )

    - items::Vector{IoK8sApiCoreV1DownwardAPIVolumeFile} : Items is a list of DownwardAPIVolume file
"""
mutable struct IoK8sApiCoreV1DownwardAPIProjection <: SwaggerModel
    items::Any # spec type: Union{ Nothing, Vector{IoK8sApiCoreV1DownwardAPIVolumeFile} } # spec name: items

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

const _property_map_IoK8sApiCoreV1DownwardAPIProjection = Dict{Symbol,Symbol}(Symbol("items")=>Symbol("items"))
const _property_types_IoK8sApiCoreV1DownwardAPIProjection = Dict{Symbol,String}(Symbol("items")=>"Vector{IoK8sApiCoreV1DownwardAPIVolumeFile}")
Base.propertynames(::Type{ IoK8sApiCoreV1DownwardAPIProjection }) = collect(keys(_property_map_IoK8sApiCoreV1DownwardAPIProjection))
Swagger.property_type(::Type{ IoK8sApiCoreV1DownwardAPIProjection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IoK8sApiCoreV1DownwardAPIProjection[name]))}
Swagger.field_name(::Type{ IoK8sApiCoreV1DownwardAPIProjection }, property_name::Symbol) =  _property_map_IoK8sApiCoreV1DownwardAPIProjection[property_name]

function check_required(o::IoK8sApiCoreV1DownwardAPIProjection)
    true
end

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