Class: Azure::CDN::Mgmt::V2020_09_01::Models::HttpVersionMatchConditionParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-09-01/generated/azure_mgmt_cdn/models/http_version_match_condition_parameters.rb

Overview

Defines the parameters for HttpVersion match conditions

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#match_valuesArray<String>

delivery rule

Returns:

  • (Array<String>)

    The match value for the condition of the



29
30
31
# File 'lib/2020-09-01/generated/azure_mgmt_cdn/models/http_version_match_condition_parameters.rb', line 29

def match_values
  @match_values
end

#negate_conditionBoolean

Returns Describes if this is negate condition or not.

Returns:

  • (Boolean)

    Describes if this is negate condition or not



25
26
27
# File 'lib/2020-09-01/generated/azure_mgmt_cdn/models/http_version_match_condition_parameters.rb', line 25

def negate_condition
  @negate_condition
end

#odatatypeString

‘#Microsoft.Azure.Cdn.Models.DeliveryRuleHttpVersionConditionParameters’ .

Returns:

  • (String)

    . Default value:



18
19
20
# File 'lib/2020-09-01/generated/azure_mgmt_cdn/models/http_version_match_condition_parameters.rb', line 18

def odatatype
  @odatatype
end

#operatorString

‘Equal’ .

Returns:

  • (String)

    Describes operator to be matched. Default value:



22
23
24
# File 'lib/2020-09-01/generated/azure_mgmt_cdn/models/http_version_match_condition_parameters.rb', line 22

def operator
  @operator
end

Class Method Details

.mapperObject

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



36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# File 'lib/2020-09-01/generated/azure_mgmt_cdn/models/http_version_match_condition_parameters.rb', line 36

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'HttpVersionMatchConditionParameters',
    type: {
      name: 'Composite',
      class_name: 'HttpVersionMatchConditionParameters',
      model_properties: {
        odatatype: {
          client_side_validation: true,
          required: true,
          is_constant: true,
          serialized_name: '@odata\\.type',
          default_value: '#Microsoft.Azure.Cdn.Models.DeliveryRuleHttpVersionConditionParameters',
          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: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end