ModEventEmail

data class ModEventEmail(val subjectLine: String, val content: String? = null, val comment: String? = null, val policies: List<String>? = null, val severityLevel: String? = null, val strikeCount: Long? = null, val strikeExpiresAt: Timestamp? = null, val isDelivered: Boolean? = null)

Keep a log of outgoing email to a user

Parameters

subjectLine

The subject line of the email sent to the user.

content

The content of the email sent to the user.

comment

Additional comment about the outgoing comm.

policies

Names/Keywords of the policies that necessitated the email.

severityLevel

Severity level of the violation. Normally 'sev-1' that adds strike on repeat offense

strikeCount

Number of strikes to assign to the user for this violation. Normally 0 as an indicator of a warning and only added as a strike on a repeat offense.

strikeExpiresAt

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

isDelivered

Indicates whether the email was successfully delivered to the user's inbox.

Constructors

Link copied to clipboard
constructor(subjectLine: String, content: String? = null, comment: String? = null, policies: List<String>? = null, severityLevel: String? = null, strikeCount: Long? = null, strikeExpiresAt: Timestamp? = null, isDelivered: Boolean? = null)

Properties

Link copied to clipboard

Additional comment about the outgoing comm.

Link copied to clipboard

The content of the email sent to the user.

Link copied to clipboard

Indicates whether the email was successfully delivered to the user's inbox.

Link copied to clipboard

Names/Keywords of the policies that necessitated the email.

Link copied to clipboard

Severity level of the violation. Normally 'sev-1' that adds strike on repeat offense

Link copied to clipboard

Number of strikes to assign to the user for this violation. Normally 0 as an indicator of a warning and only added as a strike on a repeat offense.

Link copied to clipboard

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

Link copied to clipboard

The subject line of the email sent to the user.