ActionView
data class ActionView(val id: Long, val type: String, val scope: ActionViewScope? = null, val createdAt: Timestamp, val reversedAt: Timestamp? = null, val expiresAt: Timestamp? = null, val labels: List<String>? = null, val policies: List<PolicyView>? = null)
A single moderation action taken against a subject.
Parameters
id
Action ID (moderation event ID).
type
Public action type.
labels
Label values, for labelApplied/labelRemoved.
policies
Policies applied by a takedown action.
Constructors
Link copied to clipboard
constructor(id: Long, type: String, scope: ActionViewScope? = null, createdAt: Timestamp, reversedAt: Timestamp? = null, expiresAt: Timestamp? = null, labels: List<String>? = null, policies: List<PolicyView>? = null)