Class: Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyConfiguration
- Inherits:
-
ContentKeyPolicyConfiguration
- Object
- ContentKeyPolicyConfiguration
- Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyConfiguration
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_configuration.rb
Overview
Specifies a configuration for PlayReady licenses.
Instance Attribute Summary collapse
-
#licenses ⇒ Array<ContentKeyPolicyPlayReadyLicense>
licenses.
-
#odatatype ⇒ Object
Returns the value of attribute odatatype.
-
#response_custom_data ⇒ String
The custom response data.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ContentKeyPolicyPlayReadyConfiguration class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ ContentKeyPolicyPlayReadyConfiguration
constructor
A new instance of ContentKeyPolicyPlayReadyConfiguration.
Constructor Details
#initialize ⇒ ContentKeyPolicyPlayReadyConfiguration
Returns a new instance of ContentKeyPolicyPlayReadyConfiguration.
16 17 18 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_configuration.rb', line 16 def initialize @odatatype = "#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration" end |
Instance Attribute Details
#licenses ⇒ Array<ContentKeyPolicyPlayReadyLicense>
licenses.
24 25 26 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_configuration.rb', line 24 def licenses @licenses end |
#odatatype ⇒ Object
Returns the value of attribute odatatype.
20 21 22 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_configuration.rb', line 20 def odatatype @odatatype end |
#response_custom_data ⇒ String
Returns The custom response data.
27 28 29 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_configuration.rb', line 27 def response_custom_data @response_custom_data end |
Class Method Details
.mapper ⇒ Object
Mapper for ContentKeyPolicyPlayReadyConfiguration class as Ruby Hash. This will be used for serialization/deserialization.
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 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_configuration.rb', line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration', type: { name: 'Composite', class_name: 'ContentKeyPolicyPlayReadyConfiguration', model_properties: { odatatype: { client_side_validation: true, required: true, serialized_name: '@odata\\.type', type: { name: 'String' } }, licenses: { client_side_validation: true, required: true, serialized_name: 'licenses', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ContentKeyPolicyPlayReadyLicenseElementType', type: { name: 'Composite', class_name: 'ContentKeyPolicyPlayReadyLicense' } } } }, response_custom_data: { client_side_validation: true, required: false, serialized_name: 'responseCustomData', type: { name: 'String' } } } } } end |