ChangeSetSummary.fromXml constructor

ChangeSetSummary.fromXml(
  1. XmlElement elem
)

Implementation

factory ChangeSetSummary.fromXml(_s.XmlElement elem) {
  return ChangeSetSummary(
    changeSetId: _s.extractXmlStringValue(elem, 'ChangeSetId'),
    changeSetName: _s.extractXmlStringValue(elem, 'ChangeSetName'),
    creationTime: _s.extractXmlDateTimeValue(elem, 'CreationTime'),
    description: _s.extractXmlStringValue(elem, 'Description'),
    executionStatus: _s
        .extractXmlStringValue(elem, 'ExecutionStatus')
        ?.toExecutionStatus(),
    includeNestedStacks: _s.extractXmlBoolValue(elem, 'IncludeNestedStacks'),
    parentChangeSetId: _s.extractXmlStringValue(elem, 'ParentChangeSetId'),
    rootChangeSetId: _s.extractXmlStringValue(elem, 'RootChangeSetId'),
    stackId: _s.extractXmlStringValue(elem, 'StackId'),
    stackName: _s.extractXmlStringValue(elem, 'StackName'),
    status: _s.extractXmlStringValue(elem, 'Status')?.toChangeSetStatus(),
    statusReason: _s.extractXmlStringValue(elem, 'StatusReason'),
  );
}