Alternate

@Serializable
data class Alternate(val id: Long, val name: String, val slug: String, val published: Boolean, val fullSlug: String, val isFolder: Boolean, val parentId: Long)(source)

Basic data for a story defined as an alternate of the current story.

Alternates are different language versions or variants of the same content.

Constructors

Link copied to clipboard
constructor(id: Long, name: String, slug: String, published: Boolean, fullSlug: String, isFolder: Boolean, parentId: Long)

Properties

Link copied to clipboard
@SerialName(value = "full_slug")
val fullSlug: String

Story full slug, combining the parent folder(s) and the story slug.

Link copied to clipboard
val id: Long

Story ID.

Link copied to clipboard
@SerialName(value = "is_folder")
val isFolder: Boolean

True if the instance constitutes a folder.

Link copied to clipboard

Story name.

Link copied to clipboard
@SerialName(value = "parent_id")
val parentId: Long

ID of the parent folder.

Link copied to clipboard

True if the story is currently published.

Link copied to clipboard

Story slug.