ReplicatingStep constructor

ReplicatingStep({
  1. Int64? totalBytes,
  2. Int64? replicatedBytes,
  3. Int64? lastTwoMinutesAverageBytesPerSecond,
  4. Int64? lastThirtyMinutesAverageBytesPerSecond,
})

Implementation

factory ReplicatingStep({
  $fixnum.Int64? totalBytes,
  $fixnum.Int64? replicatedBytes,
  $fixnum.Int64? lastTwoMinutesAverageBytesPerSecond,
  $fixnum.Int64? lastThirtyMinutesAverageBytesPerSecond,
}) {
  final $result = create();
  if (totalBytes != null) {
    $result.totalBytes = totalBytes;
  }
  if (replicatedBytes != null) {
    $result.replicatedBytes = replicatedBytes;
  }
  if (lastTwoMinutesAverageBytesPerSecond != null) {
    $result.lastTwoMinutesAverageBytesPerSecond = lastTwoMinutesAverageBytesPerSecond;
  }
  if (lastThirtyMinutesAverageBytesPerSecond != null) {
    $result.lastThirtyMinutesAverageBytesPerSecond = lastThirtyMinutesAverageBytesPerSecond;
  }
  return $result;
}