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) ⇒ 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) ⇒ AddTrackResponse
27 28 29 30 31 32 33 |
# File 'lib/fastpix_client/models/components/addtrackresponse.rb', line 27 def initialize(id: nil, type: nil, url: nil, language_code: nil, language_name: nil) @id = id @type = type @url = url @language_code = language_code @language_name = language_name end |
Instance Method Details
#==(other) ⇒ Object
36 37 38 39 40 41 42 43 44 |
# File 'lib/fastpix_client/models/components/addtrackresponse.rb', line 36 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 true end |