Request class for registering a device.
Constructors
Constructor
new RegisterDeviceRequest(
data):RegisterDeviceRequest
Parameters
data
Returns
RegisterDeviceRequest
Inherited from
ValidationRequest<RegisterDeviceRequestInput>.constructor
Methods
data()
data():
RegisterDeviceRequestInput
Returns data encapsulated by the Request
Returns
Inherited from
ValidationRequest.data
toJSON()
toJSON():
RegisterDeviceRequestInput
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
