Class: FastpixClient::Models::Components::AudioInput
- Inherits:
-
Object
- Object
- FastpixClient::Models::Components::AudioInput
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/fastpix_client/models/components/audioinput.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(type:, swap_track_url:, impose_tracks: nil) ⇒ AudioInput
constructor
A new instance of AudioInput.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(type:, swap_track_url:, impose_tracks: nil) ⇒ AudioInput
Returns a new instance of AudioInput.
23 24 25 26 27 |
# File 'lib/fastpix_client/models/components/audioinput.rb', line 23 def initialize(type:, swap_track_url:, impose_tracks: nil) @type = type @swap_track_url = swap_track_url @impose_tracks = impose_tracks end |
Instance Method Details
#==(other) ⇒ Object
30 31 32 33 34 35 36 |
# File 'lib/fastpix_client/models/components/audioinput.rb', line 30 def ==(other) return false unless other.is_a? self.class return false unless @type == other.type return false unless @swap_track_url == other.swap_track_url return false unless @impose_tracks == other.impose_tracks true end |