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\Slides;
19
20class Presentation extends \Google\Collection
21{
22  protected $collection_key = 'slides';
23  protected $layoutsType = Page::class;
24  protected $layoutsDataType = 'array';
25  /**
26   * @var string
27   */
28  public $locale;
29  protected $mastersType = Page::class;
30  protected $mastersDataType = 'array';
31  protected $notesMasterType = Page::class;
32  protected $notesMasterDataType = '';
33  protected $pageSizeType = Size::class;
34  protected $pageSizeDataType = '';
35  /**
36   * @var string
37   */
38  public $presentationId;
39  /**
40   * @var string
41   */
42  public $revisionId;
43  protected $slidesType = Page::class;
44  protected $slidesDataType = 'array';
45  /**
46   * @var string
47   */
48  public $title;
49
50  /**
51   * @param Page[]
52   */
53  public function setLayouts($layouts)
54  {
55    $this->layouts = $layouts;
56  }
57  /**
58   * @return Page[]
59   */
60  public function getLayouts()
61  {
62    return $this->layouts;
63  }
64  /**
65   * @param string
66   */
67  public function setLocale($locale)
68  {
69    $this->locale = $locale;
70  }
71  /**
72   * @return string
73   */
74  public function getLocale()
75  {
76    return $this->locale;
77  }
78  /**
79   * @param Page[]
80   */
81  public function setMasters($masters)
82  {
83    $this->masters = $masters;
84  }
85  /**
86   * @return Page[]
87   */
88  public function getMasters()
89  {
90    return $this->masters;
91  }
92  /**
93   * @param Page
94   */
95  public function setNotesMaster(Page $notesMaster)
96  {
97    $this->notesMaster = $notesMaster;
98  }
99  /**
100   * @return Page
101   */
102  public function getNotesMaster()
103  {
104    return $this->notesMaster;
105  }
106  /**
107   * @param Size
108   */
109  public function setPageSize(Size $pageSize)
110  {
111    $this->pageSize = $pageSize;
112  }
113  /**
114   * @return Size
115   */
116  public function getPageSize()
117  {
118    return $this->pageSize;
119  }
120  /**
121   * @param string
122   */
123  public function setPresentationId($presentationId)
124  {
125    $this->presentationId = $presentationId;
126  }
127  /**
128   * @return string
129   */
130  public function getPresentationId()
131  {
132    return $this->presentationId;
133  }
134  /**
135   * @param string
136   */
137  public function setRevisionId($revisionId)
138  {
139    $this->revisionId = $revisionId;
140  }
141  /**
142   * @return string
143   */
144  public function getRevisionId()
145  {
146    return $this->revisionId;
147  }
148  /**
149   * @param Page[]
150   */
151  public function setSlides($slides)
152  {
153    $this->slides = $slides;
154  }
155  /**
156   * @return Page[]
157   */
158  public function getSlides()
159  {
160    return $this->slides;
161  }
162  /**
163   * @param string
164   */
165  public function setTitle($title)
166  {
167    $this->title = $title;
168  }
169  /**
170   * @return string
171   */
172  public function getTitle()
173  {
174    return $this->title;
175  }
176}
177
178// Adding a class alias for backwards compatibility with the previous class name.
179class_alias(Presentation::class, 'Google_Service_Slides_Presentation');
180