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 TestSetup extends \Google\Collection
21{
22  protected $collection_key = 'filesToPush';
23  protected $accountType = Account::class;
24  protected $accountDataType = '';
25  protected $additionalApksType = Apk::class;
26  protected $additionalApksDataType = 'array';
27  /**
28   * @var string[]
29   */
30  public $directoriesToPull;
31  /**
32   * @var bool
33   */
34  public $dontAutograntPermissions;
35  protected $environmentVariablesType = EnvironmentVariable::class;
36  protected $environmentVariablesDataType = 'array';
37  protected $filesToPushType = DeviceFile::class;
38  protected $filesToPushDataType = 'array';
39  /**
40   * @var string
41   */
42  public $networkProfile;
43  protected $systraceType = SystraceSetup::class;
44  protected $systraceDataType = '';
45
46  /**
47   * @param Account
48   */
49  public function setAccount(Account $account)
50  {
51    $this->account = $account;
52  }
53  /**
54   * @return Account
55   */
56  public function getAccount()
57  {
58    return $this->account;
59  }
60  /**
61   * @param Apk[]
62   */
63  public function setAdditionalApks($additionalApks)
64  {
65    $this->additionalApks = $additionalApks;
66  }
67  /**
68   * @return Apk[]
69   */
70  public function getAdditionalApks()
71  {
72    return $this->additionalApks;
73  }
74  /**
75   * @param string[]
76   */
77  public function setDirectoriesToPull($directoriesToPull)
78  {
79    $this->directoriesToPull = $directoriesToPull;
80  }
81  /**
82   * @return string[]
83   */
84  public function getDirectoriesToPull()
85  {
86    return $this->directoriesToPull;
87  }
88  /**
89   * @param bool
90   */
91  public function setDontAutograntPermissions($dontAutograntPermissions)
92  {
93    $this->dontAutograntPermissions = $dontAutograntPermissions;
94  }
95  /**
96   * @return bool
97   */
98  public function getDontAutograntPermissions()
99  {
100    return $this->dontAutograntPermissions;
101  }
102  /**
103   * @param EnvironmentVariable[]
104   */
105  public function setEnvironmentVariables($environmentVariables)
106  {
107    $this->environmentVariables = $environmentVariables;
108  }
109  /**
110   * @return EnvironmentVariable[]
111   */
112  public function getEnvironmentVariables()
113  {
114    return $this->environmentVariables;
115  }
116  /**
117   * @param DeviceFile[]
118   */
119  public function setFilesToPush($filesToPush)
120  {
121    $this->filesToPush = $filesToPush;
122  }
123  /**
124   * @return DeviceFile[]
125   */
126  public function getFilesToPush()
127  {
128    return $this->filesToPush;
129  }
130  /**
131   * @param string
132   */
133  public function setNetworkProfile($networkProfile)
134  {
135    $this->networkProfile = $networkProfile;
136  }
137  /**
138   * @return string
139   */
140  public function getNetworkProfile()
141  {
142    return $this->networkProfile;
143  }
144  /**
145   * @param SystraceSetup
146   */
147  public function setSystrace(SystraceSetup $systrace)
148  {
149    $this->systrace = $systrace;
150  }
151  /**
152   * @return SystraceSetup
153   */
154  public function getSystrace()
155  {
156    return $this->systrace;
157  }
158}
159
160// Adding a class alias for backwards compatibility with the previous class name.
161class_alias(TestSetup::class, 'Google_Service_Testing_TestSetup');
162