generator = $generator; } /** * @return string */ public function getGenerator() { return $this->generator; } /** * Map from placeholder parameter in the Generator to corresponding session * parameters. By default, Dialogflow uses the session parameter with the same * name to fill in the generator template. e.g. If there is a placeholder * parameter `city` in the Generator, Dialogflow default to fill in the * `$city` with `$session.params.city`. However, you may choose to fill * `$city` with `$session.params.desination-city`. - Map key: parameter ID - * Map value: session parameter name * * @param string[] $inputParameters */ public function setInputParameters($inputParameters) { $this->inputParameters = $inputParameters; } /** * @return string[] */ public function getInputParameters() { return $this->inputParameters; } /** * Required. Output parameter which should contain the generator response. * * @param string $outputParameter */ public function setOutputParameter($outputParameter) { $this->outputParameter = $outputParameter; } /** * @return string */ public function getOutputParameter() { return $this->outputParameter; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings');