StackSetSummary.fromXml constructor

StackSetSummary.fromXml(
  1. XmlElement elem
)

Implementation

factory StackSetSummary.fromXml(_s.XmlElement elem) {
  return StackSetSummary(
    autoDeployment: _s
        .extractXmlChild(elem, 'AutoDeployment')
        ?.let((e) => AutoDeployment.fromXml(e)),
    description: _s.extractXmlStringValue(elem, 'Description'),
    driftStatus:
        _s.extractXmlStringValue(elem, 'DriftStatus')?.toStackDriftStatus(),
    lastDriftCheckTimestamp:
        _s.extractXmlDateTimeValue(elem, 'LastDriftCheckTimestamp'),
    permissionModel: _s
        .extractXmlStringValue(elem, 'PermissionModel')
        ?.toPermissionModels(),
    stackSetId: _s.extractXmlStringValue(elem, 'StackSetId'),
    stackSetName: _s.extractXmlStringValue(elem, 'StackSetName'),
    status: _s.extractXmlStringValue(elem, 'Status')?.toStackSetStatus(),
  );
}