QueryParameters constructor
QueryParameters({})
Implementation
factory QueryParameters({
$core.String? timeZone,
$21.LatLng? geoLocation,
$core.Iterable<$4.Context>? contexts,
$core.bool? resetContexts,
$core.Iterable<$7.SessionEntityType>? sessionEntityTypes,
$18.Struct? payload,
SentimentAnalysisRequestConfig? sentimentAnalysisRequestConfig,
$core.Map<$core.String, $core.String>? webhookHeaders,
}) {
final _result = create();
if (timeZone != null) {
_result.timeZone = timeZone;
}
if (geoLocation != null) {
_result.geoLocation = geoLocation;
}
if (contexts != null) {
_result.contexts.addAll(contexts);
}
if (resetContexts != null) {
_result.resetContexts = resetContexts;
}
if (sessionEntityTypes != null) {
_result.sessionEntityTypes.addAll(sessionEntityTypes);
}
if (payload != null) {
_result.payload = payload;
}
if (sentimentAnalysisRequestConfig != null) {
_result.sentimentAnalysisRequestConfig = sentimentAnalysisRequestConfig;
}
if (webhookHeaders != null) {
_result.webhookHeaders.addAll(webhookHeaders);
}
return _result;
}