QueryParameters constructor
QueryParameters({})
Implementation
factory QueryParameters({
$core.String? timeZone,
$24.LatLng? geoLocation,
$core.Iterable<$7.SessionEntityType>? sessionEntityTypes,
$16.Struct? payload,
$16.Struct? parameters,
$core.bool? disableWebhook,
$core.bool? analyzeQueryTextSentiment,
$core.Map<$core.String, $core.String>? webhookHeaders,
}) {
final _result = create();
if (timeZone != null) {
_result.timeZone = timeZone;
}
if (geoLocation != null) {
_result.geoLocation = geoLocation;
}
if (sessionEntityTypes != null) {
_result.sessionEntityTypes.addAll(sessionEntityTypes);
}
if (payload != null) {
_result.payload = payload;
}
if (parameters != null) {
_result.parameters = parameters;
}
if (disableWebhook != null) {
_result.disableWebhook = disableWebhook;
}
if (analyzeQueryTextSentiment != null) {
_result.analyzeQueryTextSentiment = analyzeQueryTextSentiment;
}
if (webhookHeaders != null) {
_result.webhookHeaders.addAll(webhookHeaders);
}
return _result;
}