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


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

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

const _property_map_ApplicationGatewayPathRule = Dict{Symbol,Symbol}(Symbol("id")=>Symbol("id"))
const _property_types_ApplicationGatewayPathRule = Dict{Symbol,String}(Symbol("id")=>"String")
Base.propertynames(::Type{ ApplicationGatewayPathRule }) = collect(keys(_property_map_ApplicationGatewayPathRule))
Swagger.property_type(::Type{ ApplicationGatewayPathRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayPathRule[name]))}
Swagger.field_name(::Type{ ApplicationGatewayPathRule }, property_name::Symbol) =  _property_map_ApplicationGatewayPathRule[property_name]

function check_required(o::ApplicationGatewayPathRule)
    true
end

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