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 ResultStorage extends \Google\Model
21{
22  protected $googleCloudStorageType = GoogleCloudStorage::class;
23  protected $googleCloudStorageDataType = '';
24  /**
25   * @var string
26   */
27  public $resultsUrl;
28  protected $toolResultsExecutionType = ToolResultsExecution::class;
29  protected $toolResultsExecutionDataType = '';
30  protected $toolResultsHistoryType = ToolResultsHistory::class;
31  protected $toolResultsHistoryDataType = '';
32
33  /**
34   * @param GoogleCloudStorage
35   */
36  public function setGoogleCloudStorage(GoogleCloudStorage $googleCloudStorage)
37  {
38    $this->googleCloudStorage = $googleCloudStorage;
39  }
40  /**
41   * @return GoogleCloudStorage
42   */
43  public function getGoogleCloudStorage()
44  {
45    return $this->googleCloudStorage;
46  }
47  /**
48   * @param string
49   */
50  public function setResultsUrl($resultsUrl)
51  {
52    $this->resultsUrl = $resultsUrl;
53  }
54  /**
55   * @return string
56   */
57  public function getResultsUrl()
58  {
59    return $this->resultsUrl;
60  }
61  /**
62   * @param ToolResultsExecution
63   */
64  public function setToolResultsExecution(ToolResultsExecution $toolResultsExecution)
65  {
66    $this->toolResultsExecution = $toolResultsExecution;
67  }
68  /**
69   * @return ToolResultsExecution
70   */
71  public function getToolResultsExecution()
72  {
73    return $this->toolResultsExecution;
74  }
75  /**
76   * @param ToolResultsHistory
77   */
78  public function setToolResultsHistory(ToolResultsHistory $toolResultsHistory)
79  {
80    $this->toolResultsHistory = $toolResultsHistory;
81  }
82  /**
83   * @return ToolResultsHistory
84   */
85  public function getToolResultsHistory()
86  {
87    return $this->toolResultsHistory;
88  }
89}
90
91// Adding a class alias for backwards compatibility with the previous class name.
92class_alias(ResultStorage::class, 'Google_Service_Testing_ResultStorage');
93