updateWave method
Update wave.
May throw ConflictException.
May throw ResourceNotFoundException.
May throw UninitializedAccountException.
Parameter waveID :
Wave ID.
Parameter accountID :
Account ID.
Parameter description :
Wave description.
Parameter name :
Wave name.
Implementation
Future<Wave> updateWave({
required String waveID,
String? accountID,
String? description,
String? name,
}) async {
final $payload = <String, dynamic>{
'waveID': waveID,
if (accountID != null) 'accountID': accountID,
if (description != null) 'description': description,
if (name != null) 'name': name,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/UpdateWave',
exceptionFnMap: _exceptionFns,
);
return Wave.fromJson(response);
}