ContentRestrictions

@JsonClass(generateAdapter = true)
data class ContentRestrictions(    val content_code: String?,     val embargo: ContentRestrictions.Embargo?,     val geo: Geo?)

Trait that applies contains the content restrictions of an ANS object.

Constructors

Link copied to clipboard
fun ContentRestrictions(    content_code: String?,     embargo: ContentRestrictions.Embargo?,     geo: Geo?)

Types

Link copied to clipboard
@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.

Properties

Link copied to clipboard
val content_code: String?

The content restriction code/level/flag associated with the ANS object

Link copied to clipboard
val embargo: ContentRestrictions.Embargo?

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

Link copied to clipboard
val geo: Geo?

Geo-Restriction configuration that contains the restriction ids that this content should be associated with.