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