class

Plaid::Warning

Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object

It is possible for an Asset Report to be returned with missing account owner information. In such cases, the Asset Report will contain warning data in the response, indicating why obtaining the owner information failed.

Constants

ERROR_MESSAGE_FOR_WARNING_CODE = "invalid value for \"warning_code\", must be one of [OWNERS_UNAVAILABLE, INVESTMENTS_UNAVAILABLE, TRANSACTIONS_UNAVAILABLE]."
VALID_VALUES_FOR_WARNING_CODE = String.static_array("OWNERS_UNAVAILABLE", "INVESTMENTS_UNAVAILABLE", "TRANSACTIONS_UNAVAILABLE")

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, warning_type : String | Nil = nil, warning_code : String | Nil = nil, cause : Plaid::Cause | Nil = nil)

Initializes the object @param [Hash] attributes Model attributes in the form of hash

Source

Instance methods

==(other : self)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

cause
Source
cause=(new_value : Plaid::Cause | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] cause Object to be assigned

Source
hash(hasher)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

list_invalid_properties

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Source
valid?

Check to see if the all the properties in the model are valid @return true if the model is valid

Source
warning_code

The warning code identifies a specific kind of warning. OWNERS_UNAVAILABLE indicates that account-owner information is not available.INVESTMENTS_UNAVAILABLE indicates that Investments specific information is not available. TRANSACTIONS_UNAVAILABLE indicates that transactions information associated with Credit and Depository accounts are unavailable.

Source
warning_code=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] warning_code Object to be assigned

Source
warning_type

The warning type, which will always be ASSET_REPORT_WARNING

Source
warning_type=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] warning_type Object to be assigned

Source