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 
18 namespace Google\Service\ToolResults;
19 
20 class IosTest extends \Google\Model
21 {
22   protected $iosAppInfoType = IosAppInfo::class;
23   protected $iosAppInfoDataType = '';
24   protected $iosRoboTestType = IosRoboTest::class;
25   protected $iosRoboTestDataType = '';
26   protected $iosTestLoopType = IosTestLoop::class;
27   protected $iosTestLoopDataType = '';
28   protected $iosXcTestType = IosXcTest::class;
29   protected $iosXcTestDataType = '';
30   protected $testTimeoutType = Duration::class;
31   protected $testTimeoutDataType = '';
32 
33   /**
34    * @param IosAppInfo
35    */
36   public function setIosAppInfo(IosAppInfo $iosAppInfo)
37   {
38     $this->iosAppInfo = $iosAppInfo;
39   }
40   /**
41    * @return IosAppInfo
42    */
43   public function getIosAppInfo()
44   {
45     return $this->iosAppInfo;
46   }
47   /**
48    * @param IosRoboTest
49    */
50   public function setIosRoboTest(IosRoboTest $iosRoboTest)
51   {
52     $this->iosRoboTest = $iosRoboTest;
53   }
54   /**
55    * @return IosRoboTest
56    */
57   public function getIosRoboTest()
58   {
59     return $this->iosRoboTest;
60   }
61   /**
62    * @param IosTestLoop
63    */
64   public function setIosTestLoop(IosTestLoop $iosTestLoop)
65   {
66     $this->iosTestLoop = $iosTestLoop;
67   }
68   /**
69    * @return IosTestLoop
70    */
71   public function getIosTestLoop()
72   {
73     return $this->iosTestLoop;
74   }
75   /**
76    * @param IosXcTest
77    */
78   public function setIosXcTest(IosXcTest $iosXcTest)
79   {
80     $this->iosXcTest = $iosXcTest;
81   }
82   /**
83    * @return IosXcTest
84    */
85   public function getIosXcTest()
86   {
87     return $this->iosXcTest;
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.
106 class_alias(IosTest::class, 'Google_Service_ToolResults_IosTest');
107