Description

The PostProcessingActionResponse is the base class for QnaActionRespose and other post processing actions responses. It holds the id and status properties for all deriving objects.

Example

var answers = eventArgs.getQnaResponses();
for(var i = 0; i < answers.length; i++) {
print("answer " + i + " id: " + answers[i].id);
print("answer " + i + " status code: " + answers[i].status.code);
print("answer " + i + " status description: " + answers[i].status.description);
}
interface PostProcessingActionResponse {
    id: number;
    status: PostProcessingActionResponseStatus;
    getTypeName(): string;
    isOfType(type): boolean;
    isSame(other): boolean;
}

Hierarchy (view full)

Properties

Methods

Properties

id: number

Description

The id of the PostProcessingAction so returning results can be tied to post processing actions

Description

The status holds the description and code for the post processing actions. In case of success the description will be empty and the code will be 0

Methods

  • Returns string

    Description

    Returns the name of this object's type.

  • Parameters

    • type: string

    Returns boolean

    Description

    Returns true if the object matches or derives from the passed in type.

  • Parameters

    Returns boolean

    Description

    Returns true if this object is the same as other. Useful for checking if two references point to the same thing.

Generated using TypeDoc