Represents a request for canceling an appointment within the health space
Represents a request for canceling an appointment within the health space.
This class extends the ValidationRequest to provide validation
for input data related to canceling an appointment.
Usage: const req = new CancelAppointmentRequest(input); const validation = req.validate();
Constructors
Constructor
new CancelAppointmentRequest(
data):CancelAppointmentRequest
Parameters
data
Returns
CancelAppointmentRequest
Inherited from
ValidationRequest<CancelAppointmentRequestInput>.constructor
Methods
data()
data():
CancelAppointmentRequestInput
Returns data encapsulated by the Request
Returns
Inherited from
ValidationRequest.data
toJSON()
toJSON():
CancelAppointmentRequestInput
Method to allow JSON serializers to only serialize the wrapped request data without serializing any of the Request object data
Returns
See
Inherited from
ValidationRequest.toJSON
validate()
validate():
BWellTransactionResult<null,ValidationError>
Validate the request.
Returns
BWellTransactionResult<null, ValidationError>
a BWellTransactionResult describing any validation errors found
Inherited from
ValidationRequest.validate
