[e3d4e0a] | 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 |
|
---|
| 18 | namespace Google\Service\Dfareporting;
|
---|
| 19 |
|
---|
| 20 | class PopupWindowProperties extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | protected $dimensionType = Size::class;
|
---|
| 23 | protected $dimensionDataType = '';
|
---|
| 24 | protected $offsetType = OffsetPosition::class;
|
---|
| 25 | protected $offsetDataType = '';
|
---|
| 26 | /**
|
---|
| 27 | * @var string
|
---|
| 28 | */
|
---|
| 29 | public $positionType;
|
---|
| 30 | /**
|
---|
| 31 | * @var bool
|
---|
| 32 | */
|
---|
| 33 | public $showAddressBar;
|
---|
| 34 | /**
|
---|
| 35 | * @var bool
|
---|
| 36 | */
|
---|
| 37 | public $showMenuBar;
|
---|
| 38 | /**
|
---|
| 39 | * @var bool
|
---|
| 40 | */
|
---|
| 41 | public $showScrollBar;
|
---|
| 42 | /**
|
---|
| 43 | * @var bool
|
---|
| 44 | */
|
---|
| 45 | public $showStatusBar;
|
---|
| 46 | /**
|
---|
| 47 | * @var bool
|
---|
| 48 | */
|
---|
| 49 | public $showToolBar;
|
---|
| 50 | /**
|
---|
| 51 | * @var string
|
---|
| 52 | */
|
---|
| 53 | public $title;
|
---|
| 54 |
|
---|
| 55 | /**
|
---|
| 56 | * @param Size
|
---|
| 57 | */
|
---|
| 58 | public function setDimension(Size $dimension)
|
---|
| 59 | {
|
---|
| 60 | $this->dimension = $dimension;
|
---|
| 61 | }
|
---|
| 62 | /**
|
---|
| 63 | * @return Size
|
---|
| 64 | */
|
---|
| 65 | public function getDimension()
|
---|
| 66 | {
|
---|
| 67 | return $this->dimension;
|
---|
| 68 | }
|
---|
| 69 | /**
|
---|
| 70 | * @param OffsetPosition
|
---|
| 71 | */
|
---|
| 72 | public function setOffset(OffsetPosition $offset)
|
---|
| 73 | {
|
---|
| 74 | $this->offset = $offset;
|
---|
| 75 | }
|
---|
| 76 | /**
|
---|
| 77 | * @return OffsetPosition
|
---|
| 78 | */
|
---|
| 79 | public function getOffset()
|
---|
| 80 | {
|
---|
| 81 | return $this->offset;
|
---|
| 82 | }
|
---|
| 83 | /**
|
---|
| 84 | * @param string
|
---|
| 85 | */
|
---|
| 86 | public function setPositionType($positionType)
|
---|
| 87 | {
|
---|
| 88 | $this->positionType = $positionType;
|
---|
| 89 | }
|
---|
| 90 | /**
|
---|
| 91 | * @return string
|
---|
| 92 | */
|
---|
| 93 | public function getPositionType()
|
---|
| 94 | {
|
---|
| 95 | return $this->positionType;
|
---|
| 96 | }
|
---|
| 97 | /**
|
---|
| 98 | * @param bool
|
---|
| 99 | */
|
---|
| 100 | public function setShowAddressBar($showAddressBar)
|
---|
| 101 | {
|
---|
| 102 | $this->showAddressBar = $showAddressBar;
|
---|
| 103 | }
|
---|
| 104 | /**
|
---|
| 105 | * @return bool
|
---|
| 106 | */
|
---|
| 107 | public function getShowAddressBar()
|
---|
| 108 | {
|
---|
| 109 | return $this->showAddressBar;
|
---|
| 110 | }
|
---|
| 111 | /**
|
---|
| 112 | * @param bool
|
---|
| 113 | */
|
---|
| 114 | public function setShowMenuBar($showMenuBar)
|
---|
| 115 | {
|
---|
| 116 | $this->showMenuBar = $showMenuBar;
|
---|
| 117 | }
|
---|
| 118 | /**
|
---|
| 119 | * @return bool
|
---|
| 120 | */
|
---|
| 121 | public function getShowMenuBar()
|
---|
| 122 | {
|
---|
| 123 | return $this->showMenuBar;
|
---|
| 124 | }
|
---|
| 125 | /**
|
---|
| 126 | * @param bool
|
---|
| 127 | */
|
---|
| 128 | public function setShowScrollBar($showScrollBar)
|
---|
| 129 | {
|
---|
| 130 | $this->showScrollBar = $showScrollBar;
|
---|
| 131 | }
|
---|
| 132 | /**
|
---|
| 133 | * @return bool
|
---|
| 134 | */
|
---|
| 135 | public function getShowScrollBar()
|
---|
| 136 | {
|
---|
| 137 | return $this->showScrollBar;
|
---|
| 138 | }
|
---|
| 139 | /**
|
---|
| 140 | * @param bool
|
---|
| 141 | */
|
---|
| 142 | public function setShowStatusBar($showStatusBar)
|
---|
| 143 | {
|
---|
| 144 | $this->showStatusBar = $showStatusBar;
|
---|
| 145 | }
|
---|
| 146 | /**
|
---|
| 147 | * @return bool
|
---|
| 148 | */
|
---|
| 149 | public function getShowStatusBar()
|
---|
| 150 | {
|
---|
| 151 | return $this->showStatusBar;
|
---|
| 152 | }
|
---|
| 153 | /**
|
---|
| 154 | * @param bool
|
---|
| 155 | */
|
---|
| 156 | public function setShowToolBar($showToolBar)
|
---|
| 157 | {
|
---|
| 158 | $this->showToolBar = $showToolBar;
|
---|
| 159 | }
|
---|
| 160 | /**
|
---|
| 161 | * @return bool
|
---|
| 162 | */
|
---|
| 163 | public function getShowToolBar()
|
---|
| 164 | {
|
---|
| 165 | return $this->showToolBar;
|
---|
| 166 | }
|
---|
| 167 | /**
|
---|
| 168 | * @param string
|
---|
| 169 | */
|
---|
| 170 | public function setTitle($title)
|
---|
| 171 | {
|
---|
| 172 | $this->title = $title;
|
---|
| 173 | }
|
---|
| 174 | /**
|
---|
| 175 | * @return string
|
---|
| 176 | */
|
---|
| 177 | public function getTitle()
|
---|
| 178 | {
|
---|
| 179 | return $this->title;
|
---|
| 180 | }
|
---|
| 181 | }
|
---|
| 182 |
|
---|
| 183 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 184 | class_alias(PopupWindowProperties::class, 'Google_Service_Dfareporting_PopupWindowProperties');
|
---|