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


mutable struct ResourceProviderOperationDisplayProperties <: SwaggerModel
    publisher::Any # spec type: Union{ Nothing, String } # spec name: publisher
    provider::Any # spec type: Union{ Nothing, String } # spec name: provider
    resource::Any # spec type: Union{ Nothing, String } # spec name: resource
    operation::Any # spec type: Union{ Nothing, String } # spec name: operation
    description::Any # spec type: Union{ Nothing, String } # spec name: description

    function ResourceProviderOperationDisplayProperties(;publisher=nothing, provider=nothing, resource=nothing, operation=nothing, description=nothing)
        o = new()
        validate_property(ResourceProviderOperationDisplayProperties, Symbol("publisher"), publisher)
        setfield!(o, Symbol("publisher"), publisher)
        validate_property(ResourceProviderOperationDisplayProperties, Symbol("provider"), provider)
        setfield!(o, Symbol("provider"), provider)
        validate_property(ResourceProviderOperationDisplayProperties, Symbol("resource"), resource)
        setfield!(o, Symbol("resource"), resource)
        validate_property(ResourceProviderOperationDisplayProperties, Symbol("operation"), operation)
        setfield!(o, Symbol("operation"), operation)
        validate_property(ResourceProviderOperationDisplayProperties, Symbol("description"), description)
        setfield!(o, Symbol("description"), description)
        o
    end
end # type ResourceProviderOperationDisplayProperties

const _property_map_ResourceProviderOperationDisplayProperties = Dict{Symbol,Symbol}(Symbol("publisher")=>Symbol("publisher"), Symbol("provider")=>Symbol("provider"), Symbol("resource")=>Symbol("resource"), Symbol("operation")=>Symbol("operation"), Symbol("description")=>Symbol("description"))
const _property_types_ResourceProviderOperationDisplayProperties = Dict{Symbol,String}(Symbol("publisher")=>"String", Symbol("provider")=>"String", Symbol("resource")=>"String", Symbol("operation")=>"String", Symbol("description")=>"String")
Base.propertynames(::Type{ ResourceProviderOperationDisplayProperties }) = collect(keys(_property_map_ResourceProviderOperationDisplayProperties))
Swagger.property_type(::Type{ ResourceProviderOperationDisplayProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceProviderOperationDisplayProperties[name]))}
Swagger.field_name(::Type{ ResourceProviderOperationDisplayProperties }, property_name::Symbol) =  _property_map_ResourceProviderOperationDisplayProperties[property_name]

function check_required(o::ResourceProviderOperationDisplayProperties)
    true
end

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