Class: Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPath
- Inherits:
-
Object
- Object
- Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPath
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_path.rb
Overview
Class of paths for streaming
Instance Attribute Summary collapse
-
#encryption_scheme ⇒ EncryptionScheme
‘NoEncryption’, ‘EnvelopeEncryption’, ‘CommonEncryptionCenc’, ‘CommonEncryptionCbcs’.
-
#paths ⇒ Array<String>
encryptionScheme pair.
-
#streaming_protocol ⇒ StreamingPolicyStreamingProtocol
values include: ‘Hls’, ‘Dash’, ‘SmoothStreaming’, ‘Download’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for StreamingPath class as Ruby Hash.
Instance Attribute Details
#encryption_scheme ⇒ EncryptionScheme
‘NoEncryption’, ‘EnvelopeEncryption’, ‘CommonEncryptionCenc’, ‘CommonEncryptionCbcs’
22 23 24 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_path.rb', line 22 def encryption_scheme @encryption_scheme end |
#paths ⇒ Array<String>
encryptionScheme pair
26 27 28 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_path.rb', line 26 def paths @paths end |
#streaming_protocol ⇒ StreamingPolicyStreamingProtocol
values include: ‘Hls’, ‘Dash’, ‘SmoothStreaming’, ‘Download’
17 18 19 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_path.rb', line 17 def streaming_protocol @streaming_protocol end |
Class Method Details
.mapper ⇒ Object
Mapper for StreamingPath 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 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_path.rb', line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'StreamingPath', type: { name: 'Composite', class_name: 'StreamingPath', model_properties: { streaming_protocol: { client_side_validation: true, required: true, serialized_name: 'streamingProtocol', type: { name: 'String' } }, encryption_scheme: { client_side_validation: true, required: true, serialized_name: 'encryptionScheme', type: { name: 'String' } }, paths: { client_side_validation: true, required: false, serialized_name: 'paths', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end |