Class: FastpixClient::Models::Components::GetAllMediaResponseMp4Support

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

Overview

GetAllMediaResponseMp4Support - One MP4 rendition generated for the media when MP4 support is requested.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(type: nil, status: nil, height: nil, width: nil, ext: nil) ⇒ GetAllMediaResponseMp4Support

Returns a new instance of GetAllMediaResponseMp4Support.



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

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

Instance Method Details

#==(other) ⇒ Object



36
37
38
39
40
41
42
43
44
# File 'lib/fastpix_client/models/components/getallmediaresponse_mp4support.rb', line 36

def ==(other)
  return false unless other.is_a? self.class
  return false unless @type == other.type
  return false unless @status == other.status
  return false unless @height == other.height
  return false unless @width == other.width
  return false unless @ext == other.ext
  true
end