plaid2.model.health_incident module

class plaid2.model.health_incident.HealthIncident(*, incident_updates: List[IncidentUpdate], start_date: str, end_date: Optional[str] = None, title: str)[source]

Bases: BaseModel

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

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

end_date: Optional[str]

26:48Z”`.

Type

The end date of the incident, in [ISO 8601](https

Type

//wikipedia.org/wiki/ISO_8601) format, e.g. `”2020-10-30T15

incident_updates: List[IncidentUpdate]

Updates on the health incident.

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) HealthIncident[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) HealthIncident[source]

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

start_date: str

26:48Z”`.

Type

The start date of the incident, in [ISO 8601](https

Type

//wikipedia.org/wiki/ISO_8601) format, e.g. `”2020-10-30T15

title: str

The title of the incident