setLanConfig method
Edit the LAN configuration
Edits the LAN configuration. If the configuration fails, the entire proccess is rolled back and an error will be returned.
Parameters:
Implementation
Future<void> setLanConfig(
LanConfig lanConfig, {
String? uuidToken,
}) async {
final response = await setLanConfigWithHttpInfo(
lanConfig,
uuidToken: uuidToken,
);
if (response.statusCode >= HttpStatus.badRequest) {
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
}
}