setNtp method
This operation sets the NTP settings on a device.
Access Class: WRITE_SYSTEM
Implementation
Future<bool> setNtp(NtpInformation ntpInformation) async {
loggy.debug('setNtp');
final responseEnvelope = await transport.securedRequest(
uri,
soap.Body(request: DeviceManagementRequest.setNtp(ntpInformation)),
);
if (responseEnvelope.body.hasFault) {
throw Exception(responseEnvelope.body.fault.toString());
}
return true;
}