Class: Moov::Models::Operations::ListWalletsRequest

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

Returns a new instance of ListWalletsRequest.



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

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

Instance Method Details

#==(other) ⇒ Object



48
49
50
51
52
53
54
55
56
57
# File 'lib/moov/models/operations/listwallets_request.rb', line 48

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