ListRetainRequest_ constructor

ListRetainRequest_({
  1. List<int>? listName,
  2. Unbounded_? unboundedStart,
  3. int? inclusiveStart,
  4. Unbounded_? unboundedEnd,
  5. int? exclusiveEnd,
  6. Int64? ttlMilliseconds,
  7. bool? refreshTtl,
})

Implementation

factory ListRetainRequest_({
  $core.List<$core.int>? listName,
  $3.Unbounded_? unboundedStart,
  $core.int? inclusiveStart,
  $3.Unbounded_? unboundedEnd,
  $core.int? exclusiveEnd,
  $fixnum.Int64? ttlMilliseconds,
  $core.bool? refreshTtl,
}) {
  final $result = create();
  if (listName != null) {
    $result.listName = listName;
  }
  if (unboundedStart != null) {
    $result.unboundedStart = unboundedStart;
  }
  if (inclusiveStart != null) {
    $result.inclusiveStart = inclusiveStart;
  }
  if (unboundedEnd != null) {
    $result.unboundedEnd = unboundedEnd;
  }
  if (exclusiveEnd != null) {
    $result.exclusiveEnd = exclusiveEnd;
  }
  if (ttlMilliseconds != null) {
    $result.ttlMilliseconds = ttlMilliseconds;
  }
  if (refreshTtl != null) {
    $result.refreshTtl = refreshTtl;
  }
  return $result;
}