Embargo

@JsonClass(generateAdapter = true)
data class Embargo(    val active: Boolean?,     val end_time: Date?,     val description: String?)

Embargo configuration to enforce publishing restrictions. Embargoed content must not go live.

Constructors

Link copied to clipboard
fun Embargo(    active: Boolean?,     end_time: Date?,     description: String?)

Properties

Link copied to clipboard
val active: Boolean?

The boolean flag to indicate if the embargo is active or not. If this field is false, ignore the embargo.

Link copied to clipboard
val description: String?

An optional description for the embargo.

Link copied to clipboard
val end_time: Date?

An optional end time for the embargo to indicate when it ends. When it's not defined, it means the embargo keeps applying. The end time should be ignored if active flag is false.