1<?php 2/* 3 * Copyright 2014 Google Inc. 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 6 * use this file except in compliance with the License. You may obtain a copy of 7 * the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 * License for the specific language governing permissions and limitations under 15 * the License. 16 */ 17 18namespace Google\Service\Dialogflow; 19 20class GoogleCloudDialogflowCxV3QueryParameters extends \Google\Collection 21{ 22 protected $collection_key = 'sessionEntityTypes'; 23 /** 24 * @var bool 25 */ 26 public $analyzeQueryTextSentiment; 27 /** 28 * @var string 29 */ 30 public $currentPage; 31 /** 32 * @var bool 33 */ 34 public $disableWebhook; 35 /** 36 * @var string[] 37 */ 38 public $flowVersions; 39 protected $geoLocationType = GoogleTypeLatLng::class; 40 protected $geoLocationDataType = ''; 41 /** 42 * @var array[] 43 */ 44 public $parameters; 45 /** 46 * @var array[] 47 */ 48 public $payload; 49 protected $sessionEntityTypesType = GoogleCloudDialogflowCxV3SessionEntityType::class; 50 protected $sessionEntityTypesDataType = 'array'; 51 /** 52 * @var string 53 */ 54 public $timeZone; 55 /** 56 * @var string[] 57 */ 58 public $webhookHeaders; 59 60 /** 61 * @param bool 62 */ 63 public function setAnalyzeQueryTextSentiment($analyzeQueryTextSentiment) 64 { 65 $this->analyzeQueryTextSentiment = $analyzeQueryTextSentiment; 66 } 67 /** 68 * @return bool 69 */ 70 public function getAnalyzeQueryTextSentiment() 71 { 72 return $this->analyzeQueryTextSentiment; 73 } 74 /** 75 * @param string 76 */ 77 public function setCurrentPage($currentPage) 78 { 79 $this->currentPage = $currentPage; 80 } 81 /** 82 * @return string 83 */ 84 public function getCurrentPage() 85 { 86 return $this->currentPage; 87 } 88 /** 89 * @param bool 90 */ 91 public function setDisableWebhook($disableWebhook) 92 { 93 $this->disableWebhook = $disableWebhook; 94 } 95 /** 96 * @return bool 97 */ 98 public function getDisableWebhook() 99 { 100 return $this->disableWebhook; 101 } 102 /** 103 * @param string[] 104 */ 105 public function setFlowVersions($flowVersions) 106 { 107 $this->flowVersions = $flowVersions; 108 } 109 /** 110 * @return string[] 111 */ 112 public function getFlowVersions() 113 { 114 return $this->flowVersions; 115 } 116 /** 117 * @param GoogleTypeLatLng 118 */ 119 public function setGeoLocation(GoogleTypeLatLng $geoLocation) 120 { 121 $this->geoLocation = $geoLocation; 122 } 123 /** 124 * @return GoogleTypeLatLng 125 */ 126 public function getGeoLocation() 127 { 128 return $this->geoLocation; 129 } 130 /** 131 * @param array[] 132 */ 133 public function setParameters($parameters) 134 { 135 $this->parameters = $parameters; 136 } 137 /** 138 * @return array[] 139 */ 140 public function getParameters() 141 { 142 return $this->parameters; 143 } 144 /** 145 * @param array[] 146 */ 147 public function setPayload($payload) 148 { 149 $this->payload = $payload; 150 } 151 /** 152 * @return array[] 153 */ 154 public function getPayload() 155 { 156 return $this->payload; 157 } 158 /** 159 * @param GoogleCloudDialogflowCxV3SessionEntityType[] 160 */ 161 public function setSessionEntityTypes($sessionEntityTypes) 162 { 163 $this->sessionEntityTypes = $sessionEntityTypes; 164 } 165 /** 166 * @return GoogleCloudDialogflowCxV3SessionEntityType[] 167 */ 168 public function getSessionEntityTypes() 169 { 170 return $this->sessionEntityTypes; 171 } 172 /** 173 * @param string 174 */ 175 public function setTimeZone($timeZone) 176 { 177 $this->timeZone = $timeZone; 178 } 179 /** 180 * @return string 181 */ 182 public function getTimeZone() 183 { 184 return $this->timeZone; 185 } 186 /** 187 * @param string[] 188 */ 189 public function setWebhookHeaders($webhookHeaders) 190 { 191 $this->webhookHeaders = $webhookHeaders; 192 } 193 /** 194 * @return string[] 195 */ 196 public function getWebhookHeaders() 197 { 198 return $this->webhookHeaders; 199 } 200} 201 202// Adding a class alias for backwards compatibility with the previous class name. 203class_alias(GoogleCloudDialogflowCxV3QueryParameters::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3QueryParameters'); 204