Class: GetStream::Generated::Models::StopClosedCaptionsResponse
- Inherits:
-
BaseModel
- Object
- BaseModel
- GetStream::Generated::Models::StopClosedCaptionsResponse
- Defined in:
- lib/getstream_ruby/generated/models/stop_closed_captions_response.rb
Overview
Basic response information
Instance Attribute Summary collapse
-
#duration ⇒ String
Duration of the request in milliseconds.
Class Method Summary collapse
-
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ StopClosedCaptionsResponse
constructor
Initialize with attributes.
Methods inherited from BaseModel
#==, #inspect, omit_empty_fields, #to_h, #to_json
Constructor Details
#initialize(attributes = {}) ⇒ StopClosedCaptionsResponse
Initialize with attributes
17 18 19 20 |
# File 'lib/getstream_ruby/generated/models/stop_closed_captions_response.rb', line 17 def initialize(attributes = {}) super(attributes) @duration = attributes[:duration] || attributes['duration'] end |
Instance Attribute Details
#duration ⇒ String
Returns Duration of the request in milliseconds.
14 15 16 |
# File 'lib/getstream_ruby/generated/models/stop_closed_captions_response.rb', line 14 def duration @duration end |
Class Method Details
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization
23 24 25 26 27 |
# File 'lib/getstream_ruby/generated/models/stop_closed_captions_response.rb', line 23 def self.json_field_mappings { duration: 'duration' } end |