Comments

@JsonClass(generateAdapter = true)
data class Comments(    val comments_period: Int?,     val allow_comments: Boolean?,     val display_comments: Boolean?,     val moderation_required: Boolean?,     val additional_properties: Map<String, *>?)

Comment configuration data

Constructors

Link copied to clipboard
fun Comments(    comments_period: Int?,     allow_comments: Boolean?,     display_comments: Boolean?,     moderation_required: Boolean?,     additional_properties: Map<String, *>?)

Properties

Link copied to clipboard
val additional_properties: Map<String, *>?

A grab-bag object for non-validatable data.

Link copied to clipboard
val allow_comments: Boolean?

If false, commenting is disabled on this content.

Link copied to clipboard
val comments_period: Int?

How long (in days) after publish date until comments are closed.

Link copied to clipboard
val display_comments: Boolean?

If false, do not render comments on this content.

Link copied to clipboard
val moderation_required: Boolean?

If true, comments must be moderator-approved before being displayed.