GetRobotPartLogsRequest constructor
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;
}