# This file was generated by the Julia OpenAPI Code Generator
# Do not modify this file directly. Modify the OpenAPI specification instead.
@doc raw"""DeleteCountResponse
DeleteCountResponse(;
count=nothing,
)
- count::Int64
"""
Base.@kwdef mutable struct DeleteCountResponse <: OpenAPI.APIModel
count::Union{Nothing, Int64} = nothing
function DeleteCountResponse(count, )
o = new(count, )
OpenAPI.validate_properties(o)
return o
end
end # type DeleteCountResponse
const _property_types_DeleteCountResponse = Dict{Symbol,String}(Symbol("count")=>"Int64", )
OpenAPI.property_type(::Type{ DeleteCountResponse }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DeleteCountResponse[name]))}
function OpenAPI.check_required(o::DeleteCountResponse)
o.count === nothing && (return false)
true
end
function OpenAPI.validate_properties(o::DeleteCountResponse)
OpenAPI.validate_property(DeleteCountResponse, Symbol("count"), o.count)
end
function OpenAPI.validate_property(::Type{ DeleteCountResponse }, name::Symbol, val)
if name === Symbol("count")
OpenAPI.validate_param(name, "DeleteCountResponse", :format, val, "int64")
end
end