IntelligentTieringConfiguration.fromXml constructor

IntelligentTieringConfiguration.fromXml(
  1. XmlElement elem
)

Implementation

factory IntelligentTieringConfiguration.fromXml(_s.XmlElement elem) {
  return IntelligentTieringConfiguration(
    id: _s.extractXmlStringValue(elem, 'Id')!,
    status: _s
        .extractXmlStringValue(elem, 'Status')!
        .toIntelligentTieringStatus(),
    tierings:
        elem.findElements('Tiering').map((c) => Tiering.fromXml(c)).toList(),
    filter: _s
        .extractXmlChild(elem, 'Filter')
        ?.let((e) => IntelligentTieringFilter.fromXml(e)),
  );
}