[e3d4e0a] | 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\Testing;
|
---|
| 19 |
|
---|
| 20 | class TestExecution extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | protected $environmentType = Environment::class;
|
---|
| 23 | protected $environmentDataType = '';
|
---|
| 24 | /**
|
---|
| 25 | * @var string
|
---|
| 26 | */
|
---|
| 27 | public $id;
|
---|
| 28 | /**
|
---|
| 29 | * @var string
|
---|
| 30 | */
|
---|
| 31 | public $matrixId;
|
---|
| 32 | /**
|
---|
| 33 | * @var string
|
---|
| 34 | */
|
---|
| 35 | public $projectId;
|
---|
| 36 | protected $shardType = Shard::class;
|
---|
| 37 | protected $shardDataType = '';
|
---|
| 38 | /**
|
---|
| 39 | * @var string
|
---|
| 40 | */
|
---|
| 41 | public $state;
|
---|
| 42 | protected $testDetailsType = TestDetails::class;
|
---|
| 43 | protected $testDetailsDataType = '';
|
---|
| 44 | protected $testSpecificationType = TestSpecification::class;
|
---|
| 45 | protected $testSpecificationDataType = '';
|
---|
| 46 | /**
|
---|
| 47 | * @var string
|
---|
| 48 | */
|
---|
| 49 | public $timestamp;
|
---|
| 50 | protected $toolResultsStepType = ToolResultsStep::class;
|
---|
| 51 | protected $toolResultsStepDataType = '';
|
---|
| 52 |
|
---|
| 53 | /**
|
---|
| 54 | * @param Environment
|
---|
| 55 | */
|
---|
| 56 | public function setEnvironment(Environment $environment)
|
---|
| 57 | {
|
---|
| 58 | $this->environment = $environment;
|
---|
| 59 | }
|
---|
| 60 | /**
|
---|
| 61 | * @return Environment
|
---|
| 62 | */
|
---|
| 63 | public function getEnvironment()
|
---|
| 64 | {
|
---|
| 65 | return $this->environment;
|
---|
| 66 | }
|
---|
| 67 | /**
|
---|
| 68 | * @param string
|
---|
| 69 | */
|
---|
| 70 | public function setId($id)
|
---|
| 71 | {
|
---|
| 72 | $this->id = $id;
|
---|
| 73 | }
|
---|
| 74 | /**
|
---|
| 75 | * @return string
|
---|
| 76 | */
|
---|
| 77 | public function getId()
|
---|
| 78 | {
|
---|
| 79 | return $this->id;
|
---|
| 80 | }
|
---|
| 81 | /**
|
---|
| 82 | * @param string
|
---|
| 83 | */
|
---|
| 84 | public function setMatrixId($matrixId)
|
---|
| 85 | {
|
---|
| 86 | $this->matrixId = $matrixId;
|
---|
| 87 | }
|
---|
| 88 | /**
|
---|
| 89 | * @return string
|
---|
| 90 | */
|
---|
| 91 | public function getMatrixId()
|
---|
| 92 | {
|
---|
| 93 | return $this->matrixId;
|
---|
| 94 | }
|
---|
| 95 | /**
|
---|
| 96 | * @param string
|
---|
| 97 | */
|
---|
| 98 | public function setProjectId($projectId)
|
---|
| 99 | {
|
---|
| 100 | $this->projectId = $projectId;
|
---|
| 101 | }
|
---|
| 102 | /**
|
---|
| 103 | * @return string
|
---|
| 104 | */
|
---|
| 105 | public function getProjectId()
|
---|
| 106 | {
|
---|
| 107 | return $this->projectId;
|
---|
| 108 | }
|
---|
| 109 | /**
|
---|
| 110 | * @param Shard
|
---|
| 111 | */
|
---|
| 112 | public function setShard(Shard $shard)
|
---|
| 113 | {
|
---|
| 114 | $this->shard = $shard;
|
---|
| 115 | }
|
---|
| 116 | /**
|
---|
| 117 | * @return Shard
|
---|
| 118 | */
|
---|
| 119 | public function getShard()
|
---|
| 120 | {
|
---|
| 121 | return $this->shard;
|
---|
| 122 | }
|
---|
| 123 | /**
|
---|
| 124 | * @param string
|
---|
| 125 | */
|
---|
| 126 | public function setState($state)
|
---|
| 127 | {
|
---|
| 128 | $this->state = $state;
|
---|
| 129 | }
|
---|
| 130 | /**
|
---|
| 131 | * @return string
|
---|
| 132 | */
|
---|
| 133 | public function getState()
|
---|
| 134 | {
|
---|
| 135 | return $this->state;
|
---|
| 136 | }
|
---|
| 137 | /**
|
---|
| 138 | * @param TestDetails
|
---|
| 139 | */
|
---|
| 140 | public function setTestDetails(TestDetails $testDetails)
|
---|
| 141 | {
|
---|
| 142 | $this->testDetails = $testDetails;
|
---|
| 143 | }
|
---|
| 144 | /**
|
---|
| 145 | * @return TestDetails
|
---|
| 146 | */
|
---|
| 147 | public function getTestDetails()
|
---|
| 148 | {
|
---|
| 149 | return $this->testDetails;
|
---|
| 150 | }
|
---|
| 151 | /**
|
---|
| 152 | * @param TestSpecification
|
---|
| 153 | */
|
---|
| 154 | public function setTestSpecification(TestSpecification $testSpecification)
|
---|
| 155 | {
|
---|
| 156 | $this->testSpecification = $testSpecification;
|
---|
| 157 | }
|
---|
| 158 | /**
|
---|
| 159 | * @return TestSpecification
|
---|
| 160 | */
|
---|
| 161 | public function getTestSpecification()
|
---|
| 162 | {
|
---|
| 163 | return $this->testSpecification;
|
---|
| 164 | }
|
---|
| 165 | /**
|
---|
| 166 | * @param string
|
---|
| 167 | */
|
---|
| 168 | public function setTimestamp($timestamp)
|
---|
| 169 | {
|
---|
| 170 | $this->timestamp = $timestamp;
|
---|
| 171 | }
|
---|
| 172 | /**
|
---|
| 173 | * @return string
|
---|
| 174 | */
|
---|
| 175 | public function getTimestamp()
|
---|
| 176 | {
|
---|
| 177 | return $this->timestamp;
|
---|
| 178 | }
|
---|
| 179 | /**
|
---|
| 180 | * @param ToolResultsStep
|
---|
| 181 | */
|
---|
| 182 | public function setToolResultsStep(ToolResultsStep $toolResultsStep)
|
---|
| 183 | {
|
---|
| 184 | $this->toolResultsStep = $toolResultsStep;
|
---|
| 185 | }
|
---|
| 186 | /**
|
---|
| 187 | * @return ToolResultsStep
|
---|
| 188 | */
|
---|
| 189 | public function getToolResultsStep()
|
---|
| 190 | {
|
---|
| 191 | return $this->toolResultsStep;
|
---|
| 192 | }
|
---|
| 193 | }
|
---|
| 194 |
|
---|
| 195 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 196 | class_alias(TestExecution::class, 'Google_Service_Testing_TestExecution');
|
---|