Class: FastpixClient::Models::Components::MediaMp4Support
- Inherits:
-
Object
- Object
- FastpixClient::Models::Components::MediaMp4Support
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/fastpix_client/models/components/media_mp4support.rb
Overview
MediaMp4Support - One MP4 rendition generated for the media when MP4 support is requested.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(type: nil, status: nil, height: nil, width: nil, ext: nil) ⇒ MediaMp4Support
constructor
A new instance of MediaMp4Support.
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) ⇒ MediaMp4Support
Returns a new instance of MediaMp4Support.
27 28 29 30 31 32 33 |
# File 'lib/fastpix_client/models/components/media_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/media_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 |