getStorageConfigurations method
This operation lists all existing storage configurations for the device.
Implementation
Future<List<StorageConfiguration>> getStorageConfigurations() async {
loggy.debug('getStorageConfigurations');
final envelope = await transport.sendRequest(
uri,
transport.securedEnvelope(
soap.DeviceManagementRequest.getStorageConfigurations()));
if (envelope.body.hasFault) {
throw Exception(envelope.body.fault.toString());
}
return GetStorageConfigurationsResponse.fromJson(envelope.body.response!)
.storageConfigurations;
}