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\Books;
19
20class Volume extends \Google\Model
21{
22  protected $accessInfoType = VolumeAccessInfo::class;
23  protected $accessInfoDataType = '';
24  /**
25   * @var string
26   */
27  public $etag;
28  /**
29   * @var string
30   */
31  public $id;
32  /**
33   * @var string
34   */
35  public $kind;
36  protected $layerInfoType = VolumeLayerInfo::class;
37  protected $layerInfoDataType = '';
38  protected $recommendedInfoType = VolumeRecommendedInfo::class;
39  protected $recommendedInfoDataType = '';
40  protected $saleInfoType = VolumeSaleInfo::class;
41  protected $saleInfoDataType = '';
42  protected $searchInfoType = VolumeSearchInfo::class;
43  protected $searchInfoDataType = '';
44  /**
45   * @var string
46   */
47  public $selfLink;
48  protected $userInfoType = VolumeUserInfo::class;
49  protected $userInfoDataType = '';
50  protected $volumeInfoType = VolumeVolumeInfo::class;
51  protected $volumeInfoDataType = '';
52
53  /**
54   * @param VolumeAccessInfo
55   */
56  public function setAccessInfo(VolumeAccessInfo $accessInfo)
57  {
58    $this->accessInfo = $accessInfo;
59  }
60  /**
61   * @return VolumeAccessInfo
62   */
63  public function getAccessInfo()
64  {
65    return $this->accessInfo;
66  }
67  /**
68   * @param string
69   */
70  public function setEtag($etag)
71  {
72    $this->etag = $etag;
73  }
74  /**
75   * @return string
76   */
77  public function getEtag()
78  {
79    return $this->etag;
80  }
81  /**
82   * @param string
83   */
84  public function setId($id)
85  {
86    $this->id = $id;
87  }
88  /**
89   * @return string
90   */
91  public function getId()
92  {
93    return $this->id;
94  }
95  /**
96   * @param string
97   */
98  public function setKind($kind)
99  {
100    $this->kind = $kind;
101  }
102  /**
103   * @return string
104   */
105  public function getKind()
106  {
107    return $this->kind;
108  }
109  /**
110   * @param VolumeLayerInfo
111   */
112  public function setLayerInfo(VolumeLayerInfo $layerInfo)
113  {
114    $this->layerInfo = $layerInfo;
115  }
116  /**
117   * @return VolumeLayerInfo
118   */
119  public function getLayerInfo()
120  {
121    return $this->layerInfo;
122  }
123  /**
124   * @param VolumeRecommendedInfo
125   */
126  public function setRecommendedInfo(VolumeRecommendedInfo $recommendedInfo)
127  {
128    $this->recommendedInfo = $recommendedInfo;
129  }
130  /**
131   * @return VolumeRecommendedInfo
132   */
133  public function getRecommendedInfo()
134  {
135    return $this->recommendedInfo;
136  }
137  /**
138   * @param VolumeSaleInfo
139   */
140  public function setSaleInfo(VolumeSaleInfo $saleInfo)
141  {
142    $this->saleInfo = $saleInfo;
143  }
144  /**
145   * @return VolumeSaleInfo
146   */
147  public function getSaleInfo()
148  {
149    return $this->saleInfo;
150  }
151  /**
152   * @param VolumeSearchInfo
153   */
154  public function setSearchInfo(VolumeSearchInfo $searchInfo)
155  {
156    $this->searchInfo = $searchInfo;
157  }
158  /**
159   * @return VolumeSearchInfo
160   */
161  public function getSearchInfo()
162  {
163    return $this->searchInfo;
164  }
165  /**
166   * @param string
167   */
168  public function setSelfLink($selfLink)
169  {
170    $this->selfLink = $selfLink;
171  }
172  /**
173   * @return string
174   */
175  public function getSelfLink()
176  {
177    return $this->selfLink;
178  }
179  /**
180   * @param VolumeUserInfo
181   */
182  public function setUserInfo(VolumeUserInfo $userInfo)
183  {
184    $this->userInfo = $userInfo;
185  }
186  /**
187   * @return VolumeUserInfo
188   */
189  public function getUserInfo()
190  {
191    return $this->userInfo;
192  }
193  /**
194   * @param VolumeVolumeInfo
195   */
196  public function setVolumeInfo(VolumeVolumeInfo $volumeInfo)
197  {
198    $this->volumeInfo = $volumeInfo;
199  }
200  /**
201   * @return VolumeVolumeInfo
202   */
203  public function getVolumeInfo()
204  {
205    return $this->volumeInfo;
206  }
207}
208
209// Adding a class alias for backwards compatibility with the previous class name.
210class_alias(Volume::class, 'Google_Service_Books_Volume');
211