Class: Moov::Models::Operations::ListConnectedAccountsForAccountRequest

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/moov/models/operations/listconnectedaccountsforaccount_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:, name: nil, email: nil, type: nil, foreign_id: nil, include_disconnected: nil, capability: nil, capability_status: nil, skip: nil, count: nil) ⇒ ListConnectedAccountsForAccountRequest

Returns a new instance of ListConnectedAccountsForAccountRequest.



56
57
58
59
60
61
62
63
64
65
66
67
# File 'lib/moov/models/operations/listconnectedaccountsforaccount_request.rb', line 56

def initialize(account_id:, name: nil, email: nil, type: nil, foreign_id: nil, include_disconnected: nil, capability: nil, capability_status: nil, skip: nil, count: nil)
  @account_id = 
  @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



70
71
72
73
74
75
76
77
78
79
80
81
82
83
# File 'lib/moov/models/operations/listconnectedaccountsforaccount_request.rb', line 70

def ==(other)
  return false unless other.is_a? self.class
  return false unless @account_id == other.
  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