Method: FuseClient::GetFinancialConnectionsTransactionsRequest#valid?

Defined in:
lib/fuse_client/models/get_financial_connections_transactions_request.rb

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



145
146
147
148
149
150
151
152
153
154
155
# File 'lib/fuse_client/models/get_financial_connections_transactions_request.rb', line 145

def valid?
  return false if @access_token.nil?
  return false if @start_date.nil?
  return false if @end_date.nil?
  return false if @page.nil?
  return false if @page < 1
  return false if @records_per_page.nil?
  return false if @records_per_page > 100
  return false if @records_per_page < 10
  true
end