torc 0.22.2

Workflow management system
# This file was generated by the Julia OpenAPI Code Generator
# Do not modify this file directly. Modify the OpenAPI specification instead.


@doc raw"""VersionResponse

    VersionResponse(;
        api_version=nothing,
        git_hash=nothing,
        version=nothing,
    )

    - api_version::String
    - git_hash::String
    - version::String
"""
Base.@kwdef mutable struct VersionResponse <: OpenAPI.APIModel
    api_version::Union{Nothing, String} = nothing
    git_hash::Union{Nothing, String} = nothing
    version::Union{Nothing, String} = nothing

    function VersionResponse(api_version, git_hash, version, )
        o = new(api_version, git_hash, version, )
        OpenAPI.validate_properties(o)
        return o
    end
end # type VersionResponse

const _property_types_VersionResponse = Dict{Symbol,String}(Symbol("api_version")=>"String", Symbol("git_hash")=>"String", Symbol("version")=>"String", )
OpenAPI.property_type(::Type{ VersionResponse }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VersionResponse[name]))}

function OpenAPI.check_required(o::VersionResponse)
    o.api_version === nothing && (return false)
    o.version === nothing && (return false)
    true
end

function OpenAPI.validate_properties(o::VersionResponse)
    OpenAPI.validate_property(VersionResponse, Symbol("api_version"), o.api_version)
    OpenAPI.validate_property(VersionResponse, Symbol("git_hash"), o.git_hash)
    OpenAPI.validate_property(VersionResponse, Symbol("version"), o.version)
end

function OpenAPI.validate_property(::Type{ VersionResponse }, name::Symbol, val)



end