Class: Azure::MediaServices::Mgmt::V2018_07_01::Models::EnabledProtocols
- Inherits:
-
Object
- Object
- Azure::MediaServices::Mgmt::V2018_07_01::Models::EnabledProtocols
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-01/generated/azure_mgmt_media_services/models/enabled_protocols.rb
Overview
Class to specify which protocols are enabled
Instance Attribute Summary collapse
-
#dash ⇒ Boolean
Enable DASH protocol or not.
-
#download ⇒ Boolean
Enable Download protocol or not.
-
#hls ⇒ Boolean
Enable HLS protocol or not.
-
#smooth_streaming ⇒ Boolean
Enable SmoothStreaming protocol or not.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for EnabledProtocols class as Ruby Hash.
Instance Attribute Details
#dash ⇒ Boolean
Returns Enable DASH protocol or not.
19 20 21 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/enabled_protocols.rb', line 19 def dash @dash end |
#download ⇒ Boolean
Returns Enable Download protocol or not.
16 17 18 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/enabled_protocols.rb', line 16 def download @download end |
#hls ⇒ Boolean
Returns Enable HLS protocol or not.
22 23 24 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/enabled_protocols.rb', line 22 def hls @hls end |
#smooth_streaming ⇒ Boolean
Returns Enable SmoothStreaming protocol or not.
25 26 27 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/enabled_protocols.rb', line 25 def smooth_streaming @smooth_streaming end |
Class Method Details
.mapper ⇒ Object
Mapper for EnabledProtocols class as Ruby Hash. This will be used for serialization/deserialization.
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 76 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/enabled_protocols.rb', line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'EnabledProtocols', type: { name: 'Composite', class_name: 'EnabledProtocols', model_properties: { download: { client_side_validation: true, required: true, serialized_name: 'download', type: { name: 'Boolean' } }, dash: { client_side_validation: true, required: true, serialized_name: 'dash', type: { name: 'Boolean' } }, hls: { client_side_validation: true, required: true, serialized_name: 'hls', type: { name: 'Boolean' } }, smooth_streaming: { client_side_validation: true, required: true, serialized_name: 'smoothStreaming', type: { name: 'Boolean' } } } } } end |