@@ -42,158 +42,158 @@ discard block |
||
| 42 | 42 | */ |
| 43 | 43 | public function __construct(Google_Client $client) |
| 44 | 44 | { |
| 45 | - parent::__construct($client); |
|
| 46 | - $this->rootUrl = 'https://www.googleapis.com/'; |
|
| 47 | - $this->servicePath = 'freebase/v1/'; |
|
| 48 | - $this->version = 'v1'; |
|
| 49 | - $this->serviceName = 'freebase'; |
|
| 45 | + parent::__construct($client); |
|
| 46 | + $this->rootUrl = 'https://www.googleapis.com/'; |
|
| 47 | + $this->servicePath = 'freebase/v1/'; |
|
| 48 | + $this->version = 'v1'; |
|
| 49 | + $this->serviceName = 'freebase'; |
|
| 50 | 50 | |
| 51 | - $this->base_methods = new Google_Service_Resource( |
|
| 52 | - $this, |
|
| 53 | - $this->serviceName, |
|
| 54 | - '', |
|
| 55 | - array( |
|
| 56 | - 'methods' => array( |
|
| 57 | - 'reconcile' => array( |
|
| 58 | - 'path' => 'reconcile', |
|
| 59 | - 'httpMethod' => 'GET', |
|
| 60 | - 'parameters' => array( |
|
| 61 | - 'lang' => array( |
|
| 62 | - 'location' => 'query', |
|
| 63 | - 'type' => 'string', |
|
| 64 | - 'repeated' => true, |
|
| 65 | - ), |
|
| 66 | - 'confidence' => array( |
|
| 67 | - 'location' => 'query', |
|
| 68 | - 'type' => 'number', |
|
| 69 | - ), |
|
| 70 | - 'name' => array( |
|
| 71 | - 'location' => 'query', |
|
| 72 | - 'type' => 'string', |
|
| 73 | - ), |
|
| 74 | - 'kind' => array( |
|
| 75 | - 'location' => 'query', |
|
| 76 | - 'type' => 'string', |
|
| 77 | - 'repeated' => true, |
|
| 78 | - ), |
|
| 79 | - 'prop' => array( |
|
| 80 | - 'location' => 'query', |
|
| 81 | - 'type' => 'string', |
|
| 82 | - 'repeated' => true, |
|
| 83 | - ), |
|
| 84 | - 'limit' => array( |
|
| 85 | - 'location' => 'query', |
|
| 86 | - 'type' => 'integer', |
|
| 87 | - ), |
|
| 88 | - ), |
|
| 89 | - ),'search' => array( |
|
| 90 | - 'path' => 'search', |
|
| 91 | - 'httpMethod' => 'GET', |
|
| 92 | - 'parameters' => array( |
|
| 93 | - 'domain' => array( |
|
| 94 | - 'location' => 'query', |
|
| 95 | - 'type' => 'string', |
|
| 96 | - 'repeated' => true, |
|
| 97 | - ), |
|
| 98 | - 'help' => array( |
|
| 99 | - 'location' => 'query', |
|
| 100 | - 'type' => 'string', |
|
| 101 | - ), |
|
| 102 | - 'query' => array( |
|
| 103 | - 'location' => 'query', |
|
| 104 | - 'type' => 'string', |
|
| 105 | - ), |
|
| 106 | - 'scoring' => array( |
|
| 107 | - 'location' => 'query', |
|
| 108 | - 'type' => 'string', |
|
| 109 | - ), |
|
| 110 | - 'cursor' => array( |
|
| 111 | - 'location' => 'query', |
|
| 112 | - 'type' => 'integer', |
|
| 113 | - ), |
|
| 114 | - 'prefixed' => array( |
|
| 115 | - 'location' => 'query', |
|
| 116 | - 'type' => 'boolean', |
|
| 117 | - ), |
|
| 118 | - 'exact' => array( |
|
| 119 | - 'location' => 'query', |
|
| 120 | - 'type' => 'boolean', |
|
| 121 | - ), |
|
| 122 | - 'mid' => array( |
|
| 123 | - 'location' => 'query', |
|
| 124 | - 'type' => 'string', |
|
| 125 | - 'repeated' => true, |
|
| 126 | - ), |
|
| 127 | - 'encode' => array( |
|
| 128 | - 'location' => 'query', |
|
| 129 | - 'type' => 'string', |
|
| 130 | - ), |
|
| 131 | - 'type' => array( |
|
| 132 | - 'location' => 'query', |
|
| 133 | - 'type' => 'string', |
|
| 134 | - 'repeated' => true, |
|
| 135 | - ), |
|
| 136 | - 'as_of_time' => array( |
|
| 137 | - 'location' => 'query', |
|
| 138 | - 'type' => 'string', |
|
| 139 | - ), |
|
| 140 | - 'stemmed' => array( |
|
| 141 | - 'location' => 'query', |
|
| 142 | - 'type' => 'boolean', |
|
| 143 | - ), |
|
| 144 | - 'format' => array( |
|
| 145 | - 'location' => 'query', |
|
| 146 | - 'type' => 'string', |
|
| 147 | - ), |
|
| 148 | - 'spell' => array( |
|
| 149 | - 'location' => 'query', |
|
| 150 | - 'type' => 'string', |
|
| 151 | - ), |
|
| 152 | - 'with' => array( |
|
| 153 | - 'location' => 'query', |
|
| 154 | - 'type' => 'string', |
|
| 155 | - 'repeated' => true, |
|
| 156 | - ), |
|
| 157 | - 'lang' => array( |
|
| 158 | - 'location' => 'query', |
|
| 159 | - 'type' => 'string', |
|
| 160 | - 'repeated' => true, |
|
| 161 | - ), |
|
| 162 | - 'indent' => array( |
|
| 163 | - 'location' => 'query', |
|
| 164 | - 'type' => 'boolean', |
|
| 165 | - ), |
|
| 166 | - 'filter' => array( |
|
| 167 | - 'location' => 'query', |
|
| 168 | - 'type' => 'string', |
|
| 169 | - 'repeated' => true, |
|
| 170 | - ), |
|
| 171 | - 'callback' => array( |
|
| 172 | - 'location' => 'query', |
|
| 173 | - 'type' => 'string', |
|
| 174 | - ), |
|
| 175 | - 'without' => array( |
|
| 176 | - 'location' => 'query', |
|
| 177 | - 'type' => 'string', |
|
| 178 | - 'repeated' => true, |
|
| 179 | - ), |
|
| 180 | - 'limit' => array( |
|
| 181 | - 'location' => 'query', |
|
| 182 | - 'type' => 'integer', |
|
| 183 | - ), |
|
| 184 | - 'output' => array( |
|
| 185 | - 'location' => 'query', |
|
| 186 | - 'type' => 'string', |
|
| 187 | - ), |
|
| 188 | - 'mql_output' => array( |
|
| 189 | - 'location' => 'query', |
|
| 190 | - 'type' => 'string', |
|
| 191 | - ), |
|
| 192 | - ), |
|
| 193 | - ), |
|
| 194 | - ) |
|
| 195 | - ) |
|
| 196 | - ); |
|
| 51 | + $this->base_methods = new Google_Service_Resource( |
|
| 52 | + $this, |
|
| 53 | + $this->serviceName, |
|
| 54 | + '', |
|
| 55 | + array( |
|
| 56 | + 'methods' => array( |
|
| 57 | + 'reconcile' => array( |
|
| 58 | + 'path' => 'reconcile', |
|
| 59 | + 'httpMethod' => 'GET', |
|
| 60 | + 'parameters' => array( |
|
| 61 | + 'lang' => array( |
|
| 62 | + 'location' => 'query', |
|
| 63 | + 'type' => 'string', |
|
| 64 | + 'repeated' => true, |
|
| 65 | + ), |
|
| 66 | + 'confidence' => array( |
|
| 67 | + 'location' => 'query', |
|
| 68 | + 'type' => 'number', |
|
| 69 | + ), |
|
| 70 | + 'name' => array( |
|
| 71 | + 'location' => 'query', |
|
| 72 | + 'type' => 'string', |
|
| 73 | + ), |
|
| 74 | + 'kind' => array( |
|
| 75 | + 'location' => 'query', |
|
| 76 | + 'type' => 'string', |
|
| 77 | + 'repeated' => true, |
|
| 78 | + ), |
|
| 79 | + 'prop' => array( |
|
| 80 | + 'location' => 'query', |
|
| 81 | + 'type' => 'string', |
|
| 82 | + 'repeated' => true, |
|
| 83 | + ), |
|
| 84 | + 'limit' => array( |
|
| 85 | + 'location' => 'query', |
|
| 86 | + 'type' => 'integer', |
|
| 87 | + ), |
|
| 88 | + ), |
|
| 89 | + ),'search' => array( |
|
| 90 | + 'path' => 'search', |
|
| 91 | + 'httpMethod' => 'GET', |
|
| 92 | + 'parameters' => array( |
|
| 93 | + 'domain' => array( |
|
| 94 | + 'location' => 'query', |
|
| 95 | + 'type' => 'string', |
|
| 96 | + 'repeated' => true, |
|
| 97 | + ), |
|
| 98 | + 'help' => array( |
|
| 99 | + 'location' => 'query', |
|
| 100 | + 'type' => 'string', |
|
| 101 | + ), |
|
| 102 | + 'query' => array( |
|
| 103 | + 'location' => 'query', |
|
| 104 | + 'type' => 'string', |
|
| 105 | + ), |
|
| 106 | + 'scoring' => array( |
|
| 107 | + 'location' => 'query', |
|
| 108 | + 'type' => 'string', |
|
| 109 | + ), |
|
| 110 | + 'cursor' => array( |
|
| 111 | + 'location' => 'query', |
|
| 112 | + 'type' => 'integer', |
|
| 113 | + ), |
|
| 114 | + 'prefixed' => array( |
|
| 115 | + 'location' => 'query', |
|
| 116 | + 'type' => 'boolean', |
|
| 117 | + ), |
|
| 118 | + 'exact' => array( |
|
| 119 | + 'location' => 'query', |
|
| 120 | + 'type' => 'boolean', |
|
| 121 | + ), |
|
| 122 | + 'mid' => array( |
|
| 123 | + 'location' => 'query', |
|
| 124 | + 'type' => 'string', |
|
| 125 | + 'repeated' => true, |
|
| 126 | + ), |
|
| 127 | + 'encode' => array( |
|
| 128 | + 'location' => 'query', |
|
| 129 | + 'type' => 'string', |
|
| 130 | + ), |
|
| 131 | + 'type' => array( |
|
| 132 | + 'location' => 'query', |
|
| 133 | + 'type' => 'string', |
|
| 134 | + 'repeated' => true, |
|
| 135 | + ), |
|
| 136 | + 'as_of_time' => array( |
|
| 137 | + 'location' => 'query', |
|
| 138 | + 'type' => 'string', |
|
| 139 | + ), |
|
| 140 | + 'stemmed' => array( |
|
| 141 | + 'location' => 'query', |
|
| 142 | + 'type' => 'boolean', |
|
| 143 | + ), |
|
| 144 | + 'format' => array( |
|
| 145 | + 'location' => 'query', |
|
| 146 | + 'type' => 'string', |
|
| 147 | + ), |
|
| 148 | + 'spell' => array( |
|
| 149 | + 'location' => 'query', |
|
| 150 | + 'type' => 'string', |
|
| 151 | + ), |
|
| 152 | + 'with' => array( |
|
| 153 | + 'location' => 'query', |
|
| 154 | + 'type' => 'string', |
|
| 155 | + 'repeated' => true, |
|
| 156 | + ), |
|
| 157 | + 'lang' => array( |
|
| 158 | + 'location' => 'query', |
|
| 159 | + 'type' => 'string', |
|
| 160 | + 'repeated' => true, |
|
| 161 | + ), |
|
| 162 | + 'indent' => array( |
|
| 163 | + 'location' => 'query', |
|
| 164 | + 'type' => 'boolean', |
|
| 165 | + ), |
|
| 166 | + 'filter' => array( |
|
| 167 | + 'location' => 'query', |
|
| 168 | + 'type' => 'string', |
|
| 169 | + 'repeated' => true, |
|
| 170 | + ), |
|
| 171 | + 'callback' => array( |
|
| 172 | + 'location' => 'query', |
|
| 173 | + 'type' => 'string', |
|
| 174 | + ), |
|
| 175 | + 'without' => array( |
|
| 176 | + 'location' => 'query', |
|
| 177 | + 'type' => 'string', |
|
| 178 | + 'repeated' => true, |
|
| 179 | + ), |
|
| 180 | + 'limit' => array( |
|
| 181 | + 'location' => 'query', |
|
| 182 | + 'type' => 'integer', |
|
| 183 | + ), |
|
| 184 | + 'output' => array( |
|
| 185 | + 'location' => 'query', |
|
| 186 | + 'type' => 'string', |
|
| 187 | + ), |
|
| 188 | + 'mql_output' => array( |
|
| 189 | + 'location' => 'query', |
|
| 190 | + 'type' => 'string', |
|
| 191 | + ), |
|
| 192 | + ), |
|
| 193 | + ), |
|
| 194 | + ) |
|
| 195 | + ) |
|
| 196 | + ); |
|
| 197 | 197 | } |
| 198 | 198 | /** |
| 199 | 199 | * Reconcile entities to Freebase open data. (reconcile) |
@@ -212,9 +212,9 @@ discard block |
||
| 212 | 212 | */ |
| 213 | 213 | public function reconcile($optParams = array()) |
| 214 | 214 | { |
| 215 | - $params = array(); |
|
| 216 | - $params = array_merge($params, $optParams); |
|
| 217 | - return $this->base_methods->call('reconcile', array($params), "Google_Service_Freebase_ReconcileGet"); |
|
| 215 | + $params = array(); |
|
| 216 | + $params = array_merge($params, $optParams); |
|
| 217 | + return $this->base_methods->call('reconcile', array($params), "Google_Service_Freebase_ReconcileGet"); |
|
| 218 | 218 | } |
| 219 | 219 | /** |
| 220 | 220 | * Search Freebase open data. (search) |
@@ -252,9 +252,9 @@ discard block |
||
| 252 | 252 | */ |
| 253 | 253 | public function search($optParams = array()) |
| 254 | 254 | { |
| 255 | - $params = array(); |
|
| 256 | - $params = array_merge($params, $optParams); |
|
| 257 | - return $this->base_methods->call('search', array($params)); |
|
| 255 | + $params = array(); |
|
| 256 | + $params = array_merge($params, $optParams); |
|
| 257 | + return $this->base_methods->call('search', array($params)); |
|
| 258 | 258 | } |
| 259 | 259 | } |
| 260 | 260 | |
@@ -276,43 +276,43 @@ discard block |
||
| 276 | 276 | |
| 277 | 277 | public function setConfidence($confidence) |
| 278 | 278 | { |
| 279 | - $this->confidence = $confidence; |
|
| 279 | + $this->confidence = $confidence; |
|
| 280 | 280 | } |
| 281 | 281 | public function getConfidence() |
| 282 | 282 | { |
| 283 | - return $this->confidence; |
|
| 283 | + return $this->confidence; |
|
| 284 | 284 | } |
| 285 | 285 | public function setLang($lang) |
| 286 | 286 | { |
| 287 | - $this->lang = $lang; |
|
| 287 | + $this->lang = $lang; |
|
| 288 | 288 | } |
| 289 | 289 | public function getLang() |
| 290 | 290 | { |
| 291 | - return $this->lang; |
|
| 291 | + return $this->lang; |
|
| 292 | 292 | } |
| 293 | 293 | public function setMid($mid) |
| 294 | 294 | { |
| 295 | - $this->mid = $mid; |
|
| 295 | + $this->mid = $mid; |
|
| 296 | 296 | } |
| 297 | 297 | public function getMid() |
| 298 | 298 | { |
| 299 | - return $this->mid; |
|
| 299 | + return $this->mid; |
|
| 300 | 300 | } |
| 301 | 301 | public function setName($name) |
| 302 | 302 | { |
| 303 | - $this->name = $name; |
|
| 303 | + $this->name = $name; |
|
| 304 | 304 | } |
| 305 | 305 | public function getName() |
| 306 | 306 | { |
| 307 | - return $this->name; |
|
| 307 | + return $this->name; |
|
| 308 | 308 | } |
| 309 | 309 | public function setNotable(Google_Service_Freebase_ReconcileCandidateNotable $notable) |
| 310 | 310 | { |
| 311 | - $this->notable = $notable; |
|
| 311 | + $this->notable = $notable; |
|
| 312 | 312 | } |
| 313 | 313 | public function getNotable() |
| 314 | 314 | { |
| 315 | - return $this->notable; |
|
| 315 | + return $this->notable; |
|
| 316 | 316 | } |
| 317 | 317 | } |
| 318 | 318 | |
@@ -326,19 +326,19 @@ discard block |
||
| 326 | 326 | |
| 327 | 327 | public function setId($id) |
| 328 | 328 | { |
| 329 | - $this->id = $id; |
|
| 329 | + $this->id = $id; |
|
| 330 | 330 | } |
| 331 | 331 | public function getId() |
| 332 | 332 | { |
| 333 | - return $this->id; |
|
| 333 | + return $this->id; |
|
| 334 | 334 | } |
| 335 | 335 | public function setName($name) |
| 336 | 336 | { |
| 337 | - $this->name = $name; |
|
| 337 | + $this->name = $name; |
|
| 338 | 338 | } |
| 339 | 339 | public function getName() |
| 340 | 340 | { |
| 341 | - return $this->name; |
|
| 341 | + return $this->name; |
|
| 342 | 342 | } |
| 343 | 343 | } |
| 344 | 344 | |
@@ -359,35 +359,35 @@ discard block |
||
| 359 | 359 | |
| 360 | 360 | public function setCandidate($candidate) |
| 361 | 361 | { |
| 362 | - $this->candidate = $candidate; |
|
| 362 | + $this->candidate = $candidate; |
|
| 363 | 363 | } |
| 364 | 364 | public function getCandidate() |
| 365 | 365 | { |
| 366 | - return $this->candidate; |
|
| 366 | + return $this->candidate; |
|
| 367 | 367 | } |
| 368 | 368 | public function setCosts(Google_Service_Freebase_ReconcileGetCosts $costs) |
| 369 | 369 | { |
| 370 | - $this->costs = $costs; |
|
| 370 | + $this->costs = $costs; |
|
| 371 | 371 | } |
| 372 | 372 | public function getCosts() |
| 373 | 373 | { |
| 374 | - return $this->costs; |
|
| 374 | + return $this->costs; |
|
| 375 | 375 | } |
| 376 | 376 | public function setMatch(Google_Service_Freebase_ReconcileCandidate $match) |
| 377 | 377 | { |
| 378 | - $this->match = $match; |
|
| 378 | + $this->match = $match; |
|
| 379 | 379 | } |
| 380 | 380 | public function getMatch() |
| 381 | 381 | { |
| 382 | - return $this->match; |
|
| 382 | + return $this->match; |
|
| 383 | 383 | } |
| 384 | 384 | public function setWarning($warning) |
| 385 | 385 | { |
| 386 | - $this->warning = $warning; |
|
| 386 | + $this->warning = $warning; |
|
| 387 | 387 | } |
| 388 | 388 | public function getWarning() |
| 389 | 389 | { |
| 390 | - return $this->warning; |
|
| 390 | + return $this->warning; |
|
| 391 | 391 | } |
| 392 | 392 | } |
| 393 | 393 | |
@@ -401,19 +401,19 @@ discard block |
||
| 401 | 401 | |
| 402 | 402 | public function setHits($hits) |
| 403 | 403 | { |
| 404 | - $this->hits = $hits; |
|
| 404 | + $this->hits = $hits; |
|
| 405 | 405 | } |
| 406 | 406 | public function getHits() |
| 407 | 407 | { |
| 408 | - return $this->hits; |
|
| 408 | + return $this->hits; |
|
| 409 | 409 | } |
| 410 | 410 | public function setMs($ms) |
| 411 | 411 | { |
| 412 | - $this->ms = $ms; |
|
| 412 | + $this->ms = $ms; |
|
| 413 | 413 | } |
| 414 | 414 | public function getMs() |
| 415 | 415 | { |
| 416 | - return $this->ms; |
|
| 416 | + return $this->ms; |
|
| 417 | 417 | } |
| 418 | 418 | } |
| 419 | 419 | |
@@ -428,26 +428,26 @@ discard block |
||
| 428 | 428 | |
| 429 | 429 | public function setLocation($location) |
| 430 | 430 | { |
| 431 | - $this->location = $location; |
|
| 431 | + $this->location = $location; |
|
| 432 | 432 | } |
| 433 | 433 | public function getLocation() |
| 434 | 434 | { |
| 435 | - return $this->location; |
|
| 435 | + return $this->location; |
|
| 436 | 436 | } |
| 437 | 437 | public function setMessage($message) |
| 438 | 438 | { |
| 439 | - $this->message = $message; |
|
| 439 | + $this->message = $message; |
|
| 440 | 440 | } |
| 441 | 441 | public function getMessage() |
| 442 | 442 | { |
| 443 | - return $this->message; |
|
| 443 | + return $this->message; |
|
| 444 | 444 | } |
| 445 | 445 | public function setReason($reason) |
| 446 | 446 | { |
| 447 | - $this->reason = $reason; |
|
| 447 | + $this->reason = $reason; |
|
| 448 | 448 | } |
| 449 | 449 | public function getReason() |
| 450 | 450 | { |
| 451 | - return $this->reason; |
|
| 451 | + return $this->reason; |
|
| 452 | 452 | } |
| 453 | 453 | } |
@@ -86,7 +86,7 @@ |
||
| 86 | 86 | 'type' => 'integer', |
| 87 | 87 | ), |
| 88 | 88 | ), |
| 89 | - ),'search' => array( |
|
| 89 | + ), 'search' => array( |
|
| 90 | 90 | 'path' => 'search', |
| 91 | 91 | 'httpMethod' => 'GET', |
| 92 | 92 | 'parameters' => array( |
@@ -42,31 +42,31 @@ discard block |
||
| 42 | 42 | */ |
| 43 | 43 | public function __construct(Google_Client $client) |
| 44 | 44 | { |
| 45 | - parent::__construct($client); |
|
| 46 | - $this->rootUrl = 'https://www.googleapis.com/'; |
|
| 47 | - $this->servicePath = 'webfonts/v1/'; |
|
| 48 | - $this->version = 'v1'; |
|
| 49 | - $this->serviceName = 'webfonts'; |
|
| 50 | - |
|
| 51 | - $this->webfonts = new Google_Service_Webfonts_Webfonts_Resource( |
|
| 52 | - $this, |
|
| 53 | - $this->serviceName, |
|
| 54 | - 'webfonts', |
|
| 55 | - array( |
|
| 56 | - 'methods' => array( |
|
| 57 | - 'list' => array( |
|
| 58 | - 'path' => 'webfonts', |
|
| 59 | - 'httpMethod' => 'GET', |
|
| 60 | - 'parameters' => array( |
|
| 61 | - 'sort' => array( |
|
| 62 | - 'location' => 'query', |
|
| 63 | - 'type' => 'string', |
|
| 64 | - ), |
|
| 65 | - ), |
|
| 66 | - ), |
|
| 67 | - ) |
|
| 68 | - ) |
|
| 69 | - ); |
|
| 45 | + parent::__construct($client); |
|
| 46 | + $this->rootUrl = 'https://www.googleapis.com/'; |
|
| 47 | + $this->servicePath = 'webfonts/v1/'; |
|
| 48 | + $this->version = 'v1'; |
|
| 49 | + $this->serviceName = 'webfonts'; |
|
| 50 | + |
|
| 51 | + $this->webfonts = new Google_Service_Webfonts_Webfonts_Resource( |
|
| 52 | + $this, |
|
| 53 | + $this->serviceName, |
|
| 54 | + 'webfonts', |
|
| 55 | + array( |
|
| 56 | + 'methods' => array( |
|
| 57 | + 'list' => array( |
|
| 58 | + 'path' => 'webfonts', |
|
| 59 | + 'httpMethod' => 'GET', |
|
| 60 | + 'parameters' => array( |
|
| 61 | + 'sort' => array( |
|
| 62 | + 'location' => 'query', |
|
| 63 | + 'type' => 'string', |
|
| 64 | + ), |
|
| 65 | + ), |
|
| 66 | + ), |
|
| 67 | + ) |
|
| 68 | + ) |
|
| 69 | + ); |
|
| 70 | 70 | } |
| 71 | 71 | } |
| 72 | 72 | |
@@ -93,9 +93,9 @@ discard block |
||
| 93 | 93 | */ |
| 94 | 94 | public function listWebfonts($optParams = array()) |
| 95 | 95 | { |
| 96 | - $params = array(); |
|
| 97 | - $params = array_merge($params, $optParams); |
|
| 98 | - return $this->call('list', array($params), "Google_Service_Webfonts_WebfontList"); |
|
| 96 | + $params = array(); |
|
| 97 | + $params = array_merge($params, $optParams); |
|
| 98 | + return $this->call('list', array($params), "Google_Service_Webfonts_WebfontList"); |
|
| 99 | 99 | } |
| 100 | 100 | } |
| 101 | 101 | |
@@ -119,67 +119,67 @@ discard block |
||
| 119 | 119 | |
| 120 | 120 | public function setCategory($category) |
| 121 | 121 | { |
| 122 | - $this->category = $category; |
|
| 122 | + $this->category = $category; |
|
| 123 | 123 | } |
| 124 | 124 | public function getCategory() |
| 125 | 125 | { |
| 126 | - return $this->category; |
|
| 126 | + return $this->category; |
|
| 127 | 127 | } |
| 128 | 128 | public function setFamily($family) |
| 129 | 129 | { |
| 130 | - $this->family = $family; |
|
| 130 | + $this->family = $family; |
|
| 131 | 131 | } |
| 132 | 132 | public function getFamily() |
| 133 | 133 | { |
| 134 | - return $this->family; |
|
| 134 | + return $this->family; |
|
| 135 | 135 | } |
| 136 | 136 | public function setFiles($files) |
| 137 | 137 | { |
| 138 | - $this->files = $files; |
|
| 138 | + $this->files = $files; |
|
| 139 | 139 | } |
| 140 | 140 | public function getFiles() |
| 141 | 141 | { |
| 142 | - return $this->files; |
|
| 142 | + return $this->files; |
|
| 143 | 143 | } |
| 144 | 144 | public function setKind($kind) |
| 145 | 145 | { |
| 146 | - $this->kind = $kind; |
|
| 146 | + $this->kind = $kind; |
|
| 147 | 147 | } |
| 148 | 148 | public function getKind() |
| 149 | 149 | { |
| 150 | - return $this->kind; |
|
| 150 | + return $this->kind; |
|
| 151 | 151 | } |
| 152 | 152 | public function setLastModified($lastModified) |
| 153 | 153 | { |
| 154 | - $this->lastModified = $lastModified; |
|
| 154 | + $this->lastModified = $lastModified; |
|
| 155 | 155 | } |
| 156 | 156 | public function getLastModified() |
| 157 | 157 | { |
| 158 | - return $this->lastModified; |
|
| 158 | + return $this->lastModified; |
|
| 159 | 159 | } |
| 160 | 160 | public function setSubsets($subsets) |
| 161 | 161 | { |
| 162 | - $this->subsets = $subsets; |
|
| 162 | + $this->subsets = $subsets; |
|
| 163 | 163 | } |
| 164 | 164 | public function getSubsets() |
| 165 | 165 | { |
| 166 | - return $this->subsets; |
|
| 166 | + return $this->subsets; |
|
| 167 | 167 | } |
| 168 | 168 | public function setVariants($variants) |
| 169 | 169 | { |
| 170 | - $this->variants = $variants; |
|
| 170 | + $this->variants = $variants; |
|
| 171 | 171 | } |
| 172 | 172 | public function getVariants() |
| 173 | 173 | { |
| 174 | - return $this->variants; |
|
| 174 | + return $this->variants; |
|
| 175 | 175 | } |
| 176 | 176 | public function setVersion($version) |
| 177 | 177 | { |
| 178 | - $this->version = $version; |
|
| 178 | + $this->version = $version; |
|
| 179 | 179 | } |
| 180 | 180 | public function getVersion() |
| 181 | 181 | { |
| 182 | - return $this->version; |
|
| 182 | + return $this->version; |
|
| 183 | 183 | } |
| 184 | 184 | } |
| 185 | 185 | |
@@ -199,18 +199,18 @@ discard block |
||
| 199 | 199 | |
| 200 | 200 | public function setItems($items) |
| 201 | 201 | { |
| 202 | - $this->items = $items; |
|
| 202 | + $this->items = $items; |
|
| 203 | 203 | } |
| 204 | 204 | public function getItems() |
| 205 | 205 | { |
| 206 | - return $this->items; |
|
| 206 | + return $this->items; |
|
| 207 | 207 | } |
| 208 | 208 | public function setKind($kind) |
| 209 | 209 | { |
| 210 | - $this->kind = $kind; |
|
| 210 | + $this->kind = $kind; |
|
| 211 | 211 | } |
| 212 | 212 | public function getKind() |
| 213 | 213 | { |
| 214 | - return $this->kind; |
|
| 214 | + return $this->kind; |
|
| 215 | 215 | } |
| 216 | 216 | } |
@@ -43,72 +43,72 @@ discard block |
||
| 43 | 43 | */ |
| 44 | 44 | public function __construct(Google_Client $client) |
| 45 | 45 | { |
| 46 | - parent::__construct($client); |
|
| 47 | - $this->servicePath = 'apps/reporting/audit/v1/'; |
|
| 48 | - $this->version = 'v1'; |
|
| 49 | - $this->serviceName = 'audit'; |
|
| 46 | + parent::__construct($client); |
|
| 47 | + $this->servicePath = 'apps/reporting/audit/v1/'; |
|
| 48 | + $this->version = 'v1'; |
|
| 49 | + $this->serviceName = 'audit'; |
|
| 50 | 50 | |
| 51 | - $this->activities = new Google_Service_Audit_Activities_Resource( |
|
| 52 | - $this, |
|
| 53 | - $this->serviceName, |
|
| 54 | - 'activities', |
|
| 55 | - array( |
|
| 56 | - 'methods' => array( |
|
| 57 | - 'list' => array( |
|
| 58 | - 'path' => '{customerId}/{applicationId}', |
|
| 59 | - 'httpMethod' => 'GET', |
|
| 60 | - 'parameters' => array( |
|
| 61 | - 'customerId' => array( |
|
| 62 | - 'location' => 'path', |
|
| 63 | - 'type' => 'string', |
|
| 64 | - 'required' => true, |
|
| 65 | - ), |
|
| 66 | - 'applicationId' => array( |
|
| 67 | - 'location' => 'path', |
|
| 68 | - 'type' => 'string', |
|
| 69 | - 'required' => true, |
|
| 70 | - ), |
|
| 71 | - 'actorEmail' => array( |
|
| 72 | - 'location' => 'query', |
|
| 73 | - 'type' => 'string', |
|
| 74 | - ), |
|
| 75 | - 'actorApplicationId' => array( |
|
| 76 | - 'location' => 'query', |
|
| 77 | - 'type' => 'string', |
|
| 78 | - ), |
|
| 79 | - 'actorIpAddress' => array( |
|
| 80 | - 'location' => 'query', |
|
| 81 | - 'type' => 'string', |
|
| 82 | - ), |
|
| 83 | - 'caller' => array( |
|
| 84 | - 'location' => 'query', |
|
| 85 | - 'type' => 'string', |
|
| 86 | - ), |
|
| 87 | - 'maxResults' => array( |
|
| 88 | - 'location' => 'query', |
|
| 89 | - 'type' => 'integer', |
|
| 90 | - ), |
|
| 91 | - 'eventName' => array( |
|
| 92 | - 'location' => 'query', |
|
| 93 | - 'type' => 'string', |
|
| 94 | - ), |
|
| 95 | - 'startTime' => array( |
|
| 96 | - 'location' => 'query', |
|
| 97 | - 'type' => 'string', |
|
| 98 | - ), |
|
| 99 | - 'endTime' => array( |
|
| 100 | - 'location' => 'query', |
|
| 101 | - 'type' => 'string', |
|
| 102 | - ), |
|
| 103 | - 'continuationToken' => array( |
|
| 104 | - 'location' => 'query', |
|
| 105 | - 'type' => 'string', |
|
| 106 | - ), |
|
| 107 | - ), |
|
| 108 | - ), |
|
| 109 | - ) |
|
| 110 | - ) |
|
| 111 | - ); |
|
| 51 | + $this->activities = new Google_Service_Audit_Activities_Resource( |
|
| 52 | + $this, |
|
| 53 | + $this->serviceName, |
|
| 54 | + 'activities', |
|
| 55 | + array( |
|
| 56 | + 'methods' => array( |
|
| 57 | + 'list' => array( |
|
| 58 | + 'path' => '{customerId}/{applicationId}', |
|
| 59 | + 'httpMethod' => 'GET', |
|
| 60 | + 'parameters' => array( |
|
| 61 | + 'customerId' => array( |
|
| 62 | + 'location' => 'path', |
|
| 63 | + 'type' => 'string', |
|
| 64 | + 'required' => true, |
|
| 65 | + ), |
|
| 66 | + 'applicationId' => array( |
|
| 67 | + 'location' => 'path', |
|
| 68 | + 'type' => 'string', |
|
| 69 | + 'required' => true, |
|
| 70 | + ), |
|
| 71 | + 'actorEmail' => array( |
|
| 72 | + 'location' => 'query', |
|
| 73 | + 'type' => 'string', |
|
| 74 | + ), |
|
| 75 | + 'actorApplicationId' => array( |
|
| 76 | + 'location' => 'query', |
|
| 77 | + 'type' => 'string', |
|
| 78 | + ), |
|
| 79 | + 'actorIpAddress' => array( |
|
| 80 | + 'location' => 'query', |
|
| 81 | + 'type' => 'string', |
|
| 82 | + ), |
|
| 83 | + 'caller' => array( |
|
| 84 | + 'location' => 'query', |
|
| 85 | + 'type' => 'string', |
|
| 86 | + ), |
|
| 87 | + 'maxResults' => array( |
|
| 88 | + 'location' => 'query', |
|
| 89 | + 'type' => 'integer', |
|
| 90 | + ), |
|
| 91 | + 'eventName' => array( |
|
| 92 | + 'location' => 'query', |
|
| 93 | + 'type' => 'string', |
|
| 94 | + ), |
|
| 95 | + 'startTime' => array( |
|
| 96 | + 'location' => 'query', |
|
| 97 | + 'type' => 'string', |
|
| 98 | + ), |
|
| 99 | + 'endTime' => array( |
|
| 100 | + 'location' => 'query', |
|
| 101 | + 'type' => 'string', |
|
| 102 | + ), |
|
| 103 | + 'continuationToken' => array( |
|
| 104 | + 'location' => 'query', |
|
| 105 | + 'type' => 'string', |
|
| 106 | + ), |
|
| 107 | + ), |
|
| 108 | + ), |
|
| 109 | + ) |
|
| 110 | + ) |
|
| 111 | + ); |
|
| 112 | 112 | } |
| 113 | 113 | } |
| 114 | 114 | |
@@ -152,9 +152,9 @@ discard block |
||
| 152 | 152 | */ |
| 153 | 153 | public function listActivities($customerId, $applicationId, $optParams = array()) |
| 154 | 154 | { |
| 155 | - $params = array('customerId' => $customerId, 'applicationId' => $applicationId); |
|
| 156 | - $params = array_merge($params, $optParams); |
|
| 157 | - return $this->call('list', array($params), "Google_Service_Audit_Activities"); |
|
| 155 | + $params = array('customerId' => $customerId, 'applicationId' => $applicationId); |
|
| 156 | + $params = array_merge($params, $optParams); |
|
| 157 | + return $this->call('list', array($params), "Google_Service_Audit_Activities"); |
|
| 158 | 158 | } |
| 159 | 159 | } |
| 160 | 160 | |
@@ -174,27 +174,27 @@ discard block |
||
| 174 | 174 | |
| 175 | 175 | public function setItems($items) |
| 176 | 176 | { |
| 177 | - $this->items = $items; |
|
| 177 | + $this->items = $items; |
|
| 178 | 178 | } |
| 179 | 179 | public function getItems() |
| 180 | 180 | { |
| 181 | - return $this->items; |
|
| 181 | + return $this->items; |
|
| 182 | 182 | } |
| 183 | 183 | public function setKind($kind) |
| 184 | 184 | { |
| 185 | - $this->kind = $kind; |
|
| 185 | + $this->kind = $kind; |
|
| 186 | 186 | } |
| 187 | 187 | public function getKind() |
| 188 | 188 | { |
| 189 | - return $this->kind; |
|
| 189 | + return $this->kind; |
|
| 190 | 190 | } |
| 191 | 191 | public function setNext($next) |
| 192 | 192 | { |
| 193 | - $this->next = $next; |
|
| 193 | + $this->next = $next; |
|
| 194 | 194 | } |
| 195 | 195 | public function getNext() |
| 196 | 196 | { |
| 197 | - return $this->next; |
|
| 197 | + return $this->next; |
|
| 198 | 198 | } |
| 199 | 199 | } |
| 200 | 200 | |
@@ -216,51 +216,51 @@ discard block |
||
| 216 | 216 | |
| 217 | 217 | public function setActor(Google_Service_Audit_ActivityActor $actor) |
| 218 | 218 | { |
| 219 | - $this->actor = $actor; |
|
| 219 | + $this->actor = $actor; |
|
| 220 | 220 | } |
| 221 | 221 | public function getActor() |
| 222 | 222 | { |
| 223 | - return $this->actor; |
|
| 223 | + return $this->actor; |
|
| 224 | 224 | } |
| 225 | 225 | public function setEvents($events) |
| 226 | 226 | { |
| 227 | - $this->events = $events; |
|
| 227 | + $this->events = $events; |
|
| 228 | 228 | } |
| 229 | 229 | public function getEvents() |
| 230 | 230 | { |
| 231 | - return $this->events; |
|
| 231 | + return $this->events; |
|
| 232 | 232 | } |
| 233 | 233 | public function setId(Google_Service_Audit_ActivityId $id) |
| 234 | 234 | { |
| 235 | - $this->id = $id; |
|
| 235 | + $this->id = $id; |
|
| 236 | 236 | } |
| 237 | 237 | public function getId() |
| 238 | 238 | { |
| 239 | - return $this->id; |
|
| 239 | + return $this->id; |
|
| 240 | 240 | } |
| 241 | 241 | public function setIpAddress($ipAddress) |
| 242 | 242 | { |
| 243 | - $this->ipAddress = $ipAddress; |
|
| 243 | + $this->ipAddress = $ipAddress; |
|
| 244 | 244 | } |
| 245 | 245 | public function getIpAddress() |
| 246 | 246 | { |
| 247 | - return $this->ipAddress; |
|
| 247 | + return $this->ipAddress; |
|
| 248 | 248 | } |
| 249 | 249 | public function setKind($kind) |
| 250 | 250 | { |
| 251 | - $this->kind = $kind; |
|
| 251 | + $this->kind = $kind; |
|
| 252 | 252 | } |
| 253 | 253 | public function getKind() |
| 254 | 254 | { |
| 255 | - return $this->kind; |
|
| 255 | + return $this->kind; |
|
| 256 | 256 | } |
| 257 | 257 | public function setOwnerDomain($ownerDomain) |
| 258 | 258 | { |
| 259 | - $this->ownerDomain = $ownerDomain; |
|
| 259 | + $this->ownerDomain = $ownerDomain; |
|
| 260 | 260 | } |
| 261 | 261 | public function getOwnerDomain() |
| 262 | 262 | { |
| 263 | - return $this->ownerDomain; |
|
| 263 | + return $this->ownerDomain; |
|
| 264 | 264 | } |
| 265 | 265 | } |
| 266 | 266 | |
@@ -276,35 +276,35 @@ discard block |
||
| 276 | 276 | |
| 277 | 277 | public function setApplicationId($applicationId) |
| 278 | 278 | { |
| 279 | - $this->applicationId = $applicationId; |
|
| 279 | + $this->applicationId = $applicationId; |
|
| 280 | 280 | } |
| 281 | 281 | public function getApplicationId() |
| 282 | 282 | { |
| 283 | - return $this->applicationId; |
|
| 283 | + return $this->applicationId; |
|
| 284 | 284 | } |
| 285 | 285 | public function setCallerType($callerType) |
| 286 | 286 | { |
| 287 | - $this->callerType = $callerType; |
|
| 287 | + $this->callerType = $callerType; |
|
| 288 | 288 | } |
| 289 | 289 | public function getCallerType() |
| 290 | 290 | { |
| 291 | - return $this->callerType; |
|
| 291 | + return $this->callerType; |
|
| 292 | 292 | } |
| 293 | 293 | public function setEmail($email) |
| 294 | 294 | { |
| 295 | - $this->email = $email; |
|
| 295 | + $this->email = $email; |
|
| 296 | 296 | } |
| 297 | 297 | public function getEmail() |
| 298 | 298 | { |
| 299 | - return $this->email; |
|
| 299 | + return $this->email; |
|
| 300 | 300 | } |
| 301 | 301 | public function setKey($key) |
| 302 | 302 | { |
| 303 | - $this->key = $key; |
|
| 303 | + $this->key = $key; |
|
| 304 | 304 | } |
| 305 | 305 | public function getKey() |
| 306 | 306 | { |
| 307 | - return $this->key; |
|
| 307 | + return $this->key; |
|
| 308 | 308 | } |
| 309 | 309 | } |
| 310 | 310 | |
@@ -321,27 +321,27 @@ discard block |
||
| 321 | 321 | |
| 322 | 322 | public function setEventType($eventType) |
| 323 | 323 | { |
| 324 | - $this->eventType = $eventType; |
|
| 324 | + $this->eventType = $eventType; |
|
| 325 | 325 | } |
| 326 | 326 | public function getEventType() |
| 327 | 327 | { |
| 328 | - return $this->eventType; |
|
| 328 | + return $this->eventType; |
|
| 329 | 329 | } |
| 330 | 330 | public function setName($name) |
| 331 | 331 | { |
| 332 | - $this->name = $name; |
|
| 332 | + $this->name = $name; |
|
| 333 | 333 | } |
| 334 | 334 | public function getName() |
| 335 | 335 | { |
| 336 | - return $this->name; |
|
| 336 | + return $this->name; |
|
| 337 | 337 | } |
| 338 | 338 | public function setParameters($parameters) |
| 339 | 339 | { |
| 340 | - $this->parameters = $parameters; |
|
| 340 | + $this->parameters = $parameters; |
|
| 341 | 341 | } |
| 342 | 342 | public function getParameters() |
| 343 | 343 | { |
| 344 | - return $this->parameters; |
|
| 344 | + return $this->parameters; |
|
| 345 | 345 | } |
| 346 | 346 | } |
| 347 | 347 | |
@@ -355,19 +355,19 @@ discard block |
||
| 355 | 355 | |
| 356 | 356 | public function setName($name) |
| 357 | 357 | { |
| 358 | - $this->name = $name; |
|
| 358 | + $this->name = $name; |
|
| 359 | 359 | } |
| 360 | 360 | public function getName() |
| 361 | 361 | { |
| 362 | - return $this->name; |
|
| 362 | + return $this->name; |
|
| 363 | 363 | } |
| 364 | 364 | public function setValue($value) |
| 365 | 365 | { |
| 366 | - $this->value = $value; |
|
| 366 | + $this->value = $value; |
|
| 367 | 367 | } |
| 368 | 368 | public function getValue() |
| 369 | 369 | { |
| 370 | - return $this->value; |
|
| 370 | + return $this->value; |
|
| 371 | 371 | } |
| 372 | 372 | } |
| 373 | 373 | |
@@ -383,34 +383,34 @@ discard block |
||
| 383 | 383 | |
| 384 | 384 | public function setApplicationId($applicationId) |
| 385 | 385 | { |
| 386 | - $this->applicationId = $applicationId; |
|
| 386 | + $this->applicationId = $applicationId; |
|
| 387 | 387 | } |
| 388 | 388 | public function getApplicationId() |
| 389 | 389 | { |
| 390 | - return $this->applicationId; |
|
| 390 | + return $this->applicationId; |
|
| 391 | 391 | } |
| 392 | 392 | public function setCustomerId($customerId) |
| 393 | 393 | { |
| 394 | - $this->customerId = $customerId; |
|
| 394 | + $this->customerId = $customerId; |
|
| 395 | 395 | } |
| 396 | 396 | public function getCustomerId() |
| 397 | 397 | { |
| 398 | - return $this->customerId; |
|
| 398 | + return $this->customerId; |
|
| 399 | 399 | } |
| 400 | 400 | public function setTime($time) |
| 401 | 401 | { |
| 402 | - $this->time = $time; |
|
| 402 | + $this->time = $time; |
|
| 403 | 403 | } |
| 404 | 404 | public function getTime() |
| 405 | 405 | { |
| 406 | - return $this->time; |
|
| 406 | + return $this->time; |
|
| 407 | 407 | } |
| 408 | 408 | public function setUniqQualifier($uniqQualifier) |
| 409 | 409 | { |
| 410 | - $this->uniqQualifier = $uniqQualifier; |
|
| 410 | + $this->uniqQualifier = $uniqQualifier; |
|
| 411 | 411 | } |
| 412 | 412 | public function getUniqQualifier() |
| 413 | 413 | { |
| 414 | - return $this->uniqQualifier; |
|
| 414 | + return $this->uniqQualifier; |
|
| 415 | 415 | } |
| 416 | 416 | } |
@@ -33,10 +33,10 @@ discard block |
||
| 33 | 33 | { |
| 34 | 34 | /** View and manage your Ad Exchange data. */ |
| 35 | 35 | const ADEXCHANGE_SELLER = |
| 36 | - "https://www.googleapis.com/auth/adexchange.seller"; |
|
| 36 | + "https://www.googleapis.com/auth/adexchange.seller"; |
|
| 37 | 37 | /** View your Ad Exchange data. */ |
| 38 | 38 | const ADEXCHANGE_SELLER_READONLY = |
| 39 | - "https://www.googleapis.com/auth/adexchange.seller.readonly"; |
|
| 39 | + "https://www.googleapis.com/auth/adexchange.seller.readonly"; |
|
| 40 | 40 | |
| 41 | 41 | public $accounts; |
| 42 | 42 | public $accounts_adclients; |
@@ -57,375 +57,375 @@ discard block |
||
| 57 | 57 | */ |
| 58 | 58 | public function __construct(Google_Client $client) |
| 59 | 59 | { |
| 60 | - parent::__construct($client); |
|
| 61 | - $this->rootUrl = 'https://www.googleapis.com/'; |
|
| 62 | - $this->servicePath = 'adexchangeseller/v2.0/'; |
|
| 63 | - $this->version = 'v2.0'; |
|
| 64 | - $this->serviceName = 'adexchangeseller'; |
|
| 65 | - |
|
| 66 | - $this->accounts = new Google_Service_AdExchangeSeller_Accounts_Resource( |
|
| 67 | - $this, |
|
| 68 | - $this->serviceName, |
|
| 69 | - 'accounts', |
|
| 70 | - array( |
|
| 71 | - 'methods' => array( |
|
| 72 | - 'get' => array( |
|
| 73 | - 'path' => 'accounts/{accountId}', |
|
| 74 | - 'httpMethod' => 'GET', |
|
| 75 | - 'parameters' => array( |
|
| 76 | - 'accountId' => array( |
|
| 77 | - 'location' => 'path', |
|
| 78 | - 'type' => 'string', |
|
| 79 | - 'required' => true, |
|
| 80 | - ), |
|
| 81 | - ), |
|
| 82 | - ),'list' => array( |
|
| 83 | - 'path' => 'accounts', |
|
| 84 | - 'httpMethod' => 'GET', |
|
| 85 | - 'parameters' => array( |
|
| 86 | - 'pageToken' => array( |
|
| 87 | - 'location' => 'query', |
|
| 88 | - 'type' => 'string', |
|
| 89 | - ), |
|
| 90 | - 'maxResults' => array( |
|
| 91 | - 'location' => 'query', |
|
| 92 | - 'type' => 'integer', |
|
| 93 | - ), |
|
| 94 | - ), |
|
| 95 | - ), |
|
| 96 | - ) |
|
| 97 | - ) |
|
| 98 | - ); |
|
| 99 | - $this->accounts_adclients = new Google_Service_AdExchangeSeller_AccountsAdclients_Resource( |
|
| 100 | - $this, |
|
| 101 | - $this->serviceName, |
|
| 102 | - 'adclients', |
|
| 103 | - array( |
|
| 104 | - 'methods' => array( |
|
| 105 | - 'list' => array( |
|
| 106 | - 'path' => 'accounts/{accountId}/adclients', |
|
| 107 | - 'httpMethod' => 'GET', |
|
| 108 | - 'parameters' => array( |
|
| 109 | - 'accountId' => array( |
|
| 110 | - 'location' => 'path', |
|
| 111 | - 'type' => 'string', |
|
| 112 | - 'required' => true, |
|
| 113 | - ), |
|
| 114 | - 'pageToken' => array( |
|
| 115 | - 'location' => 'query', |
|
| 116 | - 'type' => 'string', |
|
| 117 | - ), |
|
| 118 | - 'maxResults' => array( |
|
| 119 | - 'location' => 'query', |
|
| 120 | - 'type' => 'integer', |
|
| 121 | - ), |
|
| 122 | - ), |
|
| 123 | - ), |
|
| 124 | - ) |
|
| 125 | - ) |
|
| 126 | - ); |
|
| 127 | - $this->accounts_alerts = new Google_Service_AdExchangeSeller_AccountsAlerts_Resource( |
|
| 128 | - $this, |
|
| 129 | - $this->serviceName, |
|
| 130 | - 'alerts', |
|
| 131 | - array( |
|
| 132 | - 'methods' => array( |
|
| 133 | - 'list' => array( |
|
| 134 | - 'path' => 'accounts/{accountId}/alerts', |
|
| 135 | - 'httpMethod' => 'GET', |
|
| 136 | - 'parameters' => array( |
|
| 137 | - 'accountId' => array( |
|
| 138 | - 'location' => 'path', |
|
| 139 | - 'type' => 'string', |
|
| 140 | - 'required' => true, |
|
| 141 | - ), |
|
| 142 | - 'locale' => array( |
|
| 143 | - 'location' => 'query', |
|
| 144 | - 'type' => 'string', |
|
| 145 | - ), |
|
| 146 | - ), |
|
| 147 | - ), |
|
| 148 | - ) |
|
| 149 | - ) |
|
| 150 | - ); |
|
| 151 | - $this->accounts_customchannels = new Google_Service_AdExchangeSeller_AccountsCustomchannels_Resource( |
|
| 152 | - $this, |
|
| 153 | - $this->serviceName, |
|
| 154 | - 'customchannels', |
|
| 155 | - array( |
|
| 156 | - 'methods' => array( |
|
| 157 | - 'get' => array( |
|
| 158 | - 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}', |
|
| 159 | - 'httpMethod' => 'GET', |
|
| 160 | - 'parameters' => array( |
|
| 161 | - 'accountId' => array( |
|
| 162 | - 'location' => 'path', |
|
| 163 | - 'type' => 'string', |
|
| 164 | - 'required' => true, |
|
| 165 | - ), |
|
| 166 | - 'adClientId' => array( |
|
| 167 | - 'location' => 'path', |
|
| 168 | - 'type' => 'string', |
|
| 169 | - 'required' => true, |
|
| 170 | - ), |
|
| 171 | - 'customChannelId' => array( |
|
| 172 | - 'location' => 'path', |
|
| 173 | - 'type' => 'string', |
|
| 174 | - 'required' => true, |
|
| 175 | - ), |
|
| 176 | - ), |
|
| 177 | - ),'list' => array( |
|
| 178 | - 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels', |
|
| 179 | - 'httpMethod' => 'GET', |
|
| 180 | - 'parameters' => array( |
|
| 181 | - 'accountId' => array( |
|
| 182 | - 'location' => 'path', |
|
| 183 | - 'type' => 'string', |
|
| 184 | - 'required' => true, |
|
| 185 | - ), |
|
| 186 | - 'adClientId' => array( |
|
| 187 | - 'location' => 'path', |
|
| 188 | - 'type' => 'string', |
|
| 189 | - 'required' => true, |
|
| 190 | - ), |
|
| 191 | - 'pageToken' => array( |
|
| 192 | - 'location' => 'query', |
|
| 193 | - 'type' => 'string', |
|
| 194 | - ), |
|
| 195 | - 'maxResults' => array( |
|
| 196 | - 'location' => 'query', |
|
| 197 | - 'type' => 'integer', |
|
| 198 | - ), |
|
| 199 | - ), |
|
| 200 | - ), |
|
| 201 | - ) |
|
| 202 | - ) |
|
| 203 | - ); |
|
| 204 | - $this->accounts_metadata_dimensions = new Google_Service_AdExchangeSeller_AccountsMetadataDimensions_Resource( |
|
| 205 | - $this, |
|
| 206 | - $this->serviceName, |
|
| 207 | - 'dimensions', |
|
| 208 | - array( |
|
| 209 | - 'methods' => array( |
|
| 210 | - 'list' => array( |
|
| 211 | - 'path' => 'accounts/{accountId}/metadata/dimensions', |
|
| 212 | - 'httpMethod' => 'GET', |
|
| 213 | - 'parameters' => array( |
|
| 214 | - 'accountId' => array( |
|
| 215 | - 'location' => 'path', |
|
| 216 | - 'type' => 'string', |
|
| 217 | - 'required' => true, |
|
| 218 | - ), |
|
| 219 | - ), |
|
| 220 | - ), |
|
| 221 | - ) |
|
| 222 | - ) |
|
| 223 | - ); |
|
| 224 | - $this->accounts_metadata_metrics = new Google_Service_AdExchangeSeller_AccountsMetadataMetrics_Resource( |
|
| 225 | - $this, |
|
| 226 | - $this->serviceName, |
|
| 227 | - 'metrics', |
|
| 228 | - array( |
|
| 229 | - 'methods' => array( |
|
| 230 | - 'list' => array( |
|
| 231 | - 'path' => 'accounts/{accountId}/metadata/metrics', |
|
| 232 | - 'httpMethod' => 'GET', |
|
| 233 | - 'parameters' => array( |
|
| 234 | - 'accountId' => array( |
|
| 235 | - 'location' => 'path', |
|
| 236 | - 'type' => 'string', |
|
| 237 | - 'required' => true, |
|
| 238 | - ), |
|
| 239 | - ), |
|
| 240 | - ), |
|
| 241 | - ) |
|
| 242 | - ) |
|
| 243 | - ); |
|
| 244 | - $this->accounts_preferreddeals = new Google_Service_AdExchangeSeller_AccountsPreferreddeals_Resource( |
|
| 245 | - $this, |
|
| 246 | - $this->serviceName, |
|
| 247 | - 'preferreddeals', |
|
| 248 | - array( |
|
| 249 | - 'methods' => array( |
|
| 250 | - 'get' => array( |
|
| 251 | - 'path' => 'accounts/{accountId}/preferreddeals/{dealId}', |
|
| 252 | - 'httpMethod' => 'GET', |
|
| 253 | - 'parameters' => array( |
|
| 254 | - 'accountId' => array( |
|
| 255 | - 'location' => 'path', |
|
| 256 | - 'type' => 'string', |
|
| 257 | - 'required' => true, |
|
| 258 | - ), |
|
| 259 | - 'dealId' => array( |
|
| 260 | - 'location' => 'path', |
|
| 261 | - 'type' => 'string', |
|
| 262 | - 'required' => true, |
|
| 263 | - ), |
|
| 264 | - ), |
|
| 265 | - ),'list' => array( |
|
| 266 | - 'path' => 'accounts/{accountId}/preferreddeals', |
|
| 267 | - 'httpMethod' => 'GET', |
|
| 268 | - 'parameters' => array( |
|
| 269 | - 'accountId' => array( |
|
| 270 | - 'location' => 'path', |
|
| 271 | - 'type' => 'string', |
|
| 272 | - 'required' => true, |
|
| 273 | - ), |
|
| 274 | - ), |
|
| 275 | - ), |
|
| 276 | - ) |
|
| 277 | - ) |
|
| 278 | - ); |
|
| 279 | - $this->accounts_reports = new Google_Service_AdExchangeSeller_AccountsReports_Resource( |
|
| 280 | - $this, |
|
| 281 | - $this->serviceName, |
|
| 282 | - 'reports', |
|
| 283 | - array( |
|
| 284 | - 'methods' => array( |
|
| 285 | - 'generate' => array( |
|
| 286 | - 'path' => 'accounts/{accountId}/reports', |
|
| 287 | - 'httpMethod' => 'GET', |
|
| 288 | - 'parameters' => array( |
|
| 289 | - 'accountId' => array( |
|
| 290 | - 'location' => 'path', |
|
| 291 | - 'type' => 'string', |
|
| 292 | - 'required' => true, |
|
| 293 | - ), |
|
| 294 | - 'startDate' => array( |
|
| 295 | - 'location' => 'query', |
|
| 296 | - 'type' => 'string', |
|
| 297 | - 'required' => true, |
|
| 298 | - ), |
|
| 299 | - 'endDate' => array( |
|
| 300 | - 'location' => 'query', |
|
| 301 | - 'type' => 'string', |
|
| 302 | - 'required' => true, |
|
| 303 | - ), |
|
| 304 | - 'sort' => array( |
|
| 305 | - 'location' => 'query', |
|
| 306 | - 'type' => 'string', |
|
| 307 | - 'repeated' => true, |
|
| 308 | - ), |
|
| 309 | - 'locale' => array( |
|
| 310 | - 'location' => 'query', |
|
| 311 | - 'type' => 'string', |
|
| 312 | - ), |
|
| 313 | - 'metric' => array( |
|
| 314 | - 'location' => 'query', |
|
| 315 | - 'type' => 'string', |
|
| 316 | - 'repeated' => true, |
|
| 317 | - ), |
|
| 318 | - 'maxResults' => array( |
|
| 319 | - 'location' => 'query', |
|
| 320 | - 'type' => 'integer', |
|
| 321 | - ), |
|
| 322 | - 'filter' => array( |
|
| 323 | - 'location' => 'query', |
|
| 324 | - 'type' => 'string', |
|
| 325 | - 'repeated' => true, |
|
| 326 | - ), |
|
| 327 | - 'startIndex' => array( |
|
| 328 | - 'location' => 'query', |
|
| 329 | - 'type' => 'integer', |
|
| 330 | - ), |
|
| 331 | - 'dimension' => array( |
|
| 332 | - 'location' => 'query', |
|
| 333 | - 'type' => 'string', |
|
| 334 | - 'repeated' => true, |
|
| 335 | - ), |
|
| 336 | - ), |
|
| 337 | - ), |
|
| 338 | - ) |
|
| 339 | - ) |
|
| 340 | - ); |
|
| 341 | - $this->accounts_reports_saved = new Google_Service_AdExchangeSeller_AccountsReportsSaved_Resource( |
|
| 342 | - $this, |
|
| 343 | - $this->serviceName, |
|
| 344 | - 'saved', |
|
| 345 | - array( |
|
| 346 | - 'methods' => array( |
|
| 347 | - 'generate' => array( |
|
| 348 | - 'path' => 'accounts/{accountId}/reports/{savedReportId}', |
|
| 349 | - 'httpMethod' => 'GET', |
|
| 350 | - 'parameters' => array( |
|
| 351 | - 'accountId' => array( |
|
| 352 | - 'location' => 'path', |
|
| 353 | - 'type' => 'string', |
|
| 354 | - 'required' => true, |
|
| 355 | - ), |
|
| 356 | - 'savedReportId' => array( |
|
| 357 | - 'location' => 'path', |
|
| 358 | - 'type' => 'string', |
|
| 359 | - 'required' => true, |
|
| 360 | - ), |
|
| 361 | - 'locale' => array( |
|
| 362 | - 'location' => 'query', |
|
| 363 | - 'type' => 'string', |
|
| 364 | - ), |
|
| 365 | - 'startIndex' => array( |
|
| 366 | - 'location' => 'query', |
|
| 367 | - 'type' => 'integer', |
|
| 368 | - ), |
|
| 369 | - 'maxResults' => array( |
|
| 370 | - 'location' => 'query', |
|
| 371 | - 'type' => 'integer', |
|
| 372 | - ), |
|
| 373 | - ), |
|
| 374 | - ),'list' => array( |
|
| 375 | - 'path' => 'accounts/{accountId}/reports/saved', |
|
| 376 | - 'httpMethod' => 'GET', |
|
| 377 | - 'parameters' => array( |
|
| 378 | - 'accountId' => array( |
|
| 379 | - 'location' => 'path', |
|
| 380 | - 'type' => 'string', |
|
| 381 | - 'required' => true, |
|
| 382 | - ), |
|
| 383 | - 'pageToken' => array( |
|
| 384 | - 'location' => 'query', |
|
| 385 | - 'type' => 'string', |
|
| 386 | - ), |
|
| 387 | - 'maxResults' => array( |
|
| 388 | - 'location' => 'query', |
|
| 389 | - 'type' => 'integer', |
|
| 390 | - ), |
|
| 391 | - ), |
|
| 392 | - ), |
|
| 393 | - ) |
|
| 394 | - ) |
|
| 395 | - ); |
|
| 396 | - $this->accounts_urlchannels = new Google_Service_AdExchangeSeller_AccountsUrlchannels_Resource( |
|
| 397 | - $this, |
|
| 398 | - $this->serviceName, |
|
| 399 | - 'urlchannels', |
|
| 400 | - array( |
|
| 401 | - 'methods' => array( |
|
| 402 | - 'list' => array( |
|
| 403 | - 'path' => 'accounts/{accountId}/adclients/{adClientId}/urlchannels', |
|
| 404 | - 'httpMethod' => 'GET', |
|
| 405 | - 'parameters' => array( |
|
| 406 | - 'accountId' => array( |
|
| 407 | - 'location' => 'path', |
|
| 408 | - 'type' => 'string', |
|
| 409 | - 'required' => true, |
|
| 410 | - ), |
|
| 411 | - 'adClientId' => array( |
|
| 412 | - 'location' => 'path', |
|
| 413 | - 'type' => 'string', |
|
| 414 | - 'required' => true, |
|
| 415 | - ), |
|
| 416 | - 'pageToken' => array( |
|
| 417 | - 'location' => 'query', |
|
| 418 | - 'type' => 'string', |
|
| 419 | - ), |
|
| 420 | - 'maxResults' => array( |
|
| 421 | - 'location' => 'query', |
|
| 422 | - 'type' => 'integer', |
|
| 423 | - ), |
|
| 424 | - ), |
|
| 425 | - ), |
|
| 426 | - ) |
|
| 427 | - ) |
|
| 428 | - ); |
|
| 60 | + parent::__construct($client); |
|
| 61 | + $this->rootUrl = 'https://www.googleapis.com/'; |
|
| 62 | + $this->servicePath = 'adexchangeseller/v2.0/'; |
|
| 63 | + $this->version = 'v2.0'; |
|
| 64 | + $this->serviceName = 'adexchangeseller'; |
|
| 65 | + |
|
| 66 | + $this->accounts = new Google_Service_AdExchangeSeller_Accounts_Resource( |
|
| 67 | + $this, |
|
| 68 | + $this->serviceName, |
|
| 69 | + 'accounts', |
|
| 70 | + array( |
|
| 71 | + 'methods' => array( |
|
| 72 | + 'get' => array( |
|
| 73 | + 'path' => 'accounts/{accountId}', |
|
| 74 | + 'httpMethod' => 'GET', |
|
| 75 | + 'parameters' => array( |
|
| 76 | + 'accountId' => array( |
|
| 77 | + 'location' => 'path', |
|
| 78 | + 'type' => 'string', |
|
| 79 | + 'required' => true, |
|
| 80 | + ), |
|
| 81 | + ), |
|
| 82 | + ),'list' => array( |
|
| 83 | + 'path' => 'accounts', |
|
| 84 | + 'httpMethod' => 'GET', |
|
| 85 | + 'parameters' => array( |
|
| 86 | + 'pageToken' => array( |
|
| 87 | + 'location' => 'query', |
|
| 88 | + 'type' => 'string', |
|
| 89 | + ), |
|
| 90 | + 'maxResults' => array( |
|
| 91 | + 'location' => 'query', |
|
| 92 | + 'type' => 'integer', |
|
| 93 | + ), |
|
| 94 | + ), |
|
| 95 | + ), |
|
| 96 | + ) |
|
| 97 | + ) |
|
| 98 | + ); |
|
| 99 | + $this->accounts_adclients = new Google_Service_AdExchangeSeller_AccountsAdclients_Resource( |
|
| 100 | + $this, |
|
| 101 | + $this->serviceName, |
|
| 102 | + 'adclients', |
|
| 103 | + array( |
|
| 104 | + 'methods' => array( |
|
| 105 | + 'list' => array( |
|
| 106 | + 'path' => 'accounts/{accountId}/adclients', |
|
| 107 | + 'httpMethod' => 'GET', |
|
| 108 | + 'parameters' => array( |
|
| 109 | + 'accountId' => array( |
|
| 110 | + 'location' => 'path', |
|
| 111 | + 'type' => 'string', |
|
| 112 | + 'required' => true, |
|
| 113 | + ), |
|
| 114 | + 'pageToken' => array( |
|
| 115 | + 'location' => 'query', |
|
| 116 | + 'type' => 'string', |
|
| 117 | + ), |
|
| 118 | + 'maxResults' => array( |
|
| 119 | + 'location' => 'query', |
|
| 120 | + 'type' => 'integer', |
|
| 121 | + ), |
|
| 122 | + ), |
|
| 123 | + ), |
|
| 124 | + ) |
|
| 125 | + ) |
|
| 126 | + ); |
|
| 127 | + $this->accounts_alerts = new Google_Service_AdExchangeSeller_AccountsAlerts_Resource( |
|
| 128 | + $this, |
|
| 129 | + $this->serviceName, |
|
| 130 | + 'alerts', |
|
| 131 | + array( |
|
| 132 | + 'methods' => array( |
|
| 133 | + 'list' => array( |
|
| 134 | + 'path' => 'accounts/{accountId}/alerts', |
|
| 135 | + 'httpMethod' => 'GET', |
|
| 136 | + 'parameters' => array( |
|
| 137 | + 'accountId' => array( |
|
| 138 | + 'location' => 'path', |
|
| 139 | + 'type' => 'string', |
|
| 140 | + 'required' => true, |
|
| 141 | + ), |
|
| 142 | + 'locale' => array( |
|
| 143 | + 'location' => 'query', |
|
| 144 | + 'type' => 'string', |
|
| 145 | + ), |
|
| 146 | + ), |
|
| 147 | + ), |
|
| 148 | + ) |
|
| 149 | + ) |
|
| 150 | + ); |
|
| 151 | + $this->accounts_customchannels = new Google_Service_AdExchangeSeller_AccountsCustomchannels_Resource( |
|
| 152 | + $this, |
|
| 153 | + $this->serviceName, |
|
| 154 | + 'customchannels', |
|
| 155 | + array( |
|
| 156 | + 'methods' => array( |
|
| 157 | + 'get' => array( |
|
| 158 | + 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}', |
|
| 159 | + 'httpMethod' => 'GET', |
|
| 160 | + 'parameters' => array( |
|
| 161 | + 'accountId' => array( |
|
| 162 | + 'location' => 'path', |
|
| 163 | + 'type' => 'string', |
|
| 164 | + 'required' => true, |
|
| 165 | + ), |
|
| 166 | + 'adClientId' => array( |
|
| 167 | + 'location' => 'path', |
|
| 168 | + 'type' => 'string', |
|
| 169 | + 'required' => true, |
|
| 170 | + ), |
|
| 171 | + 'customChannelId' => array( |
|
| 172 | + 'location' => 'path', |
|
| 173 | + 'type' => 'string', |
|
| 174 | + 'required' => true, |
|
| 175 | + ), |
|
| 176 | + ), |
|
| 177 | + ),'list' => array( |
|
| 178 | + 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels', |
|
| 179 | + 'httpMethod' => 'GET', |
|
| 180 | + 'parameters' => array( |
|
| 181 | + 'accountId' => array( |
|
| 182 | + 'location' => 'path', |
|
| 183 | + 'type' => 'string', |
|
| 184 | + 'required' => true, |
|
| 185 | + ), |
|
| 186 | + 'adClientId' => array( |
|
| 187 | + 'location' => 'path', |
|
| 188 | + 'type' => 'string', |
|
| 189 | + 'required' => true, |
|
| 190 | + ), |
|
| 191 | + 'pageToken' => array( |
|
| 192 | + 'location' => 'query', |
|
| 193 | + 'type' => 'string', |
|
| 194 | + ), |
|
| 195 | + 'maxResults' => array( |
|
| 196 | + 'location' => 'query', |
|
| 197 | + 'type' => 'integer', |
|
| 198 | + ), |
|
| 199 | + ), |
|
| 200 | + ), |
|
| 201 | + ) |
|
| 202 | + ) |
|
| 203 | + ); |
|
| 204 | + $this->accounts_metadata_dimensions = new Google_Service_AdExchangeSeller_AccountsMetadataDimensions_Resource( |
|
| 205 | + $this, |
|
| 206 | + $this->serviceName, |
|
| 207 | + 'dimensions', |
|
| 208 | + array( |
|
| 209 | + 'methods' => array( |
|
| 210 | + 'list' => array( |
|
| 211 | + 'path' => 'accounts/{accountId}/metadata/dimensions', |
|
| 212 | + 'httpMethod' => 'GET', |
|
| 213 | + 'parameters' => array( |
|
| 214 | + 'accountId' => array( |
|
| 215 | + 'location' => 'path', |
|
| 216 | + 'type' => 'string', |
|
| 217 | + 'required' => true, |
|
| 218 | + ), |
|
| 219 | + ), |
|
| 220 | + ), |
|
| 221 | + ) |
|
| 222 | + ) |
|
| 223 | + ); |
|
| 224 | + $this->accounts_metadata_metrics = new Google_Service_AdExchangeSeller_AccountsMetadataMetrics_Resource( |
|
| 225 | + $this, |
|
| 226 | + $this->serviceName, |
|
| 227 | + 'metrics', |
|
| 228 | + array( |
|
| 229 | + 'methods' => array( |
|
| 230 | + 'list' => array( |
|
| 231 | + 'path' => 'accounts/{accountId}/metadata/metrics', |
|
| 232 | + 'httpMethod' => 'GET', |
|
| 233 | + 'parameters' => array( |
|
| 234 | + 'accountId' => array( |
|
| 235 | + 'location' => 'path', |
|
| 236 | + 'type' => 'string', |
|
| 237 | + 'required' => true, |
|
| 238 | + ), |
|
| 239 | + ), |
|
| 240 | + ), |
|
| 241 | + ) |
|
| 242 | + ) |
|
| 243 | + ); |
|
| 244 | + $this->accounts_preferreddeals = new Google_Service_AdExchangeSeller_AccountsPreferreddeals_Resource( |
|
| 245 | + $this, |
|
| 246 | + $this->serviceName, |
|
| 247 | + 'preferreddeals', |
|
| 248 | + array( |
|
| 249 | + 'methods' => array( |
|
| 250 | + 'get' => array( |
|
| 251 | + 'path' => 'accounts/{accountId}/preferreddeals/{dealId}', |
|
| 252 | + 'httpMethod' => 'GET', |
|
| 253 | + 'parameters' => array( |
|
| 254 | + 'accountId' => array( |
|
| 255 | + 'location' => 'path', |
|
| 256 | + 'type' => 'string', |
|
| 257 | + 'required' => true, |
|
| 258 | + ), |
|
| 259 | + 'dealId' => array( |
|
| 260 | + 'location' => 'path', |
|
| 261 | + 'type' => 'string', |
|
| 262 | + 'required' => true, |
|
| 263 | + ), |
|
| 264 | + ), |
|
| 265 | + ),'list' => array( |
|
| 266 | + 'path' => 'accounts/{accountId}/preferreddeals', |
|
| 267 | + 'httpMethod' => 'GET', |
|
| 268 | + 'parameters' => array( |
|
| 269 | + 'accountId' => array( |
|
| 270 | + 'location' => 'path', |
|
| 271 | + 'type' => 'string', |
|
| 272 | + 'required' => true, |
|
| 273 | + ), |
|
| 274 | + ), |
|
| 275 | + ), |
|
| 276 | + ) |
|
| 277 | + ) |
|
| 278 | + ); |
|
| 279 | + $this->accounts_reports = new Google_Service_AdExchangeSeller_AccountsReports_Resource( |
|
| 280 | + $this, |
|
| 281 | + $this->serviceName, |
|
| 282 | + 'reports', |
|
| 283 | + array( |
|
| 284 | + 'methods' => array( |
|
| 285 | + 'generate' => array( |
|
| 286 | + 'path' => 'accounts/{accountId}/reports', |
|
| 287 | + 'httpMethod' => 'GET', |
|
| 288 | + 'parameters' => array( |
|
| 289 | + 'accountId' => array( |
|
| 290 | + 'location' => 'path', |
|
| 291 | + 'type' => 'string', |
|
| 292 | + 'required' => true, |
|
| 293 | + ), |
|
| 294 | + 'startDate' => array( |
|
| 295 | + 'location' => 'query', |
|
| 296 | + 'type' => 'string', |
|
| 297 | + 'required' => true, |
|
| 298 | + ), |
|
| 299 | + 'endDate' => array( |
|
| 300 | + 'location' => 'query', |
|
| 301 | + 'type' => 'string', |
|
| 302 | + 'required' => true, |
|
| 303 | + ), |
|
| 304 | + 'sort' => array( |
|
| 305 | + 'location' => 'query', |
|
| 306 | + 'type' => 'string', |
|
| 307 | + 'repeated' => true, |
|
| 308 | + ), |
|
| 309 | + 'locale' => array( |
|
| 310 | + 'location' => 'query', |
|
| 311 | + 'type' => 'string', |
|
| 312 | + ), |
|
| 313 | + 'metric' => array( |
|
| 314 | + 'location' => 'query', |
|
| 315 | + 'type' => 'string', |
|
| 316 | + 'repeated' => true, |
|
| 317 | + ), |
|
| 318 | + 'maxResults' => array( |
|
| 319 | + 'location' => 'query', |
|
| 320 | + 'type' => 'integer', |
|
| 321 | + ), |
|
| 322 | + 'filter' => array( |
|
| 323 | + 'location' => 'query', |
|
| 324 | + 'type' => 'string', |
|
| 325 | + 'repeated' => true, |
|
| 326 | + ), |
|
| 327 | + 'startIndex' => array( |
|
| 328 | + 'location' => 'query', |
|
| 329 | + 'type' => 'integer', |
|
| 330 | + ), |
|
| 331 | + 'dimension' => array( |
|
| 332 | + 'location' => 'query', |
|
| 333 | + 'type' => 'string', |
|
| 334 | + 'repeated' => true, |
|
| 335 | + ), |
|
| 336 | + ), |
|
| 337 | + ), |
|
| 338 | + ) |
|
| 339 | + ) |
|
| 340 | + ); |
|
| 341 | + $this->accounts_reports_saved = new Google_Service_AdExchangeSeller_AccountsReportsSaved_Resource( |
|
| 342 | + $this, |
|
| 343 | + $this->serviceName, |
|
| 344 | + 'saved', |
|
| 345 | + array( |
|
| 346 | + 'methods' => array( |
|
| 347 | + 'generate' => array( |
|
| 348 | + 'path' => 'accounts/{accountId}/reports/{savedReportId}', |
|
| 349 | + 'httpMethod' => 'GET', |
|
| 350 | + 'parameters' => array( |
|
| 351 | + 'accountId' => array( |
|
| 352 | + 'location' => 'path', |
|
| 353 | + 'type' => 'string', |
|
| 354 | + 'required' => true, |
|
| 355 | + ), |
|
| 356 | + 'savedReportId' => array( |
|
| 357 | + 'location' => 'path', |
|
| 358 | + 'type' => 'string', |
|
| 359 | + 'required' => true, |
|
| 360 | + ), |
|
| 361 | + 'locale' => array( |
|
| 362 | + 'location' => 'query', |
|
| 363 | + 'type' => 'string', |
|
| 364 | + ), |
|
| 365 | + 'startIndex' => array( |
|
| 366 | + 'location' => 'query', |
|
| 367 | + 'type' => 'integer', |
|
| 368 | + ), |
|
| 369 | + 'maxResults' => array( |
|
| 370 | + 'location' => 'query', |
|
| 371 | + 'type' => 'integer', |
|
| 372 | + ), |
|
| 373 | + ), |
|
| 374 | + ),'list' => array( |
|
| 375 | + 'path' => 'accounts/{accountId}/reports/saved', |
|
| 376 | + 'httpMethod' => 'GET', |
|
| 377 | + 'parameters' => array( |
|
| 378 | + 'accountId' => array( |
|
| 379 | + 'location' => 'path', |
|
| 380 | + 'type' => 'string', |
|
| 381 | + 'required' => true, |
|
| 382 | + ), |
|
| 383 | + 'pageToken' => array( |
|
| 384 | + 'location' => 'query', |
|
| 385 | + 'type' => 'string', |
|
| 386 | + ), |
|
| 387 | + 'maxResults' => array( |
|
| 388 | + 'location' => 'query', |
|
| 389 | + 'type' => 'integer', |
|
| 390 | + ), |
|
| 391 | + ), |
|
| 392 | + ), |
|
| 393 | + ) |
|
| 394 | + ) |
|
| 395 | + ); |
|
| 396 | + $this->accounts_urlchannels = new Google_Service_AdExchangeSeller_AccountsUrlchannels_Resource( |
|
| 397 | + $this, |
|
| 398 | + $this->serviceName, |
|
| 399 | + 'urlchannels', |
|
| 400 | + array( |
|
| 401 | + 'methods' => array( |
|
| 402 | + 'list' => array( |
|
| 403 | + 'path' => 'accounts/{accountId}/adclients/{adClientId}/urlchannels', |
|
| 404 | + 'httpMethod' => 'GET', |
|
| 405 | + 'parameters' => array( |
|
| 406 | + 'accountId' => array( |
|
| 407 | + 'location' => 'path', |
|
| 408 | + 'type' => 'string', |
|
| 409 | + 'required' => true, |
|
| 410 | + ), |
|
| 411 | + 'adClientId' => array( |
|
| 412 | + 'location' => 'path', |
|
| 413 | + 'type' => 'string', |
|
| 414 | + 'required' => true, |
|
| 415 | + ), |
|
| 416 | + 'pageToken' => array( |
|
| 417 | + 'location' => 'query', |
|
| 418 | + 'type' => 'string', |
|
| 419 | + ), |
|
| 420 | + 'maxResults' => array( |
|
| 421 | + 'location' => 'query', |
|
| 422 | + 'type' => 'integer', |
|
| 423 | + ), |
|
| 424 | + ), |
|
| 425 | + ), |
|
| 426 | + ) |
|
| 427 | + ) |
|
| 428 | + ); |
|
| 429 | 429 | } |
| 430 | 430 | } |
| 431 | 431 | |
@@ -451,9 +451,9 @@ discard block |
||
| 451 | 451 | */ |
| 452 | 452 | public function get($accountId, $optParams = array()) |
| 453 | 453 | { |
| 454 | - $params = array('accountId' => $accountId); |
|
| 455 | - $params = array_merge($params, $optParams); |
|
| 456 | - return $this->call('get', array($params), "Google_Service_AdExchangeSeller_Account"); |
|
| 454 | + $params = array('accountId' => $accountId); |
|
| 455 | + $params = array_merge($params, $optParams); |
|
| 456 | + return $this->call('get', array($params), "Google_Service_AdExchangeSeller_Account"); |
|
| 457 | 457 | } |
| 458 | 458 | |
| 459 | 459 | /** |
@@ -471,9 +471,9 @@ discard block |
||
| 471 | 471 | */ |
| 472 | 472 | public function listAccounts($optParams = array()) |
| 473 | 473 | { |
| 474 | - $params = array(); |
|
| 475 | - $params = array_merge($params, $optParams); |
|
| 476 | - return $this->call('list', array($params), "Google_Service_AdExchangeSeller_Accounts"); |
|
| 474 | + $params = array(); |
|
| 475 | + $params = array_merge($params, $optParams); |
|
| 476 | + return $this->call('list', array($params), "Google_Service_AdExchangeSeller_Accounts"); |
|
| 477 | 477 | } |
| 478 | 478 | } |
| 479 | 479 | |
@@ -504,9 +504,9 @@ discard block |
||
| 504 | 504 | */ |
| 505 | 505 | public function listAccountsAdclients($accountId, $optParams = array()) |
| 506 | 506 | { |
| 507 | - $params = array('accountId' => $accountId); |
|
| 508 | - $params = array_merge($params, $optParams); |
|
| 509 | - return $this->call('list', array($params), "Google_Service_AdExchangeSeller_AdClients"); |
|
| 507 | + $params = array('accountId' => $accountId); |
|
| 508 | + $params = array_merge($params, $optParams); |
|
| 509 | + return $this->call('list', array($params), "Google_Service_AdExchangeSeller_AdClients"); |
|
| 510 | 510 | } |
| 511 | 511 | } |
| 512 | 512 | /** |
@@ -533,9 +533,9 @@ discard block |
||
| 533 | 533 | */ |
| 534 | 534 | public function listAccountsAlerts($accountId, $optParams = array()) |
| 535 | 535 | { |
| 536 | - $params = array('accountId' => $accountId); |
|
| 537 | - $params = array_merge($params, $optParams); |
|
| 538 | - return $this->call('list', array($params), "Google_Service_AdExchangeSeller_Alerts"); |
|
| 536 | + $params = array('accountId' => $accountId); |
|
| 537 | + $params = array_merge($params, $optParams); |
|
| 538 | + return $this->call('list', array($params), "Google_Service_AdExchangeSeller_Alerts"); |
|
| 539 | 539 | } |
| 540 | 540 | } |
| 541 | 541 | /** |
@@ -561,9 +561,9 @@ discard block |
||
| 561 | 561 | */ |
| 562 | 562 | public function get($accountId, $adClientId, $customChannelId, $optParams = array()) |
| 563 | 563 | { |
| 564 | - $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'customChannelId' => $customChannelId); |
|
| 565 | - $params = array_merge($params, $optParams); |
|
| 566 | - return $this->call('get', array($params), "Google_Service_AdExchangeSeller_CustomChannel"); |
|
| 564 | + $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'customChannelId' => $customChannelId); |
|
| 565 | + $params = array_merge($params, $optParams); |
|
| 566 | + return $this->call('get', array($params), "Google_Service_AdExchangeSeller_CustomChannel"); |
|
| 567 | 567 | } |
| 568 | 568 | |
| 569 | 569 | /** |
@@ -583,9 +583,9 @@ discard block |
||
| 583 | 583 | */ |
| 584 | 584 | public function listAccountsCustomchannels($accountId, $adClientId, $optParams = array()) |
| 585 | 585 | { |
| 586 | - $params = array('accountId' => $accountId, 'adClientId' => $adClientId); |
|
| 587 | - $params = array_merge($params, $optParams); |
|
| 588 | - return $this->call('list', array($params), "Google_Service_AdExchangeSeller_CustomChannels"); |
|
| 586 | + $params = array('accountId' => $accountId, 'adClientId' => $adClientId); |
|
| 587 | + $params = array_merge($params, $optParams); |
|
| 588 | + return $this->call('list', array($params), "Google_Service_AdExchangeSeller_CustomChannels"); |
|
| 589 | 589 | } |
| 590 | 590 | } |
| 591 | 591 | /** |
@@ -621,9 +621,9 @@ discard block |
||
| 621 | 621 | */ |
| 622 | 622 | public function listAccountsMetadataDimensions($accountId, $optParams = array()) |
| 623 | 623 | { |
| 624 | - $params = array('accountId' => $accountId); |
|
| 625 | - $params = array_merge($params, $optParams); |
|
| 626 | - return $this->call('list', array($params), "Google_Service_AdExchangeSeller_Metadata"); |
|
| 624 | + $params = array('accountId' => $accountId); |
|
| 625 | + $params = array_merge($params, $optParams); |
|
| 626 | + return $this->call('list', array($params), "Google_Service_AdExchangeSeller_Metadata"); |
|
| 627 | 627 | } |
| 628 | 628 | } |
| 629 | 629 | /** |
@@ -647,9 +647,9 @@ discard block |
||
| 647 | 647 | */ |
| 648 | 648 | public function listAccountsMetadataMetrics($accountId, $optParams = array()) |
| 649 | 649 | { |
| 650 | - $params = array('accountId' => $accountId); |
|
| 651 | - $params = array_merge($params, $optParams); |
|
| 652 | - return $this->call('list', array($params), "Google_Service_AdExchangeSeller_Metadata"); |
|
| 650 | + $params = array('accountId' => $accountId); |
|
| 651 | + $params = array_merge($params, $optParams); |
|
| 652 | + return $this->call('list', array($params), "Google_Service_AdExchangeSeller_Metadata"); |
|
| 653 | 653 | } |
| 654 | 654 | } |
| 655 | 655 | /** |
@@ -674,9 +674,9 @@ discard block |
||
| 674 | 674 | */ |
| 675 | 675 | public function get($accountId, $dealId, $optParams = array()) |
| 676 | 676 | { |
| 677 | - $params = array('accountId' => $accountId, 'dealId' => $dealId); |
|
| 678 | - $params = array_merge($params, $optParams); |
|
| 679 | - return $this->call('get', array($params), "Google_Service_AdExchangeSeller_PreferredDeal"); |
|
| 677 | + $params = array('accountId' => $accountId, 'dealId' => $dealId); |
|
| 678 | + $params = array_merge($params, $optParams); |
|
| 679 | + return $this->call('get', array($params), "Google_Service_AdExchangeSeller_PreferredDeal"); |
|
| 680 | 680 | } |
| 681 | 681 | |
| 682 | 682 | /** |
@@ -689,9 +689,9 @@ discard block |
||
| 689 | 689 | */ |
| 690 | 690 | public function listAccountsPreferreddeals($accountId, $optParams = array()) |
| 691 | 691 | { |
| 692 | - $params = array('accountId' => $accountId); |
|
| 693 | - $params = array_merge($params, $optParams); |
|
| 694 | - return $this->call('list', array($params), "Google_Service_AdExchangeSeller_PreferredDeals"); |
|
| 692 | + $params = array('accountId' => $accountId); |
|
| 693 | + $params = array_merge($params, $optParams); |
|
| 694 | + return $this->call('list', array($params), "Google_Service_AdExchangeSeller_PreferredDeals"); |
|
| 695 | 695 | } |
| 696 | 696 | } |
| 697 | 697 | /** |
@@ -732,9 +732,9 @@ discard block |
||
| 732 | 732 | */ |
| 733 | 733 | public function generate($accountId, $startDate, $endDate, $optParams = array()) |
| 734 | 734 | { |
| 735 | - $params = array('accountId' => $accountId, 'startDate' => $startDate, 'endDate' => $endDate); |
|
| 736 | - $params = array_merge($params, $optParams); |
|
| 737 | - return $this->call('generate', array($params), "Google_Service_AdExchangeSeller_Report"); |
|
| 735 | + $params = array('accountId' => $accountId, 'startDate' => $startDate, 'endDate' => $endDate); |
|
| 736 | + $params = array_merge($params, $optParams); |
|
| 737 | + return $this->call('generate', array($params), "Google_Service_AdExchangeSeller_Report"); |
|
| 738 | 738 | } |
| 739 | 739 | } |
| 740 | 740 | |
@@ -766,9 +766,9 @@ discard block |
||
| 766 | 766 | */ |
| 767 | 767 | public function generate($accountId, $savedReportId, $optParams = array()) |
| 768 | 768 | { |
| 769 | - $params = array('accountId' => $accountId, 'savedReportId' => $savedReportId); |
|
| 770 | - $params = array_merge($params, $optParams); |
|
| 771 | - return $this->call('generate', array($params), "Google_Service_AdExchangeSeller_Report"); |
|
| 769 | + $params = array('accountId' => $accountId, 'savedReportId' => $savedReportId); |
|
| 770 | + $params = array_merge($params, $optParams); |
|
| 771 | + return $this->call('generate', array($params), "Google_Service_AdExchangeSeller_Report"); |
|
| 772 | 772 | } |
| 773 | 773 | |
| 774 | 774 | /** |
@@ -787,9 +787,9 @@ discard block |
||
| 787 | 787 | */ |
| 788 | 788 | public function listAccountsReportsSaved($accountId, $optParams = array()) |
| 789 | 789 | { |
| 790 | - $params = array('accountId' => $accountId); |
|
| 791 | - $params = array_merge($params, $optParams); |
|
| 792 | - return $this->call('list', array($params), "Google_Service_AdExchangeSeller_SavedReports"); |
|
| 790 | + $params = array('accountId' => $accountId); |
|
| 791 | + $params = array_merge($params, $optParams); |
|
| 792 | + return $this->call('list', array($params), "Google_Service_AdExchangeSeller_SavedReports"); |
|
| 793 | 793 | } |
| 794 | 794 | } |
| 795 | 795 | /** |
@@ -820,9 +820,9 @@ discard block |
||
| 820 | 820 | */ |
| 821 | 821 | public function listAccountsUrlchannels($accountId, $adClientId, $optParams = array()) |
| 822 | 822 | { |
| 823 | - $params = array('accountId' => $accountId, 'adClientId' => $adClientId); |
|
| 824 | - $params = array_merge($params, $optParams); |
|
| 825 | - return $this->call('list', array($params), "Google_Service_AdExchangeSeller_UrlChannels"); |
|
| 823 | + $params = array('accountId' => $accountId, 'adClientId' => $adClientId); |
|
| 824 | + $params = array_merge($params, $optParams); |
|
| 825 | + return $this->call('list', array($params), "Google_Service_AdExchangeSeller_UrlChannels"); |
|
| 826 | 826 | } |
| 827 | 827 | } |
| 828 | 828 | |
@@ -840,27 +840,27 @@ discard block |
||
| 840 | 840 | |
| 841 | 841 | public function setId($id) |
| 842 | 842 | { |
| 843 | - $this->id = $id; |
|
| 843 | + $this->id = $id; |
|
| 844 | 844 | } |
| 845 | 845 | public function getId() |
| 846 | 846 | { |
| 847 | - return $this->id; |
|
| 847 | + return $this->id; |
|
| 848 | 848 | } |
| 849 | 849 | public function setKind($kind) |
| 850 | 850 | { |
| 851 | - $this->kind = $kind; |
|
| 851 | + $this->kind = $kind; |
|
| 852 | 852 | } |
| 853 | 853 | public function getKind() |
| 854 | 854 | { |
| 855 | - return $this->kind; |
|
| 855 | + return $this->kind; |
|
| 856 | 856 | } |
| 857 | 857 | public function setName($name) |
| 858 | 858 | { |
| 859 | - $this->name = $name; |
|
| 859 | + $this->name = $name; |
|
| 860 | 860 | } |
| 861 | 861 | public function getName() |
| 862 | 862 | { |
| 863 | - return $this->name; |
|
| 863 | + return $this->name; |
|
| 864 | 864 | } |
| 865 | 865 | } |
| 866 | 866 | |
@@ -878,35 +878,35 @@ discard block |
||
| 878 | 878 | |
| 879 | 879 | public function setEtag($etag) |
| 880 | 880 | { |
| 881 | - $this->etag = $etag; |
|
| 881 | + $this->etag = $etag; |
|
| 882 | 882 | } |
| 883 | 883 | public function getEtag() |
| 884 | 884 | { |
| 885 | - return $this->etag; |
|
| 885 | + return $this->etag; |
|
| 886 | 886 | } |
| 887 | 887 | public function setItems($items) |
| 888 | 888 | { |
| 889 | - $this->items = $items; |
|
| 889 | + $this->items = $items; |
|
| 890 | 890 | } |
| 891 | 891 | public function getItems() |
| 892 | 892 | { |
| 893 | - return $this->items; |
|
| 893 | + return $this->items; |
|
| 894 | 894 | } |
| 895 | 895 | public function setKind($kind) |
| 896 | 896 | { |
| 897 | - $this->kind = $kind; |
|
| 897 | + $this->kind = $kind; |
|
| 898 | 898 | } |
| 899 | 899 | public function getKind() |
| 900 | 900 | { |
| 901 | - return $this->kind; |
|
| 901 | + return $this->kind; |
|
| 902 | 902 | } |
| 903 | 903 | public function setNextPageToken($nextPageToken) |
| 904 | 904 | { |
| 905 | - $this->nextPageToken = $nextPageToken; |
|
| 905 | + $this->nextPageToken = $nextPageToken; |
|
| 906 | 906 | } |
| 907 | 907 | public function getNextPageToken() |
| 908 | 908 | { |
| 909 | - return $this->nextPageToken; |
|
| 909 | + return $this->nextPageToken; |
|
| 910 | 910 | } |
| 911 | 911 | } |
| 912 | 912 | |
@@ -923,43 +923,43 @@ discard block |
||
| 923 | 923 | |
| 924 | 924 | public function setArcOptIn($arcOptIn) |
| 925 | 925 | { |
| 926 | - $this->arcOptIn = $arcOptIn; |
|
| 926 | + $this->arcOptIn = $arcOptIn; |
|
| 927 | 927 | } |
| 928 | 928 | public function getArcOptIn() |
| 929 | 929 | { |
| 930 | - return $this->arcOptIn; |
|
| 930 | + return $this->arcOptIn; |
|
| 931 | 931 | } |
| 932 | 932 | public function setId($id) |
| 933 | 933 | { |
| 934 | - $this->id = $id; |
|
| 934 | + $this->id = $id; |
|
| 935 | 935 | } |
| 936 | 936 | public function getId() |
| 937 | 937 | { |
| 938 | - return $this->id; |
|
| 938 | + return $this->id; |
|
| 939 | 939 | } |
| 940 | 940 | public function setKind($kind) |
| 941 | 941 | { |
| 942 | - $this->kind = $kind; |
|
| 942 | + $this->kind = $kind; |
|
| 943 | 943 | } |
| 944 | 944 | public function getKind() |
| 945 | 945 | { |
| 946 | - return $this->kind; |
|
| 946 | + return $this->kind; |
|
| 947 | 947 | } |
| 948 | 948 | public function setProductCode($productCode) |
| 949 | 949 | { |
| 950 | - $this->productCode = $productCode; |
|
| 950 | + $this->productCode = $productCode; |
|
| 951 | 951 | } |
| 952 | 952 | public function getProductCode() |
| 953 | 953 | { |
| 954 | - return $this->productCode; |
|
| 954 | + return $this->productCode; |
|
| 955 | 955 | } |
| 956 | 956 | public function setSupportsReporting($supportsReporting) |
| 957 | 957 | { |
| 958 | - $this->supportsReporting = $supportsReporting; |
|
| 958 | + $this->supportsReporting = $supportsReporting; |
|
| 959 | 959 | } |
| 960 | 960 | public function getSupportsReporting() |
| 961 | 961 | { |
| 962 | - return $this->supportsReporting; |
|
| 962 | + return $this->supportsReporting; |
|
| 963 | 963 | } |
| 964 | 964 | } |
| 965 | 965 | |
@@ -977,35 +977,35 @@ discard block |
||
| 977 | 977 | |
| 978 | 978 | public function setEtag($etag) |
| 979 | 979 | { |
| 980 | - $this->etag = $etag; |
|
| 980 | + $this->etag = $etag; |
|
| 981 | 981 | } |
| 982 | 982 | public function getEtag() |
| 983 | 983 | { |
| 984 | - return $this->etag; |
|
| 984 | + return $this->etag; |
|
| 985 | 985 | } |
| 986 | 986 | public function setItems($items) |
| 987 | 987 | { |
| 988 | - $this->items = $items; |
|
| 988 | + $this->items = $items; |
|
| 989 | 989 | } |
| 990 | 990 | public function getItems() |
| 991 | 991 | { |
| 992 | - return $this->items; |
|
| 992 | + return $this->items; |
|
| 993 | 993 | } |
| 994 | 994 | public function setKind($kind) |
| 995 | 995 | { |
| 996 | - $this->kind = $kind; |
|
| 996 | + $this->kind = $kind; |
|
| 997 | 997 | } |
| 998 | 998 | public function getKind() |
| 999 | 999 | { |
| 1000 | - return $this->kind; |
|
| 1000 | + return $this->kind; |
|
| 1001 | 1001 | } |
| 1002 | 1002 | public function setNextPageToken($nextPageToken) |
| 1003 | 1003 | { |
| 1004 | - $this->nextPageToken = $nextPageToken; |
|
| 1004 | + $this->nextPageToken = $nextPageToken; |
|
| 1005 | 1005 | } |
| 1006 | 1006 | public function getNextPageToken() |
| 1007 | 1007 | { |
| 1008 | - return $this->nextPageToken; |
|
| 1008 | + return $this->nextPageToken; |
|
| 1009 | 1009 | } |
| 1010 | 1010 | } |
| 1011 | 1011 | |
@@ -1022,43 +1022,43 @@ discard block |
||
| 1022 | 1022 | |
| 1023 | 1023 | public function setId($id) |
| 1024 | 1024 | { |
| 1025 | - $this->id = $id; |
|
| 1025 | + $this->id = $id; |
|
| 1026 | 1026 | } |
| 1027 | 1027 | public function getId() |
| 1028 | 1028 | { |
| 1029 | - return $this->id; |
|
| 1029 | + return $this->id; |
|
| 1030 | 1030 | } |
| 1031 | 1031 | public function setKind($kind) |
| 1032 | 1032 | { |
| 1033 | - $this->kind = $kind; |
|
| 1033 | + $this->kind = $kind; |
|
| 1034 | 1034 | } |
| 1035 | 1035 | public function getKind() |
| 1036 | 1036 | { |
| 1037 | - return $this->kind; |
|
| 1037 | + return $this->kind; |
|
| 1038 | 1038 | } |
| 1039 | 1039 | public function setMessage($message) |
| 1040 | 1040 | { |
| 1041 | - $this->message = $message; |
|
| 1041 | + $this->message = $message; |
|
| 1042 | 1042 | } |
| 1043 | 1043 | public function getMessage() |
| 1044 | 1044 | { |
| 1045 | - return $this->message; |
|
| 1045 | + return $this->message; |
|
| 1046 | 1046 | } |
| 1047 | 1047 | public function setSeverity($severity) |
| 1048 | 1048 | { |
| 1049 | - $this->severity = $severity; |
|
| 1049 | + $this->severity = $severity; |
|
| 1050 | 1050 | } |
| 1051 | 1051 | public function getSeverity() |
| 1052 | 1052 | { |
| 1053 | - return $this->severity; |
|
| 1053 | + return $this->severity; |
|
| 1054 | 1054 | } |
| 1055 | 1055 | public function setType($type) |
| 1056 | 1056 | { |
| 1057 | - $this->type = $type; |
|
| 1057 | + $this->type = $type; |
|
| 1058 | 1058 | } |
| 1059 | 1059 | public function getType() |
| 1060 | 1060 | { |
| 1061 | - return $this->type; |
|
| 1061 | + return $this->type; |
|
| 1062 | 1062 | } |
| 1063 | 1063 | } |
| 1064 | 1064 | |
@@ -1074,19 +1074,19 @@ discard block |
||
| 1074 | 1074 | |
| 1075 | 1075 | public function setItems($items) |
| 1076 | 1076 | { |
| 1077 | - $this->items = $items; |
|
| 1077 | + $this->items = $items; |
|
| 1078 | 1078 | } |
| 1079 | 1079 | public function getItems() |
| 1080 | 1080 | { |
| 1081 | - return $this->items; |
|
| 1081 | + return $this->items; |
|
| 1082 | 1082 | } |
| 1083 | 1083 | public function setKind($kind) |
| 1084 | 1084 | { |
| 1085 | - $this->kind = $kind; |
|
| 1085 | + $this->kind = $kind; |
|
| 1086 | 1086 | } |
| 1087 | 1087 | public function getKind() |
| 1088 | 1088 | { |
| 1089 | - return $this->kind; |
|
| 1089 | + return $this->kind; |
|
| 1090 | 1090 | } |
| 1091 | 1091 | } |
| 1092 | 1092 | |
@@ -1104,43 +1104,43 @@ discard block |
||
| 1104 | 1104 | |
| 1105 | 1105 | public function setCode($code) |
| 1106 | 1106 | { |
| 1107 | - $this->code = $code; |
|
| 1107 | + $this->code = $code; |
|
| 1108 | 1108 | } |
| 1109 | 1109 | public function getCode() |
| 1110 | 1110 | { |
| 1111 | - return $this->code; |
|
| 1111 | + return $this->code; |
|
| 1112 | 1112 | } |
| 1113 | 1113 | public function setId($id) |
| 1114 | 1114 | { |
| 1115 | - $this->id = $id; |
|
| 1115 | + $this->id = $id; |
|
| 1116 | 1116 | } |
| 1117 | 1117 | public function getId() |
| 1118 | 1118 | { |
| 1119 | - return $this->id; |
|
| 1119 | + return $this->id; |
|
| 1120 | 1120 | } |
| 1121 | 1121 | public function setKind($kind) |
| 1122 | 1122 | { |
| 1123 | - $this->kind = $kind; |
|
| 1123 | + $this->kind = $kind; |
|
| 1124 | 1124 | } |
| 1125 | 1125 | public function getKind() |
| 1126 | 1126 | { |
| 1127 | - return $this->kind; |
|
| 1127 | + return $this->kind; |
|
| 1128 | 1128 | } |
| 1129 | 1129 | public function setName($name) |
| 1130 | 1130 | { |
| 1131 | - $this->name = $name; |
|
| 1131 | + $this->name = $name; |
|
| 1132 | 1132 | } |
| 1133 | 1133 | public function getName() |
| 1134 | 1134 | { |
| 1135 | - return $this->name; |
|
| 1135 | + return $this->name; |
|
| 1136 | 1136 | } |
| 1137 | 1137 | public function setTargetingInfo(Google_Service_AdExchangeSeller_CustomChannelTargetingInfo $targetingInfo) |
| 1138 | 1138 | { |
| 1139 | - $this->targetingInfo = $targetingInfo; |
|
| 1139 | + $this->targetingInfo = $targetingInfo; |
|
| 1140 | 1140 | } |
| 1141 | 1141 | public function getTargetingInfo() |
| 1142 | 1142 | { |
| 1143 | - return $this->targetingInfo; |
|
| 1143 | + return $this->targetingInfo; |
|
| 1144 | 1144 | } |
| 1145 | 1145 | } |
| 1146 | 1146 | |
@@ -1156,35 +1156,35 @@ discard block |
||
| 1156 | 1156 | |
| 1157 | 1157 | public function setAdsAppearOn($adsAppearOn) |
| 1158 | 1158 | { |
| 1159 | - $this->adsAppearOn = $adsAppearOn; |
|
| 1159 | + $this->adsAppearOn = $adsAppearOn; |
|
| 1160 | 1160 | } |
| 1161 | 1161 | public function getAdsAppearOn() |
| 1162 | 1162 | { |
| 1163 | - return $this->adsAppearOn; |
|
| 1163 | + return $this->adsAppearOn; |
|
| 1164 | 1164 | } |
| 1165 | 1165 | public function setDescription($description) |
| 1166 | 1166 | { |
| 1167 | - $this->description = $description; |
|
| 1167 | + $this->description = $description; |
|
| 1168 | 1168 | } |
| 1169 | 1169 | public function getDescription() |
| 1170 | 1170 | { |
| 1171 | - return $this->description; |
|
| 1171 | + return $this->description; |
|
| 1172 | 1172 | } |
| 1173 | 1173 | public function setLocation($location) |
| 1174 | 1174 | { |
| 1175 | - $this->location = $location; |
|
| 1175 | + $this->location = $location; |
|
| 1176 | 1176 | } |
| 1177 | 1177 | public function getLocation() |
| 1178 | 1178 | { |
| 1179 | - return $this->location; |
|
| 1179 | + return $this->location; |
|
| 1180 | 1180 | } |
| 1181 | 1181 | public function setSiteLanguage($siteLanguage) |
| 1182 | 1182 | { |
| 1183 | - $this->siteLanguage = $siteLanguage; |
|
| 1183 | + $this->siteLanguage = $siteLanguage; |
|
| 1184 | 1184 | } |
| 1185 | 1185 | public function getSiteLanguage() |
| 1186 | 1186 | { |
| 1187 | - return $this->siteLanguage; |
|
| 1187 | + return $this->siteLanguage; |
|
| 1188 | 1188 | } |
| 1189 | 1189 | } |
| 1190 | 1190 | |
@@ -1202,35 +1202,35 @@ discard block |
||
| 1202 | 1202 | |
| 1203 | 1203 | public function setEtag($etag) |
| 1204 | 1204 | { |
| 1205 | - $this->etag = $etag; |
|
| 1205 | + $this->etag = $etag; |
|
| 1206 | 1206 | } |
| 1207 | 1207 | public function getEtag() |
| 1208 | 1208 | { |
| 1209 | - return $this->etag; |
|
| 1209 | + return $this->etag; |
|
| 1210 | 1210 | } |
| 1211 | 1211 | public function setItems($items) |
| 1212 | 1212 | { |
| 1213 | - $this->items = $items; |
|
| 1213 | + $this->items = $items; |
|
| 1214 | 1214 | } |
| 1215 | 1215 | public function getItems() |
| 1216 | 1216 | { |
| 1217 | - return $this->items; |
|
| 1217 | + return $this->items; |
|
| 1218 | 1218 | } |
| 1219 | 1219 | public function setKind($kind) |
| 1220 | 1220 | { |
| 1221 | - $this->kind = $kind; |
|
| 1221 | + $this->kind = $kind; |
|
| 1222 | 1222 | } |
| 1223 | 1223 | public function getKind() |
| 1224 | 1224 | { |
| 1225 | - return $this->kind; |
|
| 1225 | + return $this->kind; |
|
| 1226 | 1226 | } |
| 1227 | 1227 | public function setNextPageToken($nextPageToken) |
| 1228 | 1228 | { |
| 1229 | - $this->nextPageToken = $nextPageToken; |
|
| 1229 | + $this->nextPageToken = $nextPageToken; |
|
| 1230 | 1230 | } |
| 1231 | 1231 | public function getNextPageToken() |
| 1232 | 1232 | { |
| 1233 | - return $this->nextPageToken; |
|
| 1233 | + return $this->nextPageToken; |
|
| 1234 | 1234 | } |
| 1235 | 1235 | } |
| 1236 | 1236 | |
@@ -1246,19 +1246,19 @@ discard block |
||
| 1246 | 1246 | |
| 1247 | 1247 | public function setItems($items) |
| 1248 | 1248 | { |
| 1249 | - $this->items = $items; |
|
| 1249 | + $this->items = $items; |
|
| 1250 | 1250 | } |
| 1251 | 1251 | public function getItems() |
| 1252 | 1252 | { |
| 1253 | - return $this->items; |
|
| 1253 | + return $this->items; |
|
| 1254 | 1254 | } |
| 1255 | 1255 | public function setKind($kind) |
| 1256 | 1256 | { |
| 1257 | - $this->kind = $kind; |
|
| 1257 | + $this->kind = $kind; |
|
| 1258 | 1258 | } |
| 1259 | 1259 | public function getKind() |
| 1260 | 1260 | { |
| 1261 | - return $this->kind; |
|
| 1261 | + return $this->kind; |
|
| 1262 | 1262 | } |
| 1263 | 1263 | } |
| 1264 | 1264 | |
@@ -1278,67 +1278,67 @@ discard block |
||
| 1278 | 1278 | |
| 1279 | 1279 | public function setAdvertiserName($advertiserName) |
| 1280 | 1280 | { |
| 1281 | - $this->advertiserName = $advertiserName; |
|
| 1281 | + $this->advertiserName = $advertiserName; |
|
| 1282 | 1282 | } |
| 1283 | 1283 | public function getAdvertiserName() |
| 1284 | 1284 | { |
| 1285 | - return $this->advertiserName; |
|
| 1285 | + return $this->advertiserName; |
|
| 1286 | 1286 | } |
| 1287 | 1287 | public function setBuyerNetworkName($buyerNetworkName) |
| 1288 | 1288 | { |
| 1289 | - $this->buyerNetworkName = $buyerNetworkName; |
|
| 1289 | + $this->buyerNetworkName = $buyerNetworkName; |
|
| 1290 | 1290 | } |
| 1291 | 1291 | public function getBuyerNetworkName() |
| 1292 | 1292 | { |
| 1293 | - return $this->buyerNetworkName; |
|
| 1293 | + return $this->buyerNetworkName; |
|
| 1294 | 1294 | } |
| 1295 | 1295 | public function setCurrencyCode($currencyCode) |
| 1296 | 1296 | { |
| 1297 | - $this->currencyCode = $currencyCode; |
|
| 1297 | + $this->currencyCode = $currencyCode; |
|
| 1298 | 1298 | } |
| 1299 | 1299 | public function getCurrencyCode() |
| 1300 | 1300 | { |
| 1301 | - return $this->currencyCode; |
|
| 1301 | + return $this->currencyCode; |
|
| 1302 | 1302 | } |
| 1303 | 1303 | public function setEndTime($endTime) |
| 1304 | 1304 | { |
| 1305 | - $this->endTime = $endTime; |
|
| 1305 | + $this->endTime = $endTime; |
|
| 1306 | 1306 | } |
| 1307 | 1307 | public function getEndTime() |
| 1308 | 1308 | { |
| 1309 | - return $this->endTime; |
|
| 1309 | + return $this->endTime; |
|
| 1310 | 1310 | } |
| 1311 | 1311 | public function setFixedCpm($fixedCpm) |
| 1312 | 1312 | { |
| 1313 | - $this->fixedCpm = $fixedCpm; |
|
| 1313 | + $this->fixedCpm = $fixedCpm; |
|
| 1314 | 1314 | } |
| 1315 | 1315 | public function getFixedCpm() |
| 1316 | 1316 | { |
| 1317 | - return $this->fixedCpm; |
|
| 1317 | + return $this->fixedCpm; |
|
| 1318 | 1318 | } |
| 1319 | 1319 | public function setId($id) |
| 1320 | 1320 | { |
| 1321 | - $this->id = $id; |
|
| 1321 | + $this->id = $id; |
|
| 1322 | 1322 | } |
| 1323 | 1323 | public function getId() |
| 1324 | 1324 | { |
| 1325 | - return $this->id; |
|
| 1325 | + return $this->id; |
|
| 1326 | 1326 | } |
| 1327 | 1327 | public function setKind($kind) |
| 1328 | 1328 | { |
| 1329 | - $this->kind = $kind; |
|
| 1329 | + $this->kind = $kind; |
|
| 1330 | 1330 | } |
| 1331 | 1331 | public function getKind() |
| 1332 | 1332 | { |
| 1333 | - return $this->kind; |
|
| 1333 | + return $this->kind; |
|
| 1334 | 1334 | } |
| 1335 | 1335 | public function setStartTime($startTime) |
| 1336 | 1336 | { |
| 1337 | - $this->startTime = $startTime; |
|
| 1337 | + $this->startTime = $startTime; |
|
| 1338 | 1338 | } |
| 1339 | 1339 | public function getStartTime() |
| 1340 | 1340 | { |
| 1341 | - return $this->startTime; |
|
| 1341 | + return $this->startTime; |
|
| 1342 | 1342 | } |
| 1343 | 1343 | } |
| 1344 | 1344 | |
@@ -1354,19 +1354,19 @@ discard block |
||
| 1354 | 1354 | |
| 1355 | 1355 | public function setItems($items) |
| 1356 | 1356 | { |
| 1357 | - $this->items = $items; |
|
| 1357 | + $this->items = $items; |
|
| 1358 | 1358 | } |
| 1359 | 1359 | public function getItems() |
| 1360 | 1360 | { |
| 1361 | - return $this->items; |
|
| 1361 | + return $this->items; |
|
| 1362 | 1362 | } |
| 1363 | 1363 | public function setKind($kind) |
| 1364 | 1364 | { |
| 1365 | - $this->kind = $kind; |
|
| 1365 | + $this->kind = $kind; |
|
| 1366 | 1366 | } |
| 1367 | 1367 | public function getKind() |
| 1368 | 1368 | { |
| 1369 | - return $this->kind; |
|
| 1369 | + return $this->kind; |
|
| 1370 | 1370 | } |
| 1371 | 1371 | } |
| 1372 | 1372 | |
@@ -1387,59 +1387,59 @@ discard block |
||
| 1387 | 1387 | |
| 1388 | 1388 | public function setAverages($averages) |
| 1389 | 1389 | { |
| 1390 | - $this->averages = $averages; |
|
| 1390 | + $this->averages = $averages; |
|
| 1391 | 1391 | } |
| 1392 | 1392 | public function getAverages() |
| 1393 | 1393 | { |
| 1394 | - return $this->averages; |
|
| 1394 | + return $this->averages; |
|
| 1395 | 1395 | } |
| 1396 | 1396 | public function setHeaders($headers) |
| 1397 | 1397 | { |
| 1398 | - $this->headers = $headers; |
|
| 1398 | + $this->headers = $headers; |
|
| 1399 | 1399 | } |
| 1400 | 1400 | public function getHeaders() |
| 1401 | 1401 | { |
| 1402 | - return $this->headers; |
|
| 1402 | + return $this->headers; |
|
| 1403 | 1403 | } |
| 1404 | 1404 | public function setKind($kind) |
| 1405 | 1405 | { |
| 1406 | - $this->kind = $kind; |
|
| 1406 | + $this->kind = $kind; |
|
| 1407 | 1407 | } |
| 1408 | 1408 | public function getKind() |
| 1409 | 1409 | { |
| 1410 | - return $this->kind; |
|
| 1410 | + return $this->kind; |
|
| 1411 | 1411 | } |
| 1412 | 1412 | public function setRows($rows) |
| 1413 | 1413 | { |
| 1414 | - $this->rows = $rows; |
|
| 1414 | + $this->rows = $rows; |
|
| 1415 | 1415 | } |
| 1416 | 1416 | public function getRows() |
| 1417 | 1417 | { |
| 1418 | - return $this->rows; |
|
| 1418 | + return $this->rows; |
|
| 1419 | 1419 | } |
| 1420 | 1420 | public function setTotalMatchedRows($totalMatchedRows) |
| 1421 | 1421 | { |
| 1422 | - $this->totalMatchedRows = $totalMatchedRows; |
|
| 1422 | + $this->totalMatchedRows = $totalMatchedRows; |
|
| 1423 | 1423 | } |
| 1424 | 1424 | public function getTotalMatchedRows() |
| 1425 | 1425 | { |
| 1426 | - return $this->totalMatchedRows; |
|
| 1426 | + return $this->totalMatchedRows; |
|
| 1427 | 1427 | } |
| 1428 | 1428 | public function setTotals($totals) |
| 1429 | 1429 | { |
| 1430 | - $this->totals = $totals; |
|
| 1430 | + $this->totals = $totals; |
|
| 1431 | 1431 | } |
| 1432 | 1432 | public function getTotals() |
| 1433 | 1433 | { |
| 1434 | - return $this->totals; |
|
| 1434 | + return $this->totals; |
|
| 1435 | 1435 | } |
| 1436 | 1436 | public function setWarnings($warnings) |
| 1437 | 1437 | { |
| 1438 | - $this->warnings = $warnings; |
|
| 1438 | + $this->warnings = $warnings; |
|
| 1439 | 1439 | } |
| 1440 | 1440 | public function getWarnings() |
| 1441 | 1441 | { |
| 1442 | - return $this->warnings; |
|
| 1442 | + return $this->warnings; |
|
| 1443 | 1443 | } |
| 1444 | 1444 | } |
| 1445 | 1445 | |
@@ -1454,27 +1454,27 @@ discard block |
||
| 1454 | 1454 | |
| 1455 | 1455 | public function setCurrency($currency) |
| 1456 | 1456 | { |
| 1457 | - $this->currency = $currency; |
|
| 1457 | + $this->currency = $currency; |
|
| 1458 | 1458 | } |
| 1459 | 1459 | public function getCurrency() |
| 1460 | 1460 | { |
| 1461 | - return $this->currency; |
|
| 1461 | + return $this->currency; |
|
| 1462 | 1462 | } |
| 1463 | 1463 | public function setName($name) |
| 1464 | 1464 | { |
| 1465 | - $this->name = $name; |
|
| 1465 | + $this->name = $name; |
|
| 1466 | 1466 | } |
| 1467 | 1467 | public function getName() |
| 1468 | 1468 | { |
| 1469 | - return $this->name; |
|
| 1469 | + return $this->name; |
|
| 1470 | 1470 | } |
| 1471 | 1471 | public function setType($type) |
| 1472 | 1472 | { |
| 1473 | - $this->type = $type; |
|
| 1473 | + $this->type = $type; |
|
| 1474 | 1474 | } |
| 1475 | 1475 | public function getType() |
| 1476 | 1476 | { |
| 1477 | - return $this->type; |
|
| 1477 | + return $this->type; |
|
| 1478 | 1478 | } |
| 1479 | 1479 | } |
| 1480 | 1480 | |
@@ -1494,59 +1494,59 @@ discard block |
||
| 1494 | 1494 | |
| 1495 | 1495 | public function setCompatibleDimensions($compatibleDimensions) |
| 1496 | 1496 | { |
| 1497 | - $this->compatibleDimensions = $compatibleDimensions; |
|
| 1497 | + $this->compatibleDimensions = $compatibleDimensions; |
|
| 1498 | 1498 | } |
| 1499 | 1499 | public function getCompatibleDimensions() |
| 1500 | 1500 | { |
| 1501 | - return $this->compatibleDimensions; |
|
| 1501 | + return $this->compatibleDimensions; |
|
| 1502 | 1502 | } |
| 1503 | 1503 | public function setCompatibleMetrics($compatibleMetrics) |
| 1504 | 1504 | { |
| 1505 | - $this->compatibleMetrics = $compatibleMetrics; |
|
| 1505 | + $this->compatibleMetrics = $compatibleMetrics; |
|
| 1506 | 1506 | } |
| 1507 | 1507 | public function getCompatibleMetrics() |
| 1508 | 1508 | { |
| 1509 | - return $this->compatibleMetrics; |
|
| 1509 | + return $this->compatibleMetrics; |
|
| 1510 | 1510 | } |
| 1511 | 1511 | public function setId($id) |
| 1512 | 1512 | { |
| 1513 | - $this->id = $id; |
|
| 1513 | + $this->id = $id; |
|
| 1514 | 1514 | } |
| 1515 | 1515 | public function getId() |
| 1516 | 1516 | { |
| 1517 | - return $this->id; |
|
| 1517 | + return $this->id; |
|
| 1518 | 1518 | } |
| 1519 | 1519 | public function setKind($kind) |
| 1520 | 1520 | { |
| 1521 | - $this->kind = $kind; |
|
| 1521 | + $this->kind = $kind; |
|
| 1522 | 1522 | } |
| 1523 | 1523 | public function getKind() |
| 1524 | 1524 | { |
| 1525 | - return $this->kind; |
|
| 1525 | + return $this->kind; |
|
| 1526 | 1526 | } |
| 1527 | 1527 | public function setRequiredDimensions($requiredDimensions) |
| 1528 | 1528 | { |
| 1529 | - $this->requiredDimensions = $requiredDimensions; |
|
| 1529 | + $this->requiredDimensions = $requiredDimensions; |
|
| 1530 | 1530 | } |
| 1531 | 1531 | public function getRequiredDimensions() |
| 1532 | 1532 | { |
| 1533 | - return $this->requiredDimensions; |
|
| 1533 | + return $this->requiredDimensions; |
|
| 1534 | 1534 | } |
| 1535 | 1535 | public function setRequiredMetrics($requiredMetrics) |
| 1536 | 1536 | { |
| 1537 | - $this->requiredMetrics = $requiredMetrics; |
|
| 1537 | + $this->requiredMetrics = $requiredMetrics; |
|
| 1538 | 1538 | } |
| 1539 | 1539 | public function getRequiredMetrics() |
| 1540 | 1540 | { |
| 1541 | - return $this->requiredMetrics; |
|
| 1541 | + return $this->requiredMetrics; |
|
| 1542 | 1542 | } |
| 1543 | 1543 | public function setSupportedProducts($supportedProducts) |
| 1544 | 1544 | { |
| 1545 | - $this->supportedProducts = $supportedProducts; |
|
| 1545 | + $this->supportedProducts = $supportedProducts; |
|
| 1546 | 1546 | } |
| 1547 | 1547 | public function getSupportedProducts() |
| 1548 | 1548 | { |
| 1549 | - return $this->supportedProducts; |
|
| 1549 | + return $this->supportedProducts; |
|
| 1550 | 1550 | } |
| 1551 | 1551 | } |
| 1552 | 1552 | |
@@ -1561,27 +1561,27 @@ discard block |
||
| 1561 | 1561 | |
| 1562 | 1562 | public function setId($id) |
| 1563 | 1563 | { |
| 1564 | - $this->id = $id; |
|
| 1564 | + $this->id = $id; |
|
| 1565 | 1565 | } |
| 1566 | 1566 | public function getId() |
| 1567 | 1567 | { |
| 1568 | - return $this->id; |
|
| 1568 | + return $this->id; |
|
| 1569 | 1569 | } |
| 1570 | 1570 | public function setKind($kind) |
| 1571 | 1571 | { |
| 1572 | - $this->kind = $kind; |
|
| 1572 | + $this->kind = $kind; |
|
| 1573 | 1573 | } |
| 1574 | 1574 | public function getKind() |
| 1575 | 1575 | { |
| 1576 | - return $this->kind; |
|
| 1576 | + return $this->kind; |
|
| 1577 | 1577 | } |
| 1578 | 1578 | public function setName($name) |
| 1579 | 1579 | { |
| 1580 | - $this->name = $name; |
|
| 1580 | + $this->name = $name; |
|
| 1581 | 1581 | } |
| 1582 | 1582 | public function getName() |
| 1583 | 1583 | { |
| 1584 | - return $this->name; |
|
| 1584 | + return $this->name; |
|
| 1585 | 1585 | } |
| 1586 | 1586 | } |
| 1587 | 1587 | |
@@ -1599,35 +1599,35 @@ discard block |
||
| 1599 | 1599 | |
| 1600 | 1600 | public function setEtag($etag) |
| 1601 | 1601 | { |
| 1602 | - $this->etag = $etag; |
|
| 1602 | + $this->etag = $etag; |
|
| 1603 | 1603 | } |
| 1604 | 1604 | public function getEtag() |
| 1605 | 1605 | { |
| 1606 | - return $this->etag; |
|
| 1606 | + return $this->etag; |
|
| 1607 | 1607 | } |
| 1608 | 1608 | public function setItems($items) |
| 1609 | 1609 | { |
| 1610 | - $this->items = $items; |
|
| 1610 | + $this->items = $items; |
|
| 1611 | 1611 | } |
| 1612 | 1612 | public function getItems() |
| 1613 | 1613 | { |
| 1614 | - return $this->items; |
|
| 1614 | + return $this->items; |
|
| 1615 | 1615 | } |
| 1616 | 1616 | public function setKind($kind) |
| 1617 | 1617 | { |
| 1618 | - $this->kind = $kind; |
|
| 1618 | + $this->kind = $kind; |
|
| 1619 | 1619 | } |
| 1620 | 1620 | public function getKind() |
| 1621 | 1621 | { |
| 1622 | - return $this->kind; |
|
| 1622 | + return $this->kind; |
|
| 1623 | 1623 | } |
| 1624 | 1624 | public function setNextPageToken($nextPageToken) |
| 1625 | 1625 | { |
| 1626 | - $this->nextPageToken = $nextPageToken; |
|
| 1626 | + $this->nextPageToken = $nextPageToken; |
|
| 1627 | 1627 | } |
| 1628 | 1628 | public function getNextPageToken() |
| 1629 | 1629 | { |
| 1630 | - return $this->nextPageToken; |
|
| 1630 | + return $this->nextPageToken; |
|
| 1631 | 1631 | } |
| 1632 | 1632 | } |
| 1633 | 1633 | |
@@ -1642,27 +1642,27 @@ discard block |
||
| 1642 | 1642 | |
| 1643 | 1643 | public function setId($id) |
| 1644 | 1644 | { |
| 1645 | - $this->id = $id; |
|
| 1645 | + $this->id = $id; |
|
| 1646 | 1646 | } |
| 1647 | 1647 | public function getId() |
| 1648 | 1648 | { |
| 1649 | - return $this->id; |
|
| 1649 | + return $this->id; |
|
| 1650 | 1650 | } |
| 1651 | 1651 | public function setKind($kind) |
| 1652 | 1652 | { |
| 1653 | - $this->kind = $kind; |
|
| 1653 | + $this->kind = $kind; |
|
| 1654 | 1654 | } |
| 1655 | 1655 | public function getKind() |
| 1656 | 1656 | { |
| 1657 | - return $this->kind; |
|
| 1657 | + return $this->kind; |
|
| 1658 | 1658 | } |
| 1659 | 1659 | public function setUrlPattern($urlPattern) |
| 1660 | 1660 | { |
| 1661 | - $this->urlPattern = $urlPattern; |
|
| 1661 | + $this->urlPattern = $urlPattern; |
|
| 1662 | 1662 | } |
| 1663 | 1663 | public function getUrlPattern() |
| 1664 | 1664 | { |
| 1665 | - return $this->urlPattern; |
|
| 1665 | + return $this->urlPattern; |
|
| 1666 | 1666 | } |
| 1667 | 1667 | } |
| 1668 | 1668 | |
@@ -1680,34 +1680,34 @@ discard block |
||
| 1680 | 1680 | |
| 1681 | 1681 | public function setEtag($etag) |
| 1682 | 1682 | { |
| 1683 | - $this->etag = $etag; |
|
| 1683 | + $this->etag = $etag; |
|
| 1684 | 1684 | } |
| 1685 | 1685 | public function getEtag() |
| 1686 | 1686 | { |
| 1687 | - return $this->etag; |
|
| 1687 | + return $this->etag; |
|
| 1688 | 1688 | } |
| 1689 | 1689 | public function setItems($items) |
| 1690 | 1690 | { |
| 1691 | - $this->items = $items; |
|
| 1691 | + $this->items = $items; |
|
| 1692 | 1692 | } |
| 1693 | 1693 | public function getItems() |
| 1694 | 1694 | { |
| 1695 | - return $this->items; |
|
| 1695 | + return $this->items; |
|
| 1696 | 1696 | } |
| 1697 | 1697 | public function setKind($kind) |
| 1698 | 1698 | { |
| 1699 | - $this->kind = $kind; |
|
| 1699 | + $this->kind = $kind; |
|
| 1700 | 1700 | } |
| 1701 | 1701 | public function getKind() |
| 1702 | 1702 | { |
| 1703 | - return $this->kind; |
|
| 1703 | + return $this->kind; |
|
| 1704 | 1704 | } |
| 1705 | 1705 | public function setNextPageToken($nextPageToken) |
| 1706 | 1706 | { |
| 1707 | - $this->nextPageToken = $nextPageToken; |
|
| 1707 | + $this->nextPageToken = $nextPageToken; |
|
| 1708 | 1708 | } |
| 1709 | 1709 | public function getNextPageToken() |
| 1710 | 1710 | { |
| 1711 | - return $this->nextPageToken; |
|
| 1711 | + return $this->nextPageToken; |
|
| 1712 | 1712 | } |
| 1713 | 1713 | } |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | 'required' => true, |
| 80 | 80 | ), |
| 81 | 81 | ), |
| 82 | - ),'list' => array( |
|
| 82 | + ), 'list' => array( |
|
| 83 | 83 | 'path' => 'accounts', |
| 84 | 84 | 'httpMethod' => 'GET', |
| 85 | 85 | 'parameters' => array( |
@@ -174,7 +174,7 @@ discard block |
||
| 174 | 174 | 'required' => true, |
| 175 | 175 | ), |
| 176 | 176 | ), |
| 177 | - ),'list' => array( |
|
| 177 | + ), 'list' => array( |
|
| 178 | 178 | 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels', |
| 179 | 179 | 'httpMethod' => 'GET', |
| 180 | 180 | 'parameters' => array( |
@@ -262,7 +262,7 @@ discard block |
||
| 262 | 262 | 'required' => true, |
| 263 | 263 | ), |
| 264 | 264 | ), |
| 265 | - ),'list' => array( |
|
| 265 | + ), 'list' => array( |
|
| 266 | 266 | 'path' => 'accounts/{accountId}/preferreddeals', |
| 267 | 267 | 'httpMethod' => 'GET', |
| 268 | 268 | 'parameters' => array( |
@@ -371,7 +371,7 @@ discard block |
||
| 371 | 371 | 'type' => 'integer', |
| 372 | 372 | ), |
| 373 | 373 | ), |
| 374 | - ),'list' => array( |
|
| 374 | + ), 'list' => array( |
|
| 375 | 375 | 'path' => 'accounts/{accountId}/reports/saved', |
| 376 | 376 | 'httpMethod' => 'GET', |
| 377 | 377 | 'parameters' => array( |
@@ -32,19 +32,19 @@ discard block |
||
| 32 | 32 | { |
| 33 | 33 | /** View the activity history of your Google Apps. */ |
| 34 | 34 | const ACTIVITY = |
| 35 | - "https://www.googleapis.com/auth/activity"; |
|
| 35 | + "https://www.googleapis.com/auth/activity"; |
|
| 36 | 36 | /** View and manage the files in your Google Drive. */ |
| 37 | 37 | const DRIVE = |
| 38 | - "https://www.googleapis.com/auth/drive"; |
|
| 38 | + "https://www.googleapis.com/auth/drive"; |
|
| 39 | 39 | /** View and manage metadata of files in your Google Drive. */ |
| 40 | 40 | const DRIVE_METADATA = |
| 41 | - "https://www.googleapis.com/auth/drive.metadata"; |
|
| 41 | + "https://www.googleapis.com/auth/drive.metadata"; |
|
| 42 | 42 | /** View metadata for files in your Google Drive. */ |
| 43 | 43 | const DRIVE_METADATA_READONLY = |
| 44 | - "https://www.googleapis.com/auth/drive.metadata.readonly"; |
|
| 44 | + "https://www.googleapis.com/auth/drive.metadata.readonly"; |
|
| 45 | 45 | /** View the files in your Google Drive. */ |
| 46 | 46 | const DRIVE_READONLY = |
| 47 | - "https://www.googleapis.com/auth/drive.readonly"; |
|
| 47 | + "https://www.googleapis.com/auth/drive.readonly"; |
|
| 48 | 48 | |
| 49 | 49 | public $activities; |
| 50 | 50 | |
@@ -56,55 +56,55 @@ discard block |
||
| 56 | 56 | */ |
| 57 | 57 | public function __construct(Google_Client $client) |
| 58 | 58 | { |
| 59 | - parent::__construct($client); |
|
| 60 | - $this->rootUrl = 'https://www.googleapis.com/'; |
|
| 61 | - $this->servicePath = 'appsactivity/v1/'; |
|
| 62 | - $this->version = 'v1'; |
|
| 63 | - $this->serviceName = 'appsactivity'; |
|
| 64 | - |
|
| 65 | - $this->activities = new Google_Service_Appsactivity_Activities_Resource( |
|
| 66 | - $this, |
|
| 67 | - $this->serviceName, |
|
| 68 | - 'activities', |
|
| 69 | - array( |
|
| 70 | - 'methods' => array( |
|
| 71 | - 'list' => array( |
|
| 72 | - 'path' => 'activities', |
|
| 73 | - 'httpMethod' => 'GET', |
|
| 74 | - 'parameters' => array( |
|
| 75 | - 'drive.ancestorId' => array( |
|
| 76 | - 'location' => 'query', |
|
| 77 | - 'type' => 'string', |
|
| 78 | - ), |
|
| 79 | - 'pageSize' => array( |
|
| 80 | - 'location' => 'query', |
|
| 81 | - 'type' => 'integer', |
|
| 82 | - ), |
|
| 83 | - 'pageToken' => array( |
|
| 84 | - 'location' => 'query', |
|
| 85 | - 'type' => 'string', |
|
| 86 | - ), |
|
| 87 | - 'userId' => array( |
|
| 88 | - 'location' => 'query', |
|
| 89 | - 'type' => 'string', |
|
| 90 | - ), |
|
| 91 | - 'groupingStrategy' => array( |
|
| 92 | - 'location' => 'query', |
|
| 93 | - 'type' => 'string', |
|
| 94 | - ), |
|
| 95 | - 'drive.fileId' => array( |
|
| 96 | - 'location' => 'query', |
|
| 97 | - 'type' => 'string', |
|
| 98 | - ), |
|
| 99 | - 'source' => array( |
|
| 100 | - 'location' => 'query', |
|
| 101 | - 'type' => 'string', |
|
| 102 | - ), |
|
| 103 | - ), |
|
| 104 | - ), |
|
| 105 | - ) |
|
| 106 | - ) |
|
| 107 | - ); |
|
| 59 | + parent::__construct($client); |
|
| 60 | + $this->rootUrl = 'https://www.googleapis.com/'; |
|
| 61 | + $this->servicePath = 'appsactivity/v1/'; |
|
| 62 | + $this->version = 'v1'; |
|
| 63 | + $this->serviceName = 'appsactivity'; |
|
| 64 | + |
|
| 65 | + $this->activities = new Google_Service_Appsactivity_Activities_Resource( |
|
| 66 | + $this, |
|
| 67 | + $this->serviceName, |
|
| 68 | + 'activities', |
|
| 69 | + array( |
|
| 70 | + 'methods' => array( |
|
| 71 | + 'list' => array( |
|
| 72 | + 'path' => 'activities', |
|
| 73 | + 'httpMethod' => 'GET', |
|
| 74 | + 'parameters' => array( |
|
| 75 | + 'drive.ancestorId' => array( |
|
| 76 | + 'location' => 'query', |
|
| 77 | + 'type' => 'string', |
|
| 78 | + ), |
|
| 79 | + 'pageSize' => array( |
|
| 80 | + 'location' => 'query', |
|
| 81 | + 'type' => 'integer', |
|
| 82 | + ), |
|
| 83 | + 'pageToken' => array( |
|
| 84 | + 'location' => 'query', |
|
| 85 | + 'type' => 'string', |
|
| 86 | + ), |
|
| 87 | + 'userId' => array( |
|
| 88 | + 'location' => 'query', |
|
| 89 | + 'type' => 'string', |
|
| 90 | + ), |
|
| 91 | + 'groupingStrategy' => array( |
|
| 92 | + 'location' => 'query', |
|
| 93 | + 'type' => 'string', |
|
| 94 | + ), |
|
| 95 | + 'drive.fileId' => array( |
|
| 96 | + 'location' => 'query', |
|
| 97 | + 'type' => 'string', |
|
| 98 | + ), |
|
| 99 | + 'source' => array( |
|
| 100 | + 'location' => 'query', |
|
| 101 | + 'type' => 'string', |
|
| 102 | + ), |
|
| 103 | + ), |
|
| 104 | + ), |
|
| 105 | + ) |
|
| 106 | + ) |
|
| 107 | + ); |
|
| 108 | 108 | } |
| 109 | 109 | } |
| 110 | 110 | |
@@ -147,9 +147,9 @@ discard block |
||
| 147 | 147 | */ |
| 148 | 148 | public function listActivities($optParams = array()) |
| 149 | 149 | { |
| 150 | - $params = array(); |
|
| 151 | - $params = array_merge($params, $optParams); |
|
| 152 | - return $this->call('list', array($params), "Google_Service_Appsactivity_ListActivitiesResponse"); |
|
| 150 | + $params = array(); |
|
| 151 | + $params = array_merge($params, $optParams); |
|
| 152 | + return $this->call('list', array($params), "Google_Service_Appsactivity_ListActivitiesResponse"); |
|
| 153 | 153 | } |
| 154 | 154 | } |
| 155 | 155 | |
@@ -169,19 +169,19 @@ discard block |
||
| 169 | 169 | |
| 170 | 170 | public function setCombinedEvent(Google_Service_Appsactivity_Event $combinedEvent) |
| 171 | 171 | { |
| 172 | - $this->combinedEvent = $combinedEvent; |
|
| 172 | + $this->combinedEvent = $combinedEvent; |
|
| 173 | 173 | } |
| 174 | 174 | public function getCombinedEvent() |
| 175 | 175 | { |
| 176 | - return $this->combinedEvent; |
|
| 176 | + return $this->combinedEvent; |
|
| 177 | 177 | } |
| 178 | 178 | public function setSingleEvents($singleEvents) |
| 179 | 179 | { |
| 180 | - $this->singleEvents = $singleEvents; |
|
| 180 | + $this->singleEvents = $singleEvents; |
|
| 181 | 181 | } |
| 182 | 182 | public function getSingleEvents() |
| 183 | 183 | { |
| 184 | - return $this->singleEvents; |
|
| 184 | + return $this->singleEvents; |
|
| 185 | 185 | } |
| 186 | 186 | } |
| 187 | 187 | |
@@ -208,75 +208,75 @@ discard block |
||
| 208 | 208 | |
| 209 | 209 | public function setAdditionalEventTypes($additionalEventTypes) |
| 210 | 210 | { |
| 211 | - $this->additionalEventTypes = $additionalEventTypes; |
|
| 211 | + $this->additionalEventTypes = $additionalEventTypes; |
|
| 212 | 212 | } |
| 213 | 213 | public function getAdditionalEventTypes() |
| 214 | 214 | { |
| 215 | - return $this->additionalEventTypes; |
|
| 215 | + return $this->additionalEventTypes; |
|
| 216 | 216 | } |
| 217 | 217 | public function setEventTimeMillis($eventTimeMillis) |
| 218 | 218 | { |
| 219 | - $this->eventTimeMillis = $eventTimeMillis; |
|
| 219 | + $this->eventTimeMillis = $eventTimeMillis; |
|
| 220 | 220 | } |
| 221 | 221 | public function getEventTimeMillis() |
| 222 | 222 | { |
| 223 | - return $this->eventTimeMillis; |
|
| 223 | + return $this->eventTimeMillis; |
|
| 224 | 224 | } |
| 225 | 225 | public function setFromUserDeletion($fromUserDeletion) |
| 226 | 226 | { |
| 227 | - $this->fromUserDeletion = $fromUserDeletion; |
|
| 227 | + $this->fromUserDeletion = $fromUserDeletion; |
|
| 228 | 228 | } |
| 229 | 229 | public function getFromUserDeletion() |
| 230 | 230 | { |
| 231 | - return $this->fromUserDeletion; |
|
| 231 | + return $this->fromUserDeletion; |
|
| 232 | 232 | } |
| 233 | 233 | public function setMove(Google_Service_Appsactivity_Move $move) |
| 234 | 234 | { |
| 235 | - $this->move = $move; |
|
| 235 | + $this->move = $move; |
|
| 236 | 236 | } |
| 237 | 237 | public function getMove() |
| 238 | 238 | { |
| 239 | - return $this->move; |
|
| 239 | + return $this->move; |
|
| 240 | 240 | } |
| 241 | 241 | public function setPermissionChanges($permissionChanges) |
| 242 | 242 | { |
| 243 | - $this->permissionChanges = $permissionChanges; |
|
| 243 | + $this->permissionChanges = $permissionChanges; |
|
| 244 | 244 | } |
| 245 | 245 | public function getPermissionChanges() |
| 246 | 246 | { |
| 247 | - return $this->permissionChanges; |
|
| 247 | + return $this->permissionChanges; |
|
| 248 | 248 | } |
| 249 | 249 | public function setPrimaryEventType($primaryEventType) |
| 250 | 250 | { |
| 251 | - $this->primaryEventType = $primaryEventType; |
|
| 251 | + $this->primaryEventType = $primaryEventType; |
|
| 252 | 252 | } |
| 253 | 253 | public function getPrimaryEventType() |
| 254 | 254 | { |
| 255 | - return $this->primaryEventType; |
|
| 255 | + return $this->primaryEventType; |
|
| 256 | 256 | } |
| 257 | 257 | public function setRename(Google_Service_Appsactivity_Rename $rename) |
| 258 | 258 | { |
| 259 | - $this->rename = $rename; |
|
| 259 | + $this->rename = $rename; |
|
| 260 | 260 | } |
| 261 | 261 | public function getRename() |
| 262 | 262 | { |
| 263 | - return $this->rename; |
|
| 263 | + return $this->rename; |
|
| 264 | 264 | } |
| 265 | 265 | public function setTarget(Google_Service_Appsactivity_Target $target) |
| 266 | 266 | { |
| 267 | - $this->target = $target; |
|
| 267 | + $this->target = $target; |
|
| 268 | 268 | } |
| 269 | 269 | public function getTarget() |
| 270 | 270 | { |
| 271 | - return $this->target; |
|
| 271 | + return $this->target; |
|
| 272 | 272 | } |
| 273 | 273 | public function setUser(Google_Service_Appsactivity_User $user) |
| 274 | 274 | { |
| 275 | - $this->user = $user; |
|
| 275 | + $this->user = $user; |
|
| 276 | 276 | } |
| 277 | 277 | public function getUser() |
| 278 | 278 | { |
| 279 | - return $this->user; |
|
| 279 | + return $this->user; |
|
| 280 | 280 | } |
| 281 | 281 | } |
| 282 | 282 | |
@@ -292,19 +292,19 @@ discard block |
||
| 292 | 292 | |
| 293 | 293 | public function setActivities($activities) |
| 294 | 294 | { |
| 295 | - $this->activities = $activities; |
|
| 295 | + $this->activities = $activities; |
|
| 296 | 296 | } |
| 297 | 297 | public function getActivities() |
| 298 | 298 | { |
| 299 | - return $this->activities; |
|
| 299 | + return $this->activities; |
|
| 300 | 300 | } |
| 301 | 301 | public function setNextPageToken($nextPageToken) |
| 302 | 302 | { |
| 303 | - $this->nextPageToken = $nextPageToken; |
|
| 303 | + $this->nextPageToken = $nextPageToken; |
|
| 304 | 304 | } |
| 305 | 305 | public function getNextPageToken() |
| 306 | 306 | { |
| 307 | - return $this->nextPageToken; |
|
| 307 | + return $this->nextPageToken; |
|
| 308 | 308 | } |
| 309 | 309 | } |
| 310 | 310 | |
@@ -321,19 +321,19 @@ discard block |
||
| 321 | 321 | |
| 322 | 322 | public function setAddedParents($addedParents) |
| 323 | 323 | { |
| 324 | - $this->addedParents = $addedParents; |
|
| 324 | + $this->addedParents = $addedParents; |
|
| 325 | 325 | } |
| 326 | 326 | public function getAddedParents() |
| 327 | 327 | { |
| 328 | - return $this->addedParents; |
|
| 328 | + return $this->addedParents; |
|
| 329 | 329 | } |
| 330 | 330 | public function setRemovedParents($removedParents) |
| 331 | 331 | { |
| 332 | - $this->removedParents = $removedParents; |
|
| 332 | + $this->removedParents = $removedParents; |
|
| 333 | 333 | } |
| 334 | 334 | public function getRemovedParents() |
| 335 | 335 | { |
| 336 | - return $this->removedParents; |
|
| 336 | + return $this->removedParents; |
|
| 337 | 337 | } |
| 338 | 338 | } |
| 339 | 339 | |
@@ -348,27 +348,27 @@ discard block |
||
| 348 | 348 | |
| 349 | 349 | public function setId($id) |
| 350 | 350 | { |
| 351 | - $this->id = $id; |
|
| 351 | + $this->id = $id; |
|
| 352 | 352 | } |
| 353 | 353 | public function getId() |
| 354 | 354 | { |
| 355 | - return $this->id; |
|
| 355 | + return $this->id; |
|
| 356 | 356 | } |
| 357 | 357 | public function setIsRoot($isRoot) |
| 358 | 358 | { |
| 359 | - $this->isRoot = $isRoot; |
|
| 359 | + $this->isRoot = $isRoot; |
|
| 360 | 360 | } |
| 361 | 361 | public function getIsRoot() |
| 362 | 362 | { |
| 363 | - return $this->isRoot; |
|
| 363 | + return $this->isRoot; |
|
| 364 | 364 | } |
| 365 | 365 | public function setTitle($title) |
| 366 | 366 | { |
| 367 | - $this->title = $title; |
|
| 367 | + $this->title = $title; |
|
| 368 | 368 | } |
| 369 | 369 | public function getTitle() |
| 370 | 370 | { |
| 371 | - return $this->title; |
|
| 371 | + return $this->title; |
|
| 372 | 372 | } |
| 373 | 373 | } |
| 374 | 374 | |
@@ -387,51 +387,51 @@ discard block |
||
| 387 | 387 | |
| 388 | 388 | public function setName($name) |
| 389 | 389 | { |
| 390 | - $this->name = $name; |
|
| 390 | + $this->name = $name; |
|
| 391 | 391 | } |
| 392 | 392 | public function getName() |
| 393 | 393 | { |
| 394 | - return $this->name; |
|
| 394 | + return $this->name; |
|
| 395 | 395 | } |
| 396 | 396 | public function setPermissionId($permissionId) |
| 397 | 397 | { |
| 398 | - $this->permissionId = $permissionId; |
|
| 398 | + $this->permissionId = $permissionId; |
|
| 399 | 399 | } |
| 400 | 400 | public function getPermissionId() |
| 401 | 401 | { |
| 402 | - return $this->permissionId; |
|
| 402 | + return $this->permissionId; |
|
| 403 | 403 | } |
| 404 | 404 | public function setRole($role) |
| 405 | 405 | { |
| 406 | - $this->role = $role; |
|
| 406 | + $this->role = $role; |
|
| 407 | 407 | } |
| 408 | 408 | public function getRole() |
| 409 | 409 | { |
| 410 | - return $this->role; |
|
| 410 | + return $this->role; |
|
| 411 | 411 | } |
| 412 | 412 | public function setType($type) |
| 413 | 413 | { |
| 414 | - $this->type = $type; |
|
| 414 | + $this->type = $type; |
|
| 415 | 415 | } |
| 416 | 416 | public function getType() |
| 417 | 417 | { |
| 418 | - return $this->type; |
|
| 418 | + return $this->type; |
|
| 419 | 419 | } |
| 420 | 420 | public function setUser(Google_Service_Appsactivity_User $user) |
| 421 | 421 | { |
| 422 | - $this->user = $user; |
|
| 422 | + $this->user = $user; |
|
| 423 | 423 | } |
| 424 | 424 | public function getUser() |
| 425 | 425 | { |
| 426 | - return $this->user; |
|
| 426 | + return $this->user; |
|
| 427 | 427 | } |
| 428 | 428 | public function setWithLink($withLink) |
| 429 | 429 | { |
| 430 | - $this->withLink = $withLink; |
|
| 430 | + $this->withLink = $withLink; |
|
| 431 | 431 | } |
| 432 | 432 | public function getWithLink() |
| 433 | 433 | { |
| 434 | - return $this->withLink; |
|
| 434 | + return $this->withLink; |
|
| 435 | 435 | } |
| 436 | 436 | } |
| 437 | 437 | |
@@ -448,19 +448,19 @@ discard block |
||
| 448 | 448 | |
| 449 | 449 | public function setAddedPermissions($addedPermissions) |
| 450 | 450 | { |
| 451 | - $this->addedPermissions = $addedPermissions; |
|
| 451 | + $this->addedPermissions = $addedPermissions; |
|
| 452 | 452 | } |
| 453 | 453 | public function getAddedPermissions() |
| 454 | 454 | { |
| 455 | - return $this->addedPermissions; |
|
| 455 | + return $this->addedPermissions; |
|
| 456 | 456 | } |
| 457 | 457 | public function setRemovedPermissions($removedPermissions) |
| 458 | 458 | { |
| 459 | - $this->removedPermissions = $removedPermissions; |
|
| 459 | + $this->removedPermissions = $removedPermissions; |
|
| 460 | 460 | } |
| 461 | 461 | public function getRemovedPermissions() |
| 462 | 462 | { |
| 463 | - return $this->removedPermissions; |
|
| 463 | + return $this->removedPermissions; |
|
| 464 | 464 | } |
| 465 | 465 | } |
| 466 | 466 | |
@@ -473,11 +473,11 @@ discard block |
||
| 473 | 473 | |
| 474 | 474 | public function setUrl($url) |
| 475 | 475 | { |
| 476 | - $this->url = $url; |
|
| 476 | + $this->url = $url; |
|
| 477 | 477 | } |
| 478 | 478 | public function getUrl() |
| 479 | 479 | { |
| 480 | - return $this->url; |
|
| 480 | + return $this->url; |
|
| 481 | 481 | } |
| 482 | 482 | } |
| 483 | 483 | |
@@ -491,19 +491,19 @@ discard block |
||
| 491 | 491 | |
| 492 | 492 | public function setNewTitle($newTitle) |
| 493 | 493 | { |
| 494 | - $this->newTitle = $newTitle; |
|
| 494 | + $this->newTitle = $newTitle; |
|
| 495 | 495 | } |
| 496 | 496 | public function getNewTitle() |
| 497 | 497 | { |
| 498 | - return $this->newTitle; |
|
| 498 | + return $this->newTitle; |
|
| 499 | 499 | } |
| 500 | 500 | public function setOldTitle($oldTitle) |
| 501 | 501 | { |
| 502 | - $this->oldTitle = $oldTitle; |
|
| 502 | + $this->oldTitle = $oldTitle; |
|
| 503 | 503 | } |
| 504 | 504 | public function getOldTitle() |
| 505 | 505 | { |
| 506 | - return $this->oldTitle; |
|
| 506 | + return $this->oldTitle; |
|
| 507 | 507 | } |
| 508 | 508 | } |
| 509 | 509 | |
@@ -518,27 +518,27 @@ discard block |
||
| 518 | 518 | |
| 519 | 519 | public function setId($id) |
| 520 | 520 | { |
| 521 | - $this->id = $id; |
|
| 521 | + $this->id = $id; |
|
| 522 | 522 | } |
| 523 | 523 | public function getId() |
| 524 | 524 | { |
| 525 | - return $this->id; |
|
| 525 | + return $this->id; |
|
| 526 | 526 | } |
| 527 | 527 | public function setMimeType($mimeType) |
| 528 | 528 | { |
| 529 | - $this->mimeType = $mimeType; |
|
| 529 | + $this->mimeType = $mimeType; |
|
| 530 | 530 | } |
| 531 | 531 | public function getMimeType() |
| 532 | 532 | { |
| 533 | - return $this->mimeType; |
|
| 533 | + return $this->mimeType; |
|
| 534 | 534 | } |
| 535 | 535 | public function setName($name) |
| 536 | 536 | { |
| 537 | - $this->name = $name; |
|
| 537 | + $this->name = $name; |
|
| 538 | 538 | } |
| 539 | 539 | public function getName() |
| 540 | 540 | { |
| 541 | - return $this->name; |
|
| 541 | + return $this->name; |
|
| 542 | 542 | } |
| 543 | 543 | } |
| 544 | 544 | |
@@ -553,18 +553,18 @@ discard block |
||
| 553 | 553 | |
| 554 | 554 | public function setName($name) |
| 555 | 555 | { |
| 556 | - $this->name = $name; |
|
| 556 | + $this->name = $name; |
|
| 557 | 557 | } |
| 558 | 558 | public function getName() |
| 559 | 559 | { |
| 560 | - return $this->name; |
|
| 560 | + return $this->name; |
|
| 561 | 561 | } |
| 562 | 562 | public function setPhoto(Google_Service_Appsactivity_Photo $photo) |
| 563 | 563 | { |
| 564 | - $this->photo = $photo; |
|
| 564 | + $this->photo = $photo; |
|
| 565 | 565 | } |
| 566 | 566 | public function getPhoto() |
| 567 | 567 | { |
| 568 | - return $this->photo; |
|
| 568 | + return $this->photo; |
|
| 569 | 569 | } |
| 570 | 570 | } |
@@ -42,156 +42,156 @@ discard block |
||
| 42 | 42 | */ |
| 43 | 43 | public function __construct(Google_Client $client) |
| 44 | 44 | { |
| 45 | - parent::__construct($client); |
|
| 46 | - $this->rootUrl = 'https://www.googleapis.com/'; |
|
| 47 | - $this->servicePath = 'customsearch/'; |
|
| 48 | - $this->version = 'v1'; |
|
| 49 | - $this->serviceName = 'customsearch'; |
|
| 45 | + parent::__construct($client); |
|
| 46 | + $this->rootUrl = 'https://www.googleapis.com/'; |
|
| 47 | + $this->servicePath = 'customsearch/'; |
|
| 48 | + $this->version = 'v1'; |
|
| 49 | + $this->serviceName = 'customsearch'; |
|
| 50 | 50 | |
| 51 | - $this->cse = new Google_Service_Customsearch_Cse_Resource( |
|
| 52 | - $this, |
|
| 53 | - $this->serviceName, |
|
| 54 | - 'cse', |
|
| 55 | - array( |
|
| 56 | - 'methods' => array( |
|
| 57 | - 'list' => array( |
|
| 58 | - 'path' => 'v1', |
|
| 59 | - 'httpMethod' => 'GET', |
|
| 60 | - 'parameters' => array( |
|
| 61 | - 'q' => array( |
|
| 62 | - 'location' => 'query', |
|
| 63 | - 'type' => 'string', |
|
| 64 | - 'required' => true, |
|
| 65 | - ), |
|
| 66 | - 'sort' => array( |
|
| 67 | - 'location' => 'query', |
|
| 68 | - 'type' => 'string', |
|
| 69 | - ), |
|
| 70 | - 'orTerms' => array( |
|
| 71 | - 'location' => 'query', |
|
| 72 | - 'type' => 'string', |
|
| 73 | - ), |
|
| 74 | - 'highRange' => array( |
|
| 75 | - 'location' => 'query', |
|
| 76 | - 'type' => 'string', |
|
| 77 | - ), |
|
| 78 | - 'num' => array( |
|
| 79 | - 'location' => 'query', |
|
| 80 | - 'type' => 'integer', |
|
| 81 | - ), |
|
| 82 | - 'cr' => array( |
|
| 83 | - 'location' => 'query', |
|
| 84 | - 'type' => 'string', |
|
| 85 | - ), |
|
| 86 | - 'imgType' => array( |
|
| 87 | - 'location' => 'query', |
|
| 88 | - 'type' => 'string', |
|
| 89 | - ), |
|
| 90 | - 'gl' => array( |
|
| 91 | - 'location' => 'query', |
|
| 92 | - 'type' => 'string', |
|
| 93 | - ), |
|
| 94 | - 'relatedSite' => array( |
|
| 95 | - 'location' => 'query', |
|
| 96 | - 'type' => 'string', |
|
| 97 | - ), |
|
| 98 | - 'searchType' => array( |
|
| 99 | - 'location' => 'query', |
|
| 100 | - 'type' => 'string', |
|
| 101 | - ), |
|
| 102 | - 'fileType' => array( |
|
| 103 | - 'location' => 'query', |
|
| 104 | - 'type' => 'string', |
|
| 105 | - ), |
|
| 106 | - 'start' => array( |
|
| 107 | - 'location' => 'query', |
|
| 108 | - 'type' => 'integer', |
|
| 109 | - ), |
|
| 110 | - 'imgDominantColor' => array( |
|
| 111 | - 'location' => 'query', |
|
| 112 | - 'type' => 'string', |
|
| 113 | - ), |
|
| 114 | - 'lr' => array( |
|
| 115 | - 'location' => 'query', |
|
| 116 | - 'type' => 'string', |
|
| 117 | - ), |
|
| 118 | - 'siteSearch' => array( |
|
| 119 | - 'location' => 'query', |
|
| 120 | - 'type' => 'string', |
|
| 121 | - ), |
|
| 122 | - 'cref' => array( |
|
| 123 | - 'location' => 'query', |
|
| 124 | - 'type' => 'string', |
|
| 125 | - ), |
|
| 126 | - 'dateRestrict' => array( |
|
| 127 | - 'location' => 'query', |
|
| 128 | - 'type' => 'string', |
|
| 129 | - ), |
|
| 130 | - 'safe' => array( |
|
| 131 | - 'location' => 'query', |
|
| 132 | - 'type' => 'string', |
|
| 133 | - ), |
|
| 134 | - 'c2coff' => array( |
|
| 135 | - 'location' => 'query', |
|
| 136 | - 'type' => 'string', |
|
| 137 | - ), |
|
| 138 | - 'googlehost' => array( |
|
| 139 | - 'location' => 'query', |
|
| 140 | - 'type' => 'string', |
|
| 141 | - ), |
|
| 142 | - 'hq' => array( |
|
| 143 | - 'location' => 'query', |
|
| 144 | - 'type' => 'string', |
|
| 145 | - ), |
|
| 146 | - 'exactTerms' => array( |
|
| 147 | - 'location' => 'query', |
|
| 148 | - 'type' => 'string', |
|
| 149 | - ), |
|
| 150 | - 'hl' => array( |
|
| 151 | - 'location' => 'query', |
|
| 152 | - 'type' => 'string', |
|
| 153 | - ), |
|
| 154 | - 'lowRange' => array( |
|
| 155 | - 'location' => 'query', |
|
| 156 | - 'type' => 'string', |
|
| 157 | - ), |
|
| 158 | - 'imgSize' => array( |
|
| 159 | - 'location' => 'query', |
|
| 160 | - 'type' => 'string', |
|
| 161 | - ), |
|
| 162 | - 'imgColorType' => array( |
|
| 163 | - 'location' => 'query', |
|
| 164 | - 'type' => 'string', |
|
| 165 | - ), |
|
| 166 | - 'rights' => array( |
|
| 167 | - 'location' => 'query', |
|
| 168 | - 'type' => 'string', |
|
| 169 | - ), |
|
| 170 | - 'excludeTerms' => array( |
|
| 171 | - 'location' => 'query', |
|
| 172 | - 'type' => 'string', |
|
| 173 | - ), |
|
| 174 | - 'filter' => array( |
|
| 175 | - 'location' => 'query', |
|
| 176 | - 'type' => 'string', |
|
| 177 | - ), |
|
| 178 | - 'linkSite' => array( |
|
| 179 | - 'location' => 'query', |
|
| 180 | - 'type' => 'string', |
|
| 181 | - ), |
|
| 182 | - 'cx' => array( |
|
| 183 | - 'location' => 'query', |
|
| 184 | - 'type' => 'string', |
|
| 185 | - ), |
|
| 186 | - 'siteSearchFilter' => array( |
|
| 187 | - 'location' => 'query', |
|
| 188 | - 'type' => 'string', |
|
| 189 | - ), |
|
| 190 | - ), |
|
| 191 | - ), |
|
| 192 | - ) |
|
| 193 | - ) |
|
| 194 | - ); |
|
| 51 | + $this->cse = new Google_Service_Customsearch_Cse_Resource( |
|
| 52 | + $this, |
|
| 53 | + $this->serviceName, |
|
| 54 | + 'cse', |
|
| 55 | + array( |
|
| 56 | + 'methods' => array( |
|
| 57 | + 'list' => array( |
|
| 58 | + 'path' => 'v1', |
|
| 59 | + 'httpMethod' => 'GET', |
|
| 60 | + 'parameters' => array( |
|
| 61 | + 'q' => array( |
|
| 62 | + 'location' => 'query', |
|
| 63 | + 'type' => 'string', |
|
| 64 | + 'required' => true, |
|
| 65 | + ), |
|
| 66 | + 'sort' => array( |
|
| 67 | + 'location' => 'query', |
|
| 68 | + 'type' => 'string', |
|
| 69 | + ), |
|
| 70 | + 'orTerms' => array( |
|
| 71 | + 'location' => 'query', |
|
| 72 | + 'type' => 'string', |
|
| 73 | + ), |
|
| 74 | + 'highRange' => array( |
|
| 75 | + 'location' => 'query', |
|
| 76 | + 'type' => 'string', |
|
| 77 | + ), |
|
| 78 | + 'num' => array( |
|
| 79 | + 'location' => 'query', |
|
| 80 | + 'type' => 'integer', |
|
| 81 | + ), |
|
| 82 | + 'cr' => array( |
|
| 83 | + 'location' => 'query', |
|
| 84 | + 'type' => 'string', |
|
| 85 | + ), |
|
| 86 | + 'imgType' => array( |
|
| 87 | + 'location' => 'query', |
|
| 88 | + 'type' => 'string', |
|
| 89 | + ), |
|
| 90 | + 'gl' => array( |
|
| 91 | + 'location' => 'query', |
|
| 92 | + 'type' => 'string', |
|
| 93 | + ), |
|
| 94 | + 'relatedSite' => array( |
|
| 95 | + 'location' => 'query', |
|
| 96 | + 'type' => 'string', |
|
| 97 | + ), |
|
| 98 | + 'searchType' => array( |
|
| 99 | + 'location' => 'query', |
|
| 100 | + 'type' => 'string', |
|
| 101 | + ), |
|
| 102 | + 'fileType' => array( |
|
| 103 | + 'location' => 'query', |
|
| 104 | + 'type' => 'string', |
|
| 105 | + ), |
|
| 106 | + 'start' => array( |
|
| 107 | + 'location' => 'query', |
|
| 108 | + 'type' => 'integer', |
|
| 109 | + ), |
|
| 110 | + 'imgDominantColor' => array( |
|
| 111 | + 'location' => 'query', |
|
| 112 | + 'type' => 'string', |
|
| 113 | + ), |
|
| 114 | + 'lr' => array( |
|
| 115 | + 'location' => 'query', |
|
| 116 | + 'type' => 'string', |
|
| 117 | + ), |
|
| 118 | + 'siteSearch' => array( |
|
| 119 | + 'location' => 'query', |
|
| 120 | + 'type' => 'string', |
|
| 121 | + ), |
|
| 122 | + 'cref' => array( |
|
| 123 | + 'location' => 'query', |
|
| 124 | + 'type' => 'string', |
|
| 125 | + ), |
|
| 126 | + 'dateRestrict' => array( |
|
| 127 | + 'location' => 'query', |
|
| 128 | + 'type' => 'string', |
|
| 129 | + ), |
|
| 130 | + 'safe' => array( |
|
| 131 | + 'location' => 'query', |
|
| 132 | + 'type' => 'string', |
|
| 133 | + ), |
|
| 134 | + 'c2coff' => array( |
|
| 135 | + 'location' => 'query', |
|
| 136 | + 'type' => 'string', |
|
| 137 | + ), |
|
| 138 | + 'googlehost' => array( |
|
| 139 | + 'location' => 'query', |
|
| 140 | + 'type' => 'string', |
|
| 141 | + ), |
|
| 142 | + 'hq' => array( |
|
| 143 | + 'location' => 'query', |
|
| 144 | + 'type' => 'string', |
|
| 145 | + ), |
|
| 146 | + 'exactTerms' => array( |
|
| 147 | + 'location' => 'query', |
|
| 148 | + 'type' => 'string', |
|
| 149 | + ), |
|
| 150 | + 'hl' => array( |
|
| 151 | + 'location' => 'query', |
|
| 152 | + 'type' => 'string', |
|
| 153 | + ), |
|
| 154 | + 'lowRange' => array( |
|
| 155 | + 'location' => 'query', |
|
| 156 | + 'type' => 'string', |
|
| 157 | + ), |
|
| 158 | + 'imgSize' => array( |
|
| 159 | + 'location' => 'query', |
|
| 160 | + 'type' => 'string', |
|
| 161 | + ), |
|
| 162 | + 'imgColorType' => array( |
|
| 163 | + 'location' => 'query', |
|
| 164 | + 'type' => 'string', |
|
| 165 | + ), |
|
| 166 | + 'rights' => array( |
|
| 167 | + 'location' => 'query', |
|
| 168 | + 'type' => 'string', |
|
| 169 | + ), |
|
| 170 | + 'excludeTerms' => array( |
|
| 171 | + 'location' => 'query', |
|
| 172 | + 'type' => 'string', |
|
| 173 | + ), |
|
| 174 | + 'filter' => array( |
|
| 175 | + 'location' => 'query', |
|
| 176 | + 'type' => 'string', |
|
| 177 | + ), |
|
| 178 | + 'linkSite' => array( |
|
| 179 | + 'location' => 'query', |
|
| 180 | + 'type' => 'string', |
|
| 181 | + ), |
|
| 182 | + 'cx' => array( |
|
| 183 | + 'location' => 'query', |
|
| 184 | + 'type' => 'string', |
|
| 185 | + ), |
|
| 186 | + 'siteSearchFilter' => array( |
|
| 187 | + 'location' => 'query', |
|
| 188 | + 'type' => 'string', |
|
| 189 | + ), |
|
| 190 | + ), |
|
| 191 | + ), |
|
| 192 | + ) |
|
| 193 | + ) |
|
| 194 | + ); |
|
| 195 | 195 | } |
| 196 | 196 | } |
| 197 | 197 | |
@@ -269,9 +269,9 @@ discard block |
||
| 269 | 269 | */ |
| 270 | 270 | public function listCse($q, $optParams = array()) |
| 271 | 271 | { |
| 272 | - $params = array('q' => $q); |
|
| 273 | - $params = array_merge($params, $optParams); |
|
| 274 | - return $this->call('list', array($params), "Google_Service_Customsearch_Search"); |
|
| 272 | + $params = array('q' => $q); |
|
| 273 | + $params = array_merge($params, $optParams); |
|
| 274 | + return $this->call('list', array($params), "Google_Service_Customsearch_Search"); |
|
| 275 | 275 | } |
| 276 | 276 | } |
| 277 | 277 | |
@@ -290,26 +290,26 @@ discard block |
||
| 290 | 290 | |
| 291 | 291 | public function setFacets($facets) |
| 292 | 292 | { |
| 293 | - $this->facets = $facets; |
|
| 293 | + $this->facets = $facets; |
|
| 294 | 294 | } |
| 295 | 295 | public function getFacets() |
| 296 | 296 | { |
| 297 | - return $this->facets; |
|
| 297 | + return $this->facets; |
|
| 298 | 298 | } |
| 299 | 299 | public function setTitle($title) |
| 300 | 300 | { |
| 301 | - $this->title = $title; |
|
| 301 | + $this->title = $title; |
|
| 302 | 302 | } |
| 303 | 303 | public function getTitle() |
| 304 | 304 | { |
| 305 | - return $this->title; |
|
| 305 | + return $this->title; |
|
| 306 | 306 | } |
| 307 | 307 | } |
| 308 | 308 | |
| 309 | 309 | class Google_Service_Customsearch_ContextFacets extends Google_Model |
| 310 | 310 | { |
| 311 | 311 | protected $internal_gapi_mappings = array( |
| 312 | - "labelWithOp" => "label_with_op", |
|
| 312 | + "labelWithOp" => "label_with_op", |
|
| 313 | 313 | ); |
| 314 | 314 | public $anchor; |
| 315 | 315 | public $label; |
@@ -318,27 +318,27 @@ discard block |
||
| 318 | 318 | |
| 319 | 319 | public function setAnchor($anchor) |
| 320 | 320 | { |
| 321 | - $this->anchor = $anchor; |
|
| 321 | + $this->anchor = $anchor; |
|
| 322 | 322 | } |
| 323 | 323 | public function getAnchor() |
| 324 | 324 | { |
| 325 | - return $this->anchor; |
|
| 325 | + return $this->anchor; |
|
| 326 | 326 | } |
| 327 | 327 | public function setLabel($label) |
| 328 | 328 | { |
| 329 | - $this->label = $label; |
|
| 329 | + $this->label = $label; |
|
| 330 | 330 | } |
| 331 | 331 | public function getLabel() |
| 332 | 332 | { |
| 333 | - return $this->label; |
|
| 333 | + return $this->label; |
|
| 334 | 334 | } |
| 335 | 335 | public function setLabelWithOp($labelWithOp) |
| 336 | 336 | { |
| 337 | - $this->labelWithOp = $labelWithOp; |
|
| 337 | + $this->labelWithOp = $labelWithOp; |
|
| 338 | 338 | } |
| 339 | 339 | public function getLabelWithOp() |
| 340 | 340 | { |
| 341 | - return $this->labelWithOp; |
|
| 341 | + return $this->labelWithOp; |
|
| 342 | 342 | } |
| 343 | 343 | } |
| 344 | 344 | |
@@ -359,51 +359,51 @@ discard block |
||
| 359 | 359 | |
| 360 | 360 | public function setBodyLines($bodyLines) |
| 361 | 361 | { |
| 362 | - $this->bodyLines = $bodyLines; |
|
| 362 | + $this->bodyLines = $bodyLines; |
|
| 363 | 363 | } |
| 364 | 364 | public function getBodyLines() |
| 365 | 365 | { |
| 366 | - return $this->bodyLines; |
|
| 366 | + return $this->bodyLines; |
|
| 367 | 367 | } |
| 368 | 368 | public function setDisplayLink($displayLink) |
| 369 | 369 | { |
| 370 | - $this->displayLink = $displayLink; |
|
| 370 | + $this->displayLink = $displayLink; |
|
| 371 | 371 | } |
| 372 | 372 | public function getDisplayLink() |
| 373 | 373 | { |
| 374 | - return $this->displayLink; |
|
| 374 | + return $this->displayLink; |
|
| 375 | 375 | } |
| 376 | 376 | public function setHtmlTitle($htmlTitle) |
| 377 | 377 | { |
| 378 | - $this->htmlTitle = $htmlTitle; |
|
| 378 | + $this->htmlTitle = $htmlTitle; |
|
| 379 | 379 | } |
| 380 | 380 | public function getHtmlTitle() |
| 381 | 381 | { |
| 382 | - return $this->htmlTitle; |
|
| 382 | + return $this->htmlTitle; |
|
| 383 | 383 | } |
| 384 | 384 | public function setImage(Google_Service_Customsearch_PromotionImage $image) |
| 385 | 385 | { |
| 386 | - $this->image = $image; |
|
| 386 | + $this->image = $image; |
|
| 387 | 387 | } |
| 388 | 388 | public function getImage() |
| 389 | 389 | { |
| 390 | - return $this->image; |
|
| 390 | + return $this->image; |
|
| 391 | 391 | } |
| 392 | 392 | public function setLink($link) |
| 393 | 393 | { |
| 394 | - $this->link = $link; |
|
| 394 | + $this->link = $link; |
|
| 395 | 395 | } |
| 396 | 396 | public function getLink() |
| 397 | 397 | { |
| 398 | - return $this->link; |
|
| 398 | + return $this->link; |
|
| 399 | 399 | } |
| 400 | 400 | public function setTitle($title) |
| 401 | 401 | { |
| 402 | - $this->title = $title; |
|
| 402 | + $this->title = $title; |
|
| 403 | 403 | } |
| 404 | 404 | public function getTitle() |
| 405 | 405 | { |
| 406 | - return $this->title; |
|
| 406 | + return $this->title; |
|
| 407 | 407 | } |
| 408 | 408 | } |
| 409 | 409 | |
@@ -419,35 +419,35 @@ discard block |
||
| 419 | 419 | |
| 420 | 420 | public function setHtmlTitle($htmlTitle) |
| 421 | 421 | { |
| 422 | - $this->htmlTitle = $htmlTitle; |
|
| 422 | + $this->htmlTitle = $htmlTitle; |
|
| 423 | 423 | } |
| 424 | 424 | public function getHtmlTitle() |
| 425 | 425 | { |
| 426 | - return $this->htmlTitle; |
|
| 426 | + return $this->htmlTitle; |
|
| 427 | 427 | } |
| 428 | 428 | public function setLink($link) |
| 429 | 429 | { |
| 430 | - $this->link = $link; |
|
| 430 | + $this->link = $link; |
|
| 431 | 431 | } |
| 432 | 432 | public function getLink() |
| 433 | 433 | { |
| 434 | - return $this->link; |
|
| 434 | + return $this->link; |
|
| 435 | 435 | } |
| 436 | 436 | public function setTitle($title) |
| 437 | 437 | { |
| 438 | - $this->title = $title; |
|
| 438 | + $this->title = $title; |
|
| 439 | 439 | } |
| 440 | 440 | public function getTitle() |
| 441 | 441 | { |
| 442 | - return $this->title; |
|
| 442 | + return $this->title; |
|
| 443 | 443 | } |
| 444 | 444 | public function setUrl($url) |
| 445 | 445 | { |
| 446 | - $this->url = $url; |
|
| 446 | + $this->url = $url; |
|
| 447 | 447 | } |
| 448 | 448 | public function getUrl() |
| 449 | 449 | { |
| 450 | - return $this->url; |
|
| 450 | + return $this->url; |
|
| 451 | 451 | } |
| 452 | 452 | } |
| 453 | 453 | |
@@ -462,27 +462,27 @@ discard block |
||
| 462 | 462 | |
| 463 | 463 | public function setHeight($height) |
| 464 | 464 | { |
| 465 | - $this->height = $height; |
|
| 465 | + $this->height = $height; |
|
| 466 | 466 | } |
| 467 | 467 | public function getHeight() |
| 468 | 468 | { |
| 469 | - return $this->height; |
|
| 469 | + return $this->height; |
|
| 470 | 470 | } |
| 471 | 471 | public function setSource($source) |
| 472 | 472 | { |
| 473 | - $this->source = $source; |
|
| 473 | + $this->source = $source; |
|
| 474 | 474 | } |
| 475 | 475 | public function getSource() |
| 476 | 476 | { |
| 477 | - return $this->source; |
|
| 477 | + return $this->source; |
|
| 478 | 478 | } |
| 479 | 479 | public function setWidth($width) |
| 480 | 480 | { |
| 481 | - $this->width = $width; |
|
| 481 | + $this->width = $width; |
|
| 482 | 482 | } |
| 483 | 483 | public function getWidth() |
| 484 | 484 | { |
| 485 | - return $this->width; |
|
| 485 | + return $this->width; |
|
| 486 | 486 | } |
| 487 | 487 | } |
| 488 | 488 | |
@@ -531,299 +531,299 @@ discard block |
||
| 531 | 531 | |
| 532 | 532 | public function setCount($count) |
| 533 | 533 | { |
| 534 | - $this->count = $count; |
|
| 534 | + $this->count = $count; |
|
| 535 | 535 | } |
| 536 | 536 | public function getCount() |
| 537 | 537 | { |
| 538 | - return $this->count; |
|
| 538 | + return $this->count; |
|
| 539 | 539 | } |
| 540 | 540 | public function setCr($cr) |
| 541 | 541 | { |
| 542 | - $this->cr = $cr; |
|
| 542 | + $this->cr = $cr; |
|
| 543 | 543 | } |
| 544 | 544 | public function getCr() |
| 545 | 545 | { |
| 546 | - return $this->cr; |
|
| 546 | + return $this->cr; |
|
| 547 | 547 | } |
| 548 | 548 | public function setCref($cref) |
| 549 | 549 | { |
| 550 | - $this->cref = $cref; |
|
| 550 | + $this->cref = $cref; |
|
| 551 | 551 | } |
| 552 | 552 | public function getCref() |
| 553 | 553 | { |
| 554 | - return $this->cref; |
|
| 554 | + return $this->cref; |
|
| 555 | 555 | } |
| 556 | 556 | public function setCx($cx) |
| 557 | 557 | { |
| 558 | - $this->cx = $cx; |
|
| 558 | + $this->cx = $cx; |
|
| 559 | 559 | } |
| 560 | 560 | public function getCx() |
| 561 | 561 | { |
| 562 | - return $this->cx; |
|
| 562 | + return $this->cx; |
|
| 563 | 563 | } |
| 564 | 564 | public function setDateRestrict($dateRestrict) |
| 565 | 565 | { |
| 566 | - $this->dateRestrict = $dateRestrict; |
|
| 566 | + $this->dateRestrict = $dateRestrict; |
|
| 567 | 567 | } |
| 568 | 568 | public function getDateRestrict() |
| 569 | 569 | { |
| 570 | - return $this->dateRestrict; |
|
| 570 | + return $this->dateRestrict; |
|
| 571 | 571 | } |
| 572 | 572 | public function setDisableCnTwTranslation($disableCnTwTranslation) |
| 573 | 573 | { |
| 574 | - $this->disableCnTwTranslation = $disableCnTwTranslation; |
|
| 574 | + $this->disableCnTwTranslation = $disableCnTwTranslation; |
|
| 575 | 575 | } |
| 576 | 576 | public function getDisableCnTwTranslation() |
| 577 | 577 | { |
| 578 | - return $this->disableCnTwTranslation; |
|
| 578 | + return $this->disableCnTwTranslation; |
|
| 579 | 579 | } |
| 580 | 580 | public function setExactTerms($exactTerms) |
| 581 | 581 | { |
| 582 | - $this->exactTerms = $exactTerms; |
|
| 582 | + $this->exactTerms = $exactTerms; |
|
| 583 | 583 | } |
| 584 | 584 | public function getExactTerms() |
| 585 | 585 | { |
| 586 | - return $this->exactTerms; |
|
| 586 | + return $this->exactTerms; |
|
| 587 | 587 | } |
| 588 | 588 | public function setExcludeTerms($excludeTerms) |
| 589 | 589 | { |
| 590 | - $this->excludeTerms = $excludeTerms; |
|
| 590 | + $this->excludeTerms = $excludeTerms; |
|
| 591 | 591 | } |
| 592 | 592 | public function getExcludeTerms() |
| 593 | 593 | { |
| 594 | - return $this->excludeTerms; |
|
| 594 | + return $this->excludeTerms; |
|
| 595 | 595 | } |
| 596 | 596 | public function setFileType($fileType) |
| 597 | 597 | { |
| 598 | - $this->fileType = $fileType; |
|
| 598 | + $this->fileType = $fileType; |
|
| 599 | 599 | } |
| 600 | 600 | public function getFileType() |
| 601 | 601 | { |
| 602 | - return $this->fileType; |
|
| 602 | + return $this->fileType; |
|
| 603 | 603 | } |
| 604 | 604 | public function setFilter($filter) |
| 605 | 605 | { |
| 606 | - $this->filter = $filter; |
|
| 606 | + $this->filter = $filter; |
|
| 607 | 607 | } |
| 608 | 608 | public function getFilter() |
| 609 | 609 | { |
| 610 | - return $this->filter; |
|
| 610 | + return $this->filter; |
|
| 611 | 611 | } |
| 612 | 612 | public function setGl($gl) |
| 613 | 613 | { |
| 614 | - $this->gl = $gl; |
|
| 614 | + $this->gl = $gl; |
|
| 615 | 615 | } |
| 616 | 616 | public function getGl() |
| 617 | 617 | { |
| 618 | - return $this->gl; |
|
| 618 | + return $this->gl; |
|
| 619 | 619 | } |
| 620 | 620 | public function setGoogleHost($googleHost) |
| 621 | 621 | { |
| 622 | - $this->googleHost = $googleHost; |
|
| 622 | + $this->googleHost = $googleHost; |
|
| 623 | 623 | } |
| 624 | 624 | public function getGoogleHost() |
| 625 | 625 | { |
| 626 | - return $this->googleHost; |
|
| 626 | + return $this->googleHost; |
|
| 627 | 627 | } |
| 628 | 628 | public function setHighRange($highRange) |
| 629 | 629 | { |
| 630 | - $this->highRange = $highRange; |
|
| 630 | + $this->highRange = $highRange; |
|
| 631 | 631 | } |
| 632 | 632 | public function getHighRange() |
| 633 | 633 | { |
| 634 | - return $this->highRange; |
|
| 634 | + return $this->highRange; |
|
| 635 | 635 | } |
| 636 | 636 | public function setHl($hl) |
| 637 | 637 | { |
| 638 | - $this->hl = $hl; |
|
| 638 | + $this->hl = $hl; |
|
| 639 | 639 | } |
| 640 | 640 | public function getHl() |
| 641 | 641 | { |
| 642 | - return $this->hl; |
|
| 642 | + return $this->hl; |
|
| 643 | 643 | } |
| 644 | 644 | public function setHq($hq) |
| 645 | 645 | { |
| 646 | - $this->hq = $hq; |
|
| 646 | + $this->hq = $hq; |
|
| 647 | 647 | } |
| 648 | 648 | public function getHq() |
| 649 | 649 | { |
| 650 | - return $this->hq; |
|
| 650 | + return $this->hq; |
|
| 651 | 651 | } |
| 652 | 652 | public function setImgColorType($imgColorType) |
| 653 | 653 | { |
| 654 | - $this->imgColorType = $imgColorType; |
|
| 654 | + $this->imgColorType = $imgColorType; |
|
| 655 | 655 | } |
| 656 | 656 | public function getImgColorType() |
| 657 | 657 | { |
| 658 | - return $this->imgColorType; |
|
| 658 | + return $this->imgColorType; |
|
| 659 | 659 | } |
| 660 | 660 | public function setImgDominantColor($imgDominantColor) |
| 661 | 661 | { |
| 662 | - $this->imgDominantColor = $imgDominantColor; |
|
| 662 | + $this->imgDominantColor = $imgDominantColor; |
|
| 663 | 663 | } |
| 664 | 664 | public function getImgDominantColor() |
| 665 | 665 | { |
| 666 | - return $this->imgDominantColor; |
|
| 666 | + return $this->imgDominantColor; |
|
| 667 | 667 | } |
| 668 | 668 | public function setImgSize($imgSize) |
| 669 | 669 | { |
| 670 | - $this->imgSize = $imgSize; |
|
| 670 | + $this->imgSize = $imgSize; |
|
| 671 | 671 | } |
| 672 | 672 | public function getImgSize() |
| 673 | 673 | { |
| 674 | - return $this->imgSize; |
|
| 674 | + return $this->imgSize; |
|
| 675 | 675 | } |
| 676 | 676 | public function setImgType($imgType) |
| 677 | 677 | { |
| 678 | - $this->imgType = $imgType; |
|
| 678 | + $this->imgType = $imgType; |
|
| 679 | 679 | } |
| 680 | 680 | public function getImgType() |
| 681 | 681 | { |
| 682 | - return $this->imgType; |
|
| 682 | + return $this->imgType; |
|
| 683 | 683 | } |
| 684 | 684 | public function setInputEncoding($inputEncoding) |
| 685 | 685 | { |
| 686 | - $this->inputEncoding = $inputEncoding; |
|
| 686 | + $this->inputEncoding = $inputEncoding; |
|
| 687 | 687 | } |
| 688 | 688 | public function getInputEncoding() |
| 689 | 689 | { |
| 690 | - return $this->inputEncoding; |
|
| 690 | + return $this->inputEncoding; |
|
| 691 | 691 | } |
| 692 | 692 | public function setLanguage($language) |
| 693 | 693 | { |
| 694 | - $this->language = $language; |
|
| 694 | + $this->language = $language; |
|
| 695 | 695 | } |
| 696 | 696 | public function getLanguage() |
| 697 | 697 | { |
| 698 | - return $this->language; |
|
| 698 | + return $this->language; |
|
| 699 | 699 | } |
| 700 | 700 | public function setLinkSite($linkSite) |
| 701 | 701 | { |
| 702 | - $this->linkSite = $linkSite; |
|
| 702 | + $this->linkSite = $linkSite; |
|
| 703 | 703 | } |
| 704 | 704 | public function getLinkSite() |
| 705 | 705 | { |
| 706 | - return $this->linkSite; |
|
| 706 | + return $this->linkSite; |
|
| 707 | 707 | } |
| 708 | 708 | public function setLowRange($lowRange) |
| 709 | 709 | { |
| 710 | - $this->lowRange = $lowRange; |
|
| 710 | + $this->lowRange = $lowRange; |
|
| 711 | 711 | } |
| 712 | 712 | public function getLowRange() |
| 713 | 713 | { |
| 714 | - return $this->lowRange; |
|
| 714 | + return $this->lowRange; |
|
| 715 | 715 | } |
| 716 | 716 | public function setOrTerms($orTerms) |
| 717 | 717 | { |
| 718 | - $this->orTerms = $orTerms; |
|
| 718 | + $this->orTerms = $orTerms; |
|
| 719 | 719 | } |
| 720 | 720 | public function getOrTerms() |
| 721 | 721 | { |
| 722 | - return $this->orTerms; |
|
| 722 | + return $this->orTerms; |
|
| 723 | 723 | } |
| 724 | 724 | public function setOutputEncoding($outputEncoding) |
| 725 | 725 | { |
| 726 | - $this->outputEncoding = $outputEncoding; |
|
| 726 | + $this->outputEncoding = $outputEncoding; |
|
| 727 | 727 | } |
| 728 | 728 | public function getOutputEncoding() |
| 729 | 729 | { |
| 730 | - return $this->outputEncoding; |
|
| 730 | + return $this->outputEncoding; |
|
| 731 | 731 | } |
| 732 | 732 | public function setRelatedSite($relatedSite) |
| 733 | 733 | { |
| 734 | - $this->relatedSite = $relatedSite; |
|
| 734 | + $this->relatedSite = $relatedSite; |
|
| 735 | 735 | } |
| 736 | 736 | public function getRelatedSite() |
| 737 | 737 | { |
| 738 | - return $this->relatedSite; |
|
| 738 | + return $this->relatedSite; |
|
| 739 | 739 | } |
| 740 | 740 | public function setRights($rights) |
| 741 | 741 | { |
| 742 | - $this->rights = $rights; |
|
| 742 | + $this->rights = $rights; |
|
| 743 | 743 | } |
| 744 | 744 | public function getRights() |
| 745 | 745 | { |
| 746 | - return $this->rights; |
|
| 746 | + return $this->rights; |
|
| 747 | 747 | } |
| 748 | 748 | public function setSafe($safe) |
| 749 | 749 | { |
| 750 | - $this->safe = $safe; |
|
| 750 | + $this->safe = $safe; |
|
| 751 | 751 | } |
| 752 | 752 | public function getSafe() |
| 753 | 753 | { |
| 754 | - return $this->safe; |
|
| 754 | + return $this->safe; |
|
| 755 | 755 | } |
| 756 | 756 | public function setSearchTerms($searchTerms) |
| 757 | 757 | { |
| 758 | - $this->searchTerms = $searchTerms; |
|
| 758 | + $this->searchTerms = $searchTerms; |
|
| 759 | 759 | } |
| 760 | 760 | public function getSearchTerms() |
| 761 | 761 | { |
| 762 | - return $this->searchTerms; |
|
| 762 | + return $this->searchTerms; |
|
| 763 | 763 | } |
| 764 | 764 | public function setSearchType($searchType) |
| 765 | 765 | { |
| 766 | - $this->searchType = $searchType; |
|
| 766 | + $this->searchType = $searchType; |
|
| 767 | 767 | } |
| 768 | 768 | public function getSearchType() |
| 769 | 769 | { |
| 770 | - return $this->searchType; |
|
| 770 | + return $this->searchType; |
|
| 771 | 771 | } |
| 772 | 772 | public function setSiteSearch($siteSearch) |
| 773 | 773 | { |
| 774 | - $this->siteSearch = $siteSearch; |
|
| 774 | + $this->siteSearch = $siteSearch; |
|
| 775 | 775 | } |
| 776 | 776 | public function getSiteSearch() |
| 777 | 777 | { |
| 778 | - return $this->siteSearch; |
|
| 778 | + return $this->siteSearch; |
|
| 779 | 779 | } |
| 780 | 780 | public function setSiteSearchFilter($siteSearchFilter) |
| 781 | 781 | { |
| 782 | - $this->siteSearchFilter = $siteSearchFilter; |
|
| 782 | + $this->siteSearchFilter = $siteSearchFilter; |
|
| 783 | 783 | } |
| 784 | 784 | public function getSiteSearchFilter() |
| 785 | 785 | { |
| 786 | - return $this->siteSearchFilter; |
|
| 786 | + return $this->siteSearchFilter; |
|
| 787 | 787 | } |
| 788 | 788 | public function setSort($sort) |
| 789 | 789 | { |
| 790 | - $this->sort = $sort; |
|
| 790 | + $this->sort = $sort; |
|
| 791 | 791 | } |
| 792 | 792 | public function getSort() |
| 793 | 793 | { |
| 794 | - return $this->sort; |
|
| 794 | + return $this->sort; |
|
| 795 | 795 | } |
| 796 | 796 | public function setStartIndex($startIndex) |
| 797 | 797 | { |
| 798 | - $this->startIndex = $startIndex; |
|
| 798 | + $this->startIndex = $startIndex; |
|
| 799 | 799 | } |
| 800 | 800 | public function getStartIndex() |
| 801 | 801 | { |
| 802 | - return $this->startIndex; |
|
| 802 | + return $this->startIndex; |
|
| 803 | 803 | } |
| 804 | 804 | public function setStartPage($startPage) |
| 805 | 805 | { |
| 806 | - $this->startPage = $startPage; |
|
| 806 | + $this->startPage = $startPage; |
|
| 807 | 807 | } |
| 808 | 808 | public function getStartPage() |
| 809 | 809 | { |
| 810 | - return $this->startPage; |
|
| 810 | + return $this->startPage; |
|
| 811 | 811 | } |
| 812 | 812 | public function setTitle($title) |
| 813 | 813 | { |
| 814 | - $this->title = $title; |
|
| 814 | + $this->title = $title; |
|
| 815 | 815 | } |
| 816 | 816 | public function getTitle() |
| 817 | 817 | { |
| 818 | - return $this->title; |
|
| 818 | + return $this->title; |
|
| 819 | 819 | } |
| 820 | 820 | public function setTotalResults($totalResults) |
| 821 | 821 | { |
| 822 | - $this->totalResults = $totalResults; |
|
| 822 | + $this->totalResults = $totalResults; |
|
| 823 | 823 | } |
| 824 | 824 | public function getTotalResults() |
| 825 | 825 | { |
| 826 | - return $this->totalResults; |
|
| 826 | + return $this->totalResults; |
|
| 827 | 827 | } |
| 828 | 828 | } |
| 829 | 829 | |
@@ -853,123 +853,123 @@ discard block |
||
| 853 | 853 | |
| 854 | 854 | public function setCacheId($cacheId) |
| 855 | 855 | { |
| 856 | - $this->cacheId = $cacheId; |
|
| 856 | + $this->cacheId = $cacheId; |
|
| 857 | 857 | } |
| 858 | 858 | public function getCacheId() |
| 859 | 859 | { |
| 860 | - return $this->cacheId; |
|
| 860 | + return $this->cacheId; |
|
| 861 | 861 | } |
| 862 | 862 | public function setDisplayLink($displayLink) |
| 863 | 863 | { |
| 864 | - $this->displayLink = $displayLink; |
|
| 864 | + $this->displayLink = $displayLink; |
|
| 865 | 865 | } |
| 866 | 866 | public function getDisplayLink() |
| 867 | 867 | { |
| 868 | - return $this->displayLink; |
|
| 868 | + return $this->displayLink; |
|
| 869 | 869 | } |
| 870 | 870 | public function setFileFormat($fileFormat) |
| 871 | 871 | { |
| 872 | - $this->fileFormat = $fileFormat; |
|
| 872 | + $this->fileFormat = $fileFormat; |
|
| 873 | 873 | } |
| 874 | 874 | public function getFileFormat() |
| 875 | 875 | { |
| 876 | - return $this->fileFormat; |
|
| 876 | + return $this->fileFormat; |
|
| 877 | 877 | } |
| 878 | 878 | public function setFormattedUrl($formattedUrl) |
| 879 | 879 | { |
| 880 | - $this->formattedUrl = $formattedUrl; |
|
| 880 | + $this->formattedUrl = $formattedUrl; |
|
| 881 | 881 | } |
| 882 | 882 | public function getFormattedUrl() |
| 883 | 883 | { |
| 884 | - return $this->formattedUrl; |
|
| 884 | + return $this->formattedUrl; |
|
| 885 | 885 | } |
| 886 | 886 | public function setHtmlFormattedUrl($htmlFormattedUrl) |
| 887 | 887 | { |
| 888 | - $this->htmlFormattedUrl = $htmlFormattedUrl; |
|
| 888 | + $this->htmlFormattedUrl = $htmlFormattedUrl; |
|
| 889 | 889 | } |
| 890 | 890 | public function getHtmlFormattedUrl() |
| 891 | 891 | { |
| 892 | - return $this->htmlFormattedUrl; |
|
| 892 | + return $this->htmlFormattedUrl; |
|
| 893 | 893 | } |
| 894 | 894 | public function setHtmlSnippet($htmlSnippet) |
| 895 | 895 | { |
| 896 | - $this->htmlSnippet = $htmlSnippet; |
|
| 896 | + $this->htmlSnippet = $htmlSnippet; |
|
| 897 | 897 | } |
| 898 | 898 | public function getHtmlSnippet() |
| 899 | 899 | { |
| 900 | - return $this->htmlSnippet; |
|
| 900 | + return $this->htmlSnippet; |
|
| 901 | 901 | } |
| 902 | 902 | public function setHtmlTitle($htmlTitle) |
| 903 | 903 | { |
| 904 | - $this->htmlTitle = $htmlTitle; |
|
| 904 | + $this->htmlTitle = $htmlTitle; |
|
| 905 | 905 | } |
| 906 | 906 | public function getHtmlTitle() |
| 907 | 907 | { |
| 908 | - return $this->htmlTitle; |
|
| 908 | + return $this->htmlTitle; |
|
| 909 | 909 | } |
| 910 | 910 | public function setImage(Google_Service_Customsearch_ResultImage $image) |
| 911 | 911 | { |
| 912 | - $this->image = $image; |
|
| 912 | + $this->image = $image; |
|
| 913 | 913 | } |
| 914 | 914 | public function getImage() |
| 915 | 915 | { |
| 916 | - return $this->image; |
|
| 916 | + return $this->image; |
|
| 917 | 917 | } |
| 918 | 918 | public function setKind($kind) |
| 919 | 919 | { |
| 920 | - $this->kind = $kind; |
|
| 920 | + $this->kind = $kind; |
|
| 921 | 921 | } |
| 922 | 922 | public function getKind() |
| 923 | 923 | { |
| 924 | - return $this->kind; |
|
| 924 | + return $this->kind; |
|
| 925 | 925 | } |
| 926 | 926 | public function setLabels($labels) |
| 927 | 927 | { |
| 928 | - $this->labels = $labels; |
|
| 928 | + $this->labels = $labels; |
|
| 929 | 929 | } |
| 930 | 930 | public function getLabels() |
| 931 | 931 | { |
| 932 | - return $this->labels; |
|
| 932 | + return $this->labels; |
|
| 933 | 933 | } |
| 934 | 934 | public function setLink($link) |
| 935 | 935 | { |
| 936 | - $this->link = $link; |
|
| 936 | + $this->link = $link; |
|
| 937 | 937 | } |
| 938 | 938 | public function getLink() |
| 939 | 939 | { |
| 940 | - return $this->link; |
|
| 940 | + return $this->link; |
|
| 941 | 941 | } |
| 942 | 942 | public function setMime($mime) |
| 943 | 943 | { |
| 944 | - $this->mime = $mime; |
|
| 944 | + $this->mime = $mime; |
|
| 945 | 945 | } |
| 946 | 946 | public function getMime() |
| 947 | 947 | { |
| 948 | - return $this->mime; |
|
| 948 | + return $this->mime; |
|
| 949 | 949 | } |
| 950 | 950 | public function setPagemap($pagemap) |
| 951 | 951 | { |
| 952 | - $this->pagemap = $pagemap; |
|
| 952 | + $this->pagemap = $pagemap; |
|
| 953 | 953 | } |
| 954 | 954 | public function getPagemap() |
| 955 | 955 | { |
| 956 | - return $this->pagemap; |
|
| 956 | + return $this->pagemap; |
|
| 957 | 957 | } |
| 958 | 958 | public function setSnippet($snippet) |
| 959 | 959 | { |
| 960 | - $this->snippet = $snippet; |
|
| 960 | + $this->snippet = $snippet; |
|
| 961 | 961 | } |
| 962 | 962 | public function getSnippet() |
| 963 | 963 | { |
| 964 | - return $this->snippet; |
|
| 964 | + return $this->snippet; |
|
| 965 | 965 | } |
| 966 | 966 | public function setTitle($title) |
| 967 | 967 | { |
| 968 | - $this->title = $title; |
|
| 968 | + $this->title = $title; |
|
| 969 | 969 | } |
| 970 | 970 | public function getTitle() |
| 971 | 971 | { |
| 972 | - return $this->title; |
|
| 972 | + return $this->title; |
|
| 973 | 973 | } |
| 974 | 974 | } |
| 975 | 975 | |
@@ -988,66 +988,66 @@ discard block |
||
| 988 | 988 | |
| 989 | 989 | public function setByteSize($byteSize) |
| 990 | 990 | { |
| 991 | - $this->byteSize = $byteSize; |
|
| 991 | + $this->byteSize = $byteSize; |
|
| 992 | 992 | } |
| 993 | 993 | public function getByteSize() |
| 994 | 994 | { |
| 995 | - return $this->byteSize; |
|
| 995 | + return $this->byteSize; |
|
| 996 | 996 | } |
| 997 | 997 | public function setContextLink($contextLink) |
| 998 | 998 | { |
| 999 | - $this->contextLink = $contextLink; |
|
| 999 | + $this->contextLink = $contextLink; |
|
| 1000 | 1000 | } |
| 1001 | 1001 | public function getContextLink() |
| 1002 | 1002 | { |
| 1003 | - return $this->contextLink; |
|
| 1003 | + return $this->contextLink; |
|
| 1004 | 1004 | } |
| 1005 | 1005 | public function setHeight($height) |
| 1006 | 1006 | { |
| 1007 | - $this->height = $height; |
|
| 1007 | + $this->height = $height; |
|
| 1008 | 1008 | } |
| 1009 | 1009 | public function getHeight() |
| 1010 | 1010 | { |
| 1011 | - return $this->height; |
|
| 1011 | + return $this->height; |
|
| 1012 | 1012 | } |
| 1013 | 1013 | public function setThumbnailHeight($thumbnailHeight) |
| 1014 | 1014 | { |
| 1015 | - $this->thumbnailHeight = $thumbnailHeight; |
|
| 1015 | + $this->thumbnailHeight = $thumbnailHeight; |
|
| 1016 | 1016 | } |
| 1017 | 1017 | public function getThumbnailHeight() |
| 1018 | 1018 | { |
| 1019 | - return $this->thumbnailHeight; |
|
| 1019 | + return $this->thumbnailHeight; |
|
| 1020 | 1020 | } |
| 1021 | 1021 | public function setThumbnailLink($thumbnailLink) |
| 1022 | 1022 | { |
| 1023 | - $this->thumbnailLink = $thumbnailLink; |
|
| 1023 | + $this->thumbnailLink = $thumbnailLink; |
|
| 1024 | 1024 | } |
| 1025 | 1025 | public function getThumbnailLink() |
| 1026 | 1026 | { |
| 1027 | - return $this->thumbnailLink; |
|
| 1027 | + return $this->thumbnailLink; |
|
| 1028 | 1028 | } |
| 1029 | 1029 | public function setThumbnailWidth($thumbnailWidth) |
| 1030 | 1030 | { |
| 1031 | - $this->thumbnailWidth = $thumbnailWidth; |
|
| 1031 | + $this->thumbnailWidth = $thumbnailWidth; |
|
| 1032 | 1032 | } |
| 1033 | 1033 | public function getThumbnailWidth() |
| 1034 | 1034 | { |
| 1035 | - return $this->thumbnailWidth; |
|
| 1035 | + return $this->thumbnailWidth; |
|
| 1036 | 1036 | } |
| 1037 | 1037 | public function setWidth($width) |
| 1038 | 1038 | { |
| 1039 | - $this->width = $width; |
|
| 1039 | + $this->width = $width; |
|
| 1040 | 1040 | } |
| 1041 | 1041 | public function getWidth() |
| 1042 | 1042 | { |
| 1043 | - return $this->width; |
|
| 1043 | + return $this->width; |
|
| 1044 | 1044 | } |
| 1045 | 1045 | } |
| 1046 | 1046 | |
| 1047 | 1047 | class Google_Service_Customsearch_ResultLabels extends Google_Model |
| 1048 | 1048 | { |
| 1049 | 1049 | protected $internal_gapi_mappings = array( |
| 1050 | - "labelWithOp" => "label_with_op", |
|
| 1050 | + "labelWithOp" => "label_with_op", |
|
| 1051 | 1051 | ); |
| 1052 | 1052 | public $displayName; |
| 1053 | 1053 | public $labelWithOp; |
@@ -1056,27 +1056,27 @@ discard block |
||
| 1056 | 1056 | |
| 1057 | 1057 | public function setDisplayName($displayName) |
| 1058 | 1058 | { |
| 1059 | - $this->displayName = $displayName; |
|
| 1059 | + $this->displayName = $displayName; |
|
| 1060 | 1060 | } |
| 1061 | 1061 | public function getDisplayName() |
| 1062 | 1062 | { |
| 1063 | - return $this->displayName; |
|
| 1063 | + return $this->displayName; |
|
| 1064 | 1064 | } |
| 1065 | 1065 | public function setLabelWithOp($labelWithOp) |
| 1066 | 1066 | { |
| 1067 | - $this->labelWithOp = $labelWithOp; |
|
| 1067 | + $this->labelWithOp = $labelWithOp; |
|
| 1068 | 1068 | } |
| 1069 | 1069 | public function getLabelWithOp() |
| 1070 | 1070 | { |
| 1071 | - return $this->labelWithOp; |
|
| 1071 | + return $this->labelWithOp; |
|
| 1072 | 1072 | } |
| 1073 | 1073 | public function setName($name) |
| 1074 | 1074 | { |
| 1075 | - $this->name = $name; |
|
| 1075 | + $this->name = $name; |
|
| 1076 | 1076 | } |
| 1077 | 1077 | public function getName() |
| 1078 | 1078 | { |
| 1079 | - return $this->name; |
|
| 1079 | + return $this->name; |
|
| 1080 | 1080 | } |
| 1081 | 1081 | } |
| 1082 | 1082 | |
@@ -1112,67 +1112,67 @@ discard block |
||
| 1112 | 1112 | |
| 1113 | 1113 | public function setContext(Google_Service_Customsearch_Context $context) |
| 1114 | 1114 | { |
| 1115 | - $this->context = $context; |
|
| 1115 | + $this->context = $context; |
|
| 1116 | 1116 | } |
| 1117 | 1117 | public function getContext() |
| 1118 | 1118 | { |
| 1119 | - return $this->context; |
|
| 1119 | + return $this->context; |
|
| 1120 | 1120 | } |
| 1121 | 1121 | public function setItems($items) |
| 1122 | 1122 | { |
| 1123 | - $this->items = $items; |
|
| 1123 | + $this->items = $items; |
|
| 1124 | 1124 | } |
| 1125 | 1125 | public function getItems() |
| 1126 | 1126 | { |
| 1127 | - return $this->items; |
|
| 1127 | + return $this->items; |
|
| 1128 | 1128 | } |
| 1129 | 1129 | public function setKind($kind) |
| 1130 | 1130 | { |
| 1131 | - $this->kind = $kind; |
|
| 1131 | + $this->kind = $kind; |
|
| 1132 | 1132 | } |
| 1133 | 1133 | public function getKind() |
| 1134 | 1134 | { |
| 1135 | - return $this->kind; |
|
| 1135 | + return $this->kind; |
|
| 1136 | 1136 | } |
| 1137 | 1137 | public function setPromotions($promotions) |
| 1138 | 1138 | { |
| 1139 | - $this->promotions = $promotions; |
|
| 1139 | + $this->promotions = $promotions; |
|
| 1140 | 1140 | } |
| 1141 | 1141 | public function getPromotions() |
| 1142 | 1142 | { |
| 1143 | - return $this->promotions; |
|
| 1143 | + return $this->promotions; |
|
| 1144 | 1144 | } |
| 1145 | 1145 | public function setQueries($queries) |
| 1146 | 1146 | { |
| 1147 | - $this->queries = $queries; |
|
| 1147 | + $this->queries = $queries; |
|
| 1148 | 1148 | } |
| 1149 | 1149 | public function getQueries() |
| 1150 | 1150 | { |
| 1151 | - return $this->queries; |
|
| 1151 | + return $this->queries; |
|
| 1152 | 1152 | } |
| 1153 | 1153 | public function setSearchInformation(Google_Service_Customsearch_SearchSearchInformation $searchInformation) |
| 1154 | 1154 | { |
| 1155 | - $this->searchInformation = $searchInformation; |
|
| 1155 | + $this->searchInformation = $searchInformation; |
|
| 1156 | 1156 | } |
| 1157 | 1157 | public function getSearchInformation() |
| 1158 | 1158 | { |
| 1159 | - return $this->searchInformation; |
|
| 1159 | + return $this->searchInformation; |
|
| 1160 | 1160 | } |
| 1161 | 1161 | public function setSpelling(Google_Service_Customsearch_SearchSpelling $spelling) |
| 1162 | 1162 | { |
| 1163 | - $this->spelling = $spelling; |
|
| 1163 | + $this->spelling = $spelling; |
|
| 1164 | 1164 | } |
| 1165 | 1165 | public function getSpelling() |
| 1166 | 1166 | { |
| 1167 | - return $this->spelling; |
|
| 1167 | + return $this->spelling; |
|
| 1168 | 1168 | } |
| 1169 | 1169 | public function setUrl(Google_Service_Customsearch_SearchUrl $url) |
| 1170 | 1170 | { |
| 1171 | - $this->url = $url; |
|
| 1171 | + $this->url = $url; |
|
| 1172 | 1172 | } |
| 1173 | 1173 | public function getUrl() |
| 1174 | 1174 | { |
| 1175 | - return $this->url; |
|
| 1175 | + return $this->url; |
|
| 1176 | 1176 | } |
| 1177 | 1177 | } |
| 1178 | 1178 | |
@@ -1192,35 +1192,35 @@ discard block |
||
| 1192 | 1192 | |
| 1193 | 1193 | public function setFormattedSearchTime($formattedSearchTime) |
| 1194 | 1194 | { |
| 1195 | - $this->formattedSearchTime = $formattedSearchTime; |
|
| 1195 | + $this->formattedSearchTime = $formattedSearchTime; |
|
| 1196 | 1196 | } |
| 1197 | 1197 | public function getFormattedSearchTime() |
| 1198 | 1198 | { |
| 1199 | - return $this->formattedSearchTime; |
|
| 1199 | + return $this->formattedSearchTime; |
|
| 1200 | 1200 | } |
| 1201 | 1201 | public function setFormattedTotalResults($formattedTotalResults) |
| 1202 | 1202 | { |
| 1203 | - $this->formattedTotalResults = $formattedTotalResults; |
|
| 1203 | + $this->formattedTotalResults = $formattedTotalResults; |
|
| 1204 | 1204 | } |
| 1205 | 1205 | public function getFormattedTotalResults() |
| 1206 | 1206 | { |
| 1207 | - return $this->formattedTotalResults; |
|
| 1207 | + return $this->formattedTotalResults; |
|
| 1208 | 1208 | } |
| 1209 | 1209 | public function setSearchTime($searchTime) |
| 1210 | 1210 | { |
| 1211 | - $this->searchTime = $searchTime; |
|
| 1211 | + $this->searchTime = $searchTime; |
|
| 1212 | 1212 | } |
| 1213 | 1213 | public function getSearchTime() |
| 1214 | 1214 | { |
| 1215 | - return $this->searchTime; |
|
| 1215 | + return $this->searchTime; |
|
| 1216 | 1216 | } |
| 1217 | 1217 | public function setTotalResults($totalResults) |
| 1218 | 1218 | { |
| 1219 | - $this->totalResults = $totalResults; |
|
| 1219 | + $this->totalResults = $totalResults; |
|
| 1220 | 1220 | } |
| 1221 | 1221 | public function getTotalResults() |
| 1222 | 1222 | { |
| 1223 | - return $this->totalResults; |
|
| 1223 | + return $this->totalResults; |
|
| 1224 | 1224 | } |
| 1225 | 1225 | } |
| 1226 | 1226 | |
@@ -1234,19 +1234,19 @@ discard block |
||
| 1234 | 1234 | |
| 1235 | 1235 | public function setCorrectedQuery($correctedQuery) |
| 1236 | 1236 | { |
| 1237 | - $this->correctedQuery = $correctedQuery; |
|
| 1237 | + $this->correctedQuery = $correctedQuery; |
|
| 1238 | 1238 | } |
| 1239 | 1239 | public function getCorrectedQuery() |
| 1240 | 1240 | { |
| 1241 | - return $this->correctedQuery; |
|
| 1241 | + return $this->correctedQuery; |
|
| 1242 | 1242 | } |
| 1243 | 1243 | public function setHtmlCorrectedQuery($htmlCorrectedQuery) |
| 1244 | 1244 | { |
| 1245 | - $this->htmlCorrectedQuery = $htmlCorrectedQuery; |
|
| 1245 | + $this->htmlCorrectedQuery = $htmlCorrectedQuery; |
|
| 1246 | 1246 | } |
| 1247 | 1247 | public function getHtmlCorrectedQuery() |
| 1248 | 1248 | { |
| 1249 | - return $this->htmlCorrectedQuery; |
|
| 1249 | + return $this->htmlCorrectedQuery; |
|
| 1250 | 1250 | } |
| 1251 | 1251 | } |
| 1252 | 1252 | |
@@ -1260,18 +1260,18 @@ discard block |
||
| 1260 | 1260 | |
| 1261 | 1261 | public function setTemplate($template) |
| 1262 | 1262 | { |
| 1263 | - $this->template = $template; |
|
| 1263 | + $this->template = $template; |
|
| 1264 | 1264 | } |
| 1265 | 1265 | public function getTemplate() |
| 1266 | 1266 | { |
| 1267 | - return $this->template; |
|
| 1267 | + return $this->template; |
|
| 1268 | 1268 | } |
| 1269 | 1269 | public function setType($type) |
| 1270 | 1270 | { |
| 1271 | - $this->type = $type; |
|
| 1271 | + $this->type = $type; |
|
| 1272 | 1272 | } |
| 1273 | 1273 | public function getType() |
| 1274 | 1274 | { |
| 1275 | - return $this->type; |
|
| 1275 | + return $this->type; |
|
| 1276 | 1276 | } |
| 1277 | 1277 | } |
@@ -43,23 +43,23 @@ discard block |
||
| 43 | 43 | * @param array|null $retryMap Map of errors with retry counts. |
| 44 | 44 | */ |
| 45 | 45 | public function __construct( |
| 46 | - $message, |
|
| 47 | - $code = 0, |
|
| 48 | - Exception $previous = null, |
|
| 49 | - $errors = array(), |
|
| 50 | - array $retryMap = null |
|
| 46 | + $message, |
|
| 47 | + $code = 0, |
|
| 48 | + Exception $previous = null, |
|
| 49 | + $errors = array(), |
|
| 50 | + array $retryMap = null |
|
| 51 | 51 | ) { |
| 52 | - if (version_compare(PHP_VERSION, '5.3.0') >= 0) { |
|
| 53 | - parent::__construct($message, $code, $previous); |
|
| 54 | - } else { |
|
| 55 | - parent::__construct($message, $code); |
|
| 56 | - } |
|
| 52 | + if (version_compare(PHP_VERSION, '5.3.0') >= 0) { |
|
| 53 | + parent::__construct($message, $code, $previous); |
|
| 54 | + } else { |
|
| 55 | + parent::__construct($message, $code); |
|
| 56 | + } |
|
| 57 | 57 | |
| 58 | - $this->errors = $errors; |
|
| 58 | + $this->errors = $errors; |
|
| 59 | 59 | |
| 60 | - if (is_array($retryMap)) { |
|
| 61 | - $this->retryMap = $retryMap; |
|
| 62 | - } |
|
| 60 | + if (is_array($retryMap)) { |
|
| 61 | + $this->retryMap = $retryMap; |
|
| 62 | + } |
|
| 63 | 63 | } |
| 64 | 64 | |
| 65 | 65 | /** |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | */ |
| 78 | 78 | public function getErrors() |
| 79 | 79 | { |
| 80 | - return $this->errors; |
|
| 80 | + return $this->errors; |
|
| 81 | 81 | } |
| 82 | 82 | |
| 83 | 83 | /** |
@@ -89,17 +89,17 @@ discard block |
||
| 89 | 89 | */ |
| 90 | 90 | public function allowedRetries() |
| 91 | 91 | { |
| 92 | - if (isset($this->retryMap[$this->code])) { |
|
| 93 | - return $this->retryMap[$this->code]; |
|
| 94 | - } |
|
| 92 | + if (isset($this->retryMap[$this->code])) { |
|
| 93 | + return $this->retryMap[$this->code]; |
|
| 94 | + } |
|
| 95 | 95 | |
| 96 | - $errors = $this->getErrors(); |
|
| 96 | + $errors = $this->getErrors(); |
|
| 97 | 97 | |
| 98 | - if (!empty($errors) && isset($errors[0]['reason']) && |
|
| 99 | - isset($this->retryMap[$errors[0]['reason']])) { |
|
| 100 | - return $this->retryMap[$errors[0]['reason']]; |
|
| 101 | - } |
|
| 98 | + if (!empty($errors) && isset($errors[0]['reason']) && |
|
| 99 | + isset($this->retryMap[$errors[0]['reason']])) { |
|
| 100 | + return $this->retryMap[$errors[0]['reason']]; |
|
| 101 | + } |
|
| 102 | 102 | |
| 103 | - return 0; |
|
| 103 | + return 0; |
|
| 104 | 104 | } |
| 105 | 105 | } |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | */ |
| 17 | 17 | |
| 18 | 18 | if (!class_exists('Google_Client')) { |
| 19 | - require_once dirname(__FILE__) . '/../autoload.php'; |
|
| 19 | + require_once dirname(__FILE__).'/../autoload.php'; |
|
| 20 | 20 | } |
| 21 | 21 | |
| 22 | 22 | class Google_Service_Exception extends Google_Exception implements Google_Task_Retryable |
@@ -34,61 +34,61 @@ |
||
| 34 | 34 | // Creates a new signer from a .p12 file. |
| 35 | 35 | public function __construct($p12, $password) |
| 36 | 36 | { |
| 37 | - if (!function_exists('openssl_x509_read')) { |
|
| 38 | - throw new Google_Exception( |
|
| 39 | - 'The Google PHP API library needs the openssl PHP extension' |
|
| 40 | - ); |
|
| 41 | - } |
|
| 37 | + if (!function_exists('openssl_x509_read')) { |
|
| 38 | + throw new Google_Exception( |
|
| 39 | + 'The Google PHP API library needs the openssl PHP extension' |
|
| 40 | + ); |
|
| 41 | + } |
|
| 42 | 42 | |
| 43 | - // If the private key is provided directly, then this isn't in the p12 |
|
| 44 | - // format. Different versions of openssl support different p12 formats |
|
| 45 | - // and the key from google wasn't being accepted by the version available |
|
| 46 | - // at the time. |
|
| 47 | - if (!$password && strpos($p12, "-----BEGIN RSA PRIVATE KEY-----") !== false) { |
|
| 48 | - $this->privateKey = openssl_pkey_get_private($p12); |
|
| 49 | - } elseif ($password === 'notasecret' && strpos($p12, "-----BEGIN PRIVATE KEY-----") !== false) { |
|
| 50 | - $this->privateKey = openssl_pkey_get_private($p12); |
|
| 51 | - } else { |
|
| 52 | - // This throws on error |
|
| 53 | - $certs = array(); |
|
| 54 | - if (!openssl_pkcs12_read($p12, $certs, $password)) { |
|
| 55 | - throw new Google_Auth_Exception( |
|
| 56 | - "Unable to parse the p12 file. " . |
|
| 57 | - "Is this a .p12 file? Is the password correct? OpenSSL error: " . |
|
| 58 | - openssl_error_string() |
|
| 59 | - ); |
|
| 60 | - } |
|
| 61 | - // TODO(beaton): is this part of the contract for the openssl_pkcs12_read |
|
| 62 | - // method? What happens if there are multiple private keys? Do we care? |
|
| 63 | - if (!array_key_exists("pkey", $certs) || !$certs["pkey"]) { |
|
| 64 | - throw new Google_Auth_Exception("No private key found in p12 file."); |
|
| 65 | - } |
|
| 66 | - $this->privateKey = openssl_pkey_get_private($certs['pkey']); |
|
| 67 | - } |
|
| 43 | + // If the private key is provided directly, then this isn't in the p12 |
|
| 44 | + // format. Different versions of openssl support different p12 formats |
|
| 45 | + // and the key from google wasn't being accepted by the version available |
|
| 46 | + // at the time. |
|
| 47 | + if (!$password && strpos($p12, "-----BEGIN RSA PRIVATE KEY-----") !== false) { |
|
| 48 | + $this->privateKey = openssl_pkey_get_private($p12); |
|
| 49 | + } elseif ($password === 'notasecret' && strpos($p12, "-----BEGIN PRIVATE KEY-----") !== false) { |
|
| 50 | + $this->privateKey = openssl_pkey_get_private($p12); |
|
| 51 | + } else { |
|
| 52 | + // This throws on error |
|
| 53 | + $certs = array(); |
|
| 54 | + if (!openssl_pkcs12_read($p12, $certs, $password)) { |
|
| 55 | + throw new Google_Auth_Exception( |
|
| 56 | + "Unable to parse the p12 file. " . |
|
| 57 | + "Is this a .p12 file? Is the password correct? OpenSSL error: " . |
|
| 58 | + openssl_error_string() |
|
| 59 | + ); |
|
| 60 | + } |
|
| 61 | + // TODO(beaton): is this part of the contract for the openssl_pkcs12_read |
|
| 62 | + // method? What happens if there are multiple private keys? Do we care? |
|
| 63 | + if (!array_key_exists("pkey", $certs) || !$certs["pkey"]) { |
|
| 64 | + throw new Google_Auth_Exception("No private key found in p12 file."); |
|
| 65 | + } |
|
| 66 | + $this->privateKey = openssl_pkey_get_private($certs['pkey']); |
|
| 67 | + } |
|
| 68 | 68 | |
| 69 | - if (!$this->privateKey) { |
|
| 70 | - throw new Google_Auth_Exception("Unable to load private key"); |
|
| 71 | - } |
|
| 69 | + if (!$this->privateKey) { |
|
| 70 | + throw new Google_Auth_Exception("Unable to load private key"); |
|
| 71 | + } |
|
| 72 | 72 | } |
| 73 | 73 | |
| 74 | 74 | public function __destruct() |
| 75 | 75 | { |
| 76 | - if ($this->privateKey) { |
|
| 77 | - openssl_pkey_free($this->privateKey); |
|
| 78 | - } |
|
| 76 | + if ($this->privateKey) { |
|
| 77 | + openssl_pkey_free($this->privateKey); |
|
| 78 | + } |
|
| 79 | 79 | } |
| 80 | 80 | |
| 81 | 81 | public function sign($data) |
| 82 | 82 | { |
| 83 | - if (version_compare(PHP_VERSION, '5.3.0') < 0) { |
|
| 84 | - throw new Google_Auth_Exception( |
|
| 85 | - "PHP 5.3.0 or higher is required to use service accounts." |
|
| 86 | - ); |
|
| 87 | - } |
|
| 88 | - $hash = defined("OPENSSL_ALGO_SHA256") ? OPENSSL_ALGO_SHA256 : "sha256"; |
|
| 89 | - if (!openssl_sign($data, $signature, $this->privateKey, $hash)) { |
|
| 90 | - throw new Google_Auth_Exception("Unable to sign data"); |
|
| 91 | - } |
|
| 92 | - return $signature; |
|
| 83 | + if (version_compare(PHP_VERSION, '5.3.0') < 0) { |
|
| 84 | + throw new Google_Auth_Exception( |
|
| 85 | + "PHP 5.3.0 or higher is required to use service accounts." |
|
| 86 | + ); |
|
| 87 | + } |
|
| 88 | + $hash = defined("OPENSSL_ALGO_SHA256") ? OPENSSL_ALGO_SHA256 : "sha256"; |
|
| 89 | + if (!openssl_sign($data, $signature, $this->privateKey, $hash)) { |
|
| 90 | + throw new Google_Auth_Exception("Unable to sign data"); |
|
| 91 | + } |
|
| 92 | + return $signature; |
|
| 93 | 93 | } |
| 94 | 94 | } |
@@ -16,7 +16,7 @@ discard block |
||
| 16 | 16 | */ |
| 17 | 17 | |
| 18 | 18 | if (!class_exists('Google_Client')) { |
| 19 | - require_once dirname(__FILE__) . '/../autoload.php'; |
|
| 19 | + require_once dirname(__FILE__).'/../autoload.php'; |
|
| 20 | 20 | } |
| 21 | 21 | |
| 22 | 22 | /** |
@@ -53,8 +53,8 @@ discard block |
||
| 53 | 53 | $certs = array(); |
| 54 | 54 | if (!openssl_pkcs12_read($p12, $certs, $password)) { |
| 55 | 55 | throw new Google_Auth_Exception( |
| 56 | - "Unable to parse the p12 file. " . |
|
| 57 | - "Is this a .p12 file? Is the password correct? OpenSSL error: " . |
|
| 56 | + "Unable to parse the p12 file. ". |
|
| 57 | + "Is this a .p12 file? Is the password correct? OpenSSL error: ". |
|
| 58 | 58 | openssl_error_string() |
| 59 | 59 | ); |
| 60 | 60 | } |
@@ -32,13 +32,13 @@ discard block |
||
| 32 | 32 | * processed. |
| 33 | 33 | */ |
| 34 | 34 | private $operators = array( |
| 35 | - "+" => "reserved", |
|
| 36 | - "/" => "segments", |
|
| 37 | - "." => "dotprefix", |
|
| 38 | - "#" => "fragment", |
|
| 39 | - ";" => "semicolon", |
|
| 40 | - "?" => "form", |
|
| 41 | - "&" => "continuation" |
|
| 35 | + "+" => "reserved", |
|
| 36 | + "/" => "segments", |
|
| 37 | + "." => "dotprefix", |
|
| 38 | + "#" => "fragment", |
|
| 39 | + ";" => "semicolon", |
|
| 40 | + "?" => "form", |
|
| 41 | + "&" => "continuation" |
|
| 42 | 42 | ); |
| 43 | 43 | |
| 44 | 44 | /** |
@@ -47,18 +47,18 @@ discard block |
||
| 47 | 47 | * strings. |
| 48 | 48 | */ |
| 49 | 49 | private $reserved = array( |
| 50 | - "=", ",", "!", "@", "|", ":", "/", "?", "#", |
|
| 51 | - "[", "]",'$', "&", "'", "(", ")", "*", "+", ";" |
|
| 50 | + "=", ",", "!", "@", "|", ":", "/", "?", "#", |
|
| 51 | + "[", "]",'$', "&", "'", "(", ")", "*", "+", ";" |
|
| 52 | 52 | ); |
| 53 | 53 | private $reservedEncoded = array( |
| 54 | - "%3D", "%2C", "%21", "%40", "%7C", "%3A", "%2F", "%3F", |
|
| 55 | - "%23", "%5B", "%5D", "%24", "%26", "%27", "%28", "%29", |
|
| 56 | - "%2A", "%2B", "%3B" |
|
| 54 | + "%3D", "%2C", "%21", "%40", "%7C", "%3A", "%2F", "%3F", |
|
| 55 | + "%23", "%5B", "%5D", "%24", "%26", "%27", "%28", "%29", |
|
| 56 | + "%2A", "%2B", "%3B" |
|
| 57 | 57 | ); |
| 58 | 58 | |
| 59 | 59 | public function parse($string, array $parameters) |
| 60 | 60 | { |
| 61 | - return $this->resolveNextSection($string, $parameters); |
|
| 61 | + return $this->resolveNextSection($string, $parameters); |
|
| 62 | 62 | } |
| 63 | 63 | |
| 64 | 64 | /** |
@@ -68,208 +68,208 @@ discard block |
||
| 68 | 68 | */ |
| 69 | 69 | private function resolveNextSection($string, $parameters) |
| 70 | 70 | { |
| 71 | - $start = strpos($string, "{"); |
|
| 72 | - if ($start === false) { |
|
| 73 | - return $string; |
|
| 74 | - } |
|
| 75 | - $end = strpos($string, "}"); |
|
| 76 | - if ($end === false) { |
|
| 77 | - return $string; |
|
| 78 | - } |
|
| 79 | - $string = $this->replace($string, $start, $end, $parameters); |
|
| 80 | - return $this->resolveNextSection($string, $parameters); |
|
| 71 | + $start = strpos($string, "{"); |
|
| 72 | + if ($start === false) { |
|
| 73 | + return $string; |
|
| 74 | + } |
|
| 75 | + $end = strpos($string, "}"); |
|
| 76 | + if ($end === false) { |
|
| 77 | + return $string; |
|
| 78 | + } |
|
| 79 | + $string = $this->replace($string, $start, $end, $parameters); |
|
| 80 | + return $this->resolveNextSection($string, $parameters); |
|
| 81 | 81 | } |
| 82 | 82 | |
| 83 | 83 | private function replace($string, $start, $end, $parameters) |
| 84 | 84 | { |
| 85 | - // We know a data block will have {} round it, so we can strip that. |
|
| 86 | - $data = substr($string, $start + 1, $end - $start - 1); |
|
| 85 | + // We know a data block will have {} round it, so we can strip that. |
|
| 86 | + $data = substr($string, $start + 1, $end - $start - 1); |
|
| 87 | 87 | |
| 88 | - // If the first character is one of the reserved operators, it effects |
|
| 89 | - // the processing of the stream. |
|
| 90 | - if (isset($this->operators[$data[0]])) { |
|
| 91 | - $op = $this->operators[$data[0]]; |
|
| 92 | - $data = substr($data, 1); |
|
| 93 | - $prefix = ""; |
|
| 94 | - $prefix_on_missing = false; |
|
| 88 | + // If the first character is one of the reserved operators, it effects |
|
| 89 | + // the processing of the stream. |
|
| 90 | + if (isset($this->operators[$data[0]])) { |
|
| 91 | + $op = $this->operators[$data[0]]; |
|
| 92 | + $data = substr($data, 1); |
|
| 93 | + $prefix = ""; |
|
| 94 | + $prefix_on_missing = false; |
|
| 95 | 95 | |
| 96 | - switch ($op) { |
|
| 97 | - case "reserved": |
|
| 98 | - // Reserved means certain characters should not be URL encoded |
|
| 99 | - $data = $this->replaceVars($data, $parameters, ",", null, true); |
|
| 100 | - break; |
|
| 101 | - case "fragment": |
|
| 102 | - // Comma separated with fragment prefix. Bare values only. |
|
| 103 | - $prefix = "#"; |
|
| 104 | - $prefix_on_missing = true; |
|
| 105 | - $data = $this->replaceVars($data, $parameters, ",", null, true); |
|
| 106 | - break; |
|
| 107 | - case "segments": |
|
| 108 | - // Slash separated data. Bare values only. |
|
| 109 | - $prefix = "/"; |
|
| 110 | - $data =$this->replaceVars($data, $parameters, "/"); |
|
| 111 | - break; |
|
| 112 | - case "dotprefix": |
|
| 113 | - // Dot separated data. Bare values only. |
|
| 114 | - $prefix = "."; |
|
| 115 | - $prefix_on_missing = true; |
|
| 116 | - $data = $this->replaceVars($data, $parameters, "."); |
|
| 117 | - break; |
|
| 118 | - case "semicolon": |
|
| 119 | - // Semicolon prefixed and separated. Uses the key name |
|
| 120 | - $prefix = ";"; |
|
| 121 | - $data = $this->replaceVars($data, $parameters, ";", "=", false, true, false); |
|
| 122 | - break; |
|
| 123 | - case "form": |
|
| 124 | - // Standard URL format. Uses the key name |
|
| 125 | - $prefix = "?"; |
|
| 126 | - $data = $this->replaceVars($data, $parameters, "&", "="); |
|
| 127 | - break; |
|
| 128 | - case "continuation": |
|
| 129 | - // Standard URL, but with leading ampersand. Uses key name. |
|
| 130 | - $prefix = "&"; |
|
| 131 | - $data = $this->replaceVars($data, $parameters, "&", "="); |
|
| 132 | - break; |
|
| 133 | - } |
|
| 96 | + switch ($op) { |
|
| 97 | + case "reserved": |
|
| 98 | + // Reserved means certain characters should not be URL encoded |
|
| 99 | + $data = $this->replaceVars($data, $parameters, ",", null, true); |
|
| 100 | + break; |
|
| 101 | + case "fragment": |
|
| 102 | + // Comma separated with fragment prefix. Bare values only. |
|
| 103 | + $prefix = "#"; |
|
| 104 | + $prefix_on_missing = true; |
|
| 105 | + $data = $this->replaceVars($data, $parameters, ",", null, true); |
|
| 106 | + break; |
|
| 107 | + case "segments": |
|
| 108 | + // Slash separated data. Bare values only. |
|
| 109 | + $prefix = "/"; |
|
| 110 | + $data =$this->replaceVars($data, $parameters, "/"); |
|
| 111 | + break; |
|
| 112 | + case "dotprefix": |
|
| 113 | + // Dot separated data. Bare values only. |
|
| 114 | + $prefix = "."; |
|
| 115 | + $prefix_on_missing = true; |
|
| 116 | + $data = $this->replaceVars($data, $parameters, "."); |
|
| 117 | + break; |
|
| 118 | + case "semicolon": |
|
| 119 | + // Semicolon prefixed and separated. Uses the key name |
|
| 120 | + $prefix = ";"; |
|
| 121 | + $data = $this->replaceVars($data, $parameters, ";", "=", false, true, false); |
|
| 122 | + break; |
|
| 123 | + case "form": |
|
| 124 | + // Standard URL format. Uses the key name |
|
| 125 | + $prefix = "?"; |
|
| 126 | + $data = $this->replaceVars($data, $parameters, "&", "="); |
|
| 127 | + break; |
|
| 128 | + case "continuation": |
|
| 129 | + // Standard URL, but with leading ampersand. Uses key name. |
|
| 130 | + $prefix = "&"; |
|
| 131 | + $data = $this->replaceVars($data, $parameters, "&", "="); |
|
| 132 | + break; |
|
| 133 | + } |
|
| 134 | 134 | |
| 135 | - // Add the initial prefix character if data is valid. |
|
| 136 | - if ($data || ($data !== false && $prefix_on_missing)) { |
|
| 137 | - $data = $prefix . $data; |
|
| 138 | - } |
|
| 135 | + // Add the initial prefix character if data is valid. |
|
| 136 | + if ($data || ($data !== false && $prefix_on_missing)) { |
|
| 137 | + $data = $prefix . $data; |
|
| 138 | + } |
|
| 139 | 139 | |
| 140 | - } else { |
|
| 141 | - // If no operator we replace with the defaults. |
|
| 142 | - $data = $this->replaceVars($data, $parameters); |
|
| 143 | - } |
|
| 144 | - // This is chops out the {...} and replaces with the new section. |
|
| 145 | - return substr($string, 0, $start) . $data . substr($string, $end + 1); |
|
| 140 | + } else { |
|
| 141 | + // If no operator we replace with the defaults. |
|
| 142 | + $data = $this->replaceVars($data, $parameters); |
|
| 143 | + } |
|
| 144 | + // This is chops out the {...} and replaces with the new section. |
|
| 145 | + return substr($string, 0, $start) . $data . substr($string, $end + 1); |
|
| 146 | 146 | } |
| 147 | 147 | |
| 148 | 148 | private function replaceVars( |
| 149 | - $section, |
|
| 150 | - $parameters, |
|
| 151 | - $sep = ",", |
|
| 152 | - $combine = null, |
|
| 153 | - $reserved = false, |
|
| 154 | - $tag_empty = false, |
|
| 155 | - $combine_on_empty = true |
|
| 149 | + $section, |
|
| 150 | + $parameters, |
|
| 151 | + $sep = ",", |
|
| 152 | + $combine = null, |
|
| 153 | + $reserved = false, |
|
| 154 | + $tag_empty = false, |
|
| 155 | + $combine_on_empty = true |
|
| 156 | 156 | ) { |
| 157 | - if (strpos($section, ",") === false) { |
|
| 158 | - // If we only have a single value, we can immediately process. |
|
| 159 | - return $this->combine( |
|
| 160 | - $section, |
|
| 161 | - $parameters, |
|
| 162 | - $sep, |
|
| 163 | - $combine, |
|
| 164 | - $reserved, |
|
| 165 | - $tag_empty, |
|
| 166 | - $combine_on_empty |
|
| 167 | - ); |
|
| 168 | - } else { |
|
| 169 | - // If we have multiple values, we need to split and loop over them. |
|
| 170 | - // Each is treated individually, then glued together with the |
|
| 171 | - // separator character. |
|
| 172 | - $vars = explode(",", $section); |
|
| 173 | - return $this->combineList( |
|
| 174 | - $vars, |
|
| 175 | - $sep, |
|
| 176 | - $parameters, |
|
| 177 | - $combine, |
|
| 178 | - $reserved, |
|
| 179 | - false, // Never emit empty strings in multi-param replacements |
|
| 180 | - $combine_on_empty |
|
| 181 | - ); |
|
| 182 | - } |
|
| 157 | + if (strpos($section, ",") === false) { |
|
| 158 | + // If we only have a single value, we can immediately process. |
|
| 159 | + return $this->combine( |
|
| 160 | + $section, |
|
| 161 | + $parameters, |
|
| 162 | + $sep, |
|
| 163 | + $combine, |
|
| 164 | + $reserved, |
|
| 165 | + $tag_empty, |
|
| 166 | + $combine_on_empty |
|
| 167 | + ); |
|
| 168 | + } else { |
|
| 169 | + // If we have multiple values, we need to split and loop over them. |
|
| 170 | + // Each is treated individually, then glued together with the |
|
| 171 | + // separator character. |
|
| 172 | + $vars = explode(",", $section); |
|
| 173 | + return $this->combineList( |
|
| 174 | + $vars, |
|
| 175 | + $sep, |
|
| 176 | + $parameters, |
|
| 177 | + $combine, |
|
| 178 | + $reserved, |
|
| 179 | + false, // Never emit empty strings in multi-param replacements |
|
| 180 | + $combine_on_empty |
|
| 181 | + ); |
|
| 182 | + } |
|
| 183 | 183 | } |
| 184 | 184 | |
| 185 | 185 | public function combine( |
| 186 | - $key, |
|
| 187 | - $parameters, |
|
| 188 | - $sep, |
|
| 189 | - $combine, |
|
| 190 | - $reserved, |
|
| 191 | - $tag_empty, |
|
| 192 | - $combine_on_empty |
|
| 186 | + $key, |
|
| 187 | + $parameters, |
|
| 188 | + $sep, |
|
| 189 | + $combine, |
|
| 190 | + $reserved, |
|
| 191 | + $tag_empty, |
|
| 192 | + $combine_on_empty |
|
| 193 | 193 | ) { |
| 194 | - $length = false; |
|
| 195 | - $explode = false; |
|
| 196 | - $skip_final_combine = false; |
|
| 197 | - $value = false; |
|
| 194 | + $length = false; |
|
| 195 | + $explode = false; |
|
| 196 | + $skip_final_combine = false; |
|
| 197 | + $value = false; |
|
| 198 | 198 | |
| 199 | - // Check for length restriction. |
|
| 200 | - if (strpos($key, ":") !== false) { |
|
| 201 | - list($key, $length) = explode(":", $key); |
|
| 202 | - } |
|
| 199 | + // Check for length restriction. |
|
| 200 | + if (strpos($key, ":") !== false) { |
|
| 201 | + list($key, $length) = explode(":", $key); |
|
| 202 | + } |
|
| 203 | 203 | |
| 204 | - // Check for explode parameter. |
|
| 205 | - if ($key[strlen($key) - 1] == "*") { |
|
| 206 | - $explode = true; |
|
| 207 | - $key = substr($key, 0, -1); |
|
| 208 | - $skip_final_combine = true; |
|
| 209 | - } |
|
| 204 | + // Check for explode parameter. |
|
| 205 | + if ($key[strlen($key) - 1] == "*") { |
|
| 206 | + $explode = true; |
|
| 207 | + $key = substr($key, 0, -1); |
|
| 208 | + $skip_final_combine = true; |
|
| 209 | + } |
|
| 210 | 210 | |
| 211 | - // Define the list separator. |
|
| 212 | - $list_sep = $explode ? $sep : ","; |
|
| 211 | + // Define the list separator. |
|
| 212 | + $list_sep = $explode ? $sep : ","; |
|
| 213 | 213 | |
| 214 | - if (isset($parameters[$key])) { |
|
| 215 | - $data_type = $this->getDataType($parameters[$key]); |
|
| 216 | - switch ($data_type) { |
|
| 217 | - case self::TYPE_SCALAR: |
|
| 218 | - $value = $this->getValue($parameters[$key], $length); |
|
| 219 | - break; |
|
| 220 | - case self::TYPE_LIST: |
|
| 221 | - $values = array(); |
|
| 222 | - foreach ($parameters[$key] as $pkey => $pvalue) { |
|
| 223 | - $pvalue = $this->getValue($pvalue, $length); |
|
| 224 | - if ($combine && $explode) { |
|
| 225 | - $values[$pkey] = $key . $combine . $pvalue; |
|
| 226 | - } else { |
|
| 227 | - $values[$pkey] = $pvalue; |
|
| 228 | - } |
|
| 229 | - } |
|
| 230 | - $value = implode($list_sep, $values); |
|
| 231 | - if ($value == '') { |
|
| 232 | - return ''; |
|
| 233 | - } |
|
| 234 | - break; |
|
| 235 | - case self::TYPE_MAP: |
|
| 236 | - $values = array(); |
|
| 237 | - foreach ($parameters[$key] as $pkey => $pvalue) { |
|
| 238 | - $pvalue = $this->getValue($pvalue, $length); |
|
| 239 | - if ($explode) { |
|
| 240 | - $pkey = $this->getValue($pkey, $length); |
|
| 241 | - $values[] = $pkey . "=" . $pvalue; // Explode triggers = combine. |
|
| 242 | - } else { |
|
| 243 | - $values[] = $pkey; |
|
| 244 | - $values[] = $pvalue; |
|
| 245 | - } |
|
| 246 | - } |
|
| 247 | - $value = implode($list_sep, $values); |
|
| 248 | - if ($value == '') { |
|
| 249 | - return false; |
|
| 250 | - } |
|
| 251 | - break; |
|
| 252 | - } |
|
| 253 | - } else if ($tag_empty) { |
|
| 254 | - // If we are just indicating empty values with their key name, return that. |
|
| 255 | - return $key; |
|
| 256 | - } else { |
|
| 257 | - // Otherwise we can skip this variable due to not being defined. |
|
| 258 | - return false; |
|
| 259 | - } |
|
| 214 | + if (isset($parameters[$key])) { |
|
| 215 | + $data_type = $this->getDataType($parameters[$key]); |
|
| 216 | + switch ($data_type) { |
|
| 217 | + case self::TYPE_SCALAR: |
|
| 218 | + $value = $this->getValue($parameters[$key], $length); |
|
| 219 | + break; |
|
| 220 | + case self::TYPE_LIST: |
|
| 221 | + $values = array(); |
|
| 222 | + foreach ($parameters[$key] as $pkey => $pvalue) { |
|
| 223 | + $pvalue = $this->getValue($pvalue, $length); |
|
| 224 | + if ($combine && $explode) { |
|
| 225 | + $values[$pkey] = $key . $combine . $pvalue; |
|
| 226 | + } else { |
|
| 227 | + $values[$pkey] = $pvalue; |
|
| 228 | + } |
|
| 229 | + } |
|
| 230 | + $value = implode($list_sep, $values); |
|
| 231 | + if ($value == '') { |
|
| 232 | + return ''; |
|
| 233 | + } |
|
| 234 | + break; |
|
| 235 | + case self::TYPE_MAP: |
|
| 236 | + $values = array(); |
|
| 237 | + foreach ($parameters[$key] as $pkey => $pvalue) { |
|
| 238 | + $pvalue = $this->getValue($pvalue, $length); |
|
| 239 | + if ($explode) { |
|
| 240 | + $pkey = $this->getValue($pkey, $length); |
|
| 241 | + $values[] = $pkey . "=" . $pvalue; // Explode triggers = combine. |
|
| 242 | + } else { |
|
| 243 | + $values[] = $pkey; |
|
| 244 | + $values[] = $pvalue; |
|
| 245 | + } |
|
| 246 | + } |
|
| 247 | + $value = implode($list_sep, $values); |
|
| 248 | + if ($value == '') { |
|
| 249 | + return false; |
|
| 250 | + } |
|
| 251 | + break; |
|
| 252 | + } |
|
| 253 | + } else if ($tag_empty) { |
|
| 254 | + // If we are just indicating empty values with their key name, return that. |
|
| 255 | + return $key; |
|
| 256 | + } else { |
|
| 257 | + // Otherwise we can skip this variable due to not being defined. |
|
| 258 | + return false; |
|
| 259 | + } |
|
| 260 | 260 | |
| 261 | - if ($reserved) { |
|
| 262 | - $value = str_replace($this->reservedEncoded, $this->reserved, $value); |
|
| 263 | - } |
|
| 261 | + if ($reserved) { |
|
| 262 | + $value = str_replace($this->reservedEncoded, $this->reserved, $value); |
|
| 263 | + } |
|
| 264 | 264 | |
| 265 | - // If we do not need to include the key name, we just return the raw |
|
| 266 | - // value. |
|
| 267 | - if (!$combine || $skip_final_combine) { |
|
| 268 | - return $value; |
|
| 269 | - } |
|
| 265 | + // If we do not need to include the key name, we just return the raw |
|
| 266 | + // value. |
|
| 267 | + if (!$combine || $skip_final_combine) { |
|
| 268 | + return $value; |
|
| 269 | + } |
|
| 270 | 270 | |
| 271 | - // Else we combine the key name: foo=bar, if value is not the empty string. |
|
| 272 | - return $key . ($value != '' || $combine_on_empty ? $combine . $value : ''); |
|
| 271 | + // Else we combine the key name: foo=bar, if value is not the empty string. |
|
| 272 | + return $key . ($value != '' || $combine_on_empty ? $combine . $value : ''); |
|
| 273 | 273 | } |
| 274 | 274 | |
| 275 | 275 | /** |
@@ -277,14 +277,14 @@ discard block |
||
| 277 | 277 | */ |
| 278 | 278 | private function getDataType($data) |
| 279 | 279 | { |
| 280 | - if (is_array($data)) { |
|
| 281 | - reset($data); |
|
| 282 | - if (key($data) !== 0) { |
|
| 283 | - return self::TYPE_MAP; |
|
| 284 | - } |
|
| 285 | - return self::TYPE_LIST; |
|
| 286 | - } |
|
| 287 | - return self::TYPE_SCALAR; |
|
| 280 | + if (is_array($data)) { |
|
| 281 | + reset($data); |
|
| 282 | + if (key($data) !== 0) { |
|
| 283 | + return self::TYPE_MAP; |
|
| 284 | + } |
|
| 285 | + return self::TYPE_LIST; |
|
| 286 | + } |
|
| 287 | + return self::TYPE_SCALAR; |
|
| 288 | 288 | } |
| 289 | 289 | |
| 290 | 290 | /** |
@@ -292,31 +292,31 @@ discard block |
||
| 292 | 292 | * for multi-key templates. |
| 293 | 293 | */ |
| 294 | 294 | private function combineList( |
| 295 | - $vars, |
|
| 296 | - $sep, |
|
| 297 | - $parameters, |
|
| 298 | - $combine, |
|
| 299 | - $reserved, |
|
| 300 | - $tag_empty, |
|
| 301 | - $combine_on_empty |
|
| 295 | + $vars, |
|
| 296 | + $sep, |
|
| 297 | + $parameters, |
|
| 298 | + $combine, |
|
| 299 | + $reserved, |
|
| 300 | + $tag_empty, |
|
| 301 | + $combine_on_empty |
|
| 302 | 302 | ) { |
| 303 | - $ret = array(); |
|
| 304 | - foreach ($vars as $var) { |
|
| 305 | - $response = $this->combine( |
|
| 306 | - $var, |
|
| 307 | - $parameters, |
|
| 308 | - $sep, |
|
| 309 | - $combine, |
|
| 310 | - $reserved, |
|
| 311 | - $tag_empty, |
|
| 312 | - $combine_on_empty |
|
| 313 | - ); |
|
| 314 | - if ($response === false) { |
|
| 315 | - continue; |
|
| 316 | - } |
|
| 317 | - $ret[] = $response; |
|
| 318 | - } |
|
| 319 | - return implode($sep, $ret); |
|
| 303 | + $ret = array(); |
|
| 304 | + foreach ($vars as $var) { |
|
| 305 | + $response = $this->combine( |
|
| 306 | + $var, |
|
| 307 | + $parameters, |
|
| 308 | + $sep, |
|
| 309 | + $combine, |
|
| 310 | + $reserved, |
|
| 311 | + $tag_empty, |
|
| 312 | + $combine_on_empty |
|
| 313 | + ); |
|
| 314 | + if ($response === false) { |
|
| 315 | + continue; |
|
| 316 | + } |
|
| 317 | + $ret[] = $response; |
|
| 318 | + } |
|
| 319 | + return implode($sep, $ret); |
|
| 320 | 320 | } |
| 321 | 321 | |
| 322 | 322 | /** |
@@ -324,10 +324,10 @@ discard block |
||
| 324 | 324 | */ |
| 325 | 325 | private function getValue($value, $length) |
| 326 | 326 | { |
| 327 | - if ($length) { |
|
| 328 | - $value = substr($value, 0, $length); |
|
| 329 | - } |
|
| 330 | - $value = rawurlencode($value); |
|
| 331 | - return $value; |
|
| 327 | + if ($length) { |
|
| 328 | + $value = substr($value, 0, $length); |
|
| 329 | + } |
|
| 330 | + $value = rawurlencode($value); |
|
| 331 | + return $value; |
|
| 332 | 332 | } |
| 333 | 333 | } |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | */ |
| 49 | 49 | private $reserved = array( |
| 50 | 50 | "=", ",", "!", "@", "|", ":", "/", "?", "#", |
| 51 | - "[", "]",'$', "&", "'", "(", ")", "*", "+", ";" |
|
| 51 | + "[", "]", '$', "&", "'", "(", ")", "*", "+", ";" |
|
| 52 | 52 | ); |
| 53 | 53 | private $reservedEncoded = array( |
| 54 | 54 | "%3D", "%2C", "%21", "%40", "%7C", "%3A", "%2F", "%3F", |
@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | case "segments": |
| 108 | 108 | // Slash separated data. Bare values only. |
| 109 | 109 | $prefix = "/"; |
| 110 | - $data =$this->replaceVars($data, $parameters, "/"); |
|
| 110 | + $data = $this->replaceVars($data, $parameters, "/"); |
|
| 111 | 111 | break; |
| 112 | 112 | case "dotprefix": |
| 113 | 113 | // Dot separated data. Bare values only. |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | |
| 135 | 135 | // Add the initial prefix character if data is valid. |
| 136 | 136 | if ($data || ($data !== false && $prefix_on_missing)) { |
| 137 | - $data = $prefix . $data; |
|
| 137 | + $data = $prefix.$data; |
|
| 138 | 138 | } |
| 139 | 139 | |
| 140 | 140 | } else { |
@@ -142,7 +142,7 @@ discard block |
||
| 142 | 142 | $data = $this->replaceVars($data, $parameters); |
| 143 | 143 | } |
| 144 | 144 | // This is chops out the {...} and replaces with the new section. |
| 145 | - return substr($string, 0, $start) . $data . substr($string, $end + 1); |
|
| 145 | + return substr($string, 0, $start).$data.substr($string, $end + 1); |
|
| 146 | 146 | } |
| 147 | 147 | |
| 148 | 148 | private function replaceVars( |
@@ -222,7 +222,7 @@ discard block |
||
| 222 | 222 | foreach ($parameters[$key] as $pkey => $pvalue) { |
| 223 | 223 | $pvalue = $this->getValue($pvalue, $length); |
| 224 | 224 | if ($combine && $explode) { |
| 225 | - $values[$pkey] = $key . $combine . $pvalue; |
|
| 225 | + $values[$pkey] = $key.$combine.$pvalue; |
|
| 226 | 226 | } else { |
| 227 | 227 | $values[$pkey] = $pvalue; |
| 228 | 228 | } |
@@ -238,7 +238,7 @@ discard block |
||
| 238 | 238 | $pvalue = $this->getValue($pvalue, $length); |
| 239 | 239 | if ($explode) { |
| 240 | 240 | $pkey = $this->getValue($pkey, $length); |
| 241 | - $values[] = $pkey . "=" . $pvalue; // Explode triggers = combine. |
|
| 241 | + $values[] = $pkey."=".$pvalue; // Explode triggers = combine. |
|
| 242 | 242 | } else { |
| 243 | 243 | $values[] = $pkey; |
| 244 | 244 | $values[] = $pvalue; |
@@ -269,7 +269,7 @@ discard block |
||
| 269 | 269 | } |
| 270 | 270 | |
| 271 | 271 | // Else we combine the key name: foo=bar, if value is not the empty string. |
| 272 | - return $key . ($value != '' || $combine_on_empty ? $combine . $value : ''); |
|
| 272 | + return $key.($value != '' || $combine_on_empty ? $combine.$value : ''); |
|
| 273 | 273 | } |
| 274 | 274 | |
| 275 | 275 | /** |