Class: FastpixClient::Models::Operations::File
- Inherits:
-
Object
- Object
- FastpixClient::Models::Operations::File
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/fastpix_client/models/operations/file.rb
Overview
Contains metadata and structural details about the media file.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(container_format: nil, tracks: nil) ⇒ File
constructor
A new instance of File.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(container_format: nil, tracks: nil) ⇒ File
Returns a new instance of File.
21 22 23 24 |
# File 'lib/fastpix_client/models/operations/file.rb', line 21 def initialize(container_format: nil, tracks: nil) @container_format = container_format @tracks = tracks end |
Instance Method Details
#==(other) ⇒ Object
27 28 29 30 31 32 |
# File 'lib/fastpix_client/models/operations/file.rb', line 27 def ==(other) return false unless other.is_a? self.class return false unless @container_format == other.container_format return false unless @tracks == other.tracks true end |