ListTrafficPolicyInstancesByHostedZoneResponse.fromXml constructor

ListTrafficPolicyInstancesByHostedZoneResponse.fromXml(
  1. XmlElement elem
)

Implementation

factory ListTrafficPolicyInstancesByHostedZoneResponse.fromXml(
    _s.XmlElement elem) {
  return ListTrafficPolicyInstancesByHostedZoneResponse(
    isTruncated: _s.extractXmlBoolValue(elem, 'IsTruncated')!,
    maxItems: _s.extractXmlStringValue(elem, 'MaxItems')!,
    trafficPolicyInstances: _s
        .extractXmlChild(elem, 'TrafficPolicyInstances')!
        .findElements('TrafficPolicyInstance')
        .map((c) => TrafficPolicyInstance.fromXml(c))
        .toList(),
    trafficPolicyInstanceNameMarker:
        _s.extractXmlStringValue(elem, 'TrafficPolicyInstanceNameMarker'),
    trafficPolicyInstanceTypeMarker: _s
        .extractXmlStringValue(elem, 'TrafficPolicyInstanceTypeMarker')
        ?.toRRType(),
  );
}