Class: FastpixClient::Models::Operations::GetMediaClipsRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(media_id:, offset: 1, limit: 10, order_by: Models::Components::SortOrder::DESC) ⇒ GetMediaClipsRequest

Returns a new instance of GetMediaClipsRequest.



25
26
27
28
29
30
# File 'lib/fastpix_client/models/operations/get_media_clips_request.rb', line 25

def initialize(media_id:, offset: 1, limit: 10, order_by: Models::Components::SortOrder::DESC)
  @media_id = media_id
  @offset = offset
  @limit = limit
  @order_by = order_by
end

Instance Method Details

#==(other) ⇒ Object



33
34
35
36
37
38
39
40
# File 'lib/fastpix_client/models/operations/get_media_clips_request.rb', line 33

def ==(other)
  return false unless other.is_a? self.class
  return false unless @media_id == other.media_id
  return false unless @offset == other.offset
  return false unless @limit == other.limit
  return false unless @order_by == other.order_by
  true
end