UpdateTtlRequest_ constructor

UpdateTtlRequest_({
  1. List<int>? cacheKey,
  2. Int64? increaseToMilliseconds,
  3. Int64? decreaseToMilliseconds,
  4. Int64? overwriteToMilliseconds,
})

Implementation

factory UpdateTtlRequest_({
  $core.List<$core.int>? cacheKey,
  $fixnum.Int64? increaseToMilliseconds,
  $fixnum.Int64? decreaseToMilliseconds,
  $fixnum.Int64? overwriteToMilliseconds,
}) {
  final $result = create();
  if (cacheKey != null) {
    $result.cacheKey = cacheKey;
  }
  if (increaseToMilliseconds != null) {
    $result.increaseToMilliseconds = increaseToMilliseconds;
  }
  if (decreaseToMilliseconds != null) {
    $result.decreaseToMilliseconds = decreaseToMilliseconds;
  }
  if (overwriteToMilliseconds != null) {
    $result.overwriteToMilliseconds = overwriteToMilliseconds;
  }
  return $result;
}