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 GoogleCloudDialogflowCxV3Experiment extends \Google\Collection 21{ 22 protected $collection_key = 'variantsHistory'; 23 /** 24 * @var string 25 */ 26 public $createTime; 27 protected $definitionType = GoogleCloudDialogflowCxV3ExperimentDefinition::class; 28 protected $definitionDataType = ''; 29 /** 30 * @var string 31 */ 32 public $description; 33 /** 34 * @var string 35 */ 36 public $displayName; 37 /** 38 * @var string 39 */ 40 public $endTime; 41 /** 42 * @var string 43 */ 44 public $experimentLength; 45 /** 46 * @var string 47 */ 48 public $lastUpdateTime; 49 /** 50 * @var string 51 */ 52 public $name; 53 protected $resultType = GoogleCloudDialogflowCxV3ExperimentResult::class; 54 protected $resultDataType = ''; 55 protected $rolloutConfigType = GoogleCloudDialogflowCxV3RolloutConfig::class; 56 protected $rolloutConfigDataType = ''; 57 /** 58 * @var string 59 */ 60 public $rolloutFailureReason; 61 protected $rolloutStateType = GoogleCloudDialogflowCxV3RolloutState::class; 62 protected $rolloutStateDataType = ''; 63 /** 64 * @var string 65 */ 66 public $startTime; 67 /** 68 * @var string 69 */ 70 public $state; 71 protected $variantsHistoryType = GoogleCloudDialogflowCxV3VariantsHistory::class; 72 protected $variantsHistoryDataType = 'array'; 73 74 /** 75 * @param string 76 */ 77 public function setCreateTime($createTime) 78 { 79 $this->createTime = $createTime; 80 } 81 /** 82 * @return string 83 */ 84 public function getCreateTime() 85 { 86 return $this->createTime; 87 } 88 /** 89 * @param GoogleCloudDialogflowCxV3ExperimentDefinition 90 */ 91 public function setDefinition(GoogleCloudDialogflowCxV3ExperimentDefinition $definition) 92 { 93 $this->definition = $definition; 94 } 95 /** 96 * @return GoogleCloudDialogflowCxV3ExperimentDefinition 97 */ 98 public function getDefinition() 99 { 100 return $this->definition; 101 } 102 /** 103 * @param string 104 */ 105 public function setDescription($description) 106 { 107 $this->description = $description; 108 } 109 /** 110 * @return string 111 */ 112 public function getDescription() 113 { 114 return $this->description; 115 } 116 /** 117 * @param string 118 */ 119 public function setDisplayName($displayName) 120 { 121 $this->displayName = $displayName; 122 } 123 /** 124 * @return string 125 */ 126 public function getDisplayName() 127 { 128 return $this->displayName; 129 } 130 /** 131 * @param string 132 */ 133 public function setEndTime($endTime) 134 { 135 $this->endTime = $endTime; 136 } 137 /** 138 * @return string 139 */ 140 public function getEndTime() 141 { 142 return $this->endTime; 143 } 144 /** 145 * @param string 146 */ 147 public function setExperimentLength($experimentLength) 148 { 149 $this->experimentLength = $experimentLength; 150 } 151 /** 152 * @return string 153 */ 154 public function getExperimentLength() 155 { 156 return $this->experimentLength; 157 } 158 /** 159 * @param string 160 */ 161 public function setLastUpdateTime($lastUpdateTime) 162 { 163 $this->lastUpdateTime = $lastUpdateTime; 164 } 165 /** 166 * @return string 167 */ 168 public function getLastUpdateTime() 169 { 170 return $this->lastUpdateTime; 171 } 172 /** 173 * @param string 174 */ 175 public function setName($name) 176 { 177 $this->name = $name; 178 } 179 /** 180 * @return string 181 */ 182 public function getName() 183 { 184 return $this->name; 185 } 186 /** 187 * @param GoogleCloudDialogflowCxV3ExperimentResult 188 */ 189 public function setResult(GoogleCloudDialogflowCxV3ExperimentResult $result) 190 { 191 $this->result = $result; 192 } 193 /** 194 * @return GoogleCloudDialogflowCxV3ExperimentResult 195 */ 196 public function getResult() 197 { 198 return $this->result; 199 } 200 /** 201 * @param GoogleCloudDialogflowCxV3RolloutConfig 202 */ 203 public function setRolloutConfig(GoogleCloudDialogflowCxV3RolloutConfig $rolloutConfig) 204 { 205 $this->rolloutConfig = $rolloutConfig; 206 } 207 /** 208 * @return GoogleCloudDialogflowCxV3RolloutConfig 209 */ 210 public function getRolloutConfig() 211 { 212 return $this->rolloutConfig; 213 } 214 /** 215 * @param string 216 */ 217 public function setRolloutFailureReason($rolloutFailureReason) 218 { 219 $this->rolloutFailureReason = $rolloutFailureReason; 220 } 221 /** 222 * @return string 223 */ 224 public function getRolloutFailureReason() 225 { 226 return $this->rolloutFailureReason; 227 } 228 /** 229 * @param GoogleCloudDialogflowCxV3RolloutState 230 */ 231 public function setRolloutState(GoogleCloudDialogflowCxV3RolloutState $rolloutState) 232 { 233 $this->rolloutState = $rolloutState; 234 } 235 /** 236 * @return GoogleCloudDialogflowCxV3RolloutState 237 */ 238 public function getRolloutState() 239 { 240 return $this->rolloutState; 241 } 242 /** 243 * @param string 244 */ 245 public function setStartTime($startTime) 246 { 247 $this->startTime = $startTime; 248 } 249 /** 250 * @return string 251 */ 252 public function getStartTime() 253 { 254 return $this->startTime; 255 } 256 /** 257 * @param string 258 */ 259 public function setState($state) 260 { 261 $this->state = $state; 262 } 263 /** 264 * @return string 265 */ 266 public function getState() 267 { 268 return $this->state; 269 } 270 /** 271 * @param GoogleCloudDialogflowCxV3VariantsHistory[] 272 */ 273 public function setVariantsHistory($variantsHistory) 274 { 275 $this->variantsHistory = $variantsHistory; 276 } 277 /** 278 * @return GoogleCloudDialogflowCxV3VariantsHistory[] 279 */ 280 public function getVariantsHistory() 281 { 282 return $this->variantsHistory; 283 } 284} 285 286// Adding a class alias for backwards compatibility with the previous class name. 287class_alias(GoogleCloudDialogflowCxV3Experiment::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3Experiment'); 288