Sudo
constructor(title: String?, firstName: String?, lastName: String?, label: String?, notes: String?, avatar: Uri?)
Instantiates a Sudo.
Parameters
title
title.
first Name
first name.
last Name
last name.
label
label.
notes
notes.
avatar
avatar image URI.
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())
Parameters
id
globally unique identifier of this Sudo. This is generated and set by Sudo service.
version
current version of this Sudo.
created At
date and time at which this Sudo was created.
updated At
date and time at which this Sudo was last updated.
claims
claims.
metadata
arbitrary metadata set by the backend..