ModEventTakedown

data class ModEventTakedown(val comment: String? = null, val durationInHours: Long? = null, val acknowledgeAccountSubjects: Boolean? = null, val policies: List<String>? = null, val severityLevel: String? = null, val targetServices: List<ModEventTakedownTargetServices>? = null, val strikeCount: Long? = null, val strikeExpiresAt: Timestamp? = null)

Take down a subject permanently or temporarily

Parameters

durationInHours

Indicates how long the takedown should be in effect before automatically expiring.

acknowledgeAccountSubjects

If true, all other reports on content authored by this account will be resolved (acknowledged).

policies

Names/Keywords of the policies that drove the decision.

severityLevel

Severity level of the violation (e.g., 'sev-0', 'sev-1', 'sev-2', etc.).

targetServices

List of services where the takedown should be applied. If empty or not provided, takedown is applied on all configured services.

strikeCount

Number of strikes to assign to the user for this violation.

strikeExpiresAt

When the strike should expire. If not provided, the strike never expires.

Constructors

Link copied to clipboard
constructor(comment: String? = null, durationInHours: Long? = null, acknowledgeAccountSubjects: Boolean? = null, policies: List<String>? = null, severityLevel: String? = null, targetServices: List<ModEventTakedownTargetServices>? = null, strikeCount: Long? = null, strikeExpiresAt: Timestamp? = null)

Properties

Link copied to clipboard

If true, all other reports on content authored by this account will be resolved (acknowledged).

Link copied to clipboard
Link copied to clipboard

Indicates how long the takedown should be in effect before automatically expiring.

Link copied to clipboard

Names/Keywords of the policies that drove the decision.

Link copied to clipboard

Severity level of the violation (e.g., 'sev-0', 'sev-1', 'sev-2', etc.).

Link copied to clipboard

Number of strikes to assign to the user for this violation.

Link copied to clipboard

When the strike should expire. If not provided, the strike never expires.

Link copied to clipboard

List of services where the takedown should be applied. If empty or not provided, takedown is applied on all configured services.