Class: Azure::MediaServices::Mgmt::V2020_05_01::Models::StreamingLocatorContentKey
- Inherits:
-
Object
- Object
- Azure::MediaServices::Mgmt::V2020_05_01::Models::StreamingLocatorContentKey
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-05-01/generated/azure_mgmt_media_services/models/streaming_locator_content_key.rb
Overview
Class for content key in Streaming Locator
Instance Attribute Summary collapse
-
#id ⇒ Object
ID of Content Key.
-
#label_reference_in_streaming_policy ⇒ String
Policy.
-
#policy_name ⇒ String
ContentKeyPolicy used by Content Key.
-
#tracks ⇒ Array<TrackSelection>
Tracks which use this Content Key.
-
#type ⇒ StreamingLocatorContentKeyType
Key.
-
#value ⇒ String
Value of Content Key.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for StreamingLocatorContentKey class as Ruby Hash.
Instance Attribute Details
#id ⇒ Object
Returns ID of Content Key.
16 17 18 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/streaming_locator_content_key.rb', line 16 def id @id end |
#label_reference_in_streaming_policy ⇒ String
Policy
25 26 27 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/streaming_locator_content_key.rb', line 25 def label_reference_in_streaming_policy @label_reference_in_streaming_policy end |
#policy_name ⇒ String
Returns ContentKeyPolicy used by Content Key.
31 32 33 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/streaming_locator_content_key.rb', line 31 def policy_name @policy_name end |
#tracks ⇒ Array<TrackSelection>
Returns Tracks which use this Content Key.
34 35 36 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/streaming_locator_content_key.rb', line 34 def tracks @tracks end |
#type ⇒ StreamingLocatorContentKeyType
Key. Possible values include: ‘CommonEncryptionCenc’, ‘CommonEncryptionCbcs’, ‘EnvelopeEncryption’
21 22 23 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/streaming_locator_content_key.rb', line 21 def type @type end |
#value ⇒ String
Returns Value of Content Key.
28 29 30 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/streaming_locator_content_key.rb', line 28 def value @value end |
Class Method Details
.mapper ⇒ Object
Mapper for StreamingLocatorContentKey class as Ruby Hash. This will be used for serialization/deserialization.
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 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 |
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/streaming_locator_content_key.rb', line 41 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'StreamingLocatorContentKey', type: { name: 'Composite', class_name: 'StreamingLocatorContentKey', model_properties: { id: { client_side_validation: true, required: true, serialized_name: 'id', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, label_reference_in_streaming_policy: { client_side_validation: true, required: false, serialized_name: 'labelReferenceInStreamingPolicy', type: { name: 'String' } }, value: { client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'String' } }, policy_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'policyName', type: { name: 'String' } }, tracks: { client_side_validation: true, required: false, read_only: true, serialized_name: 'tracks', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'TrackSelectionElementType', type: { name: 'Composite', class_name: 'TrackSelection' } } } } } } } end |