GetReadingsRequest constructor
Implementation
factory GetReadingsRequest({
@$core.Deprecated('This field is deprecated.')
$core.String? name,
@$core.Deprecated('This field is deprecated.')
$core.Iterable<$14.ResourceName>? sensorNames,
@$core.Deprecated('This field is deprecated.')
$43.Struct? extra,
}) {
final $result = create();
if (name != null) {
// ignore: deprecated_member_use_from_same_package
$result.name = name;
}
if (sensorNames != null) {
// ignore: deprecated_member_use_from_same_package
$result.sensorNames.addAll(sensorNames);
}
if (extra != null) {
// ignore: deprecated_member_use_from_same_package
$result.extra = extra;
}
return $result;
}