ManagedActionHistoryItem.fromXml constructor

ManagedActionHistoryItem.fromXml(
  1. XmlElement elem
)

Implementation

factory ManagedActionHistoryItem.fromXml(_s.XmlElement elem) {
  return ManagedActionHistoryItem(
    actionDescription: _s.extractXmlStringValue(elem, 'ActionDescription'),
    actionId: _s.extractXmlStringValue(elem, 'ActionId'),
    actionType: _s.extractXmlStringValue(elem, 'ActionType')?.toActionType(),
    executedTime: _s.extractXmlDateTimeValue(elem, 'ExecutedTime'),
    failureDescription: _s.extractXmlStringValue(elem, 'FailureDescription'),
    failureType:
        _s.extractXmlStringValue(elem, 'FailureType')?.toFailureType(),
    finishedTime: _s.extractXmlDateTimeValue(elem, 'FinishedTime'),
    status: _s.extractXmlStringValue(elem, 'Status')?.toActionHistoryStatus(),
  );
}