Request object for creating a consent
Request object for creating a consent.
Constructors
Constructor
new CreateConsentRequest(
data):CreateConsentRequest
Parameters
data
Returns
CreateConsentRequest
Inherited from
ValidationRequest<CreateConsentRequestInput>.constructor
Methods
data()
data():
CreateConsentRequestInput
Returns data encapsulated by the Request
Returns
Inherited from
ValidationRequest.data
toJSON()
toJSON():
CreateConsentRequestInput
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
