Class: FastpixApiSDK::Models::Operations::GetAllStreamsRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(limit: '10', offset: '1', order_by: Models::Operations::GetAllStreamsOrderBy::DESC) ⇒ GetAllStreamsRequest

Returns a new instance of GetAllStreamsRequest.



24
25
26
27
28
# File 'lib/fastpix_api_sdk/models/operations/get_all_streams_request.rb', line 24

def initialize(limit: '10', offset: '1', order_by: Models::Operations::GetAllStreamsOrderBy::DESC)
  @limit = limit
  @offset = offset
  @order_by = order_by
end

Instance Method Details

#==(other) ⇒ Object



31
32
33
34
35
36
37
# File 'lib/fastpix_api_sdk/models/operations/get_all_streams_request.rb', line 31

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