ResourcePendingMaintenanceActions.fromXml constructor

ResourcePendingMaintenanceActions.fromXml(
  1. XmlElement elem
)

Implementation

factory ResourcePendingMaintenanceActions.fromXml(_s.XmlElement elem) {
  return ResourcePendingMaintenanceActions(
    pendingMaintenanceActionDetails: _s
        .extractXmlChild(elem, 'PendingMaintenanceActionDetails')
        ?.let((elem) => elem
            .findElements('PendingMaintenanceAction')
            .map((c) => PendingMaintenanceAction.fromXml(c))
            .toList()),
    resourceIdentifier: _s.extractXmlStringValue(elem, 'ResourceIdentifier'),
  );
}