1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\Dialogflow;
19
20class GoogleCloudDialogflowCxV3ExperimentResultMetric extends \Google\Model
21{
22  protected $confidenceIntervalType = GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval::class;
23  protected $confidenceIntervalDataType = '';
24  public $count;
25  /**
26   * @var string
27   */
28  public $countType;
29  public $ratio;
30  /**
31   * @var string
32   */
33  public $type;
34
35  /**
36   * @param GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval
37   */
38  public function setConfidenceInterval(GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval $confidenceInterval)
39  {
40    $this->confidenceInterval = $confidenceInterval;
41  }
42  /**
43   * @return GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval
44   */
45  public function getConfidenceInterval()
46  {
47    return $this->confidenceInterval;
48  }
49  public function setCount($count)
50  {
51    $this->count = $count;
52  }
53  public function getCount()
54  {
55    return $this->count;
56  }
57  /**
58   * @param string
59   */
60  public function setCountType($countType)
61  {
62    $this->countType = $countType;
63  }
64  /**
65   * @return string
66   */
67  public function getCountType()
68  {
69    return $this->countType;
70  }
71  public function setRatio($ratio)
72  {
73    $this->ratio = $ratio;
74  }
75  public function getRatio()
76  {
77    return $this->ratio;
78  }
79  /**
80   * @param string
81   */
82  public function setType($type)
83  {
84    $this->type = $type;
85  }
86  /**
87   * @return string
88   */
89  public function getType()
90  {
91    return $this->type;
92  }
93}
94
95// Adding a class alias for backwards compatibility with the previous class name.
96class_alias(GoogleCloudDialogflowCxV3ExperimentResultMetric::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3ExperimentResultMetric');
97