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 TestSuiteOverview extends \Google\Model
21{
22  protected $elapsedTimeType = Duration::class;
23  protected $elapsedTimeDataType = '';
24  /**
25   * @var int
26   */
27  public $errorCount;
28  /**
29   * @var int
30   */
31  public $failureCount;
32  /**
33   * @var int
34   */
35  public $flakyCount;
36  /**
37   * @var string
38   */
39  public $name;
40  /**
41   * @var int
42   */
43  public $skippedCount;
44  /**
45   * @var int
46   */
47  public $totalCount;
48  protected $xmlSourceType = FileReference::class;
49  protected $xmlSourceDataType = '';
50
51  /**
52   * @param Duration
53   */
54  public function setElapsedTime(Duration $elapsedTime)
55  {
56    $this->elapsedTime = $elapsedTime;
57  }
58  /**
59   * @return Duration
60   */
61  public function getElapsedTime()
62  {
63    return $this->elapsedTime;
64  }
65  /**
66   * @param int
67   */
68  public function setErrorCount($errorCount)
69  {
70    $this->errorCount = $errorCount;
71  }
72  /**
73   * @return int
74   */
75  public function getErrorCount()
76  {
77    return $this->errorCount;
78  }
79  /**
80   * @param int
81   */
82  public function setFailureCount($failureCount)
83  {
84    $this->failureCount = $failureCount;
85  }
86  /**
87   * @return int
88   */
89  public function getFailureCount()
90  {
91    return $this->failureCount;
92  }
93  /**
94   * @param int
95   */
96  public function setFlakyCount($flakyCount)
97  {
98    $this->flakyCount = $flakyCount;
99  }
100  /**
101   * @return int
102   */
103  public function getFlakyCount()
104  {
105    return $this->flakyCount;
106  }
107  /**
108   * @param string
109   */
110  public function setName($name)
111  {
112    $this->name = $name;
113  }
114  /**
115   * @return string
116   */
117  public function getName()
118  {
119    return $this->name;
120  }
121  /**
122   * @param int
123   */
124  public function setSkippedCount($skippedCount)
125  {
126    $this->skippedCount = $skippedCount;
127  }
128  /**
129   * @return int
130   */
131  public function getSkippedCount()
132  {
133    return $this->skippedCount;
134  }
135  /**
136   * @param int
137   */
138  public function setTotalCount($totalCount)
139  {
140    $this->totalCount = $totalCount;
141  }
142  /**
143   * @return int
144   */
145  public function getTotalCount()
146  {
147    return $this->totalCount;
148  }
149  /**
150   * @param FileReference
151   */
152  public function setXmlSource(FileReference $xmlSource)
153  {
154    $this->xmlSource = $xmlSource;
155  }
156  /**
157   * @return FileReference
158   */
159  public function getXmlSource()
160  {
161    return $this->xmlSource;
162  }
163}
164
165// Adding a class alias for backwards compatibility with the previous class name.
166class_alias(TestSuiteOverview::class, 'Google_Service_ToolResults_TestSuiteOverview');
167