[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\ServiceManagement;
|
---|
| 19 |
|
---|
| 20 | class Documentation extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'sectionOverrides';
|
---|
| 23 | /**
|
---|
| 24 | * @var string
|
---|
| 25 | */
|
---|
| 26 | public $documentationRootUrl;
|
---|
| 27 | /**
|
---|
| 28 | * @var string
|
---|
| 29 | */
|
---|
| 30 | public $overview;
|
---|
| 31 | protected $pagesType = Page::class;
|
---|
| 32 | protected $pagesDataType = 'array';
|
---|
| 33 | protected $rulesType = DocumentationRule::class;
|
---|
| 34 | protected $rulesDataType = 'array';
|
---|
| 35 | protected $sectionOverridesType = Page::class;
|
---|
| 36 | protected $sectionOverridesDataType = 'array';
|
---|
| 37 | /**
|
---|
| 38 | * @var string
|
---|
| 39 | */
|
---|
| 40 | public $serviceRootUrl;
|
---|
| 41 | /**
|
---|
| 42 | * @var string
|
---|
| 43 | */
|
---|
| 44 | public $summary;
|
---|
| 45 |
|
---|
| 46 | /**
|
---|
| 47 | * @param string
|
---|
| 48 | */
|
---|
| 49 | public function setDocumentationRootUrl($documentationRootUrl)
|
---|
| 50 | {
|
---|
| 51 | $this->documentationRootUrl = $documentationRootUrl;
|
---|
| 52 | }
|
---|
| 53 | /**
|
---|
| 54 | * @return string
|
---|
| 55 | */
|
---|
| 56 | public function getDocumentationRootUrl()
|
---|
| 57 | {
|
---|
| 58 | return $this->documentationRootUrl;
|
---|
| 59 | }
|
---|
| 60 | /**
|
---|
| 61 | * @param string
|
---|
| 62 | */
|
---|
| 63 | public function setOverview($overview)
|
---|
| 64 | {
|
---|
| 65 | $this->overview = $overview;
|
---|
| 66 | }
|
---|
| 67 | /**
|
---|
| 68 | * @return string
|
---|
| 69 | */
|
---|
| 70 | public function getOverview()
|
---|
| 71 | {
|
---|
| 72 | return $this->overview;
|
---|
| 73 | }
|
---|
| 74 | /**
|
---|
| 75 | * @param Page[]
|
---|
| 76 | */
|
---|
| 77 | public function setPages($pages)
|
---|
| 78 | {
|
---|
| 79 | $this->pages = $pages;
|
---|
| 80 | }
|
---|
| 81 | /**
|
---|
| 82 | * @return Page[]
|
---|
| 83 | */
|
---|
| 84 | public function getPages()
|
---|
| 85 | {
|
---|
| 86 | return $this->pages;
|
---|
| 87 | }
|
---|
| 88 | /**
|
---|
| 89 | * @param DocumentationRule[]
|
---|
| 90 | */
|
---|
| 91 | public function setRules($rules)
|
---|
| 92 | {
|
---|
| 93 | $this->rules = $rules;
|
---|
| 94 | }
|
---|
| 95 | /**
|
---|
| 96 | * @return DocumentationRule[]
|
---|
| 97 | */
|
---|
| 98 | public function getRules()
|
---|
| 99 | {
|
---|
| 100 | return $this->rules;
|
---|
| 101 | }
|
---|
| 102 | /**
|
---|
| 103 | * @param Page[]
|
---|
| 104 | */
|
---|
| 105 | public function setSectionOverrides($sectionOverrides)
|
---|
| 106 | {
|
---|
| 107 | $this->sectionOverrides = $sectionOverrides;
|
---|
| 108 | }
|
---|
| 109 | /**
|
---|
| 110 | * @return Page[]
|
---|
| 111 | */
|
---|
| 112 | public function getSectionOverrides()
|
---|
| 113 | {
|
---|
| 114 | return $this->sectionOverrides;
|
---|
| 115 | }
|
---|
| 116 | /**
|
---|
| 117 | * @param string
|
---|
| 118 | */
|
---|
| 119 | public function setServiceRootUrl($serviceRootUrl)
|
---|
| 120 | {
|
---|
| 121 | $this->serviceRootUrl = $serviceRootUrl;
|
---|
| 122 | }
|
---|
| 123 | /**
|
---|
| 124 | * @return string
|
---|
| 125 | */
|
---|
| 126 | public function getServiceRootUrl()
|
---|
| 127 | {
|
---|
| 128 | return $this->serviceRootUrl;
|
---|
| 129 | }
|
---|
| 130 | /**
|
---|
| 131 | * @param string
|
---|
| 132 | */
|
---|
| 133 | public function setSummary($summary)
|
---|
| 134 | {
|
---|
| 135 | $this->summary = $summary;
|
---|
| 136 | }
|
---|
| 137 | /**
|
---|
| 138 | * @return string
|
---|
| 139 | */
|
---|
| 140 | public function getSummary()
|
---|
| 141 | {
|
---|
| 142 | return $this->summary;
|
---|
| 143 | }
|
---|
| 144 | }
|
---|
| 145 |
|
---|
| 146 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 147 | class_alias(Documentation::class, 'Google_Service_ServiceManagement_Documentation');
|
---|