DescribeAccountLimitsAnswer.fromXml constructor

DescribeAccountLimitsAnswer.fromXml(
  1. XmlElement elem
)

Implementation

factory DescribeAccountLimitsAnswer.fromXml(_s.XmlElement elem) {
  return DescribeAccountLimitsAnswer(
    maxNumberOfAutoScalingGroups:
        _s.extractXmlIntValue(elem, 'MaxNumberOfAutoScalingGroups'),
    maxNumberOfLaunchConfigurations:
        _s.extractXmlIntValue(elem, 'MaxNumberOfLaunchConfigurations'),
    numberOfAutoScalingGroups:
        _s.extractXmlIntValue(elem, 'NumberOfAutoScalingGroups'),
    numberOfLaunchConfigurations:
        _s.extractXmlIntValue(elem, 'NumberOfLaunchConfigurations'),
  );
}