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


mutable struct NetworkSecurityGroupResult <: SwaggerModel
    securityRuleAccessResult::Any # spec type: Union{ Nothing, SecurityRuleAccess } # spec name: securityRuleAccessResult
    evaluatedNetworkSecurityGroups::Any # spec type: Union{ Nothing, Vector{EvaluatedNetworkSecurityGroup} } # spec name: evaluatedNetworkSecurityGroups

    function NetworkSecurityGroupResult(;securityRuleAccessResult=nothing, evaluatedNetworkSecurityGroups=nothing)
        o = new()
        validate_property(NetworkSecurityGroupResult, Symbol("securityRuleAccessResult"), securityRuleAccessResult)
        setfield!(o, Symbol("securityRuleAccessResult"), securityRuleAccessResult)
        validate_property(NetworkSecurityGroupResult, Symbol("evaluatedNetworkSecurityGroups"), evaluatedNetworkSecurityGroups)
        setfield!(o, Symbol("evaluatedNetworkSecurityGroups"), evaluatedNetworkSecurityGroups)
        o
    end
end # type NetworkSecurityGroupResult

const _property_map_NetworkSecurityGroupResult = Dict{Symbol,Symbol}(Symbol("securityRuleAccessResult")=>Symbol("securityRuleAccessResult"), Symbol("evaluatedNetworkSecurityGroups")=>Symbol("evaluatedNetworkSecurityGroups"))
const _property_types_NetworkSecurityGroupResult = Dict{Symbol,String}(Symbol("securityRuleAccessResult")=>"SecurityRuleAccess", Symbol("evaluatedNetworkSecurityGroups")=>"Vector{EvaluatedNetworkSecurityGroup}")
Base.propertynames(::Type{ NetworkSecurityGroupResult }) = collect(keys(_property_map_NetworkSecurityGroupResult))
Swagger.property_type(::Type{ NetworkSecurityGroupResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkSecurityGroupResult[name]))}
Swagger.field_name(::Type{ NetworkSecurityGroupResult }, property_name::Symbol) =  _property_map_NetworkSecurityGroupResult[property_name]

function check_required(o::NetworkSecurityGroupResult)
    true
end

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