ApplicationStatus constructor

ApplicationStatus({
  1. bool? isOnline,
  2. Map<String, String>? downtimeReason,
  3. Int64? plannedDowntimeStart,
  4. Int64? plannedDowntimeFinish,
})

Implementation

factory ApplicationStatus({
  $core.bool? isOnline,
  $core.Map<$core.String, $core.String>? downtimeReason,
  $fixnum.Int64? plannedDowntimeStart,
  $fixnum.Int64? plannedDowntimeFinish,
}) {
  final $result = create();
  if (isOnline != null) {
    $result.isOnline = isOnline;
  }
  if (downtimeReason != null) {
    $result.downtimeReason.addAll(downtimeReason);
  }
  if (plannedDowntimeStart != null) {
    $result.plannedDowntimeStart = plannedDowntimeStart;
  }
  if (plannedDowntimeFinish != null) {
    $result.plannedDowntimeFinish = plannedDowntimeFinish;
  }
  return $result;
}