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\ToolResults; 19 20class AndroidTest extends \Google\Model 21{ 22 protected $androidAppInfoType = AndroidAppInfo::class; 23 protected $androidAppInfoDataType = ''; 24 protected $androidInstrumentationTestType = AndroidInstrumentationTest::class; 25 protected $androidInstrumentationTestDataType = ''; 26 protected $androidRoboTestType = AndroidRoboTest::class; 27 protected $androidRoboTestDataType = ''; 28 protected $androidTestLoopType = AndroidTestLoop::class; 29 protected $androidTestLoopDataType = ''; 30 protected $testTimeoutType = Duration::class; 31 protected $testTimeoutDataType = ''; 32 33 /** 34 * @param AndroidAppInfo 35 */ 36 public function setAndroidAppInfo(AndroidAppInfo $androidAppInfo) 37 { 38 $this->androidAppInfo = $androidAppInfo; 39 } 40 /** 41 * @return AndroidAppInfo 42 */ 43 public function getAndroidAppInfo() 44 { 45 return $this->androidAppInfo; 46 } 47 /** 48 * @param AndroidInstrumentationTest 49 */ 50 public function setAndroidInstrumentationTest(AndroidInstrumentationTest $androidInstrumentationTest) 51 { 52 $this->androidInstrumentationTest = $androidInstrumentationTest; 53 } 54 /** 55 * @return AndroidInstrumentationTest 56 */ 57 public function getAndroidInstrumentationTest() 58 { 59 return $this->androidInstrumentationTest; 60 } 61 /** 62 * @param AndroidRoboTest 63 */ 64 public function setAndroidRoboTest(AndroidRoboTest $androidRoboTest) 65 { 66 $this->androidRoboTest = $androidRoboTest; 67 } 68 /** 69 * @return AndroidRoboTest 70 */ 71 public function getAndroidRoboTest() 72 { 73 return $this->androidRoboTest; 74 } 75 /** 76 * @param AndroidTestLoop 77 */ 78 public function setAndroidTestLoop(AndroidTestLoop $androidTestLoop) 79 { 80 $this->androidTestLoop = $androidTestLoop; 81 } 82 /** 83 * @return AndroidTestLoop 84 */ 85 public function getAndroidTestLoop() 86 { 87 return $this->androidTestLoop; 88 } 89 /** 90 * @param Duration 91 */ 92 public function setTestTimeout(Duration $testTimeout) 93 { 94 $this->testTimeout = $testTimeout; 95 } 96 /** 97 * @return Duration 98 */ 99 public function getTestTimeout() 100 { 101 return $this->testTimeout; 102 } 103} 104 105// Adding a class alias for backwards compatibility with the previous class name. 106class_alias(AndroidTest::class, 'Google_Service_ToolResults_AndroidTest'); 107