Class: Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyPlayReadyConfiguration
- Inherits:
-
Object
- Object
- Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyPlayReadyConfiguration
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_policy_play_ready_configuration.rb
Overview
Class to specify configurations of PlayReady in Streaming Policy
Instance Attribute Summary collapse
-
#custom_license_acquisition_url_template ⇒ String
licenses to end user players.
-
#play_ready_custom_attributes ⇒ String
Custom attributes for PlayReady.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for StreamingPolicyPlayReadyConfiguration class as Ruby Hash.
Instance Attribute Details
#custom_license_acquisition_url_template ⇒ String
licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are AlternativeMediaId, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and ContentKeyId, which is replaced with the value of identifier of the key being requested.
23 24 25 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_policy_play_ready_configuration.rb', line 23 def custom_license_acquisition_url_template @custom_license_acquisition_url_template end |
#play_ready_custom_attributes ⇒ String
Returns Custom attributes for PlayReady.
26 27 28 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_policy_play_ready_configuration.rb', line 26 def play_ready_custom_attributes @play_ready_custom_attributes end |
Class Method Details
.mapper ⇒ Object
Mapper for StreamingPolicyPlayReadyConfiguration 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-07-01/generated/azure_mgmt_media_services/models/streaming_policy_play_ready_configuration.rb', line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'StreamingPolicyPlayReadyConfiguration', type: { name: 'Composite', class_name: 'StreamingPolicyPlayReadyConfiguration', model_properties: { custom_license_acquisition_url_template: { client_side_validation: true, required: false, serialized_name: 'customLicenseAcquisitionUrlTemplate', type: { name: 'String' } }, play_ready_custom_attributes: { client_side_validation: true, required: false, serialized_name: 'playReadyCustomAttributes', type: { name: 'String' } } } } } end |