Skip to content
Reference > Classes

CommandResponse

Definition

CommandResponse var = .... ;

Extends

Extended By

None

Description

Represents the response to calling a command

Method Summary

Owner Name Return Type Description
CommandResponse getAmiScript() String get ami script supplied in the response
Object getClassName() String Returns the string name of this object's class type.
CommandResponse getMessage() String get message supplied in the response (M=...)
CommandResponse getRequestId() String get status code supplied in the response(S=...)
CommandResponse getReturnValues() Map get values supplied in the response
CommandResponse getStatus() String get status code supplied in the response, either COMMAND_NOT_REGISTERED, DONT_CLOSE_DIALOG, OKAY, GENERAL_ERROR, UPDATE_RECORD, TIMEOUT
CommandResponse getStatusCode() Integer get status code supplied in the response as an integer.
Object toJson() String Returns a json representation of this object.

Method Definitions


getAmiScript()

String CommandResponse::getAmiScript()

Description

get ami script supplied in the response


getMessage()

String CommandResponse::getMessage()

Description

get message supplied in the response (M=...)


getRequestId()

String CommandResponse::getRequestId()

Description

get status code supplied in the response(S=...)


getReturnValues()

Map CommandResponse::getReturnValues()

Description

get values supplied in the response


getStatus()

String CommandResponse::getStatus()

Description

get status code supplied in the response, either COMMAND_NOT_REGISTERED, DONT_CLOSE_DIALOG, OKAY, GENERAL_ERROR, UPDATE_RECORD, TIMEOUT


getStatusCode()

Integer CommandResponse::getStatusCode()

Description

get status code supplied in the response as an integer.