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\Appengine;
|
---|
19 |
|
---|
20 | class UrlMap extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $apiEndpointType = ApiEndpointHandler::class;
|
---|
23 | protected $apiEndpointDataType = '';
|
---|
24 | /**
|
---|
25 | * @var string
|
---|
26 | */
|
---|
27 | public $authFailAction;
|
---|
28 | /**
|
---|
29 | * @var string
|
---|
30 | */
|
---|
31 | public $login;
|
---|
32 | /**
|
---|
33 | * @var string
|
---|
34 | */
|
---|
35 | public $redirectHttpResponseCode;
|
---|
36 | protected $scriptType = ScriptHandler::class;
|
---|
37 | protected $scriptDataType = '';
|
---|
38 | /**
|
---|
39 | * @var string
|
---|
40 | */
|
---|
41 | public $securityLevel;
|
---|
42 | protected $staticFilesType = StaticFilesHandler::class;
|
---|
43 | protected $staticFilesDataType = '';
|
---|
44 | /**
|
---|
45 | * @var string
|
---|
46 | */
|
---|
47 | public $urlRegex;
|
---|
48 |
|
---|
49 | /**
|
---|
50 | * @param ApiEndpointHandler
|
---|
51 | */
|
---|
52 | public function setApiEndpoint(ApiEndpointHandler $apiEndpoint)
|
---|
53 | {
|
---|
54 | $this->apiEndpoint = $apiEndpoint;
|
---|
55 | }
|
---|
56 | /**
|
---|
57 | * @return ApiEndpointHandler
|
---|
58 | */
|
---|
59 | public function getApiEndpoint()
|
---|
60 | {
|
---|
61 | return $this->apiEndpoint;
|
---|
62 | }
|
---|
63 | /**
|
---|
64 | * @param string
|
---|
65 | */
|
---|
66 | public function setAuthFailAction($authFailAction)
|
---|
67 | {
|
---|
68 | $this->authFailAction = $authFailAction;
|
---|
69 | }
|
---|
70 | /**
|
---|
71 | * @return string
|
---|
72 | */
|
---|
73 | public function getAuthFailAction()
|
---|
74 | {
|
---|
75 | return $this->authFailAction;
|
---|
76 | }
|
---|
77 | /**
|
---|
78 | * @param string
|
---|
79 | */
|
---|
80 | public function setLogin($login)
|
---|
81 | {
|
---|
82 | $this->login = $login;
|
---|
83 | }
|
---|
84 | /**
|
---|
85 | * @return string
|
---|
86 | */
|
---|
87 | public function getLogin()
|
---|
88 | {
|
---|
89 | return $this->login;
|
---|
90 | }
|
---|
91 | /**
|
---|
92 | * @param string
|
---|
93 | */
|
---|
94 | public function setRedirectHttpResponseCode($redirectHttpResponseCode)
|
---|
95 | {
|
---|
96 | $this->redirectHttpResponseCode = $redirectHttpResponseCode;
|
---|
97 | }
|
---|
98 | /**
|
---|
99 | * @return string
|
---|
100 | */
|
---|
101 | public function getRedirectHttpResponseCode()
|
---|
102 | {
|
---|
103 | return $this->redirectHttpResponseCode;
|
---|
104 | }
|
---|
105 | /**
|
---|
106 | * @param ScriptHandler
|
---|
107 | */
|
---|
108 | public function setScript(ScriptHandler $script)
|
---|
109 | {
|
---|
110 | $this->script = $script;
|
---|
111 | }
|
---|
112 | /**
|
---|
113 | * @return ScriptHandler
|
---|
114 | */
|
---|
115 | public function getScript()
|
---|
116 | {
|
---|
117 | return $this->script;
|
---|
118 | }
|
---|
119 | /**
|
---|
120 | * @param string
|
---|
121 | */
|
---|
122 | public function setSecurityLevel($securityLevel)
|
---|
123 | {
|
---|
124 | $this->securityLevel = $securityLevel;
|
---|
125 | }
|
---|
126 | /**
|
---|
127 | * @return string
|
---|
128 | */
|
---|
129 | public function getSecurityLevel()
|
---|
130 | {
|
---|
131 | return $this->securityLevel;
|
---|
132 | }
|
---|
133 | /**
|
---|
134 | * @param StaticFilesHandler
|
---|
135 | */
|
---|
136 | public function setStaticFiles(StaticFilesHandler $staticFiles)
|
---|
137 | {
|
---|
138 | $this->staticFiles = $staticFiles;
|
---|
139 | }
|
---|
140 | /**
|
---|
141 | * @return StaticFilesHandler
|
---|
142 | */
|
---|
143 | public function getStaticFiles()
|
---|
144 | {
|
---|
145 | return $this->staticFiles;
|
---|
146 | }
|
---|
147 | /**
|
---|
148 | * @param string
|
---|
149 | */
|
---|
150 | public function setUrlRegex($urlRegex)
|
---|
151 | {
|
---|
152 | $this->urlRegex = $urlRegex;
|
---|
153 | }
|
---|
154 | /**
|
---|
155 | * @return string
|
---|
156 | */
|
---|
157 | public function getUrlRegex()
|
---|
158 | {
|
---|
159 | return $this->urlRegex;
|
---|
160 | }
|
---|
161 | }
|
---|
162 |
|
---|
163 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
164 | class_alias(UrlMap::class, 'Google_Service_Appengine_UrlMap');
|
---|