Class: FastpixClient::Models::Components::UpdateTrackRequest

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

Overview

Contains details about the track being added to the media file.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(url: 'http://commondatastorage.googleapis.com/codeskulptor-assets/sounddogs/thrust.vtt', language_code: 'fr', language_name: 'French') ⇒ UpdateTrackRequest

Returns a new instance of UpdateTrackRequest.



23
24
25
26
27
# File 'lib/fastpix_client/models/components/updatetrackrequest.rb', line 23

def initialize(url: 'http://commondatastorage.googleapis.com/codeskulptor-assets/sounddogs/thrust.vtt', language_code: 'fr', language_name: 'French')
  @url = url
  @language_code = language_code
  @language_name = language_name
end

Instance Method Details

#==(other) ⇒ Object



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

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