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
18class Google_Service_Docs_StructuralElement extends Google_Model
19{
20  public $endIndex;
21  protected $paragraphType = 'Google_Service_Docs_Paragraph';
22  protected $paragraphDataType = '';
23  protected $sectionBreakType = 'Google_Service_Docs_SectionBreak';
24  protected $sectionBreakDataType = '';
25  public $startIndex;
26  protected $tableType = 'Google_Service_Docs_Table';
27  protected $tableDataType = '';
28  protected $tableOfContentsType = 'Google_Service_Docs_TableOfContents';
29  protected $tableOfContentsDataType = '';
30
31  public function setEndIndex($endIndex)
32  {
33    $this->endIndex = $endIndex;
34  }
35  public function getEndIndex()
36  {
37    return $this->endIndex;
38  }
39  /**
40   * @param Google_Service_Docs_Paragraph
41   */
42  public function setParagraph(Google_Service_Docs_Paragraph $paragraph)
43  {
44    $this->paragraph = $paragraph;
45  }
46  /**
47   * @return Google_Service_Docs_Paragraph
48   */
49  public function getParagraph()
50  {
51    return $this->paragraph;
52  }
53  /**
54   * @param Google_Service_Docs_SectionBreak
55   */
56  public function setSectionBreak(Google_Service_Docs_SectionBreak $sectionBreak)
57  {
58    $this->sectionBreak = $sectionBreak;
59  }
60  /**
61   * @return Google_Service_Docs_SectionBreak
62   */
63  public function getSectionBreak()
64  {
65    return $this->sectionBreak;
66  }
67  public function setStartIndex($startIndex)
68  {
69    $this->startIndex = $startIndex;
70  }
71  public function getStartIndex()
72  {
73    return $this->startIndex;
74  }
75  /**
76   * @param Google_Service_Docs_Table
77   */
78  public function setTable(Google_Service_Docs_Table $table)
79  {
80    $this->table = $table;
81  }
82  /**
83   * @return Google_Service_Docs_Table
84   */
85  public function getTable()
86  {
87    return $this->table;
88  }
89  /**
90   * @param Google_Service_Docs_TableOfContents
91   */
92  public function setTableOfContents(Google_Service_Docs_TableOfContents $tableOfContents)
93  {
94    $this->tableOfContents = $tableOfContents;
95  }
96  /**
97   * @return Google_Service_Docs_TableOfContents
98   */
99  public function getTableOfContents()
100  {
101    return $this->tableOfContents;
102  }
103}
104