SetPushRuleEnabled

@Serializable
data class SetPushRuleEnabled(val scope: String, val kind: PushRuleKind, val ruleId: String, val asUserId: UserId? = null) : MatrixEndpoint<SetPushRuleEnabled.Request, Unit>

See also

Constructors

Link copied to clipboard
fun SetPushRuleEnabled(scope: String, kind: PushRuleKind, ruleId: String, asUserId: UserId? = null)

Types

Link copied to clipboard
@Serializable
data class Request(val enabled: Boolean)

Functions

Link copied to clipboard
open fun requestSerializerBuilder(mappings: EventContentSerializerMappings, json: Json): KSerializer<SetPushRuleEnabled.Request>?
Link copied to clipboard
open fun responseSerializerBuilder(mappings: EventContentSerializerMappings, json: Json): KSerializer<Unit>?

Properties

Link copied to clipboard
val asUserId: UserId? = null
Link copied to clipboard
val kind: PushRuleKind
Link copied to clipboard
open val requestContentType: ContentType?
Link copied to clipboard
open val responseContentType: ContentType?
Link copied to clipboard
Link copied to clipboard