API Docs for:
Show:

EndpointCellphone Class

Module: user

Abstraction of a cellphone endpoint.

It can throw exceptions.

Constructor

EndpointCellphone

(
  • identifier
)
Object

Parameters:

  • identifier String

    The cellphone number identifier

Returns:

Object:

The endpoint cellphone object.

Item Index

Properties

Methods

getId

() String

Return the cellphone number identifier.

Returns:

String:

The cellphone number identifier

toJSON

() Object

Returns the JSON representation of the object.

{
    id: "340123456"
}

Returns:

Object:

The JSON representation of the object.

toString

() String

Return the readable string of the cellphone endpoint.

Returns:

String:

The readable description of the cellphone endpoint.

Properties

id

String private

The cellphone number identifier.