class Azure::CDN::Mgmt::V2020_04_15::Models::RequestMethodMatchConditionParameters
Defines the parameters for RequestMethod match conditions
Attributes
match_values[RW]
@return [Array<Enum>] The match value for the condition of the delivery rule
negate_condition[RW]
@return [Boolean] Describes if this is negate condition or not
odatatype[RW]
@return [String] . Default value: '#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestMethodConditionParameters' .
operator[RW]
@return [String] Describes operator to be matched. Default value: 'Equal' .
Public Class Methods
mapper()
click to toggle source
Mapper for RequestMethodMatchConditionParameters
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-04-15/generated/azure_mgmt_cdn/models/request_method_match_condition_parameters.rb, line 36 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RequestMethodMatchConditionParameters', type: { name: 'Composite', class_name: 'RequestMethodMatchConditionParameters', model_properties: { odatatype: { client_side_validation: true, required: true, is_constant: true, serialized_name: '@odata\\.type', default_value: '#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestMethodConditionParameters', type: { name: 'String' } }, operator: { client_side_validation: true, required: true, is_constant: true, serialized_name: 'operator', default_value: 'Equal', type: { name: 'String' } }, negate_condition: { client_side_validation: true, required: false, serialized_name: 'negateCondition', type: { name: 'Boolean' } }, match_values: { client_side_validation: true, required: false, serialized_name: 'matchValues', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'enumElementType', type: { name: 'String' } } } } } } } end