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\Dfareporting;
19
20class DfareportingFile extends \Google\Model
21{
22  protected $dateRangeType = DateRange::class;
23  protected $dateRangeDataType = '';
24  /**
25   * @var string
26   */
27  public $etag;
28  /**
29   * @var string
30   */
31  public $fileName;
32  /**
33   * @var string
34   */
35  public $format;
36  /**
37   * @var string
38   */
39  public $id;
40  /**
41   * @var string
42   */
43  public $kind;
44  /**
45   * @var string
46   */
47  public $lastModifiedTime;
48  /**
49   * @var string
50   */
51  public $reportId;
52  /**
53   * @var string
54   */
55  public $status;
56  protected $urlsType = DfareportingFileUrls::class;
57  protected $urlsDataType = '';
58
59  /**
60   * @param DateRange
61   */
62  public function setDateRange(DateRange $dateRange)
63  {
64    $this->dateRange = $dateRange;
65  }
66  /**
67   * @return DateRange
68   */
69  public function getDateRange()
70  {
71    return $this->dateRange;
72  }
73  /**
74   * @param string
75   */
76  public function setEtag($etag)
77  {
78    $this->etag = $etag;
79  }
80  /**
81   * @return string
82   */
83  public function getEtag()
84  {
85    return $this->etag;
86  }
87  /**
88   * @param string
89   */
90  public function setFileName($fileName)
91  {
92    $this->fileName = $fileName;
93  }
94  /**
95   * @return string
96   */
97  public function getFileName()
98  {
99    return $this->fileName;
100  }
101  /**
102   * @param string
103   */
104  public function setFormat($format)
105  {
106    $this->format = $format;
107  }
108  /**
109   * @return string
110   */
111  public function getFormat()
112  {
113    return $this->format;
114  }
115  /**
116   * @param string
117   */
118  public function setId($id)
119  {
120    $this->id = $id;
121  }
122  /**
123   * @return string
124   */
125  public function getId()
126  {
127    return $this->id;
128  }
129  /**
130   * @param string
131   */
132  public function setKind($kind)
133  {
134    $this->kind = $kind;
135  }
136  /**
137   * @return string
138   */
139  public function getKind()
140  {
141    return $this->kind;
142  }
143  /**
144   * @param string
145   */
146  public function setLastModifiedTime($lastModifiedTime)
147  {
148    $this->lastModifiedTime = $lastModifiedTime;
149  }
150  /**
151   * @return string
152   */
153  public function getLastModifiedTime()
154  {
155    return $this->lastModifiedTime;
156  }
157  /**
158   * @param string
159   */
160  public function setReportId($reportId)
161  {
162    $this->reportId = $reportId;
163  }
164  /**
165   * @return string
166   */
167  public function getReportId()
168  {
169    return $this->reportId;
170  }
171  /**
172   * @param string
173   */
174  public function setStatus($status)
175  {
176    $this->status = $status;
177  }
178  /**
179   * @return string
180   */
181  public function getStatus()
182  {
183    return $this->status;
184  }
185  /**
186   * @param DfareportingFileUrls
187   */
188  public function setUrls(DfareportingFileUrls $urls)
189  {
190    $this->urls = $urls;
191  }
192  /**
193   * @return DfareportingFileUrls
194   */
195  public function getUrls()
196  {
197    return $this->urls;
198  }
199}
200
201// Adding a class alias for backwards compatibility with the previous class name.
202class_alias(DfareportingFile::class, 'Google_Service_Dfareporting_DfareportingFile');
203