Draft

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

A draft containing an array of draft posts.

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.

Constructors

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

Properties

Link copied to clipboard

UUIDv4 identifier of the device that created this draft.

Link copied to clipboard

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

Link copied to clipboard

Indicates human language of posts primary text content.

Link copied to clipboard

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

Link copied to clipboard

Array of draft posts that compose this draft.

Link copied to clipboard

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