plaid2.model.email module

class plaid2.model.email.Email(*, type: str, data: str, primary: bool)[source]

Bases: BaseModel

data: str

The email address.

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

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

primary: bool

When true, identifies the email address as the primary email on an account.

type: str

The type of email account as described by the financial institution.