Class: Moov::Models::Operations::ListSweepsRequest

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/moov/models/operations/listsweeps_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:, wallet_id:, x_moov_version: nil, skip: nil, count: nil, status: nil, statement_descriptor: nil) ⇒ ListSweepsRequest

Returns a new instance of ListSweepsRequest.



40
41
42
43
44
45
46
47
48
# File 'lib/moov/models/operations/listsweeps_request.rb', line 40

def initialize(account_id:, wallet_id:, x_moov_version: nil, skip: nil, count: nil, status: nil, statement_descriptor: nil)
  @account_id = 
  @wallet_id = wallet_id
  @x_moov_version = x_moov_version
  @skip = skip
  @count = count
  @status = status
  @statement_descriptor = statement_descriptor
end

Instance Method Details

#==(other) ⇒ Object



51
52
53
54
55
56
57
58
59
60
61
# File 'lib/moov/models/operations/listsweeps_request.rb', line 51

def ==(other)
  return false unless other.is_a? self.class
  return false unless @account_id == other.
  return false unless @wallet_id == other.wallet_id
  return false unless @x_moov_version == other.x_moov_version
  return false unless @skip == other.skip
  return false unless @count == other.count
  return false unless @status == other.status
  return false unless @statement_descriptor == other.statement_descriptor
  true
end