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 ParagraphStyle extends \Google\Model
21{
22  /**
23   * @var string
24   */
25  public $alignment;
26  /**
27   * @var string
28   */
29  public $direction;
30  protected $indentEndType = Dimension::class;
31  protected $indentEndDataType = '';
32  protected $indentFirstLineType = Dimension::class;
33  protected $indentFirstLineDataType = '';
34  protected $indentStartType = Dimension::class;
35  protected $indentStartDataType = '';
36  /**
37   * @var float
38   */
39  public $lineSpacing;
40  protected $spaceAboveType = Dimension::class;
41  protected $spaceAboveDataType = '';
42  protected $spaceBelowType = Dimension::class;
43  protected $spaceBelowDataType = '';
44  /**
45   * @var string
46   */
47  public $spacingMode;
48
49  /**
50   * @param string
51   */
52  public function setAlignment($alignment)
53  {
54    $this->alignment = $alignment;
55  }
56  /**
57   * @return string
58   */
59  public function getAlignment()
60  {
61    return $this->alignment;
62  }
63  /**
64   * @param string
65   */
66  public function setDirection($direction)
67  {
68    $this->direction = $direction;
69  }
70  /**
71   * @return string
72   */
73  public function getDirection()
74  {
75    return $this->direction;
76  }
77  /**
78   * @param Dimension
79   */
80  public function setIndentEnd(Dimension $indentEnd)
81  {
82    $this->indentEnd = $indentEnd;
83  }
84  /**
85   * @return Dimension
86   */
87  public function getIndentEnd()
88  {
89    return $this->indentEnd;
90  }
91  /**
92   * @param Dimension
93   */
94  public function setIndentFirstLine(Dimension $indentFirstLine)
95  {
96    $this->indentFirstLine = $indentFirstLine;
97  }
98  /**
99   * @return Dimension
100   */
101  public function getIndentFirstLine()
102  {
103    return $this->indentFirstLine;
104  }
105  /**
106   * @param Dimension
107   */
108  public function setIndentStart(Dimension $indentStart)
109  {
110    $this->indentStart = $indentStart;
111  }
112  /**
113   * @return Dimension
114   */
115  public function getIndentStart()
116  {
117    return $this->indentStart;
118  }
119  /**
120   * @param float
121   */
122  public function setLineSpacing($lineSpacing)
123  {
124    $this->lineSpacing = $lineSpacing;
125  }
126  /**
127   * @return float
128   */
129  public function getLineSpacing()
130  {
131    return $this->lineSpacing;
132  }
133  /**
134   * @param Dimension
135   */
136  public function setSpaceAbove(Dimension $spaceAbove)
137  {
138    $this->spaceAbove = $spaceAbove;
139  }
140  /**
141   * @return Dimension
142   */
143  public function getSpaceAbove()
144  {
145    return $this->spaceAbove;
146  }
147  /**
148   * @param Dimension
149   */
150  public function setSpaceBelow(Dimension $spaceBelow)
151  {
152    $this->spaceBelow = $spaceBelow;
153  }
154  /**
155   * @return Dimension
156   */
157  public function getSpaceBelow()
158  {
159    return $this->spaceBelow;
160  }
161  /**
162   * @param string
163   */
164  public function setSpacingMode($spacingMode)
165  {
166    $this->spacingMode = $spacingMode;
167  }
168  /**
169   * @return string
170   */
171  public function getSpacingMode()
172  {
173    return $this->spacingMode;
174  }
175}
176
177// Adding a class alias for backwards compatibility with the previous class name.
178class_alias(ParagraphStyle::class, 'Google_Service_Slides_ParagraphStyle');
179