Class: Moov::Models::Operations::ListProductsRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(account_id:, title: nil, category: nil, skip: nil, count: nil) ⇒ ListProductsRequest

Returns a new instance of ListProductsRequest.



29
30
31
32
33
34
35
# File 'lib/moov/models/operations/listproducts_request.rb', line 29

def initialize(account_id:, title: nil, category: nil, skip: nil, count: nil)
  @account_id = 
  @title = title
  @category = category
  @skip = skip
  @count = count
end

Instance Method Details

#==(other) ⇒ Object



38
39
40
41
42
43
44
45
46
# File 'lib/moov/models/operations/listproducts_request.rb', line 38

def ==(other)
  return false unless other.is_a? self.class
  return false unless @account_id == other.
  return false unless @title == other.title
  return false unless @category == other.category
  return false unless @skip == other.skip
  return false unless @count == other.count
  true
end