Class: Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveEventInput

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_input.rb

Overview

The Live Event input.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#access_tokenString



24
25
26
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_input.rb', line 24

def access_token
  @access_token
end

#endpointsArray<LiveEventEndpoint>

Event.



28
29
30
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_input.rb', line 28

def endpoints
  @endpoints
end

#key_frame_interval_durationString

duration.



21
22
23
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_input.rb', line 21

def key_frame_interval_duration
  @key_frame_interval_duration
end

#streaming_protocolLiveEventInputProtocol

Event. Possible values include: ‘FragmentedMP4’, ‘RTMP’



17
18
19
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_input.rb', line 17

def streaming_protocol
  @streaming_protocol
end

Class Method Details

.mapperObject

Mapper for LiveEventInput class as Ruby Hash. This will be used for serialization/deserialization.



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
78
79
80
81
82
83
84
85
86
87
88
89
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_input.rb', line 35

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: 'Enum',
            module: 'LiveEventInputProtocol'
          }
        },
        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