Class: Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingPolicyFairPlayConfiguration
- Inherits:
-
Object
- Object
- Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingPolicyFairPlayConfiguration
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_fair_play_configuration.rb
Overview
Class to specify configurations of FairPlay in Streaming Policy
Instance Attribute Summary collapse
-
#allow_persistent_license ⇒ Boolean
All license to be persistent or not.
-
#custom_license_acquisition_url_template ⇒ String
end users.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for StreamingPolicyFairPlayConfiguration class as Ruby Hash.
Instance Attribute Details
#allow_persistent_license ⇒ Boolean
Returns All license to be persistent or not.
21 22 23 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_fair_play_configuration.rb', line 21 def allow_persistent_license @allow_persistent_license end |
#custom_license_acquisition_url_template ⇒ String
end users. Not needed when using Azure Media Services for issuing keys.
18 19 20 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_fair_play_configuration.rb', line 18 def custom_license_acquisition_url_template @custom_license_acquisition_url_template end |
Class Method Details
.mapper ⇒ Object
Mapper for StreamingPolicyFairPlayConfiguration class as Ruby Hash. This will be used for serialization/deserialization.
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_fair_play_configuration.rb', line 28 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'StreamingPolicyFairPlayConfiguration', type: { name: 'Composite', class_name: 'StreamingPolicyFairPlayConfiguration', model_properties: { custom_license_acquisition_url_template: { client_side_validation: true, required: false, serialized_name: 'customLicenseAcquisitionUrlTemplate', type: { name: 'String' } }, allow_persistent_license: { client_side_validation: true, required: true, serialized_name: 'allowPersistentLicense', type: { name: 'Boolean' } } } } } end |