Class: Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyContentKeyLocation
- Inherits:
-
Object
- Object
- Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyContentKeyLocation
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_key_location.rb
Overview
Base class for content key ID location. A derived class must be used to represent the location.
Direct Known Subclasses
ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#odatatype ⇒ Object
Returns the value of attribute odatatype.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ContentKeyPolicyPlayReadyContentKeyLocation class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ ContentKeyPolicyPlayReadyContentKeyLocation
constructor
A new instance of ContentKeyPolicyPlayReadyContentKeyLocation.
Constructor Details
#initialize ⇒ ContentKeyPolicyPlayReadyContentKeyLocation
Returns a new instance of ContentKeyPolicyPlayReadyContentKeyLocation.
20 21 22 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_key_location.rb', line 20 def initialize @odatatype = "ContentKeyPolicyPlayReadyContentKeyLocation" end |
Instance Attribute Details
#odatatype ⇒ Object
Returns the value of attribute odatatype.
24 25 26 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_key_location.rb', line 24 def odatatype @odatatype end |
Class Method Details
.mapper ⇒ Object
Mapper for ContentKeyPolicyPlayReadyContentKeyLocation class as Ruby Hash. This will be used for serialization/deserialization.
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_key_location.rb', line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ContentKeyPolicyPlayReadyContentKeyLocation', type: { name: 'Composite', polymorphic_discriminator: '@odata.type', uber_parent: 'ContentKeyPolicyPlayReadyContentKeyLocation', class_name: 'ContentKeyPolicyPlayReadyContentKeyLocation', model_properties: { } } } end |