GetRobotPartLogsRequest constructor

GetRobotPartLogsRequest({
  1. String? id,
  2. @Deprecated('This field is deprecated.') bool? errorsOnly,
  3. String? filter,
  4. String? pageToken,
  5. Iterable<String>? levels,
  6. Timestamp? start,
  7. Timestamp? end,
  8. Int64? limit,
  9. String? source,
})

Implementation

factory GetRobotPartLogsRequest({
  $core.String? id,
@$core.Deprecated('This field is deprecated.')
  $core.bool? errorsOnly,
  $core.String? filter,
  $core.String? pageToken,
  $core.Iterable<$core.String>? levels,
  $44.Timestamp? start,
  $44.Timestamp? end,
  $fixnum.Int64? limit,
  $core.String? source,
}) {
  final $result = create();
  if (id != null) {
    $result.id = id;
  }
  if (errorsOnly != null) {
    // ignore: deprecated_member_use_from_same_package
    $result.errorsOnly = errorsOnly;
  }
  if (filter != null) {
    $result.filter = filter;
  }
  if (pageToken != null) {
    $result.pageToken = pageToken;
  }
  if (levels != null) {
    $result.levels.addAll(levels);
  }
  if (start != null) {
    $result.start = start;
  }
  if (end != null) {
    $result.end = end;
  }
  if (limit != null) {
    $result.limit = limit;
  }
  if (source != null) {
    $result.source = source;
  }
  return $result;
}