Class: Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier
- Inherits:
-
ContentKeyPolicyPlayReadyContentKeyLocation
- Object
- ContentKeyPolicyPlayReadyContentKeyLocation
- Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_encryption_key_from_key_identifier.rb
Overview
Specifies that the content key ID is specified in the PlayReady configuration.
Instance Attribute Summary collapse
-
#key_id ⇒ Object
The content key ID.
-
#odatatype ⇒ Object
Returns the value of attribute odatatype.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier
constructor
A new instance of ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier.
Constructor Details
#initialize ⇒ ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier
Returns a new instance of ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier.
17 18 19 |
# File 'lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_encryption_key_from_key_identifier.rb', line 17 def initialize @odatatype = "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier" end |
Instance Attribute Details
#key_id ⇒ Object
Returns The content key ID.
24 25 26 |
# File 'lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_encryption_key_from_key_identifier.rb', line 24 def key_id @key_id end |
#odatatype ⇒ Object
Returns the value of attribute odatatype.
21 22 23 |
# File 'lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_encryption_key_from_key_identifier.rb', line 21 def odatatype @odatatype end |
Class Method Details
.mapper ⇒ Object
Mapper for ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier class as Ruby Hash. This will be used for serialization/deserialization.
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/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_encryption_key_from_key_identifier.rb', line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier', type: { name: 'Composite', class_name: 'ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier', model_properties: { odatatype: { client_side_validation: true, required: true, serialized_name: '@odata\\.type', type: { name: 'String' } }, key_id: { client_side_validation: true, required: true, serialized_name: 'keyId', type: { name: 'String' } } } } } end |