OriginRequestPolicySummary.fromXml constructor

OriginRequestPolicySummary.fromXml(
  1. XmlElement elem
)

Implementation

factory OriginRequestPolicySummary.fromXml(_s.XmlElement elem) {
  return OriginRequestPolicySummary(
    originRequestPolicy: OriginRequestPolicy.fromXml(
        _s.extractXmlChild(elem, 'OriginRequestPolicy')!),
    type: _s.extractXmlStringValue(elem, 'Type')!.toOriginRequestPolicyType(),
  );
}