Draft

constructor(deviceId: String? = null, deviceName: String? = null, posts: List<DraftPost>, langs: List<Language>? = null, postgateEmbeddingRules: List<DraftPostgateEmbeddingRuleUnion>? = null, threadgateAllow: List<DraftThreadgateAllowUnion>? = null)

Parameters

deviceId

UUIDv4 identifier of the device that created this draft.

deviceName

The device and/or platform on which the draft was created.

posts

Array of draft posts that compose this draft.

langs

Indicates human language of posts primary text content.

postgateEmbeddingRules

Embedding rules for the postgates to be created when this draft is published.

threadgateAllow

Allow-rules for the threadgate to be created when this draft is published.