Class: Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyContentKey
- Inherits:
-
Object
- Object
- Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyContentKey
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_policy_content_key.rb
Overview
Class to specify properties of content key
Instance Attribute Summary collapse
-
#label ⇒ String
a Streaming Locator.
-
#policy_name ⇒ String
Policy used by Content Key.
-
#tracks ⇒ Array<TrackSelection>
Tracks which use this content key.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for StreamingPolicyContentKey class as Ruby Hash.
Instance Attribute Details
#label ⇒ String
a Streaming Locator
17 18 19 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_policy_content_key.rb', line 17 def label @label end |
#policy_name ⇒ String
Returns Policy used by Content Key.
20 21 22 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_policy_content_key.rb', line 20 def policy_name @policy_name end |
#tracks ⇒ Array<TrackSelection>
Returns Tracks which use this content key.
23 24 25 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_policy_content_key.rb', line 23 def tracks @tracks end |
Class Method Details
.mapper ⇒ Object
Mapper for StreamingPolicyContentKey class as Ruby Hash. This will be used for serialization/deserialization.
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 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_policy_content_key.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'StreamingPolicyContentKey', type: { name: 'Composite', class_name: 'StreamingPolicyContentKey', model_properties: { label: { client_side_validation: true, required: false, serialized_name: 'label', type: { name: 'String' } }, policy_name: { client_side_validation: true, required: false, serialized_name: 'policyName', type: { name: 'String' } }, tracks: { client_side_validation: true, required: false, serialized_name: 'tracks', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'TrackSelectionElementType', type: { name: 'Composite', class_name: 'TrackSelection' } } } } } } } end |