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


mutable struct FirewallRuleProperties <: SwaggerModel
    startIpAddress::Any # spec type: Union{ Nothing, String } # spec name: startIpAddress
    endIpAddress::Any # spec type: Union{ Nothing, String } # spec name: endIpAddress

    function FirewallRuleProperties(;startIpAddress=nothing, endIpAddress=nothing)
        o = new()
        validate_property(FirewallRuleProperties, Symbol("startIpAddress"), startIpAddress)
        setfield!(o, Symbol("startIpAddress"), startIpAddress)
        validate_property(FirewallRuleProperties, Symbol("endIpAddress"), endIpAddress)
        setfield!(o, Symbol("endIpAddress"), endIpAddress)
        o
    end
end # type FirewallRuleProperties

const _property_map_FirewallRuleProperties = Dict{Symbol,Symbol}(Symbol("startIpAddress")=>Symbol("startIpAddress"), Symbol("endIpAddress")=>Symbol("endIpAddress"))
const _property_types_FirewallRuleProperties = Dict{Symbol,String}(Symbol("startIpAddress")=>"String", Symbol("endIpAddress")=>"String")
Base.propertynames(::Type{ FirewallRuleProperties }) = collect(keys(_property_map_FirewallRuleProperties))
Swagger.property_type(::Type{ FirewallRuleProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FirewallRuleProperties[name]))}
Swagger.field_name(::Type{ FirewallRuleProperties }, property_name::Symbol) =  _property_map_FirewallRuleProperties[property_name]

function check_required(o::FirewallRuleProperties)
    true
end

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