Sudo

data class Sudo(var id: String? = null, var version: Int = 1, var createdAt: Date = Date(0), var updatedAt: Date = Date(0), var claims: MutableMap<String, Claim> = mutableMapOf(), var metadata: MutableMap<String, String> = mutableMapOf()) : Serializable

Represents a Sudo.

Parameters

id

globally unique identifier of this Sudo. This is generated and set by Sudo service.

version

current version of this Sudo.

createdAt

date and time at which this Sudo was created.

updatedAt

date and time at which this Sudo was last updated.

claims

claims.

metadata

arbitrary metadata set by the backend..

Constructors

Link copied to clipboard
constructor(title: String?, firstName: String?, lastName: String?, label: String?, notes: String?, avatar: Uri?)

Instantiates a Sudo.

constructor(id: String? = null, version: Int = 1, createdAt: Date = Date(0), updatedAt: Date = Date(0), claims: MutableMap<String, Claim> = mutableMapOf(), metadata: MutableMap<String, String> = mutableMapOf())

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
var avatar: Uri?

Avatar image URI.

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

External ID associated with this Sudo.

Link copied to clipboard

First name.

Link copied to clipboard
var id: String?
Link copied to clipboard

Label.

Link copied to clipboard

Last name.

Link copied to clipboard
Link copied to clipboard

Notes.

Link copied to clipboard

Title.

Link copied to clipboard
Link copied to clipboard