Class: FastpixClient::Models::Components::AddTrackResponse
- Inherits:
-
Object
- Object
- FastpixClient::Models::Components::AddTrackResponse
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/fastpix_client/models/components/addtrackresponse.rb
Overview
Contains details about the track that was added or updated.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(id: nil, type: nil, url: nil, language_code: nil, language_name: nil, title: nil) ⇒ AddTrackResponse
constructor
A new instance of AddTrackResponse.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(id: nil, type: nil, url: nil, language_code: nil, language_name: nil, title: nil) ⇒ AddTrackResponse
Returns a new instance of AddTrackResponse.
29 30 31 32 33 34 35 36 |
# File 'lib/fastpix_client/models/components/addtrackresponse.rb', line 29 def initialize(id: nil, type: nil, url: nil, language_code: nil, language_name: nil, title: nil) @id = id @type = type @url = url @language_code = language_code @language_name = language_name @title = title end |
Instance Method Details
#==(other) ⇒ Object
39 40 41 42 43 44 45 46 47 48 |
# File 'lib/fastpix_client/models/components/addtrackresponse.rb', line 39 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 @url == other.url return false unless @language_code == other.language_code return false unless @language_name == other.language_name return false unless @title == other.title true end |