PermissionRequest

data class PermissionRequest(val call: Call, val user: User, val createdAt: OffsetDateTime, val permissions: List<String>, var grantedAt: OffsetDateTime? = null, var rejectedAt: OffsetDateTime? = null)

Constructors

Link copied to clipboard
constructor(call: Call, event: PermissionRequestEvent)
constructor(call: Call, user: User, createdAt: OffsetDateTime, permissions: List<String>, grantedAt: OffsetDateTime? = null, rejectedAt: OffsetDateTime? = null)

Properties

Link copied to clipboard
val call: Call
Link copied to clipboard
val createdAt: OffsetDateTime
Link copied to clipboard
var grantedAt: OffsetDateTime?
Link copied to clipboard
Link copied to clipboard
var rejectedAt: OffsetDateTime?
Link copied to clipboard
val user: User

Functions

Link copied to clipboard
suspend fun grant(): Result<UpdateUserPermissionsResponse>
Link copied to clipboard
fun reject()