GetPushRuleEnabled

@Serializable
data class GetPushRuleEnabled(val scope: String, val kind: PushRuleKind, val ruleId: String) : MatrixEndpoint<Unit, GetPushRuleEnabled.Response>

See also

Constructors

Link copied to clipboard
constructor(scope: String, kind: PushRuleKind, ruleId: String)

Types

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

Properties

Link copied to clipboard
@SerialName(value = "kind")
val kind: PushRuleKind
Link copied to clipboard
open val requestContentType: ContentType?
Link copied to clipboard
open val responseContentType: ContentType?
Link copied to clipboard
@SerialName(value = "ruleId")
val ruleId: String
Link copied to clipboard
@SerialName(value = "scope")
val scope: String

Functions

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