class Azure::CDN::Mgmt::V2017_10_12::Models::UrlPathConditionParameters

Defines the parameters for the URL path condition.

Attributes

match_type[RW]

@return [Enum] The match type for the condition of the delivery rule. Possible values include: 'Literal', 'Wildcard'

odatatype[RW]

@return [String] . Default value: 'Microsoft.Azure.Cdn.Models.DeliveryRuleUrlPathConditionParameters' .

path[RW]

@return [String] A URL path for the condition of the delivery rule

Public Class Methods

mapper() click to toggle source

Mapper for UrlPathConditionParameters class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2017-10-12/generated/azure_mgmt_cdn/models/url_path_condition_parameters.rb, line 31
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'UrlPathConditionParameters',
    type: {
      name: 'Composite',
      class_name: 'UrlPathConditionParameters',
      model_properties: {
        odatatype: {
          client_side_validation: true,
          required: true,
          is_constant: true,
          serialized_name: '@odata\\.type',
          default_value: 'Microsoft.Azure.Cdn.Models.DeliveryRuleUrlPathConditionParameters',
          type: {
            name: 'String'
          }
        },
        path: {
          client_side_validation: true,
          required: true,
          serialized_name: 'path',
          type: {
            name: 'String'
          }
        },
        match_type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'matchType',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end