Class: GetStream::Generated::Models::GoLiveRequest
- Inherits:
-
BaseModel
- Object
- BaseModel
- GetStream::Generated::Models::GoLiveRequest
show all
- Defined in:
- lib/getstream_ruby/generated/models/go_live_request.rb
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from BaseModel
#==, #inspect, omit_empty_fields, #to_h, #to_json
Constructor Details
#initialize(attributes = {}) ⇒ GoLiveRequest
Initialize with attributes
32
33
34
35
36
37
38
39
40
|
# File 'lib/getstream_ruby/generated/models/go_live_request.rb', line 32
def initialize(attributes = {})
super(attributes)
@recording_storage_name = attributes[:recording_storage_name] || attributes['recording_storage_name'] || nil
@start_closed_caption = attributes[:start_closed_caption] || attributes['start_closed_caption'] || nil
@start_hls = attributes[:start_hls] || attributes['start_hls'] || nil
@start_recording = attributes[:start_recording] || attributes['start_recording'] || nil
@start_transcription = attributes[:start_transcription] || attributes['start_transcription'] || nil
@transcription_storage_name = attributes[:transcription_storage_name] || attributes['transcription_storage_name'] || nil
end
|
Instance Attribute Details
#recording_storage_name ⇒ String
14
15
16
|
# File 'lib/getstream_ruby/generated/models/go_live_request.rb', line 14
def recording_storage_name
@recording_storage_name
end
|
#start_closed_caption ⇒ Boolean
17
18
19
|
# File 'lib/getstream_ruby/generated/models/go_live_request.rb', line 17
def start_closed_caption
@start_closed_caption
end
|
#start_hls ⇒ Boolean
20
21
22
|
# File 'lib/getstream_ruby/generated/models/go_live_request.rb', line 20
def start_hls
@start_hls
end
|
#start_recording ⇒ Boolean
23
24
25
|
# File 'lib/getstream_ruby/generated/models/go_live_request.rb', line 23
def start_recording
@start_recording
end
|
#start_transcription ⇒ Boolean
26
27
28
|
# File 'lib/getstream_ruby/generated/models/go_live_request.rb', line 26
def start_transcription
@start_transcription
end
|
#transcription_storage_name ⇒ String
29
30
31
|
# File 'lib/getstream_ruby/generated/models/go_live_request.rb', line 29
def transcription_storage_name
@transcription_storage_name
end
|
Class Method Details
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization
43
44
45
46
47
48
49
50
51
52
|
# File 'lib/getstream_ruby/generated/models/go_live_request.rb', line 43
def self.json_field_mappings
{
recording_storage_name: 'recording_storage_name',
start_closed_caption: 'start_closed_caption',
start_hls: 'start_hls',
start_recording: 'start_recording',
start_transcription: 'start_transcription',
transcription_storage_name: 'transcription_storage_name'
}
end
|