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



mutable struct PacketCaptureListResult <: SwaggerModel
    value::Any # spec type: Union{ Nothing, Vector{PacketCaptureResult} } # spec name: value

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

const _property_map_PacketCaptureListResult = Dict{Symbol,Symbol}(Symbol("value")=>Symbol("value"))
const _property_types_PacketCaptureListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{PacketCaptureResult}")
Base.propertynames(::Type{ PacketCaptureListResult }) = collect(keys(_property_map_PacketCaptureListResult))
Swagger.property_type(::Type{ PacketCaptureListResult }, name::Symbol) = Union{Nothing,eval(Meta.parse(_property_types_PacketCaptureListResult[name]))}
Swagger.field_name(::Type{ PacketCaptureListResult }, property_name::Symbol) =  _property_map_PacketCaptureListResult[property_name]

function check_required(o::PacketCaptureListResult)
    true
end

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