Class: FastpixClient::Models::Components::GenerateTrackResponse

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/fastpix_client/models/components/generatetrackresponse.rb

Overview

Represents the response for a successfully generated subtitle track.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(id: nil, type: nil, language_code: nil, language_name: nil, metadata: nil) ⇒ GenerateTrackResponse

Returns a new instance of GenerateTrackResponse.



29
30
31
32
33
34
35
# File 'lib/fastpix_client/models/components/generatetrackresponse.rb', line 29

def initialize(id: nil, type: nil, language_code: nil, language_name: nil, metadata: nil)
  @id = id
  @type = type
  @language_code = language_code
  @language_name = language_name
   = 
end

Instance Method Details

#==(other) ⇒ Object



38
39
40
41
42
43
44
45
46
# File 'lib/fastpix_client/models/components/generatetrackresponse.rb', line 38

def ==(other)
  return false unless other.is_a? self.class
  return false unless @id == other.id
  return false unless @type == other.type
  return false unless @language_code == other.language_code
  return false unless @language_name == other.language_name
  return false unless  == other.
  true
end