API Docs for: 2.6
Show:

EndpointNethcti Class

Module: user

Abstraction of a NethCTI endpoint. It show the NethCTI presence of a user.

It can throw exception.

Constructor

EndpointNethcti

(
  • userid
)
Object

Parameters:

  • userid Object

    The user identifier

Returns:

Object:

The EndpointNethcti object.

Methods

getDeviceType

() String

Returns the type of the device used for nethcti.

Returns:

String:

The device type used for nethcti.

getId

() String

Returns the user identifier.

Returns:

String:

The user identifier.

getStatus

() String

Returns the NethCTI logged in status of the user.

Returns:

String:

The nethcti presence status.

setDeviceType

(
  • value
)

Sets the device type used for nethcti.

Parameters:

  • value String

    The device type used for nethcti.

setStatus

(
  • value
)

Sets the nethcti endpoint status.

Parameters:

  • value String

    The nethcti endpoint status

toJSON

() Object

Returns the JSON representation of the object.

Returns:

Object:

The JSON representation of the object.

toString

() String

Return the readable string description of the NethCTI endpoint.

Returns:

String:

The readable description of the NethCTI endpoint.

Properties

deviceType

String private

The type of the device used for nethcti.

id

String private

The NethCTI user identifier.

status

String private

The nethcti presence status.

Default: "offline"