StackSetOperationResultSummary.fromXml constructor

StackSetOperationResultSummary.fromXml(
  1. XmlElement elem
)

Implementation

factory StackSetOperationResultSummary.fromXml(_s.XmlElement elem) {
  return StackSetOperationResultSummary(
    account: _s.extractXmlStringValue(elem, 'Account'),
    accountGateResult: _s
        .extractXmlChild(elem, 'AccountGateResult')
        ?.let((e) => AccountGateResult.fromXml(e)),
    organizationalUnitId:
        _s.extractXmlStringValue(elem, 'OrganizationalUnitId'),
    region: _s.extractXmlStringValue(elem, 'Region'),
    status: _s
        .extractXmlStringValue(elem, 'Status')
        ?.toStackSetOperationResultStatus(),
    statusReason: _s.extractXmlStringValue(elem, 'StatusReason'),
  );
}