Agent
public struct Agent
Represents all info about an agent.
-
The id of the agent.
Declaration
Swift
public let id: Int -
The id of the agent in the inContact (CXone) system.
Declaration
Swift
@available(*, deprecated, message: "The field is no longer accessible. It will always return `nil` value and it will be removed in a future release.") public let inContactId: String? -
The email address of the agent.
Declaration
Swift
@available(*, deprecated, message: "The field is no longer accessible. It will always return `nil` value and it will be removed in a future release.") public let emailAddress: String? -
The username of the agent used to log in.
Declaration
Swift
@available(*, deprecated, message: "The field is no longer accessible. It will always return an empty string and it will be removed in a future release.") public let loginUsername: String -
The first name of the agent.
Declaration
Swift
public let firstName: String -
The surname of the agent.
Declaration
Swift
public let surname: String -
The nickname of the agent.
Declaration
Swift
public let nickname: String? -
Whether the agent is a bot.
Declaration
Swift
public let isBotUser: Bool -
Whether the agent is for automated surveys.
Declaration
Swift
public let isSurveyUser: Bool -
The URL for the profile photo of the agent.
Declaration
Swift
public let imageUrl: String -
The full name of the agent (readonly).
Declaration
Swift
public var fullName: String { get }
View on GitHub