CalendarPost class
Properties
body
↔ String ?
Body is the post text. Required.
getter/setter pair
channel
↔ String ?
Channel is the target network: x, facebook, instagram, linkedin, tiktok, youtube or threads. Required — a post must name where it goes.
getter/setter pair
createdAt
↔ int ?
CreatedAt is unix seconds when the post was added, server-assigned and never rewritten.
getter/setter pair
error
↔ String ?
Error is the exact reason the last publish attempt failed — the honest record behind a "failed" status, never a faked success.
getter/setter pair
hashCode
→ int
The hash code for this object.
no setter override
id
↔ String ?
ID is the server-assigned post id ("cal_" + 128 random bits).
getter/setter pair
publishedAt
↔ int ?
PublishedAt is when the publish succeeded; 0 until it does.
getter/setter pair
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
scheduledAt
↔ int ?
ScheduledAt is the unix publish time; 0 leaves the post a draft, and any value makes it "scheduled" for the durable sweep to pick up.
getter/setter pair
status
↔ String ?
Status is draft, scheduled, published, failed or canceled. Server-owned.
getter/setter pair
title
↔ String ?
Title is the post's internal label, capped at 1024 bytes.
getter/setter pair
updatedAt
↔ int ?
UpdatedAt is unix seconds of the last write, server-assigned. The durable sweep writes too — claiming a due post, publishing it and recording a failure each bump it — so this moves without anyone editing the post.
getter/setter pair