Brak opisu

GoogleCloudDialogflowV2QueryParameters.php 2.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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. class Google_Service_Dialogflow_GoogleCloudDialogflowV2QueryParameters extends Google_Collection
  18. {
  19. protected $collection_key = 'sessionEntityTypes';
  20. protected $contextsType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2Context';
  21. protected $contextsDataType = 'array';
  22. protected $geoLocationType = 'Google_Service_Dialogflow_GoogleTypeLatLng';
  23. protected $geoLocationDataType = '';
  24. public $payload;
  25. public $resetContexts;
  26. protected $sessionEntityTypesType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2SessionEntityType';
  27. protected $sessionEntityTypesDataType = 'array';
  28. public $timeZone;
  29. /**
  30. * @param Google_Service_Dialogflow_GoogleCloudDialogflowV2Context
  31. */
  32. public function setContexts($contexts)
  33. {
  34. $this->contexts = $contexts;
  35. }
  36. /**
  37. * @return Google_Service_Dialogflow_GoogleCloudDialogflowV2Context
  38. */
  39. public function getContexts()
  40. {
  41. return $this->contexts;
  42. }
  43. /**
  44. * @param Google_Service_Dialogflow_GoogleTypeLatLng
  45. */
  46. public function setGeoLocation(Google_Service_Dialogflow_GoogleTypeLatLng $geoLocation)
  47. {
  48. $this->geoLocation = $geoLocation;
  49. }
  50. /**
  51. * @return Google_Service_Dialogflow_GoogleTypeLatLng
  52. */
  53. public function getGeoLocation()
  54. {
  55. return $this->geoLocation;
  56. }
  57. public function setPayload($payload)
  58. {
  59. $this->payload = $payload;
  60. }
  61. public function getPayload()
  62. {
  63. return $this->payload;
  64. }
  65. public function setResetContexts($resetContexts)
  66. {
  67. $this->resetContexts = $resetContexts;
  68. }
  69. public function getResetContexts()
  70. {
  71. return $this->resetContexts;
  72. }
  73. /**
  74. * @param Google_Service_Dialogflow_GoogleCloudDialogflowV2SessionEntityType
  75. */
  76. public function setSessionEntityTypes($sessionEntityTypes)
  77. {
  78. $this->sessionEntityTypes = $sessionEntityTypes;
  79. }
  80. /**
  81. * @return Google_Service_Dialogflow_GoogleCloudDialogflowV2SessionEntityType
  82. */
  83. public function getSessionEntityTypes()
  84. {
  85. return $this->sessionEntityTypes;
  86. }
  87. public function setTimeZone($timeZone)
  88. {
  89. $this->timeZone = $timeZone;
  90. }
  91. public function getTimeZone()
  92. {
  93. return $this->timeZone;
  94. }
  95. }