NextQuestionRequest

Request object for handling next question mutations

Experimental

Request object for handling next question mutations. This class is experimental and may change in future releases.

Constructors

Constructor

new NextQuestionRequest(data): NextQuestionRequest

Experimental

Parameters

data

I

Returns

NextQuestionRequest

Inherited from

ValidationRequest<NextQuestionRequestInput>.constructor

Methods

data()

data(): T

Experimental

Returns data encapsulated by the Request

Returns

T

Inherited from

ValidationRequest.data


toJSON()

toJSON(): Exact<{ questionnaireResponse: QuestionnaireResponseInput; }>

Experimental

Method to allow JSON serializers to only serialize the wrapped request data without serializing any of the Request object data

Returns

Exact<{ questionnaireResponse: QuestionnaireResponseInput; }>

See

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#description

Inherited from

ValidationRequest.toJSON


validate()

validate(): BWellTransactionResult<null, ValidationError>

Experimental

Validate the request.

Returns

BWellTransactionResult<null, ValidationError>

a BWellTransactionResult describing any validation errors found

Inherited from

ValidationRequest.validate