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


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

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

const _property_map_UpdateVirtualNetworkRuleProperties = Dict{Symbol,Symbol}(Symbol("subnetId")=>Symbol("subnetId"))
const _property_types_UpdateVirtualNetworkRuleProperties = Dict{Symbol,String}(Symbol("subnetId")=>"String")
Base.propertynames(::Type{ UpdateVirtualNetworkRuleProperties }) = collect(keys(_property_map_UpdateVirtualNetworkRuleProperties))
Swagger.property_type(::Type{ UpdateVirtualNetworkRuleProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_UpdateVirtualNetworkRuleProperties[name]))}
Swagger.field_name(::Type{ UpdateVirtualNetworkRuleProperties }, property_name::Symbol) =  _property_map_UpdateVirtualNetworkRuleProperties[property_name]

function check_required(o::UpdateVirtualNetworkRuleProperties)
    true
end

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