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