Nouveaux fichier suite maj librairies vendor
This commit is contained in:
112
vendor/google/apiclient-services/src/Google/Service/Dialogflow/GoogleCloudDialogflowV2Agent.php
vendored
Normal file
112
vendor/google/apiclient-services/src/Google/Service/Dialogflow/GoogleCloudDialogflowV2Agent.php
vendored
Normal file
@@ -0,0 +1,112 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2Agent extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'supportedLanguageCodes';
|
||||
public $avatarUri;
|
||||
public $classificationThreshold;
|
||||
public $defaultLanguageCode;
|
||||
public $description;
|
||||
public $displayName;
|
||||
public $enableLogging;
|
||||
public $matchMode;
|
||||
public $parent;
|
||||
public $supportedLanguageCodes;
|
||||
public $timeZone;
|
||||
|
||||
public function setAvatarUri($avatarUri)
|
||||
{
|
||||
$this->avatarUri = $avatarUri;
|
||||
}
|
||||
public function getAvatarUri()
|
||||
{
|
||||
return $this->avatarUri;
|
||||
}
|
||||
public function setClassificationThreshold($classificationThreshold)
|
||||
{
|
||||
$this->classificationThreshold = $classificationThreshold;
|
||||
}
|
||||
public function getClassificationThreshold()
|
||||
{
|
||||
return $this->classificationThreshold;
|
||||
}
|
||||
public function setDefaultLanguageCode($defaultLanguageCode)
|
||||
{
|
||||
$this->defaultLanguageCode = $defaultLanguageCode;
|
||||
}
|
||||
public function getDefaultLanguageCode()
|
||||
{
|
||||
return $this->defaultLanguageCode;
|
||||
}
|
||||
public function setDescription($description)
|
||||
{
|
||||
$this->description = $description;
|
||||
}
|
||||
public function getDescription()
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
public function setDisplayName($displayName)
|
||||
{
|
||||
$this->displayName = $displayName;
|
||||
}
|
||||
public function getDisplayName()
|
||||
{
|
||||
return $this->displayName;
|
||||
}
|
||||
public function setEnableLogging($enableLogging)
|
||||
{
|
||||
$this->enableLogging = $enableLogging;
|
||||
}
|
||||
public function getEnableLogging()
|
||||
{
|
||||
return $this->enableLogging;
|
||||
}
|
||||
public function setMatchMode($matchMode)
|
||||
{
|
||||
$this->matchMode = $matchMode;
|
||||
}
|
||||
public function getMatchMode()
|
||||
{
|
||||
return $this->matchMode;
|
||||
}
|
||||
public function setParent($parent)
|
||||
{
|
||||
$this->parent = $parent;
|
||||
}
|
||||
public function getParent()
|
||||
{
|
||||
return $this->parent;
|
||||
}
|
||||
public function setSupportedLanguageCodes($supportedLanguageCodes)
|
||||
{
|
||||
$this->supportedLanguageCodes = $supportedLanguageCodes;
|
||||
}
|
||||
public function getSupportedLanguageCodes()
|
||||
{
|
||||
return $this->supportedLanguageCodes;
|
||||
}
|
||||
public function setTimeZone($timeZone)
|
||||
{
|
||||
$this->timeZone = $timeZone;
|
||||
}
|
||||
public function getTimeZone()
|
||||
{
|
||||
return $this->timeZone;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2BatchCreateEntitiesRequest extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'entities';
|
||||
protected $entitiesType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2EntityTypeEntity';
|
||||
protected $entitiesDataType = 'array';
|
||||
public $languageCode;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2EntityTypeEntity
|
||||
*/
|
||||
public function setEntities($entities)
|
||||
{
|
||||
$this->entities = $entities;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2EntityTypeEntity
|
||||
*/
|
||||
public function getEntities()
|
||||
{
|
||||
return $this->entities;
|
||||
}
|
||||
public function setLanguageCode($languageCode)
|
||||
{
|
||||
$this->languageCode = $languageCode;
|
||||
}
|
||||
public function getLanguageCode()
|
||||
{
|
||||
return $this->languageCode;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2BatchDeleteEntitiesRequest extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'entityValues';
|
||||
public $entityValues;
|
||||
public $languageCode;
|
||||
|
||||
public function setEntityValues($entityValues)
|
||||
{
|
||||
$this->entityValues = $entityValues;
|
||||
}
|
||||
public function getEntityValues()
|
||||
{
|
||||
return $this->entityValues;
|
||||
}
|
||||
public function setLanguageCode($languageCode)
|
||||
{
|
||||
$this->languageCode = $languageCode;
|
||||
}
|
||||
public function getLanguageCode()
|
||||
{
|
||||
return $this->languageCode;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'entityTypeNames';
|
||||
public $entityTypeNames;
|
||||
|
||||
public function setEntityTypeNames($entityTypeNames)
|
||||
{
|
||||
$this->entityTypeNames = $entityTypeNames;
|
||||
}
|
||||
public function getEntityTypeNames()
|
||||
{
|
||||
return $this->entityTypeNames;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2BatchDeleteIntentsRequest extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'intents';
|
||||
protected $intentsType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2Intent';
|
||||
protected $intentsDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2Intent
|
||||
*/
|
||||
public function setIntents($intents)
|
||||
{
|
||||
$this->intents = $intents;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2Intent
|
||||
*/
|
||||
public function getIntents()
|
||||
{
|
||||
return $this->intents;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2BatchUpdateEntitiesRequest extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'entities';
|
||||
protected $entitiesType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2EntityTypeEntity';
|
||||
protected $entitiesDataType = 'array';
|
||||
public $languageCode;
|
||||
public $updateMask;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2EntityTypeEntity
|
||||
*/
|
||||
public function setEntities($entities)
|
||||
{
|
||||
$this->entities = $entities;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2EntityTypeEntity
|
||||
*/
|
||||
public function getEntities()
|
||||
{
|
||||
return $this->entities;
|
||||
}
|
||||
public function setLanguageCode($languageCode)
|
||||
{
|
||||
$this->languageCode = $languageCode;
|
||||
}
|
||||
public function getLanguageCode()
|
||||
{
|
||||
return $this->languageCode;
|
||||
}
|
||||
public function setUpdateMask($updateMask)
|
||||
{
|
||||
$this->updateMask = $updateMask;
|
||||
}
|
||||
public function getUpdateMask()
|
||||
{
|
||||
return $this->updateMask;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest extends Google_Model
|
||||
{
|
||||
protected $entityTypeBatchInlineType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2EntityTypeBatch';
|
||||
protected $entityTypeBatchInlineDataType = '';
|
||||
public $entityTypeBatchUri;
|
||||
public $languageCode;
|
||||
public $updateMask;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2EntityTypeBatch
|
||||
*/
|
||||
public function setEntityTypeBatchInline(Google_Service_Dialogflow_GoogleCloudDialogflowV2EntityTypeBatch $entityTypeBatchInline)
|
||||
{
|
||||
$this->entityTypeBatchInline = $entityTypeBatchInline;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2EntityTypeBatch
|
||||
*/
|
||||
public function getEntityTypeBatchInline()
|
||||
{
|
||||
return $this->entityTypeBatchInline;
|
||||
}
|
||||
public function setEntityTypeBatchUri($entityTypeBatchUri)
|
||||
{
|
||||
$this->entityTypeBatchUri = $entityTypeBatchUri;
|
||||
}
|
||||
public function getEntityTypeBatchUri()
|
||||
{
|
||||
return $this->entityTypeBatchUri;
|
||||
}
|
||||
public function setLanguageCode($languageCode)
|
||||
{
|
||||
$this->languageCode = $languageCode;
|
||||
}
|
||||
public function getLanguageCode()
|
||||
{
|
||||
return $this->languageCode;
|
||||
}
|
||||
public function setUpdateMask($updateMask)
|
||||
{
|
||||
$this->updateMask = $updateMask;
|
||||
}
|
||||
public function getUpdateMask()
|
||||
{
|
||||
return $this->updateMask;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'entityTypes';
|
||||
protected $entityTypesType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2EntityType';
|
||||
protected $entityTypesDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2EntityType
|
||||
*/
|
||||
public function setEntityTypes($entityTypes)
|
||||
{
|
||||
$this->entityTypes = $entityTypes;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2EntityType
|
||||
*/
|
||||
public function getEntityTypes()
|
||||
{
|
||||
return $this->entityTypes;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2BatchUpdateIntentsRequest extends Google_Model
|
||||
{
|
||||
protected $intentBatchInlineType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentBatch';
|
||||
protected $intentBatchInlineDataType = '';
|
||||
public $intentBatchUri;
|
||||
public $intentView;
|
||||
public $languageCode;
|
||||
public $updateMask;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentBatch
|
||||
*/
|
||||
public function setIntentBatchInline(Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentBatch $intentBatchInline)
|
||||
{
|
||||
$this->intentBatchInline = $intentBatchInline;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentBatch
|
||||
*/
|
||||
public function getIntentBatchInline()
|
||||
{
|
||||
return $this->intentBatchInline;
|
||||
}
|
||||
public function setIntentBatchUri($intentBatchUri)
|
||||
{
|
||||
$this->intentBatchUri = $intentBatchUri;
|
||||
}
|
||||
public function getIntentBatchUri()
|
||||
{
|
||||
return $this->intentBatchUri;
|
||||
}
|
||||
public function setIntentView($intentView)
|
||||
{
|
||||
$this->intentView = $intentView;
|
||||
}
|
||||
public function getIntentView()
|
||||
{
|
||||
return $this->intentView;
|
||||
}
|
||||
public function setLanguageCode($languageCode)
|
||||
{
|
||||
$this->languageCode = $languageCode;
|
||||
}
|
||||
public function getLanguageCode()
|
||||
{
|
||||
return $this->languageCode;
|
||||
}
|
||||
public function setUpdateMask($updateMask)
|
||||
{
|
||||
$this->updateMask = $updateMask;
|
||||
}
|
||||
public function getUpdateMask()
|
||||
{
|
||||
return $this->updateMask;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2BatchUpdateIntentsResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'intents';
|
||||
protected $intentsType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2Intent';
|
||||
protected $intentsDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2Intent
|
||||
*/
|
||||
public function setIntents($intents)
|
||||
{
|
||||
$this->intents = $intents;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2Intent
|
||||
*/
|
||||
public function getIntents()
|
||||
{
|
||||
return $this->intents;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2Context extends Google_Model
|
||||
{
|
||||
public $lifespanCount;
|
||||
public $name;
|
||||
public $parameters;
|
||||
|
||||
public function setLifespanCount($lifespanCount)
|
||||
{
|
||||
$this->lifespanCount = $lifespanCount;
|
||||
}
|
||||
public function getLifespanCount()
|
||||
{
|
||||
return $this->lifespanCount;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setParameters($parameters)
|
||||
{
|
||||
$this->parameters = $parameters;
|
||||
}
|
||||
public function getParameters()
|
||||
{
|
||||
return $this->parameters;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2DetectIntentRequest extends Google_Model
|
||||
{
|
||||
public $inputAudio;
|
||||
protected $queryInputType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2QueryInput';
|
||||
protected $queryInputDataType = '';
|
||||
protected $queryParamsType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2QueryParameters';
|
||||
protected $queryParamsDataType = '';
|
||||
|
||||
public function setInputAudio($inputAudio)
|
||||
{
|
||||
$this->inputAudio = $inputAudio;
|
||||
}
|
||||
public function getInputAudio()
|
||||
{
|
||||
return $this->inputAudio;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2QueryInput
|
||||
*/
|
||||
public function setQueryInput(Google_Service_Dialogflow_GoogleCloudDialogflowV2QueryInput $queryInput)
|
||||
{
|
||||
$this->queryInput = $queryInput;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2QueryInput
|
||||
*/
|
||||
public function getQueryInput()
|
||||
{
|
||||
return $this->queryInput;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2QueryParameters
|
||||
*/
|
||||
public function setQueryParams(Google_Service_Dialogflow_GoogleCloudDialogflowV2QueryParameters $queryParams)
|
||||
{
|
||||
$this->queryParams = $queryParams;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2QueryParameters
|
||||
*/
|
||||
public function getQueryParams()
|
||||
{
|
||||
return $this->queryParams;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2DetectIntentResponse extends Google_Model
|
||||
{
|
||||
protected $queryResultType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2QueryResult';
|
||||
protected $queryResultDataType = '';
|
||||
public $responseId;
|
||||
protected $webhookStatusType = 'Google_Service_Dialogflow_GoogleRpcStatus';
|
||||
protected $webhookStatusDataType = '';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2QueryResult
|
||||
*/
|
||||
public function setQueryResult(Google_Service_Dialogflow_GoogleCloudDialogflowV2QueryResult $queryResult)
|
||||
{
|
||||
$this->queryResult = $queryResult;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2QueryResult
|
||||
*/
|
||||
public function getQueryResult()
|
||||
{
|
||||
return $this->queryResult;
|
||||
}
|
||||
public function setResponseId($responseId)
|
||||
{
|
||||
$this->responseId = $responseId;
|
||||
}
|
||||
public function getResponseId()
|
||||
{
|
||||
return $this->responseId;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleRpcStatus
|
||||
*/
|
||||
public function setWebhookStatus(Google_Service_Dialogflow_GoogleRpcStatus $webhookStatus)
|
||||
{
|
||||
$this->webhookStatus = $webhookStatus;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleRpcStatus
|
||||
*/
|
||||
public function getWebhookStatus()
|
||||
{
|
||||
return $this->webhookStatus;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2EntityType extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'entities';
|
||||
public $autoExpansionMode;
|
||||
public $displayName;
|
||||
protected $entitiesType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2EntityTypeEntity';
|
||||
protected $entitiesDataType = 'array';
|
||||
public $kind;
|
||||
public $name;
|
||||
|
||||
public function setAutoExpansionMode($autoExpansionMode)
|
||||
{
|
||||
$this->autoExpansionMode = $autoExpansionMode;
|
||||
}
|
||||
public function getAutoExpansionMode()
|
||||
{
|
||||
return $this->autoExpansionMode;
|
||||
}
|
||||
public function setDisplayName($displayName)
|
||||
{
|
||||
$this->displayName = $displayName;
|
||||
}
|
||||
public function getDisplayName()
|
||||
{
|
||||
return $this->displayName;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2EntityTypeEntity
|
||||
*/
|
||||
public function setEntities($entities)
|
||||
{
|
||||
$this->entities = $entities;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2EntityTypeEntity
|
||||
*/
|
||||
public function getEntities()
|
||||
{
|
||||
return $this->entities;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2EntityTypeBatch extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'entityTypes';
|
||||
protected $entityTypesType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2EntityType';
|
||||
protected $entityTypesDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2EntityType
|
||||
*/
|
||||
public function setEntityTypes($entityTypes)
|
||||
{
|
||||
$this->entityTypes = $entityTypes;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2EntityType
|
||||
*/
|
||||
public function getEntityTypes()
|
||||
{
|
||||
return $this->entityTypes;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2EntityTypeEntity extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'synonyms';
|
||||
public $synonyms;
|
||||
public $value;
|
||||
|
||||
public function setSynonyms($synonyms)
|
||||
{
|
||||
$this->synonyms = $synonyms;
|
||||
}
|
||||
public function getSynonyms()
|
||||
{
|
||||
return $this->synonyms;
|
||||
}
|
||||
public function setValue($value)
|
||||
{
|
||||
$this->value = $value;
|
||||
}
|
||||
public function getValue()
|
||||
{
|
||||
return $this->value;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2EventInput extends Google_Model
|
||||
{
|
||||
public $languageCode;
|
||||
public $name;
|
||||
public $parameters;
|
||||
|
||||
public function setLanguageCode($languageCode)
|
||||
{
|
||||
$this->languageCode = $languageCode;
|
||||
}
|
||||
public function getLanguageCode()
|
||||
{
|
||||
return $this->languageCode;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setParameters($parameters)
|
||||
{
|
||||
$this->parameters = $parameters;
|
||||
}
|
||||
public function getParameters()
|
||||
{
|
||||
return $this->parameters;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2ExportAgentRequest extends Google_Model
|
||||
{
|
||||
public $agentUri;
|
||||
|
||||
public function setAgentUri($agentUri)
|
||||
{
|
||||
$this->agentUri = $agentUri;
|
||||
}
|
||||
public function getAgentUri()
|
||||
{
|
||||
return $this->agentUri;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2ExportAgentResponse extends Google_Model
|
||||
{
|
||||
public $agentContent;
|
||||
public $agentUri;
|
||||
|
||||
public function setAgentContent($agentContent)
|
||||
{
|
||||
$this->agentContent = $agentContent;
|
||||
}
|
||||
public function getAgentContent()
|
||||
{
|
||||
return $this->agentContent;
|
||||
}
|
||||
public function setAgentUri($agentUri)
|
||||
{
|
||||
$this->agentUri = $agentUri;
|
||||
}
|
||||
public function getAgentUri()
|
||||
{
|
||||
return $this->agentUri;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2ImportAgentRequest extends Google_Model
|
||||
{
|
||||
public $agentContent;
|
||||
public $agentUri;
|
||||
|
||||
public function setAgentContent($agentContent)
|
||||
{
|
||||
$this->agentContent = $agentContent;
|
||||
}
|
||||
public function getAgentContent()
|
||||
{
|
||||
return $this->agentContent;
|
||||
}
|
||||
public function setAgentUri($agentUri)
|
||||
{
|
||||
$this->agentUri = $agentUri;
|
||||
}
|
||||
public function getAgentUri()
|
||||
{
|
||||
return $this->agentUri;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2InputAudioConfig extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'phraseHints';
|
||||
public $audioEncoding;
|
||||
public $languageCode;
|
||||
public $phraseHints;
|
||||
public $sampleRateHertz;
|
||||
|
||||
public function setAudioEncoding($audioEncoding)
|
||||
{
|
||||
$this->audioEncoding = $audioEncoding;
|
||||
}
|
||||
public function getAudioEncoding()
|
||||
{
|
||||
return $this->audioEncoding;
|
||||
}
|
||||
public function setLanguageCode($languageCode)
|
||||
{
|
||||
$this->languageCode = $languageCode;
|
||||
}
|
||||
public function getLanguageCode()
|
||||
{
|
||||
return $this->languageCode;
|
||||
}
|
||||
public function setPhraseHints($phraseHints)
|
||||
{
|
||||
$this->phraseHints = $phraseHints;
|
||||
}
|
||||
public function getPhraseHints()
|
||||
{
|
||||
return $this->phraseHints;
|
||||
}
|
||||
public function setSampleRateHertz($sampleRateHertz)
|
||||
{
|
||||
$this->sampleRateHertz = $sampleRateHertz;
|
||||
}
|
||||
public function getSampleRateHertz()
|
||||
{
|
||||
return $this->sampleRateHertz;
|
||||
}
|
||||
}
|
||||
219
vendor/google/apiclient-services/src/Google/Service/Dialogflow/GoogleCloudDialogflowV2Intent.php
vendored
Normal file
219
vendor/google/apiclient-services/src/Google/Service/Dialogflow/GoogleCloudDialogflowV2Intent.php
vendored
Normal file
@@ -0,0 +1,219 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2Intent extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'trainingPhrases';
|
||||
public $action;
|
||||
public $defaultResponsePlatforms;
|
||||
public $displayName;
|
||||
public $events;
|
||||
protected $followupIntentInfoType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentFollowupIntentInfo';
|
||||
protected $followupIntentInfoDataType = 'array';
|
||||
public $inputContextNames;
|
||||
public $isFallback;
|
||||
protected $messagesType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessage';
|
||||
protected $messagesDataType = 'array';
|
||||
public $mlDisabled;
|
||||
public $name;
|
||||
protected $outputContextsType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2Context';
|
||||
protected $outputContextsDataType = 'array';
|
||||
protected $parametersType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentParameter';
|
||||
protected $parametersDataType = 'array';
|
||||
public $parentFollowupIntentName;
|
||||
public $priority;
|
||||
public $resetContexts;
|
||||
public $rootFollowupIntentName;
|
||||
protected $trainingPhrasesType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentTrainingPhrase';
|
||||
protected $trainingPhrasesDataType = 'array';
|
||||
public $webhookState;
|
||||
|
||||
public function setAction($action)
|
||||
{
|
||||
$this->action = $action;
|
||||
}
|
||||
public function getAction()
|
||||
{
|
||||
return $this->action;
|
||||
}
|
||||
public function setDefaultResponsePlatforms($defaultResponsePlatforms)
|
||||
{
|
||||
$this->defaultResponsePlatforms = $defaultResponsePlatforms;
|
||||
}
|
||||
public function getDefaultResponsePlatforms()
|
||||
{
|
||||
return $this->defaultResponsePlatforms;
|
||||
}
|
||||
public function setDisplayName($displayName)
|
||||
{
|
||||
$this->displayName = $displayName;
|
||||
}
|
||||
public function getDisplayName()
|
||||
{
|
||||
return $this->displayName;
|
||||
}
|
||||
public function setEvents($events)
|
||||
{
|
||||
$this->events = $events;
|
||||
}
|
||||
public function getEvents()
|
||||
{
|
||||
return $this->events;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentFollowupIntentInfo
|
||||
*/
|
||||
public function setFollowupIntentInfo($followupIntentInfo)
|
||||
{
|
||||
$this->followupIntentInfo = $followupIntentInfo;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentFollowupIntentInfo
|
||||
*/
|
||||
public function getFollowupIntentInfo()
|
||||
{
|
||||
return $this->followupIntentInfo;
|
||||
}
|
||||
public function setInputContextNames($inputContextNames)
|
||||
{
|
||||
$this->inputContextNames = $inputContextNames;
|
||||
}
|
||||
public function getInputContextNames()
|
||||
{
|
||||
return $this->inputContextNames;
|
||||
}
|
||||
public function setIsFallback($isFallback)
|
||||
{
|
||||
$this->isFallback = $isFallback;
|
||||
}
|
||||
public function getIsFallback()
|
||||
{
|
||||
return $this->isFallback;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessage
|
||||
*/
|
||||
public function setMessages($messages)
|
||||
{
|
||||
$this->messages = $messages;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessage
|
||||
*/
|
||||
public function getMessages()
|
||||
{
|
||||
return $this->messages;
|
||||
}
|
||||
public function setMlDisabled($mlDisabled)
|
||||
{
|
||||
$this->mlDisabled = $mlDisabled;
|
||||
}
|
||||
public function getMlDisabled()
|
||||
{
|
||||
return $this->mlDisabled;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2Context
|
||||
*/
|
||||
public function setOutputContexts($outputContexts)
|
||||
{
|
||||
$this->outputContexts = $outputContexts;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2Context
|
||||
*/
|
||||
public function getOutputContexts()
|
||||
{
|
||||
return $this->outputContexts;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentParameter
|
||||
*/
|
||||
public function setParameters($parameters)
|
||||
{
|
||||
$this->parameters = $parameters;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentParameter
|
||||
*/
|
||||
public function getParameters()
|
||||
{
|
||||
return $this->parameters;
|
||||
}
|
||||
public function setParentFollowupIntentName($parentFollowupIntentName)
|
||||
{
|
||||
$this->parentFollowupIntentName = $parentFollowupIntentName;
|
||||
}
|
||||
public function getParentFollowupIntentName()
|
||||
{
|
||||
return $this->parentFollowupIntentName;
|
||||
}
|
||||
public function setPriority($priority)
|
||||
{
|
||||
$this->priority = $priority;
|
||||
}
|
||||
public function getPriority()
|
||||
{
|
||||
return $this->priority;
|
||||
}
|
||||
public function setResetContexts($resetContexts)
|
||||
{
|
||||
$this->resetContexts = $resetContexts;
|
||||
}
|
||||
public function getResetContexts()
|
||||
{
|
||||
return $this->resetContexts;
|
||||
}
|
||||
public function setRootFollowupIntentName($rootFollowupIntentName)
|
||||
{
|
||||
$this->rootFollowupIntentName = $rootFollowupIntentName;
|
||||
}
|
||||
public function getRootFollowupIntentName()
|
||||
{
|
||||
return $this->rootFollowupIntentName;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentTrainingPhrase
|
||||
*/
|
||||
public function setTrainingPhrases($trainingPhrases)
|
||||
{
|
||||
$this->trainingPhrases = $trainingPhrases;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentTrainingPhrase
|
||||
*/
|
||||
public function getTrainingPhrases()
|
||||
{
|
||||
return $this->trainingPhrases;
|
||||
}
|
||||
public function setWebhookState($webhookState)
|
||||
{
|
||||
$this->webhookState = $webhookState;
|
||||
}
|
||||
public function getWebhookState()
|
||||
{
|
||||
return $this->webhookState;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentBatch extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'intents';
|
||||
protected $intentsType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2Intent';
|
||||
protected $intentsDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2Intent
|
||||
*/
|
||||
public function setIntents($intents)
|
||||
{
|
||||
$this->intents = $intents;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2Intent
|
||||
*/
|
||||
public function getIntents()
|
||||
{
|
||||
return $this->intents;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentFollowupIntentInfo extends Google_Model
|
||||
{
|
||||
public $followupIntentName;
|
||||
public $parentFollowupIntentName;
|
||||
|
||||
public function setFollowupIntentName($followupIntentName)
|
||||
{
|
||||
$this->followupIntentName = $followupIntentName;
|
||||
}
|
||||
public function getFollowupIntentName()
|
||||
{
|
||||
return $this->followupIntentName;
|
||||
}
|
||||
public function setParentFollowupIntentName($parentFollowupIntentName)
|
||||
{
|
||||
$this->parentFollowupIntentName = $parentFollowupIntentName;
|
||||
}
|
||||
public function getParentFollowupIntentName()
|
||||
{
|
||||
return $this->parentFollowupIntentName;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,199 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessage extends Google_Model
|
||||
{
|
||||
protected $basicCardType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageBasicCard';
|
||||
protected $basicCardDataType = '';
|
||||
protected $cardType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageCard';
|
||||
protected $cardDataType = '';
|
||||
protected $carouselSelectType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageCarouselSelect';
|
||||
protected $carouselSelectDataType = '';
|
||||
protected $imageType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageImage';
|
||||
protected $imageDataType = '';
|
||||
protected $linkOutSuggestionType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion';
|
||||
protected $linkOutSuggestionDataType = '';
|
||||
protected $listSelectType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageListSelect';
|
||||
protected $listSelectDataType = '';
|
||||
public $payload;
|
||||
public $platform;
|
||||
protected $quickRepliesType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageQuickReplies';
|
||||
protected $quickRepliesDataType = '';
|
||||
protected $simpleResponsesType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageSimpleResponses';
|
||||
protected $simpleResponsesDataType = '';
|
||||
protected $suggestionsType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageSuggestions';
|
||||
protected $suggestionsDataType = '';
|
||||
protected $textType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageText';
|
||||
protected $textDataType = '';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageBasicCard
|
||||
*/
|
||||
public function setBasicCard(Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageBasicCard $basicCard)
|
||||
{
|
||||
$this->basicCard = $basicCard;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageBasicCard
|
||||
*/
|
||||
public function getBasicCard()
|
||||
{
|
||||
return $this->basicCard;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageCard
|
||||
*/
|
||||
public function setCard(Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageCard $card)
|
||||
{
|
||||
$this->card = $card;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageCard
|
||||
*/
|
||||
public function getCard()
|
||||
{
|
||||
return $this->card;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageCarouselSelect
|
||||
*/
|
||||
public function setCarouselSelect(Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageCarouselSelect $carouselSelect)
|
||||
{
|
||||
$this->carouselSelect = $carouselSelect;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageCarouselSelect
|
||||
*/
|
||||
public function getCarouselSelect()
|
||||
{
|
||||
return $this->carouselSelect;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageImage
|
||||
*/
|
||||
public function setImage(Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageImage $image)
|
||||
{
|
||||
$this->image = $image;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageImage
|
||||
*/
|
||||
public function getImage()
|
||||
{
|
||||
return $this->image;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion
|
||||
*/
|
||||
public function setLinkOutSuggestion(Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion $linkOutSuggestion)
|
||||
{
|
||||
$this->linkOutSuggestion = $linkOutSuggestion;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion
|
||||
*/
|
||||
public function getLinkOutSuggestion()
|
||||
{
|
||||
return $this->linkOutSuggestion;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageListSelect
|
||||
*/
|
||||
public function setListSelect(Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageListSelect $listSelect)
|
||||
{
|
||||
$this->listSelect = $listSelect;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageListSelect
|
||||
*/
|
||||
public function getListSelect()
|
||||
{
|
||||
return $this->listSelect;
|
||||
}
|
||||
public function setPayload($payload)
|
||||
{
|
||||
$this->payload = $payload;
|
||||
}
|
||||
public function getPayload()
|
||||
{
|
||||
return $this->payload;
|
||||
}
|
||||
public function setPlatform($platform)
|
||||
{
|
||||
$this->platform = $platform;
|
||||
}
|
||||
public function getPlatform()
|
||||
{
|
||||
return $this->platform;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageQuickReplies
|
||||
*/
|
||||
public function setQuickReplies(Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageQuickReplies $quickReplies)
|
||||
{
|
||||
$this->quickReplies = $quickReplies;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageQuickReplies
|
||||
*/
|
||||
public function getQuickReplies()
|
||||
{
|
||||
return $this->quickReplies;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageSimpleResponses
|
||||
*/
|
||||
public function setSimpleResponses(Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageSimpleResponses $simpleResponses)
|
||||
{
|
||||
$this->simpleResponses = $simpleResponses;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageSimpleResponses
|
||||
*/
|
||||
public function getSimpleResponses()
|
||||
{
|
||||
return $this->simpleResponses;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageSuggestions
|
||||
*/
|
||||
public function setSuggestions(Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageSuggestions $suggestions)
|
||||
{
|
||||
$this->suggestions = $suggestions;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageSuggestions
|
||||
*/
|
||||
public function getSuggestions()
|
||||
{
|
||||
return $this->suggestions;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageText
|
||||
*/
|
||||
public function setText(Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageText $text)
|
||||
{
|
||||
$this->text = $text;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageText
|
||||
*/
|
||||
public function getText()
|
||||
{
|
||||
return $this->text;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageBasicCard extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'buttons';
|
||||
protected $buttonsType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageBasicCardButton';
|
||||
protected $buttonsDataType = 'array';
|
||||
public $formattedText;
|
||||
protected $imageType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageImage';
|
||||
protected $imageDataType = '';
|
||||
public $subtitle;
|
||||
public $title;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageBasicCardButton
|
||||
*/
|
||||
public function setButtons($buttons)
|
||||
{
|
||||
$this->buttons = $buttons;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageBasicCardButton
|
||||
*/
|
||||
public function getButtons()
|
||||
{
|
||||
return $this->buttons;
|
||||
}
|
||||
public function setFormattedText($formattedText)
|
||||
{
|
||||
$this->formattedText = $formattedText;
|
||||
}
|
||||
public function getFormattedText()
|
||||
{
|
||||
return $this->formattedText;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageImage
|
||||
*/
|
||||
public function setImage(Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageImage $image)
|
||||
{
|
||||
$this->image = $image;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageImage
|
||||
*/
|
||||
public function getImage()
|
||||
{
|
||||
return $this->image;
|
||||
}
|
||||
public function setSubtitle($subtitle)
|
||||
{
|
||||
$this->subtitle = $subtitle;
|
||||
}
|
||||
public function getSubtitle()
|
||||
{
|
||||
return $this->subtitle;
|
||||
}
|
||||
public function setTitle($title)
|
||||
{
|
||||
$this->title = $title;
|
||||
}
|
||||
public function getTitle()
|
||||
{
|
||||
return $this->title;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageBasicCardButton extends Google_Model
|
||||
{
|
||||
protected $openUriActionType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction';
|
||||
protected $openUriActionDataType = '';
|
||||
public $title;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction
|
||||
*/
|
||||
public function setOpenUriAction(Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction $openUriAction)
|
||||
{
|
||||
$this->openUriAction = $openUriAction;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction
|
||||
*/
|
||||
public function getOpenUriAction()
|
||||
{
|
||||
return $this->openUriAction;
|
||||
}
|
||||
public function setTitle($title)
|
||||
{
|
||||
$this->title = $title;
|
||||
}
|
||||
public function getTitle()
|
||||
{
|
||||
return $this->title;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction extends Google_Model
|
||||
{
|
||||
public $uri;
|
||||
|
||||
public function setUri($uri)
|
||||
{
|
||||
$this->uri = $uri;
|
||||
}
|
||||
public function getUri()
|
||||
{
|
||||
return $this->uri;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageCard extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'buttons';
|
||||
protected $buttonsType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageCardButton';
|
||||
protected $buttonsDataType = 'array';
|
||||
public $imageUri;
|
||||
public $subtitle;
|
||||
public $title;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageCardButton
|
||||
*/
|
||||
public function setButtons($buttons)
|
||||
{
|
||||
$this->buttons = $buttons;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageCardButton
|
||||
*/
|
||||
public function getButtons()
|
||||
{
|
||||
return $this->buttons;
|
||||
}
|
||||
public function setImageUri($imageUri)
|
||||
{
|
||||
$this->imageUri = $imageUri;
|
||||
}
|
||||
public function getImageUri()
|
||||
{
|
||||
return $this->imageUri;
|
||||
}
|
||||
public function setSubtitle($subtitle)
|
||||
{
|
||||
$this->subtitle = $subtitle;
|
||||
}
|
||||
public function getSubtitle()
|
||||
{
|
||||
return $this->subtitle;
|
||||
}
|
||||
public function setTitle($title)
|
||||
{
|
||||
$this->title = $title;
|
||||
}
|
||||
public function getTitle()
|
||||
{
|
||||
return $this->title;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageCardButton extends Google_Model
|
||||
{
|
||||
public $postback;
|
||||
public $text;
|
||||
|
||||
public function setPostback($postback)
|
||||
{
|
||||
$this->postback = $postback;
|
||||
}
|
||||
public function getPostback()
|
||||
{
|
||||
return $this->postback;
|
||||
}
|
||||
public function setText($text)
|
||||
{
|
||||
$this->text = $text;
|
||||
}
|
||||
public function getText()
|
||||
{
|
||||
return $this->text;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageCarouselSelect extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
protected $itemsType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageCarouselSelectItem';
|
||||
protected $itemsDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageCarouselSelectItem
|
||||
*/
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageCarouselSelectItem
|
||||
*/
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageCarouselSelectItem extends Google_Model
|
||||
{
|
||||
public $description;
|
||||
protected $imageType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageImage';
|
||||
protected $imageDataType = '';
|
||||
protected $infoType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageSelectItemInfo';
|
||||
protected $infoDataType = '';
|
||||
public $title;
|
||||
|
||||
public function setDescription($description)
|
||||
{
|
||||
$this->description = $description;
|
||||
}
|
||||
public function getDescription()
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageImage
|
||||
*/
|
||||
public function setImage(Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageImage $image)
|
||||
{
|
||||
$this->image = $image;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageImage
|
||||
*/
|
||||
public function getImage()
|
||||
{
|
||||
return $this->image;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageSelectItemInfo
|
||||
*/
|
||||
public function setInfo(Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageSelectItemInfo $info)
|
||||
{
|
||||
$this->info = $info;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageSelectItemInfo
|
||||
*/
|
||||
public function getInfo()
|
||||
{
|
||||
return $this->info;
|
||||
}
|
||||
public function setTitle($title)
|
||||
{
|
||||
$this->title = $title;
|
||||
}
|
||||
public function getTitle()
|
||||
{
|
||||
return $this->title;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageImage extends Google_Model
|
||||
{
|
||||
public $accessibilityText;
|
||||
public $imageUri;
|
||||
|
||||
public function setAccessibilityText($accessibilityText)
|
||||
{
|
||||
$this->accessibilityText = $accessibilityText;
|
||||
}
|
||||
public function getAccessibilityText()
|
||||
{
|
||||
return $this->accessibilityText;
|
||||
}
|
||||
public function setImageUri($imageUri)
|
||||
{
|
||||
$this->imageUri = $imageUri;
|
||||
}
|
||||
public function getImageUri()
|
||||
{
|
||||
return $this->imageUri;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion extends Google_Model
|
||||
{
|
||||
public $destinationName;
|
||||
public $uri;
|
||||
|
||||
public function setDestinationName($destinationName)
|
||||
{
|
||||
$this->destinationName = $destinationName;
|
||||
}
|
||||
public function getDestinationName()
|
||||
{
|
||||
return $this->destinationName;
|
||||
}
|
||||
public function setUri($uri)
|
||||
{
|
||||
$this->uri = $uri;
|
||||
}
|
||||
public function getUri()
|
||||
{
|
||||
return $this->uri;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageListSelect extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
protected $itemsType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageListSelectItem';
|
||||
protected $itemsDataType = 'array';
|
||||
public $title;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageListSelectItem
|
||||
*/
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageListSelectItem
|
||||
*/
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
public function setTitle($title)
|
||||
{
|
||||
$this->title = $title;
|
||||
}
|
||||
public function getTitle()
|
||||
{
|
||||
return $this->title;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageListSelectItem extends Google_Model
|
||||
{
|
||||
public $description;
|
||||
protected $imageType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageImage';
|
||||
protected $imageDataType = '';
|
||||
protected $infoType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageSelectItemInfo';
|
||||
protected $infoDataType = '';
|
||||
public $title;
|
||||
|
||||
public function setDescription($description)
|
||||
{
|
||||
$this->description = $description;
|
||||
}
|
||||
public function getDescription()
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageImage
|
||||
*/
|
||||
public function setImage(Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageImage $image)
|
||||
{
|
||||
$this->image = $image;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageImage
|
||||
*/
|
||||
public function getImage()
|
||||
{
|
||||
return $this->image;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageSelectItemInfo
|
||||
*/
|
||||
public function setInfo(Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageSelectItemInfo $info)
|
||||
{
|
||||
$this->info = $info;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageSelectItemInfo
|
||||
*/
|
||||
public function getInfo()
|
||||
{
|
||||
return $this->info;
|
||||
}
|
||||
public function setTitle($title)
|
||||
{
|
||||
$this->title = $title;
|
||||
}
|
||||
public function getTitle()
|
||||
{
|
||||
return $this->title;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageQuickReplies extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'quickReplies';
|
||||
public $quickReplies;
|
||||
public $title;
|
||||
|
||||
public function setQuickReplies($quickReplies)
|
||||
{
|
||||
$this->quickReplies = $quickReplies;
|
||||
}
|
||||
public function getQuickReplies()
|
||||
{
|
||||
return $this->quickReplies;
|
||||
}
|
||||
public function setTitle($title)
|
||||
{
|
||||
$this->title = $title;
|
||||
}
|
||||
public function getTitle()
|
||||
{
|
||||
return $this->title;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageSelectItemInfo extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'synonyms';
|
||||
public $key;
|
||||
public $synonyms;
|
||||
|
||||
public function setKey($key)
|
||||
{
|
||||
$this->key = $key;
|
||||
}
|
||||
public function getKey()
|
||||
{
|
||||
return $this->key;
|
||||
}
|
||||
public function setSynonyms($synonyms)
|
||||
{
|
||||
$this->synonyms = $synonyms;
|
||||
}
|
||||
public function getSynonyms()
|
||||
{
|
||||
return $this->synonyms;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageSimpleResponse extends Google_Model
|
||||
{
|
||||
public $displayText;
|
||||
public $ssml;
|
||||
public $textToSpeech;
|
||||
|
||||
public function setDisplayText($displayText)
|
||||
{
|
||||
$this->displayText = $displayText;
|
||||
}
|
||||
public function getDisplayText()
|
||||
{
|
||||
return $this->displayText;
|
||||
}
|
||||
public function setSsml($ssml)
|
||||
{
|
||||
$this->ssml = $ssml;
|
||||
}
|
||||
public function getSsml()
|
||||
{
|
||||
return $this->ssml;
|
||||
}
|
||||
public function setTextToSpeech($textToSpeech)
|
||||
{
|
||||
$this->textToSpeech = $textToSpeech;
|
||||
}
|
||||
public function getTextToSpeech()
|
||||
{
|
||||
return $this->textToSpeech;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageSimpleResponses extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'simpleResponses';
|
||||
protected $simpleResponsesType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageSimpleResponse';
|
||||
protected $simpleResponsesDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageSimpleResponse
|
||||
*/
|
||||
public function setSimpleResponses($simpleResponses)
|
||||
{
|
||||
$this->simpleResponses = $simpleResponses;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageSimpleResponse
|
||||
*/
|
||||
public function getSimpleResponses()
|
||||
{
|
||||
return $this->simpleResponses;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageSuggestion extends Google_Model
|
||||
{
|
||||
public $title;
|
||||
|
||||
public function setTitle($title)
|
||||
{
|
||||
$this->title = $title;
|
||||
}
|
||||
public function getTitle()
|
||||
{
|
||||
return $this->title;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageSuggestions extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'suggestions';
|
||||
protected $suggestionsType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageSuggestion';
|
||||
protected $suggestionsDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageSuggestion
|
||||
*/
|
||||
public function setSuggestions($suggestions)
|
||||
{
|
||||
$this->suggestions = $suggestions;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageSuggestion
|
||||
*/
|
||||
public function getSuggestions()
|
||||
{
|
||||
return $this->suggestions;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessageText extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'text';
|
||||
public $text;
|
||||
|
||||
public function setText($text)
|
||||
{
|
||||
$this->text = $text;
|
||||
}
|
||||
public function getText()
|
||||
{
|
||||
return $this->text;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentParameter extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'prompts';
|
||||
public $defaultValue;
|
||||
public $displayName;
|
||||
public $entityTypeDisplayName;
|
||||
public $isList;
|
||||
public $mandatory;
|
||||
public $name;
|
||||
public $prompts;
|
||||
public $value;
|
||||
|
||||
public function setDefaultValue($defaultValue)
|
||||
{
|
||||
$this->defaultValue = $defaultValue;
|
||||
}
|
||||
public function getDefaultValue()
|
||||
{
|
||||
return $this->defaultValue;
|
||||
}
|
||||
public function setDisplayName($displayName)
|
||||
{
|
||||
$this->displayName = $displayName;
|
||||
}
|
||||
public function getDisplayName()
|
||||
{
|
||||
return $this->displayName;
|
||||
}
|
||||
public function setEntityTypeDisplayName($entityTypeDisplayName)
|
||||
{
|
||||
$this->entityTypeDisplayName = $entityTypeDisplayName;
|
||||
}
|
||||
public function getEntityTypeDisplayName()
|
||||
{
|
||||
return $this->entityTypeDisplayName;
|
||||
}
|
||||
public function setIsList($isList)
|
||||
{
|
||||
$this->isList = $isList;
|
||||
}
|
||||
public function getIsList()
|
||||
{
|
||||
return $this->isList;
|
||||
}
|
||||
public function setMandatory($mandatory)
|
||||
{
|
||||
$this->mandatory = $mandatory;
|
||||
}
|
||||
public function getMandatory()
|
||||
{
|
||||
return $this->mandatory;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setPrompts($prompts)
|
||||
{
|
||||
$this->prompts = $prompts;
|
||||
}
|
||||
public function getPrompts()
|
||||
{
|
||||
return $this->prompts;
|
||||
}
|
||||
public function setValue($value)
|
||||
{
|
||||
$this->value = $value;
|
||||
}
|
||||
public function getValue()
|
||||
{
|
||||
return $this->value;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentTrainingPhrase extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'parts';
|
||||
public $name;
|
||||
protected $partsType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentTrainingPhrasePart';
|
||||
protected $partsDataType = 'array';
|
||||
public $timesAddedCount;
|
||||
public $type;
|
||||
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentTrainingPhrasePart
|
||||
*/
|
||||
public function setParts($parts)
|
||||
{
|
||||
$this->parts = $parts;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentTrainingPhrasePart
|
||||
*/
|
||||
public function getParts()
|
||||
{
|
||||
return $this->parts;
|
||||
}
|
||||
public function setTimesAddedCount($timesAddedCount)
|
||||
{
|
||||
$this->timesAddedCount = $timesAddedCount;
|
||||
}
|
||||
public function getTimesAddedCount()
|
||||
{
|
||||
return $this->timesAddedCount;
|
||||
}
|
||||
public function setType($type)
|
||||
{
|
||||
$this->type = $type;
|
||||
}
|
||||
public function getType()
|
||||
{
|
||||
return $this->type;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentTrainingPhrasePart extends Google_Model
|
||||
{
|
||||
public $alias;
|
||||
public $entityType;
|
||||
public $text;
|
||||
public $userDefined;
|
||||
|
||||
public function setAlias($alias)
|
||||
{
|
||||
$this->alias = $alias;
|
||||
}
|
||||
public function getAlias()
|
||||
{
|
||||
return $this->alias;
|
||||
}
|
||||
public function setEntityType($entityType)
|
||||
{
|
||||
$this->entityType = $entityType;
|
||||
}
|
||||
public function getEntityType()
|
||||
{
|
||||
return $this->entityType;
|
||||
}
|
||||
public function setText($text)
|
||||
{
|
||||
$this->text = $text;
|
||||
}
|
||||
public function getText()
|
||||
{
|
||||
return $this->text;
|
||||
}
|
||||
public function setUserDefined($userDefined)
|
||||
{
|
||||
$this->userDefined = $userDefined;
|
||||
}
|
||||
public function getUserDefined()
|
||||
{
|
||||
return $this->userDefined;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2ListContextsResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'contexts';
|
||||
protected $contextsType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2Context';
|
||||
protected $contextsDataType = 'array';
|
||||
public $nextPageToken;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2Context
|
||||
*/
|
||||
public function setContexts($contexts)
|
||||
{
|
||||
$this->contexts = $contexts;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2Context
|
||||
*/
|
||||
public function getContexts()
|
||||
{
|
||||
return $this->contexts;
|
||||
}
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2ListEntityTypesResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'entityTypes';
|
||||
protected $entityTypesType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2EntityType';
|
||||
protected $entityTypesDataType = 'array';
|
||||
public $nextPageToken;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2EntityType
|
||||
*/
|
||||
public function setEntityTypes($entityTypes)
|
||||
{
|
||||
$this->entityTypes = $entityTypes;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2EntityType
|
||||
*/
|
||||
public function getEntityTypes()
|
||||
{
|
||||
return $this->entityTypes;
|
||||
}
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2ListIntentsResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'intents';
|
||||
protected $intentsType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2Intent';
|
||||
protected $intentsDataType = 'array';
|
||||
public $nextPageToken;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2Intent
|
||||
*/
|
||||
public function setIntents($intents)
|
||||
{
|
||||
$this->intents = $intents;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2Intent
|
||||
*/
|
||||
public function getIntents()
|
||||
{
|
||||
return $this->intents;
|
||||
}
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2ListSessionEntityTypesResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'sessionEntityTypes';
|
||||
public $nextPageToken;
|
||||
protected $sessionEntityTypesType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2SessionEntityType';
|
||||
protected $sessionEntityTypesDataType = 'array';
|
||||
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2SessionEntityType
|
||||
*/
|
||||
public function setSessionEntityTypes($sessionEntityTypes)
|
||||
{
|
||||
$this->sessionEntityTypes = $sessionEntityTypes;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2SessionEntityType
|
||||
*/
|
||||
public function getSessionEntityTypes()
|
||||
{
|
||||
return $this->sessionEntityTypes;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2OriginalDetectIntentRequest extends Google_Model
|
||||
{
|
||||
public $payload;
|
||||
public $source;
|
||||
|
||||
public function setPayload($payload)
|
||||
{
|
||||
$this->payload = $payload;
|
||||
}
|
||||
public function getPayload()
|
||||
{
|
||||
return $this->payload;
|
||||
}
|
||||
public function setSource($source)
|
||||
{
|
||||
$this->source = $source;
|
||||
}
|
||||
public function getSource()
|
||||
{
|
||||
return $this->source;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2QueryInput extends Google_Model
|
||||
{
|
||||
protected $audioConfigType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2InputAudioConfig';
|
||||
protected $audioConfigDataType = '';
|
||||
protected $eventType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2EventInput';
|
||||
protected $eventDataType = '';
|
||||
protected $textType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2TextInput';
|
||||
protected $textDataType = '';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2InputAudioConfig
|
||||
*/
|
||||
public function setAudioConfig(Google_Service_Dialogflow_GoogleCloudDialogflowV2InputAudioConfig $audioConfig)
|
||||
{
|
||||
$this->audioConfig = $audioConfig;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2InputAudioConfig
|
||||
*/
|
||||
public function getAudioConfig()
|
||||
{
|
||||
return $this->audioConfig;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2EventInput
|
||||
*/
|
||||
public function setEvent(Google_Service_Dialogflow_GoogleCloudDialogflowV2EventInput $event)
|
||||
{
|
||||
$this->event = $event;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2EventInput
|
||||
*/
|
||||
public function getEvent()
|
||||
{
|
||||
return $this->event;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2TextInput
|
||||
*/
|
||||
public function setText(Google_Service_Dialogflow_GoogleCloudDialogflowV2TextInput $text)
|
||||
{
|
||||
$this->text = $text;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2TextInput
|
||||
*/
|
||||
public function getText()
|
||||
{
|
||||
return $this->text;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,97 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2QueryParameters extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'sessionEntityTypes';
|
||||
protected $contextsType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2Context';
|
||||
protected $contextsDataType = 'array';
|
||||
protected $geoLocationType = 'Google_Service_Dialogflow_GoogleTypeLatLng';
|
||||
protected $geoLocationDataType = '';
|
||||
public $payload;
|
||||
public $resetContexts;
|
||||
protected $sessionEntityTypesType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2SessionEntityType';
|
||||
protected $sessionEntityTypesDataType = 'array';
|
||||
public $timeZone;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2Context
|
||||
*/
|
||||
public function setContexts($contexts)
|
||||
{
|
||||
$this->contexts = $contexts;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2Context
|
||||
*/
|
||||
public function getContexts()
|
||||
{
|
||||
return $this->contexts;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleTypeLatLng
|
||||
*/
|
||||
public function setGeoLocation(Google_Service_Dialogflow_GoogleTypeLatLng $geoLocation)
|
||||
{
|
||||
$this->geoLocation = $geoLocation;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleTypeLatLng
|
||||
*/
|
||||
public function getGeoLocation()
|
||||
{
|
||||
return $this->geoLocation;
|
||||
}
|
||||
public function setPayload($payload)
|
||||
{
|
||||
$this->payload = $payload;
|
||||
}
|
||||
public function getPayload()
|
||||
{
|
||||
return $this->payload;
|
||||
}
|
||||
public function setResetContexts($resetContexts)
|
||||
{
|
||||
$this->resetContexts = $resetContexts;
|
||||
}
|
||||
public function getResetContexts()
|
||||
{
|
||||
return $this->resetContexts;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2SessionEntityType
|
||||
*/
|
||||
public function setSessionEntityTypes($sessionEntityTypes)
|
||||
{
|
||||
$this->sessionEntityTypes = $sessionEntityTypes;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2SessionEntityType
|
||||
*/
|
||||
public function getSessionEntityTypes()
|
||||
{
|
||||
return $this->sessionEntityTypes;
|
||||
}
|
||||
public function setTimeZone($timeZone)
|
||||
{
|
||||
$this->timeZone = $timeZone;
|
||||
}
|
||||
public function getTimeZone()
|
||||
{
|
||||
return $this->timeZone;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,169 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2QueryResult extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'outputContexts';
|
||||
public $action;
|
||||
public $allRequiredParamsPresent;
|
||||
public $diagnosticInfo;
|
||||
protected $fulfillmentMessagesType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessage';
|
||||
protected $fulfillmentMessagesDataType = 'array';
|
||||
public $fulfillmentText;
|
||||
protected $intentType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2Intent';
|
||||
protected $intentDataType = '';
|
||||
public $intentDetectionConfidence;
|
||||
public $languageCode;
|
||||
protected $outputContextsType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2Context';
|
||||
protected $outputContextsDataType = 'array';
|
||||
public $parameters;
|
||||
public $queryText;
|
||||
public $speechRecognitionConfidence;
|
||||
public $webhookPayload;
|
||||
public $webhookSource;
|
||||
|
||||
public function setAction($action)
|
||||
{
|
||||
$this->action = $action;
|
||||
}
|
||||
public function getAction()
|
||||
{
|
||||
return $this->action;
|
||||
}
|
||||
public function setAllRequiredParamsPresent($allRequiredParamsPresent)
|
||||
{
|
||||
$this->allRequiredParamsPresent = $allRequiredParamsPresent;
|
||||
}
|
||||
public function getAllRequiredParamsPresent()
|
||||
{
|
||||
return $this->allRequiredParamsPresent;
|
||||
}
|
||||
public function setDiagnosticInfo($diagnosticInfo)
|
||||
{
|
||||
$this->diagnosticInfo = $diagnosticInfo;
|
||||
}
|
||||
public function getDiagnosticInfo()
|
||||
{
|
||||
return $this->diagnosticInfo;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessage
|
||||
*/
|
||||
public function setFulfillmentMessages($fulfillmentMessages)
|
||||
{
|
||||
$this->fulfillmentMessages = $fulfillmentMessages;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessage
|
||||
*/
|
||||
public function getFulfillmentMessages()
|
||||
{
|
||||
return $this->fulfillmentMessages;
|
||||
}
|
||||
public function setFulfillmentText($fulfillmentText)
|
||||
{
|
||||
$this->fulfillmentText = $fulfillmentText;
|
||||
}
|
||||
public function getFulfillmentText()
|
||||
{
|
||||
return $this->fulfillmentText;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2Intent
|
||||
*/
|
||||
public function setIntent(Google_Service_Dialogflow_GoogleCloudDialogflowV2Intent $intent)
|
||||
{
|
||||
$this->intent = $intent;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2Intent
|
||||
*/
|
||||
public function getIntent()
|
||||
{
|
||||
return $this->intent;
|
||||
}
|
||||
public function setIntentDetectionConfidence($intentDetectionConfidence)
|
||||
{
|
||||
$this->intentDetectionConfidence = $intentDetectionConfidence;
|
||||
}
|
||||
public function getIntentDetectionConfidence()
|
||||
{
|
||||
return $this->intentDetectionConfidence;
|
||||
}
|
||||
public function setLanguageCode($languageCode)
|
||||
{
|
||||
$this->languageCode = $languageCode;
|
||||
}
|
||||
public function getLanguageCode()
|
||||
{
|
||||
return $this->languageCode;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2Context
|
||||
*/
|
||||
public function setOutputContexts($outputContexts)
|
||||
{
|
||||
$this->outputContexts = $outputContexts;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2Context
|
||||
*/
|
||||
public function getOutputContexts()
|
||||
{
|
||||
return $this->outputContexts;
|
||||
}
|
||||
public function setParameters($parameters)
|
||||
{
|
||||
$this->parameters = $parameters;
|
||||
}
|
||||
public function getParameters()
|
||||
{
|
||||
return $this->parameters;
|
||||
}
|
||||
public function setQueryText($queryText)
|
||||
{
|
||||
$this->queryText = $queryText;
|
||||
}
|
||||
public function getQueryText()
|
||||
{
|
||||
return $this->queryText;
|
||||
}
|
||||
public function setSpeechRecognitionConfidence($speechRecognitionConfidence)
|
||||
{
|
||||
$this->speechRecognitionConfidence = $speechRecognitionConfidence;
|
||||
}
|
||||
public function getSpeechRecognitionConfidence()
|
||||
{
|
||||
return $this->speechRecognitionConfidence;
|
||||
}
|
||||
public function setWebhookPayload($webhookPayload)
|
||||
{
|
||||
$this->webhookPayload = $webhookPayload;
|
||||
}
|
||||
public function getWebhookPayload()
|
||||
{
|
||||
return $this->webhookPayload;
|
||||
}
|
||||
public function setWebhookSource($webhookSource)
|
||||
{
|
||||
$this->webhookSource = $webhookSource;
|
||||
}
|
||||
public function getWebhookSource()
|
||||
{
|
||||
return $this->webhookSource;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2RestoreAgentRequest extends Google_Model
|
||||
{
|
||||
public $agentContent;
|
||||
public $agentUri;
|
||||
|
||||
public function setAgentContent($agentContent)
|
||||
{
|
||||
$this->agentContent = $agentContent;
|
||||
}
|
||||
public function getAgentContent()
|
||||
{
|
||||
return $this->agentContent;
|
||||
}
|
||||
public function setAgentUri($agentUri)
|
||||
{
|
||||
$this->agentUri = $agentUri;
|
||||
}
|
||||
public function getAgentUri()
|
||||
{
|
||||
return $this->agentUri;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2SearchAgentsResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'agents';
|
||||
protected $agentsType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2Agent';
|
||||
protected $agentsDataType = 'array';
|
||||
public $nextPageToken;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2Agent
|
||||
*/
|
||||
public function setAgents($agents)
|
||||
{
|
||||
$this->agents = $agents;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2Agent
|
||||
*/
|
||||
public function getAgents()
|
||||
{
|
||||
return $this->agents;
|
||||
}
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2SessionEntityType extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'entities';
|
||||
protected $entitiesType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2EntityTypeEntity';
|
||||
protected $entitiesDataType = 'array';
|
||||
public $entityOverrideMode;
|
||||
public $name;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2EntityTypeEntity
|
||||
*/
|
||||
public function setEntities($entities)
|
||||
{
|
||||
$this->entities = $entities;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2EntityTypeEntity
|
||||
*/
|
||||
public function getEntities()
|
||||
{
|
||||
return $this->entities;
|
||||
}
|
||||
public function setEntityOverrideMode($entityOverrideMode)
|
||||
{
|
||||
$this->entityOverrideMode = $entityOverrideMode;
|
||||
}
|
||||
public function getEntityOverrideMode()
|
||||
{
|
||||
return $this->entityOverrideMode;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2TextInput extends Google_Model
|
||||
{
|
||||
public $languageCode;
|
||||
public $text;
|
||||
|
||||
public function setLanguageCode($languageCode)
|
||||
{
|
||||
$this->languageCode = $languageCode;
|
||||
}
|
||||
public function getLanguageCode()
|
||||
{
|
||||
return $this->languageCode;
|
||||
}
|
||||
public function setText($text)
|
||||
{
|
||||
$this->text = $text;
|
||||
}
|
||||
public function getText()
|
||||
{
|
||||
return $this->text;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2TrainAgentRequest extends Google_Model
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2WebhookRequest extends Google_Model
|
||||
{
|
||||
protected $originalDetectIntentRequestType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2OriginalDetectIntentRequest';
|
||||
protected $originalDetectIntentRequestDataType = '';
|
||||
protected $queryResultType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2QueryResult';
|
||||
protected $queryResultDataType = '';
|
||||
public $responseId;
|
||||
public $session;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2OriginalDetectIntentRequest
|
||||
*/
|
||||
public function setOriginalDetectIntentRequest(Google_Service_Dialogflow_GoogleCloudDialogflowV2OriginalDetectIntentRequest $originalDetectIntentRequest)
|
||||
{
|
||||
$this->originalDetectIntentRequest = $originalDetectIntentRequest;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2OriginalDetectIntentRequest
|
||||
*/
|
||||
public function getOriginalDetectIntentRequest()
|
||||
{
|
||||
return $this->originalDetectIntentRequest;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2QueryResult
|
||||
*/
|
||||
public function setQueryResult(Google_Service_Dialogflow_GoogleCloudDialogflowV2QueryResult $queryResult)
|
||||
{
|
||||
$this->queryResult = $queryResult;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2QueryResult
|
||||
*/
|
||||
public function getQueryResult()
|
||||
{
|
||||
return $this->queryResult;
|
||||
}
|
||||
public function setResponseId($responseId)
|
||||
{
|
||||
$this->responseId = $responseId;
|
||||
}
|
||||
public function getResponseId()
|
||||
{
|
||||
return $this->responseId;
|
||||
}
|
||||
public function setSession($session)
|
||||
{
|
||||
$this->session = $session;
|
||||
}
|
||||
public function getSession()
|
||||
{
|
||||
return $this->session;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,97 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2WebhookResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'outputContexts';
|
||||
protected $followupEventInputType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2EventInput';
|
||||
protected $followupEventInputDataType = '';
|
||||
protected $fulfillmentMessagesType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessage';
|
||||
protected $fulfillmentMessagesDataType = 'array';
|
||||
public $fulfillmentText;
|
||||
protected $outputContextsType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2Context';
|
||||
protected $outputContextsDataType = 'array';
|
||||
public $payload;
|
||||
public $source;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2EventInput
|
||||
*/
|
||||
public function setFollowupEventInput(Google_Service_Dialogflow_GoogleCloudDialogflowV2EventInput $followupEventInput)
|
||||
{
|
||||
$this->followupEventInput = $followupEventInput;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2EventInput
|
||||
*/
|
||||
public function getFollowupEventInput()
|
||||
{
|
||||
return $this->followupEventInput;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessage
|
||||
*/
|
||||
public function setFulfillmentMessages($fulfillmentMessages)
|
||||
{
|
||||
$this->fulfillmentMessages = $fulfillmentMessages;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessage
|
||||
*/
|
||||
public function getFulfillmentMessages()
|
||||
{
|
||||
return $this->fulfillmentMessages;
|
||||
}
|
||||
public function setFulfillmentText($fulfillmentText)
|
||||
{
|
||||
$this->fulfillmentText = $fulfillmentText;
|
||||
}
|
||||
public function getFulfillmentText()
|
||||
{
|
||||
return $this->fulfillmentText;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2Context
|
||||
*/
|
||||
public function setOutputContexts($outputContexts)
|
||||
{
|
||||
$this->outputContexts = $outputContexts;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2Context
|
||||
*/
|
||||
public function getOutputContexts()
|
||||
{
|
||||
return $this->outputContexts;
|
||||
}
|
||||
public function setPayload($payload)
|
||||
{
|
||||
$this->payload = $payload;
|
||||
}
|
||||
public function getPayload()
|
||||
{
|
||||
return $this->payload;
|
||||
}
|
||||
public function setSource($source)
|
||||
{
|
||||
$this->source = $source;
|
||||
}
|
||||
public function getSource()
|
||||
{
|
||||
return $this->source;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'entityTypes';
|
||||
protected $entityTypesType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1EntityType';
|
||||
protected $entityTypesDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1EntityType
|
||||
*/
|
||||
public function setEntityTypes($entityTypes)
|
||||
{
|
||||
$this->entityTypes = $entityTypes;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1EntityType
|
||||
*/
|
||||
public function getEntityTypes()
|
||||
{
|
||||
return $this->entityTypes;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'intents';
|
||||
protected $intentsType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1Intent';
|
||||
protected $intentsDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1Intent
|
||||
*/
|
||||
public function setIntents($intents)
|
||||
{
|
||||
$this->intents = $intents;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1Intent
|
||||
*/
|
||||
public function getIntents()
|
||||
{
|
||||
return $this->intents;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1Context extends Google_Model
|
||||
{
|
||||
public $lifespanCount;
|
||||
public $name;
|
||||
public $parameters;
|
||||
|
||||
public function setLifespanCount($lifespanCount)
|
||||
{
|
||||
$this->lifespanCount = $lifespanCount;
|
||||
}
|
||||
public function getLifespanCount()
|
||||
{
|
||||
return $this->lifespanCount;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setParameters($parameters)
|
||||
{
|
||||
$this->parameters = $parameters;
|
||||
}
|
||||
public function getParameters()
|
||||
{
|
||||
return $this->parameters;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1EntityType extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'entities';
|
||||
public $autoExpansionMode;
|
||||
public $displayName;
|
||||
protected $entitiesType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1EntityTypeEntity';
|
||||
protected $entitiesDataType = 'array';
|
||||
public $kind;
|
||||
public $name;
|
||||
|
||||
public function setAutoExpansionMode($autoExpansionMode)
|
||||
{
|
||||
$this->autoExpansionMode = $autoExpansionMode;
|
||||
}
|
||||
public function getAutoExpansionMode()
|
||||
{
|
||||
return $this->autoExpansionMode;
|
||||
}
|
||||
public function setDisplayName($displayName)
|
||||
{
|
||||
$this->displayName = $displayName;
|
||||
}
|
||||
public function getDisplayName()
|
||||
{
|
||||
return $this->displayName;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1EntityTypeEntity
|
||||
*/
|
||||
public function setEntities($entities)
|
||||
{
|
||||
$this->entities = $entities;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1EntityTypeEntity
|
||||
*/
|
||||
public function getEntities()
|
||||
{
|
||||
return $this->entities;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1EntityTypeEntity extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'synonyms';
|
||||
public $synonyms;
|
||||
public $value;
|
||||
|
||||
public function setSynonyms($synonyms)
|
||||
{
|
||||
$this->synonyms = $synonyms;
|
||||
}
|
||||
public function getSynonyms()
|
||||
{
|
||||
return $this->synonyms;
|
||||
}
|
||||
public function setValue($value)
|
||||
{
|
||||
$this->value = $value;
|
||||
}
|
||||
public function getValue()
|
||||
{
|
||||
return $this->value;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1EventInput extends Google_Model
|
||||
{
|
||||
public $languageCode;
|
||||
public $name;
|
||||
public $parameters;
|
||||
|
||||
public function setLanguageCode($languageCode)
|
||||
{
|
||||
$this->languageCode = $languageCode;
|
||||
}
|
||||
public function getLanguageCode()
|
||||
{
|
||||
return $this->languageCode;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setParameters($parameters)
|
||||
{
|
||||
$this->parameters = $parameters;
|
||||
}
|
||||
public function getParameters()
|
||||
{
|
||||
return $this->parameters;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1ExportAgentResponse extends Google_Model
|
||||
{
|
||||
public $agentContent;
|
||||
public $agentUri;
|
||||
|
||||
public function setAgentContent($agentContent)
|
||||
{
|
||||
$this->agentContent = $agentContent;
|
||||
}
|
||||
public function getAgentContent()
|
||||
{
|
||||
return $this->agentContent;
|
||||
}
|
||||
public function setAgentUri($agentUri)
|
||||
{
|
||||
$this->agentUri = $agentUri;
|
||||
}
|
||||
public function getAgentUri()
|
||||
{
|
||||
return $this->agentUri;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,228 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1Intent extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'trainingPhrases';
|
||||
public $action;
|
||||
public $defaultResponsePlatforms;
|
||||
public $displayName;
|
||||
public $events;
|
||||
protected $followupIntentInfoType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo';
|
||||
protected $followupIntentInfoDataType = 'array';
|
||||
public $inputContextNames;
|
||||
public $isFallback;
|
||||
protected $messagesType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessage';
|
||||
protected $messagesDataType = 'array';
|
||||
public $mlDisabled;
|
||||
public $mlEnabled;
|
||||
public $name;
|
||||
protected $outputContextsType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1Context';
|
||||
protected $outputContextsDataType = 'array';
|
||||
protected $parametersType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentParameter';
|
||||
protected $parametersDataType = 'array';
|
||||
public $parentFollowupIntentName;
|
||||
public $priority;
|
||||
public $resetContexts;
|
||||
public $rootFollowupIntentName;
|
||||
protected $trainingPhrasesType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentTrainingPhrase';
|
||||
protected $trainingPhrasesDataType = 'array';
|
||||
public $webhookState;
|
||||
|
||||
public function setAction($action)
|
||||
{
|
||||
$this->action = $action;
|
||||
}
|
||||
public function getAction()
|
||||
{
|
||||
return $this->action;
|
||||
}
|
||||
public function setDefaultResponsePlatforms($defaultResponsePlatforms)
|
||||
{
|
||||
$this->defaultResponsePlatforms = $defaultResponsePlatforms;
|
||||
}
|
||||
public function getDefaultResponsePlatforms()
|
||||
{
|
||||
return $this->defaultResponsePlatforms;
|
||||
}
|
||||
public function setDisplayName($displayName)
|
||||
{
|
||||
$this->displayName = $displayName;
|
||||
}
|
||||
public function getDisplayName()
|
||||
{
|
||||
return $this->displayName;
|
||||
}
|
||||
public function setEvents($events)
|
||||
{
|
||||
$this->events = $events;
|
||||
}
|
||||
public function getEvents()
|
||||
{
|
||||
return $this->events;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo
|
||||
*/
|
||||
public function setFollowupIntentInfo($followupIntentInfo)
|
||||
{
|
||||
$this->followupIntentInfo = $followupIntentInfo;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo
|
||||
*/
|
||||
public function getFollowupIntentInfo()
|
||||
{
|
||||
return $this->followupIntentInfo;
|
||||
}
|
||||
public function setInputContextNames($inputContextNames)
|
||||
{
|
||||
$this->inputContextNames = $inputContextNames;
|
||||
}
|
||||
public function getInputContextNames()
|
||||
{
|
||||
return $this->inputContextNames;
|
||||
}
|
||||
public function setIsFallback($isFallback)
|
||||
{
|
||||
$this->isFallback = $isFallback;
|
||||
}
|
||||
public function getIsFallback()
|
||||
{
|
||||
return $this->isFallback;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessage
|
||||
*/
|
||||
public function setMessages($messages)
|
||||
{
|
||||
$this->messages = $messages;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessage
|
||||
*/
|
||||
public function getMessages()
|
||||
{
|
||||
return $this->messages;
|
||||
}
|
||||
public function setMlDisabled($mlDisabled)
|
||||
{
|
||||
$this->mlDisabled = $mlDisabled;
|
||||
}
|
||||
public function getMlDisabled()
|
||||
{
|
||||
return $this->mlDisabled;
|
||||
}
|
||||
public function setMlEnabled($mlEnabled)
|
||||
{
|
||||
$this->mlEnabled = $mlEnabled;
|
||||
}
|
||||
public function getMlEnabled()
|
||||
{
|
||||
return $this->mlEnabled;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1Context
|
||||
*/
|
||||
public function setOutputContexts($outputContexts)
|
||||
{
|
||||
$this->outputContexts = $outputContexts;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1Context
|
||||
*/
|
||||
public function getOutputContexts()
|
||||
{
|
||||
return $this->outputContexts;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentParameter
|
||||
*/
|
||||
public function setParameters($parameters)
|
||||
{
|
||||
$this->parameters = $parameters;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentParameter
|
||||
*/
|
||||
public function getParameters()
|
||||
{
|
||||
return $this->parameters;
|
||||
}
|
||||
public function setParentFollowupIntentName($parentFollowupIntentName)
|
||||
{
|
||||
$this->parentFollowupIntentName = $parentFollowupIntentName;
|
||||
}
|
||||
public function getParentFollowupIntentName()
|
||||
{
|
||||
return $this->parentFollowupIntentName;
|
||||
}
|
||||
public function setPriority($priority)
|
||||
{
|
||||
$this->priority = $priority;
|
||||
}
|
||||
public function getPriority()
|
||||
{
|
||||
return $this->priority;
|
||||
}
|
||||
public function setResetContexts($resetContexts)
|
||||
{
|
||||
$this->resetContexts = $resetContexts;
|
||||
}
|
||||
public function getResetContexts()
|
||||
{
|
||||
return $this->resetContexts;
|
||||
}
|
||||
public function setRootFollowupIntentName($rootFollowupIntentName)
|
||||
{
|
||||
$this->rootFollowupIntentName = $rootFollowupIntentName;
|
||||
}
|
||||
public function getRootFollowupIntentName()
|
||||
{
|
||||
return $this->rootFollowupIntentName;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentTrainingPhrase
|
||||
*/
|
||||
public function setTrainingPhrases($trainingPhrases)
|
||||
{
|
||||
$this->trainingPhrases = $trainingPhrases;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentTrainingPhrase
|
||||
*/
|
||||
public function getTrainingPhrases()
|
||||
{
|
||||
return $this->trainingPhrases;
|
||||
}
|
||||
public function setWebhookState($webhookState)
|
||||
{
|
||||
$this->webhookState = $webhookState;
|
||||
}
|
||||
public function getWebhookState()
|
||||
{
|
||||
return $this->webhookState;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo extends Google_Model
|
||||
{
|
||||
public $followupIntentName;
|
||||
public $parentFollowupIntentName;
|
||||
|
||||
public function setFollowupIntentName($followupIntentName)
|
||||
{
|
||||
$this->followupIntentName = $followupIntentName;
|
||||
}
|
||||
public function getFollowupIntentName()
|
||||
{
|
||||
return $this->followupIntentName;
|
||||
}
|
||||
public function setParentFollowupIntentName($parentFollowupIntentName)
|
||||
{
|
||||
$this->parentFollowupIntentName = $parentFollowupIntentName;
|
||||
}
|
||||
public function getParentFollowupIntentName()
|
||||
{
|
||||
return $this->parentFollowupIntentName;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,199 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessage extends Google_Model
|
||||
{
|
||||
protected $basicCardType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageBasicCard';
|
||||
protected $basicCardDataType = '';
|
||||
protected $cardType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageCard';
|
||||
protected $cardDataType = '';
|
||||
protected $carouselSelectType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect';
|
||||
protected $carouselSelectDataType = '';
|
||||
protected $imageType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageImage';
|
||||
protected $imageDataType = '';
|
||||
protected $linkOutSuggestionType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion';
|
||||
protected $linkOutSuggestionDataType = '';
|
||||
protected $listSelectType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageListSelect';
|
||||
protected $listSelectDataType = '';
|
||||
public $payload;
|
||||
public $platform;
|
||||
protected $quickRepliesType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageQuickReplies';
|
||||
protected $quickRepliesDataType = '';
|
||||
protected $simpleResponsesType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses';
|
||||
protected $simpleResponsesDataType = '';
|
||||
protected $suggestionsType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageSuggestions';
|
||||
protected $suggestionsDataType = '';
|
||||
protected $textType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageText';
|
||||
protected $textDataType = '';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageBasicCard
|
||||
*/
|
||||
public function setBasicCard(Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageBasicCard $basicCard)
|
||||
{
|
||||
$this->basicCard = $basicCard;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageBasicCard
|
||||
*/
|
||||
public function getBasicCard()
|
||||
{
|
||||
return $this->basicCard;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageCard
|
||||
*/
|
||||
public function setCard(Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageCard $card)
|
||||
{
|
||||
$this->card = $card;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageCard
|
||||
*/
|
||||
public function getCard()
|
||||
{
|
||||
return $this->card;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect
|
||||
*/
|
||||
public function setCarouselSelect(Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect $carouselSelect)
|
||||
{
|
||||
$this->carouselSelect = $carouselSelect;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect
|
||||
*/
|
||||
public function getCarouselSelect()
|
||||
{
|
||||
return $this->carouselSelect;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageImage
|
||||
*/
|
||||
public function setImage(Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageImage $image)
|
||||
{
|
||||
$this->image = $image;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageImage
|
||||
*/
|
||||
public function getImage()
|
||||
{
|
||||
return $this->image;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion
|
||||
*/
|
||||
public function setLinkOutSuggestion(Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion $linkOutSuggestion)
|
||||
{
|
||||
$this->linkOutSuggestion = $linkOutSuggestion;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion
|
||||
*/
|
||||
public function getLinkOutSuggestion()
|
||||
{
|
||||
return $this->linkOutSuggestion;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageListSelect
|
||||
*/
|
||||
public function setListSelect(Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageListSelect $listSelect)
|
||||
{
|
||||
$this->listSelect = $listSelect;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageListSelect
|
||||
*/
|
||||
public function getListSelect()
|
||||
{
|
||||
return $this->listSelect;
|
||||
}
|
||||
public function setPayload($payload)
|
||||
{
|
||||
$this->payload = $payload;
|
||||
}
|
||||
public function getPayload()
|
||||
{
|
||||
return $this->payload;
|
||||
}
|
||||
public function setPlatform($platform)
|
||||
{
|
||||
$this->platform = $platform;
|
||||
}
|
||||
public function getPlatform()
|
||||
{
|
||||
return $this->platform;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageQuickReplies
|
||||
*/
|
||||
public function setQuickReplies(Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageQuickReplies $quickReplies)
|
||||
{
|
||||
$this->quickReplies = $quickReplies;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageQuickReplies
|
||||
*/
|
||||
public function getQuickReplies()
|
||||
{
|
||||
return $this->quickReplies;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses
|
||||
*/
|
||||
public function setSimpleResponses(Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses $simpleResponses)
|
||||
{
|
||||
$this->simpleResponses = $simpleResponses;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses
|
||||
*/
|
||||
public function getSimpleResponses()
|
||||
{
|
||||
return $this->simpleResponses;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageSuggestions
|
||||
*/
|
||||
public function setSuggestions(Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageSuggestions $suggestions)
|
||||
{
|
||||
$this->suggestions = $suggestions;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageSuggestions
|
||||
*/
|
||||
public function getSuggestions()
|
||||
{
|
||||
return $this->suggestions;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageText
|
||||
*/
|
||||
public function setText(Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageText $text)
|
||||
{
|
||||
$this->text = $text;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageText
|
||||
*/
|
||||
public function getText()
|
||||
{
|
||||
return $this->text;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageBasicCard extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'buttons';
|
||||
protected $buttonsType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton';
|
||||
protected $buttonsDataType = 'array';
|
||||
public $formattedText;
|
||||
protected $imageType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageImage';
|
||||
protected $imageDataType = '';
|
||||
public $subtitle;
|
||||
public $title;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton
|
||||
*/
|
||||
public function setButtons($buttons)
|
||||
{
|
||||
$this->buttons = $buttons;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton
|
||||
*/
|
||||
public function getButtons()
|
||||
{
|
||||
return $this->buttons;
|
||||
}
|
||||
public function setFormattedText($formattedText)
|
||||
{
|
||||
$this->formattedText = $formattedText;
|
||||
}
|
||||
public function getFormattedText()
|
||||
{
|
||||
return $this->formattedText;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageImage
|
||||
*/
|
||||
public function setImage(Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageImage $image)
|
||||
{
|
||||
$this->image = $image;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageImage
|
||||
*/
|
||||
public function getImage()
|
||||
{
|
||||
return $this->image;
|
||||
}
|
||||
public function setSubtitle($subtitle)
|
||||
{
|
||||
$this->subtitle = $subtitle;
|
||||
}
|
||||
public function getSubtitle()
|
||||
{
|
||||
return $this->subtitle;
|
||||
}
|
||||
public function setTitle($title)
|
||||
{
|
||||
$this->title = $title;
|
||||
}
|
||||
public function getTitle()
|
||||
{
|
||||
return $this->title;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton extends Google_Model
|
||||
{
|
||||
protected $openUriActionType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction';
|
||||
protected $openUriActionDataType = '';
|
||||
public $title;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction
|
||||
*/
|
||||
public function setOpenUriAction(Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction $openUriAction)
|
||||
{
|
||||
$this->openUriAction = $openUriAction;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction
|
||||
*/
|
||||
public function getOpenUriAction()
|
||||
{
|
||||
return $this->openUriAction;
|
||||
}
|
||||
public function setTitle($title)
|
||||
{
|
||||
$this->title = $title;
|
||||
}
|
||||
public function getTitle()
|
||||
{
|
||||
return $this->title;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction extends Google_Model
|
||||
{
|
||||
public $uri;
|
||||
|
||||
public function setUri($uri)
|
||||
{
|
||||
$this->uri = $uri;
|
||||
}
|
||||
public function getUri()
|
||||
{
|
||||
return $this->uri;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageCard extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'buttons';
|
||||
protected $buttonsType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageCardButton';
|
||||
protected $buttonsDataType = 'array';
|
||||
public $imageUri;
|
||||
public $subtitle;
|
||||
public $title;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageCardButton
|
||||
*/
|
||||
public function setButtons($buttons)
|
||||
{
|
||||
$this->buttons = $buttons;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageCardButton
|
||||
*/
|
||||
public function getButtons()
|
||||
{
|
||||
return $this->buttons;
|
||||
}
|
||||
public function setImageUri($imageUri)
|
||||
{
|
||||
$this->imageUri = $imageUri;
|
||||
}
|
||||
public function getImageUri()
|
||||
{
|
||||
return $this->imageUri;
|
||||
}
|
||||
public function setSubtitle($subtitle)
|
||||
{
|
||||
$this->subtitle = $subtitle;
|
||||
}
|
||||
public function getSubtitle()
|
||||
{
|
||||
return $this->subtitle;
|
||||
}
|
||||
public function setTitle($title)
|
||||
{
|
||||
$this->title = $title;
|
||||
}
|
||||
public function getTitle()
|
||||
{
|
||||
return $this->title;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageCardButton extends Google_Model
|
||||
{
|
||||
public $postback;
|
||||
public $text;
|
||||
|
||||
public function setPostback($postback)
|
||||
{
|
||||
$this->postback = $postback;
|
||||
}
|
||||
public function getPostback()
|
||||
{
|
||||
return $this->postback;
|
||||
}
|
||||
public function setText($text)
|
||||
{
|
||||
$this->text = $text;
|
||||
}
|
||||
public function getText()
|
||||
{
|
||||
return $this->text;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
protected $itemsType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem';
|
||||
protected $itemsDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem
|
||||
*/
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem
|
||||
*/
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem extends Google_Model
|
||||
{
|
||||
public $description;
|
||||
protected $imageType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageImage';
|
||||
protected $imageDataType = '';
|
||||
protected $infoType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo';
|
||||
protected $infoDataType = '';
|
||||
public $title;
|
||||
|
||||
public function setDescription($description)
|
||||
{
|
||||
$this->description = $description;
|
||||
}
|
||||
public function getDescription()
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageImage
|
||||
*/
|
||||
public function setImage(Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageImage $image)
|
||||
{
|
||||
$this->image = $image;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageImage
|
||||
*/
|
||||
public function getImage()
|
||||
{
|
||||
return $this->image;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
|
||||
*/
|
||||
public function setInfo(Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo $info)
|
||||
{
|
||||
$this->info = $info;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
|
||||
*/
|
||||
public function getInfo()
|
||||
{
|
||||
return $this->info;
|
||||
}
|
||||
public function setTitle($title)
|
||||
{
|
||||
$this->title = $title;
|
||||
}
|
||||
public function getTitle()
|
||||
{
|
||||
return $this->title;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageImage extends Google_Model
|
||||
{
|
||||
public $accessibilityText;
|
||||
public $imageUri;
|
||||
|
||||
public function setAccessibilityText($accessibilityText)
|
||||
{
|
||||
$this->accessibilityText = $accessibilityText;
|
||||
}
|
||||
public function getAccessibilityText()
|
||||
{
|
||||
return $this->accessibilityText;
|
||||
}
|
||||
public function setImageUri($imageUri)
|
||||
{
|
||||
$this->imageUri = $imageUri;
|
||||
}
|
||||
public function getImageUri()
|
||||
{
|
||||
return $this->imageUri;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion extends Google_Model
|
||||
{
|
||||
public $destinationName;
|
||||
public $uri;
|
||||
|
||||
public function setDestinationName($destinationName)
|
||||
{
|
||||
$this->destinationName = $destinationName;
|
||||
}
|
||||
public function getDestinationName()
|
||||
{
|
||||
return $this->destinationName;
|
||||
}
|
||||
public function setUri($uri)
|
||||
{
|
||||
$this->uri = $uri;
|
||||
}
|
||||
public function getUri()
|
||||
{
|
||||
return $this->uri;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageListSelect extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'items';
|
||||
protected $itemsType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageListSelectItem';
|
||||
protected $itemsDataType = 'array';
|
||||
public $title;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageListSelectItem
|
||||
*/
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageListSelectItem
|
||||
*/
|
||||
public function getItems()
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
public function setTitle($title)
|
||||
{
|
||||
$this->title = $title;
|
||||
}
|
||||
public function getTitle()
|
||||
{
|
||||
return $this->title;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageListSelectItem extends Google_Model
|
||||
{
|
||||
public $description;
|
||||
protected $imageType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageImage';
|
||||
protected $imageDataType = '';
|
||||
protected $infoType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo';
|
||||
protected $infoDataType = '';
|
||||
public $title;
|
||||
|
||||
public function setDescription($description)
|
||||
{
|
||||
$this->description = $description;
|
||||
}
|
||||
public function getDescription()
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageImage
|
||||
*/
|
||||
public function setImage(Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageImage $image)
|
||||
{
|
||||
$this->image = $image;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageImage
|
||||
*/
|
||||
public function getImage()
|
||||
{
|
||||
return $this->image;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
|
||||
*/
|
||||
public function setInfo(Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo $info)
|
||||
{
|
||||
$this->info = $info;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
|
||||
*/
|
||||
public function getInfo()
|
||||
{
|
||||
return $this->info;
|
||||
}
|
||||
public function setTitle($title)
|
||||
{
|
||||
$this->title = $title;
|
||||
}
|
||||
public function getTitle()
|
||||
{
|
||||
return $this->title;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageQuickReplies extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'quickReplies';
|
||||
public $quickReplies;
|
||||
public $title;
|
||||
|
||||
public function setQuickReplies($quickReplies)
|
||||
{
|
||||
$this->quickReplies = $quickReplies;
|
||||
}
|
||||
public function getQuickReplies()
|
||||
{
|
||||
return $this->quickReplies;
|
||||
}
|
||||
public function setTitle($title)
|
||||
{
|
||||
$this->title = $title;
|
||||
}
|
||||
public function getTitle()
|
||||
{
|
||||
return $this->title;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'synonyms';
|
||||
public $key;
|
||||
public $synonyms;
|
||||
|
||||
public function setKey($key)
|
||||
{
|
||||
$this->key = $key;
|
||||
}
|
||||
public function getKey()
|
||||
{
|
||||
return $this->key;
|
||||
}
|
||||
public function setSynonyms($synonyms)
|
||||
{
|
||||
$this->synonyms = $synonyms;
|
||||
}
|
||||
public function getSynonyms()
|
||||
{
|
||||
return $this->synonyms;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse extends Google_Model
|
||||
{
|
||||
public $displayText;
|
||||
public $ssml;
|
||||
public $textToSpeech;
|
||||
|
||||
public function setDisplayText($displayText)
|
||||
{
|
||||
$this->displayText = $displayText;
|
||||
}
|
||||
public function getDisplayText()
|
||||
{
|
||||
return $this->displayText;
|
||||
}
|
||||
public function setSsml($ssml)
|
||||
{
|
||||
$this->ssml = $ssml;
|
||||
}
|
||||
public function getSsml()
|
||||
{
|
||||
return $this->ssml;
|
||||
}
|
||||
public function setTextToSpeech($textToSpeech)
|
||||
{
|
||||
$this->textToSpeech = $textToSpeech;
|
||||
}
|
||||
public function getTextToSpeech()
|
||||
{
|
||||
return $this->textToSpeech;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'simpleResponses';
|
||||
protected $simpleResponsesType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse';
|
||||
protected $simpleResponsesDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse
|
||||
*/
|
||||
public function setSimpleResponses($simpleResponses)
|
||||
{
|
||||
$this->simpleResponses = $simpleResponses;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse
|
||||
*/
|
||||
public function getSimpleResponses()
|
||||
{
|
||||
return $this->simpleResponses;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageSuggestion extends Google_Model
|
||||
{
|
||||
public $title;
|
||||
|
||||
public function setTitle($title)
|
||||
{
|
||||
$this->title = $title;
|
||||
}
|
||||
public function getTitle()
|
||||
{
|
||||
return $this->title;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageSuggestions extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'suggestions';
|
||||
protected $suggestionsType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageSuggestion';
|
||||
protected $suggestionsDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageSuggestion
|
||||
*/
|
||||
public function setSuggestions($suggestions)
|
||||
{
|
||||
$this->suggestions = $suggestions;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageSuggestion
|
||||
*/
|
||||
public function getSuggestions()
|
||||
{
|
||||
return $this->suggestions;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageText extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'text';
|
||||
public $text;
|
||||
|
||||
public function setText($text)
|
||||
{
|
||||
$this->text = $text;
|
||||
}
|
||||
public function getText()
|
||||
{
|
||||
return $this->text;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentParameter extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'prompts';
|
||||
public $defaultValue;
|
||||
public $displayName;
|
||||
public $entityTypeDisplayName;
|
||||
public $isList;
|
||||
public $mandatory;
|
||||
public $name;
|
||||
public $prompts;
|
||||
public $value;
|
||||
|
||||
public function setDefaultValue($defaultValue)
|
||||
{
|
||||
$this->defaultValue = $defaultValue;
|
||||
}
|
||||
public function getDefaultValue()
|
||||
{
|
||||
return $this->defaultValue;
|
||||
}
|
||||
public function setDisplayName($displayName)
|
||||
{
|
||||
$this->displayName = $displayName;
|
||||
}
|
||||
public function getDisplayName()
|
||||
{
|
||||
return $this->displayName;
|
||||
}
|
||||
public function setEntityTypeDisplayName($entityTypeDisplayName)
|
||||
{
|
||||
$this->entityTypeDisplayName = $entityTypeDisplayName;
|
||||
}
|
||||
public function getEntityTypeDisplayName()
|
||||
{
|
||||
return $this->entityTypeDisplayName;
|
||||
}
|
||||
public function setIsList($isList)
|
||||
{
|
||||
$this->isList = $isList;
|
||||
}
|
||||
public function getIsList()
|
||||
{
|
||||
return $this->isList;
|
||||
}
|
||||
public function setMandatory($mandatory)
|
||||
{
|
||||
$this->mandatory = $mandatory;
|
||||
}
|
||||
public function getMandatory()
|
||||
{
|
||||
return $this->mandatory;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setPrompts($prompts)
|
||||
{
|
||||
$this->prompts = $prompts;
|
||||
}
|
||||
public function getPrompts()
|
||||
{
|
||||
return $this->prompts;
|
||||
}
|
||||
public function setValue($value)
|
||||
{
|
||||
$this->value = $value;
|
||||
}
|
||||
public function getValue()
|
||||
{
|
||||
return $this->value;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentTrainingPhrase extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'parts';
|
||||
public $name;
|
||||
protected $partsType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart';
|
||||
protected $partsDataType = 'array';
|
||||
public $timesAddedCount;
|
||||
public $type;
|
||||
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart
|
||||
*/
|
||||
public function setParts($parts)
|
||||
{
|
||||
$this->parts = $parts;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart
|
||||
*/
|
||||
public function getParts()
|
||||
{
|
||||
return $this->parts;
|
||||
}
|
||||
public function setTimesAddedCount($timesAddedCount)
|
||||
{
|
||||
$this->timesAddedCount = $timesAddedCount;
|
||||
}
|
||||
public function getTimesAddedCount()
|
||||
{
|
||||
return $this->timesAddedCount;
|
||||
}
|
||||
public function setType($type)
|
||||
{
|
||||
$this->type = $type;
|
||||
}
|
||||
public function getType()
|
||||
{
|
||||
return $this->type;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart extends Google_Model
|
||||
{
|
||||
public $alias;
|
||||
public $entityType;
|
||||
public $text;
|
||||
public $userDefined;
|
||||
|
||||
public function setAlias($alias)
|
||||
{
|
||||
$this->alias = $alias;
|
||||
}
|
||||
public function getAlias()
|
||||
{
|
||||
return $this->alias;
|
||||
}
|
||||
public function setEntityType($entityType)
|
||||
{
|
||||
$this->entityType = $entityType;
|
||||
}
|
||||
public function getEntityType()
|
||||
{
|
||||
return $this->entityType;
|
||||
}
|
||||
public function setText($text)
|
||||
{
|
||||
$this->text = $text;
|
||||
}
|
||||
public function getText()
|
||||
{
|
||||
return $this->text;
|
||||
}
|
||||
public function setUserDefined($userDefined)
|
||||
{
|
||||
$this->userDefined = $userDefined;
|
||||
}
|
||||
public function getUserDefined()
|
||||
{
|
||||
return $this->userDefined;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata extends Google_Model
|
||||
{
|
||||
public $state;
|
||||
|
||||
public function setState($state)
|
||||
{
|
||||
$this->state = $state;
|
||||
}
|
||||
public function getState()
|
||||
{
|
||||
return $this->state;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest extends Google_Model
|
||||
{
|
||||
public $payload;
|
||||
public $source;
|
||||
|
||||
public function setPayload($payload)
|
||||
{
|
||||
$this->payload = $payload;
|
||||
}
|
||||
public function getPayload()
|
||||
{
|
||||
return $this->payload;
|
||||
}
|
||||
public function setSource($source)
|
||||
{
|
||||
$this->source = $source;
|
||||
}
|
||||
public function getSource()
|
||||
{
|
||||
return $this->source;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,169 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1QueryResult extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'outputContexts';
|
||||
public $action;
|
||||
public $allRequiredParamsPresent;
|
||||
public $diagnosticInfo;
|
||||
protected $fulfillmentMessagesType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessage';
|
||||
protected $fulfillmentMessagesDataType = 'array';
|
||||
public $fulfillmentText;
|
||||
protected $intentType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1Intent';
|
||||
protected $intentDataType = '';
|
||||
public $intentDetectionConfidence;
|
||||
public $languageCode;
|
||||
protected $outputContextsType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1Context';
|
||||
protected $outputContextsDataType = 'array';
|
||||
public $parameters;
|
||||
public $queryText;
|
||||
public $speechRecognitionConfidence;
|
||||
public $webhookPayload;
|
||||
public $webhookSource;
|
||||
|
||||
public function setAction($action)
|
||||
{
|
||||
$this->action = $action;
|
||||
}
|
||||
public function getAction()
|
||||
{
|
||||
return $this->action;
|
||||
}
|
||||
public function setAllRequiredParamsPresent($allRequiredParamsPresent)
|
||||
{
|
||||
$this->allRequiredParamsPresent = $allRequiredParamsPresent;
|
||||
}
|
||||
public function getAllRequiredParamsPresent()
|
||||
{
|
||||
return $this->allRequiredParamsPresent;
|
||||
}
|
||||
public function setDiagnosticInfo($diagnosticInfo)
|
||||
{
|
||||
$this->diagnosticInfo = $diagnosticInfo;
|
||||
}
|
||||
public function getDiagnosticInfo()
|
||||
{
|
||||
return $this->diagnosticInfo;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessage
|
||||
*/
|
||||
public function setFulfillmentMessages($fulfillmentMessages)
|
||||
{
|
||||
$this->fulfillmentMessages = $fulfillmentMessages;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessage
|
||||
*/
|
||||
public function getFulfillmentMessages()
|
||||
{
|
||||
return $this->fulfillmentMessages;
|
||||
}
|
||||
public function setFulfillmentText($fulfillmentText)
|
||||
{
|
||||
$this->fulfillmentText = $fulfillmentText;
|
||||
}
|
||||
public function getFulfillmentText()
|
||||
{
|
||||
return $this->fulfillmentText;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1Intent
|
||||
*/
|
||||
public function setIntent(Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1Intent $intent)
|
||||
{
|
||||
$this->intent = $intent;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1Intent
|
||||
*/
|
||||
public function getIntent()
|
||||
{
|
||||
return $this->intent;
|
||||
}
|
||||
public function setIntentDetectionConfidence($intentDetectionConfidence)
|
||||
{
|
||||
$this->intentDetectionConfidence = $intentDetectionConfidence;
|
||||
}
|
||||
public function getIntentDetectionConfidence()
|
||||
{
|
||||
return $this->intentDetectionConfidence;
|
||||
}
|
||||
public function setLanguageCode($languageCode)
|
||||
{
|
||||
$this->languageCode = $languageCode;
|
||||
}
|
||||
public function getLanguageCode()
|
||||
{
|
||||
return $this->languageCode;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1Context
|
||||
*/
|
||||
public function setOutputContexts($outputContexts)
|
||||
{
|
||||
$this->outputContexts = $outputContexts;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1Context
|
||||
*/
|
||||
public function getOutputContexts()
|
||||
{
|
||||
return $this->outputContexts;
|
||||
}
|
||||
public function setParameters($parameters)
|
||||
{
|
||||
$this->parameters = $parameters;
|
||||
}
|
||||
public function getParameters()
|
||||
{
|
||||
return $this->parameters;
|
||||
}
|
||||
public function setQueryText($queryText)
|
||||
{
|
||||
$this->queryText = $queryText;
|
||||
}
|
||||
public function getQueryText()
|
||||
{
|
||||
return $this->queryText;
|
||||
}
|
||||
public function setSpeechRecognitionConfidence($speechRecognitionConfidence)
|
||||
{
|
||||
$this->speechRecognitionConfidence = $speechRecognitionConfidence;
|
||||
}
|
||||
public function getSpeechRecognitionConfidence()
|
||||
{
|
||||
return $this->speechRecognitionConfidence;
|
||||
}
|
||||
public function setWebhookPayload($webhookPayload)
|
||||
{
|
||||
$this->webhookPayload = $webhookPayload;
|
||||
}
|
||||
public function getWebhookPayload()
|
||||
{
|
||||
return $this->webhookPayload;
|
||||
}
|
||||
public function setWebhookSource($webhookSource)
|
||||
{
|
||||
$this->webhookSource = $webhookSource;
|
||||
}
|
||||
public function getWebhookSource()
|
||||
{
|
||||
return $this->webhookSource;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1WebhookRequest extends Google_Model
|
||||
{
|
||||
protected $originalDetectIntentRequestType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest';
|
||||
protected $originalDetectIntentRequestDataType = '';
|
||||
protected $queryResultType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1QueryResult';
|
||||
protected $queryResultDataType = '';
|
||||
public $responseId;
|
||||
public $session;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
|
||||
*/
|
||||
public function setOriginalDetectIntentRequest(Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest $originalDetectIntentRequest)
|
||||
{
|
||||
$this->originalDetectIntentRequest = $originalDetectIntentRequest;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
|
||||
*/
|
||||
public function getOriginalDetectIntentRequest()
|
||||
{
|
||||
return $this->originalDetectIntentRequest;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1QueryResult
|
||||
*/
|
||||
public function setQueryResult(Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1QueryResult $queryResult)
|
||||
{
|
||||
$this->queryResult = $queryResult;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1QueryResult
|
||||
*/
|
||||
public function getQueryResult()
|
||||
{
|
||||
return $this->queryResult;
|
||||
}
|
||||
public function setResponseId($responseId)
|
||||
{
|
||||
$this->responseId = $responseId;
|
||||
}
|
||||
public function getResponseId()
|
||||
{
|
||||
return $this->responseId;
|
||||
}
|
||||
public function setSession($session)
|
||||
{
|
||||
$this->session = $session;
|
||||
}
|
||||
public function getSession()
|
||||
{
|
||||
return $this->session;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,97 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1WebhookResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'outputContexts';
|
||||
protected $followupEventInputType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1EventInput';
|
||||
protected $followupEventInputDataType = '';
|
||||
protected $fulfillmentMessagesType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessage';
|
||||
protected $fulfillmentMessagesDataType = 'array';
|
||||
public $fulfillmentText;
|
||||
protected $outputContextsType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1Context';
|
||||
protected $outputContextsDataType = 'array';
|
||||
public $payload;
|
||||
public $source;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1EventInput
|
||||
*/
|
||||
public function setFollowupEventInput(Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1EventInput $followupEventInput)
|
||||
{
|
||||
$this->followupEventInput = $followupEventInput;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1EventInput
|
||||
*/
|
||||
public function getFollowupEventInput()
|
||||
{
|
||||
return $this->followupEventInput;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessage
|
||||
*/
|
||||
public function setFulfillmentMessages($fulfillmentMessages)
|
||||
{
|
||||
$this->fulfillmentMessages = $fulfillmentMessages;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessage
|
||||
*/
|
||||
public function getFulfillmentMessages()
|
||||
{
|
||||
return $this->fulfillmentMessages;
|
||||
}
|
||||
public function setFulfillmentText($fulfillmentText)
|
||||
{
|
||||
$this->fulfillmentText = $fulfillmentText;
|
||||
}
|
||||
public function getFulfillmentText()
|
||||
{
|
||||
return $this->fulfillmentText;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1Context
|
||||
*/
|
||||
public function setOutputContexts($outputContexts)
|
||||
{
|
||||
$this->outputContexts = $outputContexts;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1Context
|
||||
*/
|
||||
public function getOutputContexts()
|
||||
{
|
||||
return $this->outputContexts;
|
||||
}
|
||||
public function setPayload($payload)
|
||||
{
|
||||
$this->payload = $payload;
|
||||
}
|
||||
public function getPayload()
|
||||
{
|
||||
return $this->payload;
|
||||
}
|
||||
public function setSource($source)
|
||||
{
|
||||
$this->source = $source;
|
||||
}
|
||||
public function getSource()
|
||||
{
|
||||
return $this->source;
|
||||
}
|
||||
}
|
||||
73
vendor/google/apiclient-services/src/Google/Service/Dialogflow/GoogleLongrunningOperation.php
vendored
Normal file
73
vendor/google/apiclient-services/src/Google/Service/Dialogflow/GoogleLongrunningOperation.php
vendored
Normal file
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleLongrunningOperation extends Google_Model
|
||||
{
|
||||
public $done;
|
||||
protected $errorType = 'Google_Service_Dialogflow_GoogleRpcStatus';
|
||||
protected $errorDataType = '';
|
||||
public $metadata;
|
||||
public $name;
|
||||
public $response;
|
||||
|
||||
public function setDone($done)
|
||||
{
|
||||
$this->done = $done;
|
||||
}
|
||||
public function getDone()
|
||||
{
|
||||
return $this->done;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Dialogflow_GoogleRpcStatus
|
||||
*/
|
||||
public function setError(Google_Service_Dialogflow_GoogleRpcStatus $error)
|
||||
{
|
||||
$this->error = $error;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Dialogflow_GoogleRpcStatus
|
||||
*/
|
||||
public function getError()
|
||||
{
|
||||
return $this->error;
|
||||
}
|
||||
public function setMetadata($metadata)
|
||||
{
|
||||
$this->metadata = $metadata;
|
||||
}
|
||||
public function getMetadata()
|
||||
{
|
||||
return $this->metadata;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setResponse($response)
|
||||
{
|
||||
$this->response = $response;
|
||||
}
|
||||
public function getResponse()
|
||||
{
|
||||
return $this->response;
|
||||
}
|
||||
}
|
||||
20
vendor/google/apiclient-services/src/Google/Service/Dialogflow/GoogleProtobufEmpty.php
vendored
Normal file
20
vendor/google/apiclient-services/src/Google/Service/Dialogflow/GoogleProtobufEmpty.php
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleProtobufEmpty extends Google_Model
|
||||
{
|
||||
}
|
||||
49
vendor/google/apiclient-services/src/Google/Service/Dialogflow/GoogleRpcStatus.php
vendored
Normal file
49
vendor/google/apiclient-services/src/Google/Service/Dialogflow/GoogleRpcStatus.php
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Dialogflow_GoogleRpcStatus extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'details';
|
||||
public $code;
|
||||
public $details;
|
||||
public $message;
|
||||
|
||||
public function setCode($code)
|
||||
{
|
||||
$this->code = $code;
|
||||
}
|
||||
public function getCode()
|
||||
{
|
||||
return $this->code;
|
||||
}
|
||||
public function setDetails($details)
|
||||
{
|
||||
$this->details = $details;
|
||||
}
|
||||
public function getDetails()
|
||||
{
|
||||
return $this->details;
|
||||
}
|
||||
public function setMessage($message)
|
||||
{
|
||||
$this->message = $message;
|
||||
}
|
||||
public function getMessage()
|
||||
{
|
||||
return $this->message;
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user