Class: Azure::CDN::Mgmt::V2020_04_15::Models::DeliveryRuleUrlPathCondition
- Inherits:
-
DeliveryRuleCondition
- Object
- DeliveryRuleCondition
- Azure::CDN::Mgmt::V2020_04_15::Models::DeliveryRuleUrlPathCondition
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-04-15/generated/azure_mgmt_cdn/models/delivery_rule_url_path_condition.rb
Overview
Defines the UrlPath condition for the delivery rule.
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#parameters ⇒ UrlPathMatchConditionParameters
the condition.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DeliveryRuleUrlPathCondition class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ DeliveryRuleUrlPathCondition
constructor
A new instance of DeliveryRuleUrlPathCondition.
Constructor Details
#initialize ⇒ DeliveryRuleUrlPathCondition
Returns a new instance of DeliveryRuleUrlPathCondition.
16 17 18 |
# File 'lib/2020-04-15/generated/azure_mgmt_cdn/models/delivery_rule_url_path_condition.rb', line 16 def initialize @name = "UrlPath" end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
20 21 22 |
# File 'lib/2020-04-15/generated/azure_mgmt_cdn/models/delivery_rule_url_path_condition.rb', line 20 def name @name end |
#parameters ⇒ UrlPathMatchConditionParameters
the condition.
24 25 26 |
# File 'lib/2020-04-15/generated/azure_mgmt_cdn/models/delivery_rule_url_path_condition.rb', line 24 def parameters @parameters end |
Class Method Details
.mapper ⇒ Object
Mapper for DeliveryRuleUrlPathCondition class as Ruby Hash. This will be used for serialization/deserialization.
31 32 33 34 35 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 |
# File 'lib/2020-04-15/generated/azure_mgmt_cdn/models/delivery_rule_url_path_condition.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'UrlPath', type: { name: 'Composite', class_name: 'DeliveryRuleUrlPathCondition', model_properties: { name: { client_side_validation: true, required: true, serialized_name: 'name', type: { name: 'String' } }, parameters: { client_side_validation: true, required: true, serialized_name: 'parameters', default_value: {}, type: { name: 'Composite', class_name: 'UrlPathMatchConditionParameters' } } } } } end |