AppointmentsRequest

Represents a request for appointments within the health space.
This class extends the ValidationRequest to provide validation
for appointment-related input data.

Constructors

Constructor

new AppointmentsRequest(data): AppointmentsRequest

Parameters

data

AppointmentsRequestInput

Returns

AppointmentsRequest

Inherited from

ValidationRequest<AppointmentsRequestInput>.constructor

Methods

data()

data(): AppointmentsRequestInput

Returns data encapsulated by the Request

Returns

AppointmentsRequestInput

Inherited from

ValidationRequest.data


toJSON()

toJSON(): AppointmentsRequestInput

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

Returns

AppointmentsRequestInput

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>

Validate the request.

Returns

BWellTransactionResult<null, ValidationError>

a BWellTransactionResult describing any validation errors found

Inherited from

ValidationRequest.validate