Class: GetStream::Generated::Models::StartTranscriptionRequest
- Inherits:
-
BaseModel
- Object
- BaseModel
- GetStream::Generated::Models::StartTranscriptionRequest
- Defined in:
- lib/getstream_ruby/generated/models/start_transcription_request.rb
Instance Attribute Summary collapse
-
#enable_closed_captions ⇒ Boolean
Enable closed captions along with transcriptions.
-
#language ⇒ String
The spoken language in the call, if not provided the language defined in the transcription settings will be used.
-
#transcription_external_storage ⇒ String
Store transcriptions in this external storage.
Class Method Summary collapse
-
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ StartTranscriptionRequest
constructor
Initialize with attributes.
Methods inherited from BaseModel
#==, #inspect, omit_empty_fields, #to_h, #to_json
Constructor Details
#initialize(attributes = {}) ⇒ StartTranscriptionRequest
Initialize with attributes
23 24 25 26 27 28 |
# File 'lib/getstream_ruby/generated/models/start_transcription_request.rb', line 23 def initialize(attributes = {}) super(attributes) @enable_closed_captions = attributes[:enable_closed_captions] || attributes['enable_closed_captions'] || nil @language = attributes[:language] || attributes['language'] || nil @transcription_external_storage = attributes[:transcription_external_storage] || attributes['transcription_external_storage'] || nil end |
Instance Attribute Details
#enable_closed_captions ⇒ Boolean
Returns Enable closed captions along with transcriptions.
14 15 16 |
# File 'lib/getstream_ruby/generated/models/start_transcription_request.rb', line 14 def enable_closed_captions @enable_closed_captions end |
#language ⇒ String
Returns The spoken language in the call, if not provided the language defined in the transcription settings will be used.
17 18 19 |
# File 'lib/getstream_ruby/generated/models/start_transcription_request.rb', line 17 def language @language end |
#transcription_external_storage ⇒ String
Returns Store transcriptions in this external storage.
20 21 22 |
# File 'lib/getstream_ruby/generated/models/start_transcription_request.rb', line 20 def transcription_external_storage @transcription_external_storage end |
Class Method Details
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization
31 32 33 34 35 36 37 |
# File 'lib/getstream_ruby/generated/models/start_transcription_request.rb', line 31 def self.json_field_mappings { enable_closed_captions: 'enable_closed_captions', language: 'language', transcription_external_storage: 'transcription_external_storage' } end |