ReadDeviceLogsRequest constructor

ReadDeviceLogsRequest({
  1. List<int>? deviceId,
  2. List<int>? id,
  3. Timestamp? ts,
  4. Int64? limit,
  5. bool? reverse,
  6. Iterable<List<int>>? filterJobIds,
})

Implementation

factory ReadDeviceLogsRequest({
  $core.List<$core.int>? deviceId,
  $core.List<$core.int>? id,
  $3.Timestamp? ts,
  $fixnum.Int64? limit,
  $core.bool? reverse,
  $core.Iterable<$core.List<$core.int>>? filterJobIds,
}) {
  final _result = create();
  if (deviceId != null) {
    _result.deviceId = deviceId;
  }
  if (id != null) {
    _result.id = id;
  }
  if (ts != null) {
    _result.ts = ts;
  }
  if (limit != null) {
    _result.limit = limit;
  }
  if (reverse != null) {
    _result.reverse = reverse;
  }
  if (filterJobIds != null) {
    _result.filterJobIds.addAll(filterJobIds);
  }
  return _result;
}