GetStatusOutput.fromXml constructor
GetStatusOutput.fromXml(
- XmlElement elem
Implementation
factory GetStatusOutput.fromXml(_s.XmlElement elem) {
return GetStatusOutput(
artifactList: _s.extractXmlChild(elem, 'ArtifactList')?.let((elem) =>
elem.findElements('member').map((c) => Artifact.fromXml(c)).toList()),
carrier: _s.extractXmlStringValue(elem, 'Carrier'),
creationDate: _s.extractXmlDateTimeValue(elem, 'CreationDate'),
currentManifest: _s.extractXmlStringValue(elem, 'CurrentManifest'),
errorCount: _s.extractXmlIntValue(elem, 'ErrorCount'),
jobId: _s.extractXmlStringValue(elem, 'JobId'),
jobType: _s.extractXmlStringValue(elem, 'JobType')?.toJobType(),
locationCode: _s.extractXmlStringValue(elem, 'LocationCode'),
locationMessage: _s.extractXmlStringValue(elem, 'LocationMessage'),
logBucket: _s.extractXmlStringValue(elem, 'LogBucket'),
logKey: _s.extractXmlStringValue(elem, 'LogKey'),
progressCode: _s.extractXmlStringValue(elem, 'ProgressCode'),
progressMessage: _s.extractXmlStringValue(elem, 'ProgressMessage'),
signature: _s.extractXmlStringValue(elem, 'Signature'),
signatureFileContents:
_s.extractXmlStringValue(elem, 'SignatureFileContents'),
trackingNumber: _s.extractXmlStringValue(elem, 'TrackingNumber'),
);
}