Skip to content

Models

The supplied OpenAPI document defines formal schemas for Project, Board, Ticket, and Document. The SDK maps those directly to Java classes.

Time values

OpenAPI date-time fields are mapped to OffsetDateTime:

OffsetDateTime dueAt = ticket.dueAt();

This retains the response offset rather than converting timestamps to a machine-local zone.

Enums

Ticket priorities use Priority:

LOWEST
LOW
NORMAL
HIGH
HIGHEST
CRITICAL

Document status uses DocumentStatus.DRAFT and DocumentStatus.PUBLISHED.

Unknown fields

Known models extend BaseModel. New response properties that the server adds are preserved:

JsonNode value = project.extra("future_field");
Map<String, JsonNode> all = project.extra();

This lets applications opt into newly returned metadata without losing it during SDK hydration.