SubjectViewDetail

data class SubjectViewDetail(val src: Did, val isRead: Boolean, val subject: SubjectViewDetailSubjectUnion, val record: JsonContent? = null, val account: AccountPreview? = null, val enforcement: EnforcementView, val appeal: AppealView? = null, val availableActions: List<SubjectViewDetailAvailableActions>? = null, val actions: List<ActionView>, val cursor: String? = null, val reports: ReportsSummary? = null, val createdAt: Timestamp, val updatedAt: Timestamp)

A subject with a page of its action history and an aggregate report summary. Follow cursor to retrieve older actions; enforcement and appeal describe the current subject state on every page.

Parameters

record

Raw record JSON for the subject, when the subject is a record and the record is available.

account

Best-effort current profile information for an account subject.

actions

A page of action history, most recent first. Reversal timestamps include changes outside this page.

cursor

Cursor for the next page of action history. Omitted when no older actions remain.

reports

Omitted when the subject has never been reported, e.g. proactive enforcement.

Constructors

Link copied to clipboard
constructor(src: Did, isRead: Boolean, subject: SubjectViewDetailSubjectUnion, record: JsonContent? = null, account: AccountPreview? = null, enforcement: EnforcementView, appeal: AppealView? = null, availableActions: List<SubjectViewDetailAvailableActions>? = null, actions: List<ActionView>, cursor: String? = null, reports: ReportsSummary? = null, createdAt: Timestamp, updatedAt: Timestamp)

Properties

Link copied to clipboard

Best-effort current profile information for an account subject.

Link copied to clipboard

A page of action history, most recent first. Reversal timestamps include changes outside this page.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Cursor for the next page of action history. Omitted when no older actions remain.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Raw record JSON for the subject, when the subject is a record and the record is available.

Link copied to clipboard

Omitted when the subject has never been reported, e.g. proactive enforcement.

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