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\Bigquery;
19
20class JobListJobs extends \Google\Model
21{
22  protected $internal_gapi_mappings = [
23        "userEmail" => "user_email",
24  ];
25  protected $configurationType = JobConfiguration::class;
26  protected $configurationDataType = '';
27  protected $errorResultType = ErrorProto::class;
28  protected $errorResultDataType = '';
29  /**
30   * @var string
31   */
32  public $id;
33  protected $jobReferenceType = JobReference::class;
34  protected $jobReferenceDataType = '';
35  /**
36   * @var string
37   */
38  public $kind;
39  /**
40   * @var string
41   */
42  public $state;
43  protected $statisticsType = JobStatistics::class;
44  protected $statisticsDataType = '';
45  protected $statusType = JobStatus::class;
46  protected $statusDataType = '';
47  /**
48   * @var string
49   */
50  public $userEmail;
51
52  /**
53   * @param JobConfiguration
54   */
55  public function setConfiguration(JobConfiguration $configuration)
56  {
57    $this->configuration = $configuration;
58  }
59  /**
60   * @return JobConfiguration
61   */
62  public function getConfiguration()
63  {
64    return $this->configuration;
65  }
66  /**
67   * @param ErrorProto
68   */
69  public function setErrorResult(ErrorProto $errorResult)
70  {
71    $this->errorResult = $errorResult;
72  }
73  /**
74   * @return ErrorProto
75   */
76  public function getErrorResult()
77  {
78    return $this->errorResult;
79  }
80  /**
81   * @param string
82   */
83  public function setId($id)
84  {
85    $this->id = $id;
86  }
87  /**
88   * @return string
89   */
90  public function getId()
91  {
92    return $this->id;
93  }
94  /**
95   * @param JobReference
96   */
97  public function setJobReference(JobReference $jobReference)
98  {
99    $this->jobReference = $jobReference;
100  }
101  /**
102   * @return JobReference
103   */
104  public function getJobReference()
105  {
106    return $this->jobReference;
107  }
108  /**
109   * @param string
110   */
111  public function setKind($kind)
112  {
113    $this->kind = $kind;
114  }
115  /**
116   * @return string
117   */
118  public function getKind()
119  {
120    return $this->kind;
121  }
122  /**
123   * @param string
124   */
125  public function setState($state)
126  {
127    $this->state = $state;
128  }
129  /**
130   * @return string
131   */
132  public function getState()
133  {
134    return $this->state;
135  }
136  /**
137   * @param JobStatistics
138   */
139  public function setStatistics(JobStatistics $statistics)
140  {
141    $this->statistics = $statistics;
142  }
143  /**
144   * @return JobStatistics
145   */
146  public function getStatistics()
147  {
148    return $this->statistics;
149  }
150  /**
151   * @param JobStatus
152   */
153  public function setStatus(JobStatus $status)
154  {
155    $this->status = $status;
156  }
157  /**
158   * @return JobStatus
159   */
160  public function getStatus()
161  {
162    return $this->status;
163  }
164  /**
165   * @param string
166   */
167  public function setUserEmail($userEmail)
168  {
169    $this->userEmail = $userEmail;
170  }
171  /**
172   * @return string
173   */
174  public function getUserEmail()
175  {
176    return $this->userEmail;
177  }
178}
179
180// Adding a class alias for backwards compatibility with the previous class name.
181class_alias(JobListJobs::class, 'Google_Service_Bigquery_JobListJobs');
182