CloudFrontOriginAccessIdentityList.fromXml constructor
CloudFrontOriginAccessIdentityList.fromXml(
- XmlElement elem
Implementation
factory CloudFrontOriginAccessIdentityList.fromXml(_s.XmlElement elem) {
return CloudFrontOriginAccessIdentityList(
isTruncated: _s.extractXmlBoolValue(elem, 'IsTruncated')!,
marker: _s.extractXmlStringValue(elem, 'Marker')!,
maxItems: _s.extractXmlIntValue(elem, 'MaxItems')!,
quantity: _s.extractXmlIntValue(elem, 'Quantity')!,
items: _s.extractXmlChild(elem, 'Items')?.let((elem) => elem
.findElements('CloudFrontOriginAccessIdentitySummary')
.map((c) => CloudFrontOriginAccessIdentitySummary.fromXml(c))
.toList()),
nextMarker: _s.extractXmlStringValue(elem, 'NextMarker'),
);
}