plaid2.model.product_status module

class plaid2.model.product_status.ProductStatus(*, last_status_change: str, status: str, breakdown: ProductStatusBreakdown)[source]

Bases: BaseModel

breakdown: ProductStatusBreakdown

A detailed breakdown of the institution’s performance for a request type. The values for success, error_plaid, and error_institution sum to 1.

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

last_status_change: str

//wikipedia.org/wiki/ISO_8601) formatted timestamp of the last status change for the institution.

Type

[ISO 8601](https

classmethod parse_obj(data: Any) ProductStatus[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) ProductStatus[source]

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

status: str

This field is deprecated in favor of the breakdown object, which provides more granular institution health data.

HEALTHY: the majority of requests are successful DEGRADED: only some requests are successful DOWN: all requests are failing