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


mutable struct VirtualHardDisk <: SwaggerModel
    uri::Any # spec type: Union{ Nothing, String } # spec name: uri

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

const _property_map_VirtualHardDisk = Dict{Symbol,Symbol}(Symbol("uri")=>Symbol("uri"))
const _property_types_VirtualHardDisk = Dict{Symbol,String}(Symbol("uri")=>"String")
Base.propertynames(::Type{ VirtualHardDisk }) = collect(keys(_property_map_VirtualHardDisk))
Swagger.property_type(::Type{ VirtualHardDisk }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualHardDisk[name]))}
Swagger.field_name(::Type{ VirtualHardDisk }, property_name::Symbol) =  _property_map_VirtualHardDisk[property_name]

function check_required(o::VirtualHardDisk)
    true
end

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