SubjectView

data class SubjectView(val src: Did, val subject: SubjectViewSubjectUnion, val enforcement: EnforcementView, val appeal: AppealView? = null, val availableActions: List<SubjectViewAvailableActions>? = null, val latestAction: ActionView? = null, val actionCount: Long? = null, val createdAt: Timestamp, val updatedAt: Timestamp, val isRead: Boolean)

A subject belonging to the viewer that has moderation actions against it.

Parameters

src

DID of the moderation service that took the actions.

Constructors

Link copied to clipboard
constructor(src: Did, subject: SubjectViewSubjectUnion, enforcement: EnforcementView, appeal: AppealView? = null, availableActions: List<SubjectViewAvailableActions>? = null, latestAction: ActionView? = null, actionCount: Long? = null, createdAt: Timestamp, updatedAt: Timestamp, isRead: Boolean)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val src: Did

DID of the moderation service that took the actions.

Link copied to clipboard
Link copied to clipboard