Person

class Person

A data class for Person NOTE: roles,licenses and siteUrls is applicable for admin only and requires extra scopes spark-admin:people_read and spark-admin:people_write passed in at the time of creating OAuthAuthenticator object.

Since

0.1

Constructors

Link copied to clipboard
fun Person()

Functions

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
var avatar: String? = null

The URL of this person's avatar.

Link copied to clipboard
var created: Date

The timestamp that this person being created.

Link copied to clipboard
var displayName: String? = null

The display name of this person.

Link copied to clipboard
var emails: List<String>? = null

The emails of this person.

Link copied to clipboard
var encodedId: String? = null

The base64 encoded Id of the person. This Id can be directly used as input to the cloud Webex APIs

Link copied to clipboard
var firstName: String? = null

The nick first name of person

Link copied to clipboard
var id: String? = null

The id of this person.

Link copied to clipboard
var lastActivity: String? = null

The date and time of the person's last activity within Webex Teams.

Link copied to clipboard
var lastName: String? = null

The nick last name of person

Link copied to clipboard
var licenses: List<String>

An array of license strings allocated to this person.

Link copied to clipboard
var nickName: String? = null

The nick name of person

Link copied to clipboard
var orgId: String? = null

The org Id of person

Link copied to clipboard
var roles: List<PersonRole>

An array of role strings representing the roles to which this person belongs.

Link copied to clipboard
var siteUrls: List<String>

One or several site names where this user has a role (host or attendee)

Link copied to clipboard
var status: String? = null

The current presence status of the person.

Link copied to clipboard
var type: String? = null

The nick type of person, default is "person"