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 Page extends \Google\Collection
21{
22  protected $collection_key = 'pageElements';
23  protected $layoutPropertiesType = LayoutProperties::class;
24  protected $layoutPropertiesDataType = '';
25  protected $masterPropertiesType = MasterProperties::class;
26  protected $masterPropertiesDataType = '';
27  protected $notesPropertiesType = NotesProperties::class;
28  protected $notesPropertiesDataType = '';
29  /**
30   * @var string
31   */
32  public $objectId;
33  protected $pageElementsType = PageElement::class;
34  protected $pageElementsDataType = 'array';
35  protected $pagePropertiesType = PageProperties::class;
36  protected $pagePropertiesDataType = '';
37  /**
38   * @var string
39   */
40  public $pageType;
41  /**
42   * @var string
43   */
44  public $revisionId;
45  protected $slidePropertiesType = SlideProperties::class;
46  protected $slidePropertiesDataType = '';
47
48  /**
49   * @param LayoutProperties
50   */
51  public function setLayoutProperties(LayoutProperties $layoutProperties)
52  {
53    $this->layoutProperties = $layoutProperties;
54  }
55  /**
56   * @return LayoutProperties
57   */
58  public function getLayoutProperties()
59  {
60    return $this->layoutProperties;
61  }
62  /**
63   * @param MasterProperties
64   */
65  public function setMasterProperties(MasterProperties $masterProperties)
66  {
67    $this->masterProperties = $masterProperties;
68  }
69  /**
70   * @return MasterProperties
71   */
72  public function getMasterProperties()
73  {
74    return $this->masterProperties;
75  }
76  /**
77   * @param NotesProperties
78   */
79  public function setNotesProperties(NotesProperties $notesProperties)
80  {
81    $this->notesProperties = $notesProperties;
82  }
83  /**
84   * @return NotesProperties
85   */
86  public function getNotesProperties()
87  {
88    return $this->notesProperties;
89  }
90  /**
91   * @param string
92   */
93  public function setObjectId($objectId)
94  {
95    $this->objectId = $objectId;
96  }
97  /**
98   * @return string
99   */
100  public function getObjectId()
101  {
102    return $this->objectId;
103  }
104  /**
105   * @param PageElement[]
106   */
107  public function setPageElements($pageElements)
108  {
109    $this->pageElements = $pageElements;
110  }
111  /**
112   * @return PageElement[]
113   */
114  public function getPageElements()
115  {
116    return $this->pageElements;
117  }
118  /**
119   * @param PageProperties
120   */
121  public function setPageProperties(PageProperties $pageProperties)
122  {
123    $this->pageProperties = $pageProperties;
124  }
125  /**
126   * @return PageProperties
127   */
128  public function getPageProperties()
129  {
130    return $this->pageProperties;
131  }
132  /**
133   * @param string
134   */
135  public function setPageType($pageType)
136  {
137    $this->pageType = $pageType;
138  }
139  /**
140   * @return string
141   */
142  public function getPageType()
143  {
144    return $this->pageType;
145  }
146  /**
147   * @param string
148   */
149  public function setRevisionId($revisionId)
150  {
151    $this->revisionId = $revisionId;
152  }
153  /**
154   * @return string
155   */
156  public function getRevisionId()
157  {
158    return $this->revisionId;
159  }
160  /**
161   * @param SlideProperties
162   */
163  public function setSlideProperties(SlideProperties $slideProperties)
164  {
165    $this->slideProperties = $slideProperties;
166  }
167  /**
168   * @return SlideProperties
169   */
170  public function getSlideProperties()
171  {
172    return $this->slideProperties;
173  }
174}
175
176// Adding a class alias for backwards compatibility with the previous class name.
177class_alias(Page::class, 'Google_Service_Slides_Page');
178