Class: FastpixClient::Models::Components::VideoTrackForGetAll

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

Overview

A media consists of different media tracks, like video, audio, and subtitle, all combined.

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, width: nil, height: nil, status: nil) ⇒ VideoTrackForGetAll

Returns a new instance of VideoTrackForGetAll.



27
28
29
30
31
32
33
# File 'lib/fastpix_client/models/components/videotrackforgetall.rb', line 27

def initialize(id: nil, type: nil, width: nil, height: nil, status: nil)
  @id = id
  @type = type
  @width = width
  @height = height
  @status = status
end

Instance Method Details

#==(other) ⇒ Object



36
37
38
39
40
41
42
43
44
# File 'lib/fastpix_client/models/components/videotrackforgetall.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 @width == other.width
  return false unless @height == other.height
  return false unless @status == other.status
  true
end