ScheduleActionTakedown

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

Schedule a takedown action

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.).

strikeCount

Number of strikes to assign to the user when takedown is applied.

strikeExpiresAt

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

emailContent

Email content to be sent to the user upon takedown.

emailSubject

Subject of the email to be sent to the user upon takedown.

Constructors

Link copied to clipboard
constructor(comment: String? = null, durationInHours: Long? = null, acknowledgeAccountSubjects: Boolean? = null, policies: List<String>? = null, severityLevel: String? = null, strikeCount: Long? = null, strikeExpiresAt: Timestamp? = null, emailContent: String? = null, emailSubject: String? = 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

Email content to be sent to the user upon takedown.

Link copied to clipboard

Subject of the email to be sent to the user upon takedown.

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 when takedown is applied.

Link copied to clipboard

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