Models¶
The Pydantic entity models nested inside responses. Fields are snake_case with camelCase aliases, and everything is optional, so only the fields a query actually requested are populated.
Pydantic models for Linear API entities.
All models use snake_case attribute names with automatically generated camelCase
aliases, so they parse the API's camelCase payloads (displayName, createdAt,
…) and can be serialised back to them with model_dump(by_alias=True). Because
populate_by_name=True, you can construct them with either spelling.
Only the fields a given query requested are populated; everything is optional and
defaults to None, and unknown fields are ignored.