Class: Moov::Models::Operations::ListAccountsRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(name: nil, email: nil, type: nil, foreign_id: nil, include_disconnected: nil, capability: nil, capability_status: nil, skip: nil, count: nil) ⇒ ListAccountsRequest

Returns a new instance of ListAccountsRequest.



54
55
56
57
58
59
60
61
62
63
64
# File 'lib/moov/models/operations/listaccounts_request.rb', line 54

def initialize(name: nil, email: nil, type: nil, foreign_id: nil, include_disconnected: nil, capability: nil, capability_status: nil, skip: nil, count: nil)
  @name = name
  @email = email
  @type = type
  @foreign_id = foreign_id
  @include_disconnected = include_disconnected
  @capability = capability
  @capability_status = capability_status
  @skip = skip
  @count = count
end

Instance Method Details

#==(other) ⇒ Object



67
68
69
70
71
72
73
74
75
76
77
78
79
# File 'lib/moov/models/operations/listaccounts_request.rb', line 67

def ==(other)
  return false unless other.is_a? self.class
  return false unless @name == other.name
  return false unless @email == other.email
  return false unless @type == other.type
  return false unless @foreign_id == other.foreign_id
  return false unless @include_disconnected == other.include_disconnected
  return false unless @capability == other.capability
  return false unless @capability_status == other.capability_status
  return false unless @skip == other.skip
  return false unless @count == other.count
  true
end