QueryEventsQueryParams

data class QueryEventsQueryParams(val types: ReadOnlyList<String> = persistentListOf(), val createdBy: Did? = null, val sortDirection: String? = "desc", val createdAfter: Timestamp? = null, val createdBefore: Timestamp? = null, val subject: Uri? = null, val includeAllUserRecords: Boolean? = false, val limit: Long? = 50, val hasComment: Boolean? = null, val comment: String? = null, val addedLabels: ReadOnlyList<String> = persistentListOf(), val removedLabels: ReadOnlyList<String> = persistentListOf(), val addedTags: ReadOnlyList<String> = persistentListOf(), val removedTags: ReadOnlyList<String> = persistentListOf(), val reportTypes: ReadOnlyList<String> = persistentListOf(), val cursor: String? = null)

Constructors

Link copied to clipboard
constructor(types: ReadOnlyList<String> = persistentListOf(), createdBy: Did? = null, sortDirection: String? = "desc", createdAfter: Timestamp? = null, createdBefore: Timestamp? = null, subject: Uri? = null, includeAllUserRecords: Boolean? = false, limit: Long? = 50, hasComment: Boolean? = null, comment: String? = null, addedLabels: ReadOnlyList<String> = persistentListOf(), removedLabels: ReadOnlyList<String> = persistentListOf(), addedTags: ReadOnlyList<String> = persistentListOf(), removedTags: ReadOnlyList<String> = persistentListOf(), reportTypes: ReadOnlyList<String> = persistentListOf(), cursor: String? = null)

Properties

Link copied to clipboard

If specified, only events where all of these labels were added are returned

Link copied to clipboard

If specified, only events where all of these tags were added are returned

Link copied to clipboard
val comment: String? = null

If specified, only events with comments containing the keyword are returned

Link copied to clipboard
val createdAfter: Timestamp? = null

Retrieve events created after a given timestamp

Link copied to clipboard

Retrieve events created before a given timestamp

Link copied to clipboard
val createdBy: Did? = null
Link copied to clipboard
val cursor: String? = null
Link copied to clipboard
val hasComment: Boolean? = null

If true, only events with comments are returned

Link copied to clipboard

If true, events on all record types (posts, lists, profile etc.) owned by the did are returned

Link copied to clipboard
val limit: Long? = 50
Link copied to clipboard

If specified, only events where all of these labels were removed are returned

Link copied to clipboard

If specified, only events where all of these tags were removed are returned

Link copied to clipboard
Link copied to clipboard

Sort direction for the events. Defaults to descending order of created at timestamp.

Link copied to clipboard
val subject: Uri? = null
Link copied to clipboard

The types of events (fully qualified string in the format of tools.ozone.moderation.defs#modEvent) to filter by. If not specified, all events are returned.

Functions

Link copied to clipboard