Class: Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventInput
- Inherits:
-
Object
- Object
- Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventInput
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event_input.rb
Overview
The Live Event input.
Instance Attribute Summary collapse
-
#access_control ⇒ LiveEventInputAccessControl
Input.
-
#access_token ⇒ String
specified at creation time but cannot be updated.
-
#endpoints ⇒ Array<LiveEventEndpoint>
Event.
-
#key_frame_interval_duration ⇒ String
duration.
-
#streaming_protocol ⇒ LiveEventInputProtocol
Event.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for LiveEventInput class as Ruby Hash.
Instance Attribute Details
#access_control ⇒ LiveEventInputAccessControl
Input.
22 23 24 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event_input.rb', line 22 def access_control @access_control end |
#access_token ⇒ String
specified at creation time but cannot be updated. If omitted, the service will generate a unique value.
31 32 33 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event_input.rb', line 31 def access_token @access_token end |
#endpoints ⇒ Array<LiveEventEndpoint>
Event.
35 36 37 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event_input.rb', line 35 def endpoints @endpoints end |
#key_frame_interval_duration ⇒ String
duration.
26 27 28 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event_input.rb', line 26 def key_frame_interval_duration @key_frame_interval_duration end |
#streaming_protocol ⇒ LiveEventInputProtocol
Event. This is specified at creation time and cannot be updated. Possible values include: ‘FragmentedMP4’, ‘RTMP’
18 19 20 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event_input.rb', line 18 def streaming_protocol @streaming_protocol end |
Class Method Details
.mapper ⇒ Object
Mapper for LiveEventInput class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event_input.rb', line 42 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'LiveEventInput', type: { name: 'Composite', class_name: 'LiveEventInput', model_properties: { streaming_protocol: { client_side_validation: true, required: true, serialized_name: 'streamingProtocol', type: { name: 'String' } }, access_control: { client_side_validation: true, required: false, serialized_name: 'accessControl', type: { name: 'Composite', class_name: 'LiveEventInputAccessControl' } }, key_frame_interval_duration: { client_side_validation: true, required: false, serialized_name: 'keyFrameIntervalDuration', type: { name: 'String' } }, access_token: { client_side_validation: true, required: false, serialized_name: 'accessToken', type: { name: 'String' } }, endpoints: { client_side_validation: true, required: false, serialized_name: 'endpoints', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'LiveEventEndpointElementType', type: { name: 'Composite', class_name: 'LiveEventEndpoint' } } } } } } } end |