kemApiV3DevicesIdGeneratorsGensetIdPut method

Future<Response<GeneratorDTO>> kemApiV3DevicesIdGeneratorsGensetIdPut({
  1. required int? id,
  2. required String? gensetId,
  3. required GeneratorUpdateV3Body? body,
})

Update the display name of a generator sub-device linked to the given hub device. @param id @param gensetId

Implementation

Future<chopper.Response<GeneratorDTO>>
    kemApiV3DevicesIdGeneratorsGensetIdPut({
  required int? id,
  required String? gensetId,
  required GeneratorUpdateV3Body? body,
}) {
  generatedMapping.putIfAbsent(
      GeneratorDTO, () => GeneratorDTO.fromJsonFactory);

  return _kemApiV3DevicesIdGeneratorsGensetIdPut(
      id: id, gensetId: gensetId, body: body);
}