StackSetOperation.fromXml constructor
StackSetOperation.fromXml(
- XmlElement elem
Implementation
factory StackSetOperation.fromXml(_s.XmlElement elem) {
return StackSetOperation(
action:
_s.extractXmlStringValue(elem, 'Action')?.toStackSetOperationAction(),
administrationRoleARN:
_s.extractXmlStringValue(elem, 'AdministrationRoleARN'),
creationTimestamp: _s.extractXmlDateTimeValue(elem, 'CreationTimestamp'),
deploymentTargets: _s
.extractXmlChild(elem, 'DeploymentTargets')
?.let((e) => DeploymentTargets.fromXml(e)),
endTimestamp: _s.extractXmlDateTimeValue(elem, 'EndTimestamp'),
executionRoleName: _s.extractXmlStringValue(elem, 'ExecutionRoleName'),
operationId: _s.extractXmlStringValue(elem, 'OperationId'),
operationPreferences: _s
.extractXmlChild(elem, 'OperationPreferences')
?.let((e) => StackSetOperationPreferences.fromXml(e)),
retainStacks: _s.extractXmlBoolValue(elem, 'RetainStacks'),
stackSetDriftDetectionDetails: _s
.extractXmlChild(elem, 'StackSetDriftDetectionDetails')
?.let((e) => StackSetDriftDetectionDetails.fromXml(e)),
stackSetId: _s.extractXmlStringValue(elem, 'StackSetId'),
status:
_s.extractXmlStringValue(elem, 'Status')?.toStackSetOperationStatus(),
);
}