Class: Azure::CDN::Mgmt::V2020_04_15::Models::DeliveryRuleAction
- Inherits:
-
Object
- Object
- Azure::CDN::Mgmt::V2020_04_15::Models::DeliveryRuleAction
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-04-15/generated/azure_mgmt_cdn/models/delivery_rule_action.rb
Overview
An action for the delivery rule.
Direct Known Subclasses
DeliveryRuleCacheExpirationAction, DeliveryRuleCacheKeyQueryStringAction, DeliveryRuleRequestHeaderAction, DeliveryRuleResponseHeaderAction, UrlRedirectAction, UrlRewriteAction, UrlSigningAction
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DeliveryRuleAction class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ DeliveryRuleAction
constructor
A new instance of DeliveryRuleAction.
Constructor Details
#initialize ⇒ DeliveryRuleAction
Returns a new instance of DeliveryRuleAction.
24 25 26 |
# File 'lib/2020-04-15/generated/azure_mgmt_cdn/models/delivery_rule_action.rb', line 24 def initialize @name = "DeliveryRuleAction" end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
28 29 30 |
# File 'lib/2020-04-15/generated/azure_mgmt_cdn/models/delivery_rule_action.rb', line 28 def name @name end |
Class Method Details
.mapper ⇒ Object
Mapper for DeliveryRuleAction class as Ruby Hash. This will be used for serialization/deserialization.
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/2020-04-15/generated/azure_mgmt_cdn/models/delivery_rule_action.rb', line 35 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DeliveryRuleAction', type: { name: 'Composite', polymorphic_discriminator: 'name', uber_parent: 'DeliveryRuleAction', class_name: 'DeliveryRuleAction', model_properties: { } } } end |