stopDiscoverer method

Future<StopDiscovererResponse> stopDiscoverer({
  1. required String discovererId,
})

Stops the discoverer

May throw BadRequestException. May throw ForbiddenException. May throw InternalServerErrorException. May throw NotFoundException. May throw ServiceUnavailableException. May throw UnauthorizedException.

Parameter discovererId : The ID of the discoverer.

Implementation

Future<StopDiscovererResponse> stopDiscoverer({
  required String discovererId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'POST',
    requestUri:
        '/v1/discoverers/id/${Uri.encodeComponent(discovererId)}/stop',
    exceptionFnMap: _exceptionFns,
  );
  return StopDiscovererResponse.fromJson(response);
}