Class: Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::CommonEncryptionCbcs
- Inherits:
-
Object
- Object
- Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::CommonEncryptionCbcs
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/common_encryption_cbcs.rb
Overview
Class for CommonEncryptionCbcs encryption scheme
Instance Attribute Summary collapse
-
#clear_tracks ⇒ Array<TrackSelection>
encrypted.
-
#content_keys ⇒ StreamingPolicyContentKeys
for each encryption scheme and separate content keys for specific tracks.
-
#drm ⇒ CbcsDrmConfiguration
encryption scheme.
-
#enabled_protocols ⇒ EnabledProtocols
Representing supported protocols.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CommonEncryptionCbcs class as Ruby Hash.
Instance Attribute Details
#clear_tracks ⇒ Array<TrackSelection>
encrypted
20 21 22 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/common_encryption_cbcs.rb', line 20 def clear_tracks @clear_tracks end |
#content_keys ⇒ StreamingPolicyContentKeys
for each encryption scheme and separate content keys for specific tracks
25 26 27 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/common_encryption_cbcs.rb', line 25 def content_keys @content_keys end |
#drm ⇒ CbcsDrmConfiguration
encryption scheme
29 30 31 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/common_encryption_cbcs.rb', line 29 def drm @drm end |
#enabled_protocols ⇒ EnabledProtocols
Returns Representing supported protocols.
16 17 18 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/common_encryption_cbcs.rb', line 16 def enabled_protocols @enabled_protocols end |
Class Method Details
.mapper ⇒ Object
Mapper for CommonEncryptionCbcs class as Ruby Hash. This will be used for serialization/deserialization.
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 80 81 82 83 84 85 86 87 88 89 90 91 92 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/common_encryption_cbcs.rb', line 36 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CommonEncryptionCbcs', type: { name: 'Composite', class_name: 'CommonEncryptionCbcs', model_properties: { enabled_protocols: { client_side_validation: true, required: false, serialized_name: 'enabledProtocols', type: { name: 'Composite', class_name: 'EnabledProtocols' } }, clear_tracks: { client_side_validation: true, required: false, serialized_name: 'clearTracks', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'TrackSelectionElementType', type: { name: 'Composite', class_name: 'TrackSelection' } } } }, content_keys: { client_side_validation: true, required: false, serialized_name: 'contentKeys', type: { name: 'Composite', class_name: 'StreamingPolicyContentKeys' } }, drm: { client_side_validation: true, required: false, serialized_name: 'drm', type: { name: 'Composite', class_name: 'CbcsDrmConfiguration' } } } } } end |