ExportTask.fromXml constructor
ExportTask.fromXml(
- XmlElement elem
Implementation
factory ExportTask.fromXml(_s.XmlElement elem) {
return ExportTask(
exportOnly: _s
.extractXmlChild(elem, 'ExportOnly')
?.let((elem) => _s.extractXmlStringListValues(elem, 'member')),
exportTaskIdentifier:
_s.extractXmlStringValue(elem, 'ExportTaskIdentifier'),
failureCause: _s.extractXmlStringValue(elem, 'FailureCause'),
iamRoleArn: _s.extractXmlStringValue(elem, 'IamRoleArn'),
kmsKeyId: _s.extractXmlStringValue(elem, 'KmsKeyId'),
percentProgress: _s.extractXmlIntValue(elem, 'PercentProgress'),
s3Bucket: _s.extractXmlStringValue(elem, 'S3Bucket'),
s3Prefix: _s.extractXmlStringValue(elem, 'S3Prefix'),
snapshotTime: _s.extractXmlDateTimeValue(elem, 'SnapshotTime'),
sourceArn: _s.extractXmlStringValue(elem, 'SourceArn'),
status: _s.extractXmlStringValue(elem, 'Status'),
taskEndTime: _s.extractXmlDateTimeValue(elem, 'TaskEndTime'),
taskStartTime: _s.extractXmlDateTimeValue(elem, 'TaskStartTime'),
totalExtractedDataInGB:
_s.extractXmlIntValue(elem, 'TotalExtractedDataInGB'),
warningMessage: _s.extractXmlStringValue(elem, 'WarningMessage'),
);
}