1<?php 2/* 3 * Copyright 2014 Google Inc. 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 6 * use this file except in compliance with the License. You may obtain a copy of 7 * the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 * License for the specific language governing permissions and limitations under 15 * the License. 16 */ 17 18class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1FaqAnswer extends Google_Model 19{ 20 public $answer; 21 public $answerRecord; 22 public $confidence; 23 public $metadata; 24 public $question; 25 public $source; 26 27 public function setAnswer($answer) 28 { 29 $this->answer = $answer; 30 } 31 public function getAnswer() 32 { 33 return $this->answer; 34 } 35 public function setAnswerRecord($answerRecord) 36 { 37 $this->answerRecord = $answerRecord; 38 } 39 public function getAnswerRecord() 40 { 41 return $this->answerRecord; 42 } 43 public function setConfidence($confidence) 44 { 45 $this->confidence = $confidence; 46 } 47 public function getConfidence() 48 { 49 return $this->confidence; 50 } 51 public function setMetadata($metadata) 52 { 53 $this->metadata = $metadata; 54 } 55 public function getMetadata() 56 { 57 return $this->metadata; 58 } 59 public function setQuestion($question) 60 { 61 $this->question = $question; 62 } 63 public function getQuestion() 64 { 65 return $this->question; 66 } 67 public function setSource($source) 68 { 69 $this->source = $source; 70 } 71 public function getSource() 72 { 73 return $this->source; 74 } 75} 76