plaid2.model.warning module

class plaid2.model.warning.Warning(*, cause: Cause, warning_code: str, warning_type: str)[source]

Bases: BaseModel

cause: Cause

An error object and associated item_id used to identify a specific Item and error when a batch operation operating on multiple Items has encountered an error in one of the Items.

dict(**kwargs: Any) Dict[str, Any][source]

Return a dict representation of the object. Takes same keyword arguments as pydantic.BaseModel.dict

json(**kwargs: Any) str[source]

Return a json string representation of the object. Takes same keyword arguments as pydantic.BaseModel.json

classmethod parse_obj(data: Any) Warning[source]

Parse a dict into the object. Takes same keyword arguments as pydantic.BaseModel.parse_obj

classmethod parse_raw(b: Union[bytes, str], **kwargs: Any) Warning[source]

Parse a json string into the object. Takes same keyword arguments as pydantic.BaseModel.parse_raw

warning_code: str

The warning code identifies a specific kind of warning. Currently, the only possible warning code is OWNERS_UNAVAILABLE, which indicates that account-owner information is not available.

warning_type: str

The warning type, which will always be ASSET_REPORT_WARNING