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\Testing; 19 20class AndroidRoboTest extends \Google\Collection 21{ 22 protected $collection_key = 'startingIntents'; 23 protected $appApkType = FileReference::class; 24 protected $appApkDataType = ''; 25 protected $appBundleType = AppBundle::class; 26 protected $appBundleDataType = ''; 27 /** 28 * @var string 29 */ 30 public $appInitialActivity; 31 /** 32 * @var string 33 */ 34 public $appPackageId; 35 /** 36 * @var int 37 */ 38 public $maxDepth; 39 /** 40 * @var int 41 */ 42 public $maxSteps; 43 protected $roboDirectivesType = RoboDirective::class; 44 protected $roboDirectivesDataType = 'array'; 45 /** 46 * @var string 47 */ 48 public $roboMode; 49 protected $roboScriptType = FileReference::class; 50 protected $roboScriptDataType = ''; 51 protected $startingIntentsType = RoboStartingIntent::class; 52 protected $startingIntentsDataType = 'array'; 53 54 /** 55 * @param FileReference 56 */ 57 public function setAppApk(FileReference $appApk) 58 { 59 $this->appApk = $appApk; 60 } 61 /** 62 * @return FileReference 63 */ 64 public function getAppApk() 65 { 66 return $this->appApk; 67 } 68 /** 69 * @param AppBundle 70 */ 71 public function setAppBundle(AppBundle $appBundle) 72 { 73 $this->appBundle = $appBundle; 74 } 75 /** 76 * @return AppBundle 77 */ 78 public function getAppBundle() 79 { 80 return $this->appBundle; 81 } 82 /** 83 * @param string 84 */ 85 public function setAppInitialActivity($appInitialActivity) 86 { 87 $this->appInitialActivity = $appInitialActivity; 88 } 89 /** 90 * @return string 91 */ 92 public function getAppInitialActivity() 93 { 94 return $this->appInitialActivity; 95 } 96 /** 97 * @param string 98 */ 99 public function setAppPackageId($appPackageId) 100 { 101 $this->appPackageId = $appPackageId; 102 } 103 /** 104 * @return string 105 */ 106 public function getAppPackageId() 107 { 108 return $this->appPackageId; 109 } 110 /** 111 * @param int 112 */ 113 public function setMaxDepth($maxDepth) 114 { 115 $this->maxDepth = $maxDepth; 116 } 117 /** 118 * @return int 119 */ 120 public function getMaxDepth() 121 { 122 return $this->maxDepth; 123 } 124 /** 125 * @param int 126 */ 127 public function setMaxSteps($maxSteps) 128 { 129 $this->maxSteps = $maxSteps; 130 } 131 /** 132 * @return int 133 */ 134 public function getMaxSteps() 135 { 136 return $this->maxSteps; 137 } 138 /** 139 * @param RoboDirective[] 140 */ 141 public function setRoboDirectives($roboDirectives) 142 { 143 $this->roboDirectives = $roboDirectives; 144 } 145 /** 146 * @return RoboDirective[] 147 */ 148 public function getRoboDirectives() 149 { 150 return $this->roboDirectives; 151 } 152 /** 153 * @param string 154 */ 155 public function setRoboMode($roboMode) 156 { 157 $this->roboMode = $roboMode; 158 } 159 /** 160 * @return string 161 */ 162 public function getRoboMode() 163 { 164 return $this->roboMode; 165 } 166 /** 167 * @param FileReference 168 */ 169 public function setRoboScript(FileReference $roboScript) 170 { 171 $this->roboScript = $roboScript; 172 } 173 /** 174 * @return FileReference 175 */ 176 public function getRoboScript() 177 { 178 return $this->roboScript; 179 } 180 /** 181 * @param RoboStartingIntent[] 182 */ 183 public function setStartingIntents($startingIntents) 184 { 185 $this->startingIntents = $startingIntents; 186 } 187 /** 188 * @return RoboStartingIntent[] 189 */ 190 public function getStartingIntents() 191 { 192 return $this->startingIntents; 193 } 194} 195 196// Adding a class alias for backwards compatibility with the previous class name. 197class_alias(AndroidRoboTest::class, 'Google_Service_Testing_AndroidRoboTest'); 198