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\Games;
19
20class Snapshot extends \Google\Model
21{
22  protected $coverImageType = SnapshotImage::class;
23  protected $coverImageDataType = '';
24  /**
25   * @var string
26   */
27  public $description;
28  /**
29   * @var string
30   */
31  public $driveId;
32  /**
33   * @var string
34   */
35  public $durationMillis;
36  /**
37   * @var string
38   */
39  public $id;
40  /**
41   * @var string
42   */
43  public $kind;
44  /**
45   * @var string
46   */
47  public $lastModifiedMillis;
48  /**
49   * @var string
50   */
51  public $progressValue;
52  /**
53   * @var string
54   */
55  public $title;
56  /**
57   * @var string
58   */
59  public $type;
60  /**
61   * @var string
62   */
63  public $uniqueName;
64
65  /**
66   * @param SnapshotImage
67   */
68  public function setCoverImage(SnapshotImage $coverImage)
69  {
70    $this->coverImage = $coverImage;
71  }
72  /**
73   * @return SnapshotImage
74   */
75  public function getCoverImage()
76  {
77    return $this->coverImage;
78  }
79  /**
80   * @param string
81   */
82  public function setDescription($description)
83  {
84    $this->description = $description;
85  }
86  /**
87   * @return string
88   */
89  public function getDescription()
90  {
91    return $this->description;
92  }
93  /**
94   * @param string
95   */
96  public function setDriveId($driveId)
97  {
98    $this->driveId = $driveId;
99  }
100  /**
101   * @return string
102   */
103  public function getDriveId()
104  {
105    return $this->driveId;
106  }
107  /**
108   * @param string
109   */
110  public function setDurationMillis($durationMillis)
111  {
112    $this->durationMillis = $durationMillis;
113  }
114  /**
115   * @return string
116   */
117  public function getDurationMillis()
118  {
119    return $this->durationMillis;
120  }
121  /**
122   * @param string
123   */
124  public function setId($id)
125  {
126    $this->id = $id;
127  }
128  /**
129   * @return string
130   */
131  public function getId()
132  {
133    return $this->id;
134  }
135  /**
136   * @param string
137   */
138  public function setKind($kind)
139  {
140    $this->kind = $kind;
141  }
142  /**
143   * @return string
144   */
145  public function getKind()
146  {
147    return $this->kind;
148  }
149  /**
150   * @param string
151   */
152  public function setLastModifiedMillis($lastModifiedMillis)
153  {
154    $this->lastModifiedMillis = $lastModifiedMillis;
155  }
156  /**
157   * @return string
158   */
159  public function getLastModifiedMillis()
160  {
161    return $this->lastModifiedMillis;
162  }
163  /**
164   * @param string
165   */
166  public function setProgressValue($progressValue)
167  {
168    $this->progressValue = $progressValue;
169  }
170  /**
171   * @return string
172   */
173  public function getProgressValue()
174  {
175    return $this->progressValue;
176  }
177  /**
178   * @param string
179   */
180  public function setTitle($title)
181  {
182    $this->title = $title;
183  }
184  /**
185   * @return string
186   */
187  public function getTitle()
188  {
189    return $this->title;
190  }
191  /**
192   * @param string
193   */
194  public function setType($type)
195  {
196    $this->type = $type;
197  }
198  /**
199   * @return string
200   */
201  public function getType()
202  {
203    return $this->type;
204  }
205  /**
206   * @param string
207   */
208  public function setUniqueName($uniqueName)
209  {
210    $this->uniqueName = $uniqueName;
211  }
212  /**
213   * @return string
214   */
215  public function getUniqueName()
216  {
217    return $this->uniqueName;
218  }
219}
220
221// Adding a class alias for backwards compatibility with the previous class name.
222class_alias(Snapshot::class, 'Google_Service_Games_Snapshot');
223