ListBucketMetricsConfigurationsOutput.fromXml constructor

ListBucketMetricsConfigurationsOutput.fromXml(
  1. XmlElement elem
)

Implementation

factory ListBucketMetricsConfigurationsOutput.fromXml(_s.XmlElement elem) {
  return ListBucketMetricsConfigurationsOutput(
    continuationToken: _s.extractXmlStringValue(elem, 'ContinuationToken'),
    isTruncated: _s.extractXmlBoolValue(elem, 'IsTruncated'),
    metricsConfigurationList: elem
        .findElements('MetricsConfiguration')
        .map((c) => MetricsConfiguration.fromXml(c))
        .toList(),
    nextContinuationToken:
        _s.extractXmlStringValue(elem, 'NextContinuationToken'),
  );
}