| 1 |
<?php |
| 2 |
/* |
| 3 |
* Copyright 2010 Google Inc. |
| 4 |
* |
| 5 |
* Licensed under the Apache License, Version 2.0 (the "License"); you may not |
| 6 |
* use this file except in compliance with the License. You may obtain a copy of |
| 7 |
* the License at |
| 8 |
* |
| 9 |
* http://www.apache.org/licenses/LICENSE-2.0 |
| 10 |
* |
| 11 |
* Unless required by applicable law or agreed to in writing, software |
| 12 |
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 13 |
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 14 |
* License for the specific language governing permissions and limitations under |
| 15 |
* the License. |
| 16 |
*/ |
| 17 |
|
| 18 |
/** |
| 19 |
* Service definition for Pagespeedonline (v1). |
| 20 |
* |
| 21 |
* <p> |
| 22 |
* Lets you analyze the performance of a web page and get tailored suggestions to make that page faster. |
| 23 |
* </p> |
| 24 |
* |
| 25 |
* <p> |
| 26 |
* For more information about this service, see the API |
| 27 |
* <a href="https://developers.google.com/speed/docs/insights/v1/getting_started" target="_blank">Documentation</a> |
| 28 |
* </p> |
| 29 |
* |
| 30 |
* @author Google, Inc. |
| 31 |
*/ |
| 32 |
class Analytify_Google_Service_Pagespeedonline extends Analytify_Google_Service |
| 33 |
{ |
| 34 |
|
| 35 |
|
| 36 |
public $pagespeedapi; |
| 37 |
|
| 38 |
|
| 39 |
/** |
| 40 |
* Constructs the internal representation of the Pagespeedonline service. |
| 41 |
* |
| 42 |
* @param Analytify_Google_Client $client |
| 43 |
*/ |
| 44 |
public function __construct(Analytify_Google_Client $client) |
| 45 |
{ |
| 46 |
parent::__construct($client); |
| 47 |
$this->servicePath = 'pagespeedonline/v1/'; |
| 48 |
$this->version = 'v1'; |
| 49 |
$this->serviceName = 'pagespeedonline'; |
| 50 |
|
| 51 |
$this->pagespeedapi = new Analytify_Google_Service_Pagespeedonline_Pagespeedapi_Resource( |
| 52 |
$this, |
| 53 |
$this->serviceName, |
| 54 |
'pagespeedapi', |
| 55 |
array( |
| 56 |
'methods' => array( |
| 57 |
'runpagespeed' => array( |
| 58 |
'path' => 'runPagespeed', |
| 59 |
'httpMethod' => 'GET', |
| 60 |
'parameters' => array( |
| 61 |
'url' => array( |
| 62 |
'location' => 'query', |
| 63 |
'type' => 'string', |
| 64 |
'required' => true, |
| 65 |
), |
| 66 |
'screenshot' => array( |
| 67 |
'location' => 'query', |
| 68 |
'type' => 'boolean', |
| 69 |
), |
| 70 |
'locale' => array( |
| 71 |
'location' => 'query', |
| 72 |
'type' => 'string', |
| 73 |
), |
| 74 |
'rule' => array( |
| 75 |
'location' => 'query', |
| 76 |
'type' => 'string', |
| 77 |
'repeated' => true, |
| 78 |
), |
| 79 |
'strategy' => array( |
| 80 |
'location' => 'query', |
| 81 |
'type' => 'string', |
| 82 |
), |
| 83 |
'filter_third_party_resources' => array( |
| 84 |
'location' => 'query', |
| 85 |
'type' => 'boolean', |
| 86 |
), |
| 87 |
), |
| 88 |
), |
| 89 |
) |
| 90 |
) |
| 91 |
); |
| 92 |
} |
| 93 |
} |
| 94 |
|
| 95 |
|
| 96 |
/** |
| 97 |
* The "pagespeedapi" collection of methods. |
| 98 |
* Typical usage is: |
| 99 |
* <code> |
| 100 |
* $pagespeedonlineService = new Analytify_Google_Service_Pagespeedonline(...); |
| 101 |
* $pagespeedapi = $pagespeedonlineService->pagespeedapi; |
| 102 |
* </code> |
| 103 |
*/ |
| 104 |
class Analytify_Google_Service_Pagespeedonline_Pagespeedapi_Resource extends Analytify_Google_Service_Resource |
| 105 |
{ |
| 106 |
|
| 107 |
/** |
| 108 |
* Runs Page Speed analysis on the page at the specified URL, and returns a Page |
| 109 |
* Speed score, a list of suggestions to make that page faster, and other |
| 110 |
* information. (pagespeedapi.runpagespeed) |
| 111 |
* |
| 112 |
* @param string $url |
| 113 |
* The URL to fetch and analyze |
| 114 |
* @param array $optParams Optional parameters. |
| 115 |
* |
| 116 |
* @opt_param bool screenshot |
| 117 |
* Indicates if binary data containing a screenshot should be included |
| 118 |
* @opt_param string locale |
| 119 |
* The locale used to localize formatted results |
| 120 |
* @opt_param string rule |
| 121 |
* A Page Speed rule to run; if none are given, all rules are run |
| 122 |
* @opt_param string strategy |
| 123 |
* The analysis strategy to use |
| 124 |
* @opt_param bool filter_third_party_resources |
| 125 |
* Indicates if third party resources should be filtered out before PageSpeed analysis. |
| 126 |
* @return Analytify_Google_Service_Pagespeedonline_Result |
| 127 |
*/ |
| 128 |
public function runpagespeed($url, $optParams = array()) |
| 129 |
{ |
| 130 |
$params = array('url' => $url); |
| 131 |
$params = array_merge($params, $optParams); |
| 132 |
return $this->call('runpagespeed', array($params), "Analytify_Google_Service_Pagespeedonline_Result"); |
| 133 |
} |
| 134 |
} |
| 135 |
|
| 136 |
|
| 137 |
|
| 138 |
|
| 139 |
class Analytify_Google_Service_Pagespeedonline_Result extends Analytify_Google_Collection |
| 140 |
{ |
| 141 |
protected $formattedResultsType = 'Analytify_Google_Service_Pagespeedonline_ResultFormattedResults'; |
| 142 |
protected $formattedResultsDataType = ''; |
| 143 |
public $id; |
| 144 |
public $invalidRules; |
| 145 |
public $kind; |
| 146 |
protected $pageStatsType = 'Analytify_Google_Service_Pagespeedonline_ResultPageStats'; |
| 147 |
protected $pageStatsDataType = ''; |
| 148 |
public $responseCode; |
| 149 |
public $score; |
| 150 |
protected $screenshotType = 'Analytify_Google_Service_Pagespeedonline_ResultScreenshot'; |
| 151 |
protected $screenshotDataType = ''; |
| 152 |
public $title; |
| 153 |
protected $versionType = 'Analytify_Google_Service_Pagespeedonline_ResultVersion'; |
| 154 |
protected $versionDataType = ''; |
| 155 |
|
| 156 |
public function setFormattedResults(Analytify_Google_Service_Pagespeedonline_ResultFormattedResults $formattedResults) |
| 157 |
{ |
| 158 |
$this->formattedResults = $formattedResults; |
| 159 |
} |
| 160 |
|
| 161 |
public function getFormattedResults() |
| 162 |
{ |
| 163 |
return $this->formattedResults; |
| 164 |
} |
| 165 |
|
| 166 |
public function setId($id) |
| 167 |
{ |
| 168 |
$this->id = $id; |
| 169 |
} |
| 170 |
|
| 171 |
public function getId() |
| 172 |
{ |
| 173 |
return $this->id; |
| 174 |
} |
| 175 |
|
| 176 |
public function setInvalidRules($invalidRules) |
| 177 |
{ |
| 178 |
$this->invalidRules = $invalidRules; |
| 179 |
} |
| 180 |
|
| 181 |
public function getInvalidRules() |
| 182 |
{ |
| 183 |
return $this->invalidRules; |
| 184 |
} |
| 185 |
|
| 186 |
public function setKind($kind) |
| 187 |
{ |
| 188 |
$this->kind = $kind; |
| 189 |
} |
| 190 |
|
| 191 |
public function getKind() |
| 192 |
{ |
| 193 |
return $this->kind; |
| 194 |
} |
| 195 |
|
| 196 |
public function setPageStats(Analytify_Google_Service_Pagespeedonline_ResultPageStats $pageStats) |
| 197 |
{ |
| 198 |
$this->pageStats = $pageStats; |
| 199 |
} |
| 200 |
|
| 201 |
public function getPageStats() |
| 202 |
{ |
| 203 |
return $this->pageStats; |
| 204 |
} |
| 205 |
|
| 206 |
public function setResponseCode($responseCode) |
| 207 |
{ |
| 208 |
$this->responseCode = $responseCode; |
| 209 |
} |
| 210 |
|
| 211 |
public function getResponseCode() |
| 212 |
{ |
| 213 |
return $this->responseCode; |
| 214 |
} |
| 215 |
|
| 216 |
public function setScore($score) |
| 217 |
{ |
| 218 |
$this->score = $score; |
| 219 |
} |
| 220 |
|
| 221 |
public function getScore() |
| 222 |
{ |
| 223 |
return $this->score; |
| 224 |
} |
| 225 |
|
| 226 |
public function setScreenshot(Analytify_Google_Service_Pagespeedonline_ResultScreenshot $screenshot) |
| 227 |
{ |
| 228 |
$this->screenshot = $screenshot; |
| 229 |
} |
| 230 |
|
| 231 |
public function getScreenshot() |
| 232 |
{ |
| 233 |
return $this->screenshot; |
| 234 |
} |
| 235 |
|
| 236 |
public function setTitle($title) |
| 237 |
{ |
| 238 |
$this->title = $title; |
| 239 |
} |
| 240 |
|
| 241 |
public function getTitle() |
| 242 |
{ |
| 243 |
return $this->title; |
| 244 |
} |
| 245 |
|
| 246 |
public function setVersion(Analytify_Google_Service_Pagespeedonline_ResultVersion $version) |
| 247 |
{ |
| 248 |
$this->version = $version; |
| 249 |
} |
| 250 |
|
| 251 |
public function getVersion() |
| 252 |
{ |
| 253 |
return $this->version; |
| 254 |
} |
| 255 |
} |
| 256 |
|
| 257 |
class Analytify_Google_Service_Pagespeedonline_ResultFormattedResults extends Analytify_Google_Model |
| 258 |
{ |
| 259 |
public $locale; |
| 260 |
protected $ruleResultsType = 'Analytify_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElement'; |
| 261 |
protected $ruleResultsDataType = 'map'; |
| 262 |
|
| 263 |
public function setLocale($locale) |
| 264 |
{ |
| 265 |
$this->locale = $locale; |
| 266 |
} |
| 267 |
|
| 268 |
public function getLocale() |
| 269 |
{ |
| 270 |
return $this->locale; |
| 271 |
} |
| 272 |
|
| 273 |
public function setRuleResults($ruleResults) |
| 274 |
{ |
| 275 |
$this->ruleResults = $ruleResults; |
| 276 |
} |
| 277 |
|
| 278 |
public function getRuleResults() |
| 279 |
{ |
| 280 |
return $this->ruleResults; |
| 281 |
} |
| 282 |
} |
| 283 |
|
| 284 |
class Analytify_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResults extends Analytify_Google_Model |
| 285 |
{ |
| 286 |
|
| 287 |
} |
| 288 |
|
| 289 |
class Analytify_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElement extends Analytify_Google_Collection |
| 290 |
{ |
| 291 |
public $localizedRuleName; |
| 292 |
public $ruleImpact; |
| 293 |
protected $urlBlocksType = 'Analytify_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocks'; |
| 294 |
protected $urlBlocksDataType = 'array'; |
| 295 |
|
| 296 |
public function setLocalizedRuleName($localizedRuleName) |
| 297 |
{ |
| 298 |
$this->localizedRuleName = $localizedRuleName; |
| 299 |
} |
| 300 |
|
| 301 |
public function getLocalizedRuleName() |
| 302 |
{ |
| 303 |
return $this->localizedRuleName; |
| 304 |
} |
| 305 |
|
| 306 |
public function setRuleImpact($ruleImpact) |
| 307 |
{ |
| 308 |
$this->ruleImpact = $ruleImpact; |
| 309 |
} |
| 310 |
|
| 311 |
public function getRuleImpact() |
| 312 |
{ |
| 313 |
return $this->ruleImpact; |
| 314 |
} |
| 315 |
|
| 316 |
public function setUrlBlocks($urlBlocks) |
| 317 |
{ |
| 318 |
$this->urlBlocks = $urlBlocks; |
| 319 |
} |
| 320 |
|
| 321 |
public function getUrlBlocks() |
| 322 |
{ |
| 323 |
return $this->urlBlocks; |
| 324 |
} |
| 325 |
} |
| 326 |
|
| 327 |
class Analytify_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocks extends Analytify_Google_Collection |
| 328 |
{ |
| 329 |
protected $headerType = 'Analytify_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksHeader'; |
| 330 |
protected $headerDataType = ''; |
| 331 |
protected $urlsType = 'Analytify_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrls'; |
| 332 |
protected $urlsDataType = 'array'; |
| 333 |
|
| 334 |
public function setHeader(Analytify_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksHeader $header) |
| 335 |
{ |
| 336 |
$this->header = $header; |
| 337 |
} |
| 338 |
|
| 339 |
public function getHeader() |
| 340 |
{ |
| 341 |
return $this->header; |
| 342 |
} |
| 343 |
|
| 344 |
public function setUrls($urls) |
| 345 |
{ |
| 346 |
$this->urls = $urls; |
| 347 |
} |
| 348 |
|
| 349 |
public function getUrls() |
| 350 |
{ |
| 351 |
return $this->urls; |
| 352 |
} |
| 353 |
} |
| 354 |
|
| 355 |
class Analytify_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksHeader extends Analytify_Google_Collection |
| 356 |
{ |
| 357 |
protected $argsType = 'Analytify_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksHeaderArgs'; |
| 358 |
protected $argsDataType = 'array'; |
| 359 |
public $format; |
| 360 |
|
| 361 |
public function setArgs($args) |
| 362 |
{ |
| 363 |
$this->args = $args; |
| 364 |
} |
| 365 |
|
| 366 |
public function getArgs() |
| 367 |
{ |
| 368 |
return $this->args; |
| 369 |
} |
| 370 |
|
| 371 |
public function setFormat($format) |
| 372 |
{ |
| 373 |
$this->format = $format; |
| 374 |
} |
| 375 |
|
| 376 |
public function getFormat() |
| 377 |
{ |
| 378 |
return $this->format; |
| 379 |
} |
| 380 |
} |
| 381 |
|
| 382 |
class Analytify_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksHeaderArgs extends Analytify_Google_Model |
| 383 |
{ |
| 384 |
public $type; |
| 385 |
public $value; |
| 386 |
|
| 387 |
public function setType($type) |
| 388 |
{ |
| 389 |
$this->type = $type; |
| 390 |
} |
| 391 |
|
| 392 |
public function getType() |
| 393 |
{ |
| 394 |
return $this->type; |
| 395 |
} |
| 396 |
|
| 397 |
public function setValue($value) |
| 398 |
{ |
| 399 |
$this->value = $value; |
| 400 |
} |
| 401 |
|
| 402 |
public function getValue() |
| 403 |
{ |
| 404 |
return $this->value; |
| 405 |
} |
| 406 |
} |
| 407 |
|
| 408 |
class Analytify_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrls extends Analytify_Google_Collection |
| 409 |
{ |
| 410 |
protected $detailsType = 'Analytify_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrlsDetails'; |
| 411 |
protected $detailsDataType = 'array'; |
| 412 |
protected $resultType = 'Analytify_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrlsResult'; |
| 413 |
protected $resultDataType = ''; |
| 414 |
|
| 415 |
public function setDetails($details) |
| 416 |
{ |
| 417 |
$this->details = $details; |
| 418 |
} |
| 419 |
|
| 420 |
public function getDetails() |
| 421 |
{ |
| 422 |
return $this->details; |
| 423 |
} |
| 424 |
|
| 425 |
public function setResult(Analytify_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrlsResult $result) |
| 426 |
{ |
| 427 |
$this->result = $result; |
| 428 |
} |
| 429 |
|
| 430 |
public function getResult() |
| 431 |
{ |
| 432 |
return $this->result; |
| 433 |
} |
| 434 |
} |
| 435 |
|
| 436 |
class Analytify_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrlsDetails extends Analytify_Google_Collection |
| 437 |
{ |
| 438 |
protected $argsType = 'Analytify_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrlsDetailsArgs'; |
| 439 |
protected $argsDataType = 'array'; |
| 440 |
public $format; |
| 441 |
|
| 442 |
public function setArgs($args) |
| 443 |
{ |
| 444 |
$this->args = $args; |
| 445 |
} |
| 446 |
|
| 447 |
public function getArgs() |
| 448 |
{ |
| 449 |
return $this->args; |
| 450 |
} |
| 451 |
|
| 452 |
public function setFormat($format) |
| 453 |
{ |
| 454 |
$this->format = $format; |
| 455 |
} |
| 456 |
|
| 457 |
public function getFormat() |
| 458 |
{ |
| 459 |
return $this->format; |
| 460 |
} |
| 461 |
} |
| 462 |
|
| 463 |
class Analytify_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrlsDetailsArgs extends Analytify_Google_Model |
| 464 |
{ |
| 465 |
public $type; |
| 466 |
public $value; |
| 467 |
|
| 468 |
public function setType($type) |
| 469 |
{ |
| 470 |
$this->type = $type; |
| 471 |
} |
| 472 |
|
| 473 |
public function getType() |
| 474 |
{ |
| 475 |
return $this->type; |
| 476 |
} |
| 477 |
|
| 478 |
public function setValue($value) |
| 479 |
{ |
| 480 |
$this->value = $value; |
| 481 |
} |
| 482 |
|
| 483 |
public function getValue() |
| 484 |
{ |
| 485 |
return $this->value; |
| 486 |
} |
| 487 |
} |
| 488 |
|
| 489 |
class Analytify_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrlsResult extends Analytify_Google_Collection |
| 490 |
{ |
| 491 |
protected $argsType = 'Analytify_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrlsResultArgs'; |
| 492 |
protected $argsDataType = 'array'; |
| 493 |
public $format; |
| 494 |
|
| 495 |
public function setArgs($args) |
| 496 |
{ |
| 497 |
$this->args = $args; |
| 498 |
} |
| 499 |
|
| 500 |
public function getArgs() |
| 501 |
{ |
| 502 |
return $this->args; |
| 503 |
} |
| 504 |
|
| 505 |
public function setFormat($format) |
| 506 |
{ |
| 507 |
$this->format = $format; |
| 508 |
} |
| 509 |
|
| 510 |
public function getFormat() |
| 511 |
{ |
| 512 |
return $this->format; |
| 513 |
} |
| 514 |
} |
| 515 |
|
| 516 |
class Analytify_Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrlsResultArgs extends Analytify_Google_Model |
| 517 |
{ |
| 518 |
public $type; |
| 519 |
public $value; |
| 520 |
|
| 521 |
public function setType($type) |
| 522 |
{ |
| 523 |
$this->type = $type; |
| 524 |
} |
| 525 |
|
| 526 |
public function getType() |
| 527 |
{ |
| 528 |
return $this->type; |
| 529 |
} |
| 530 |
|
| 531 |
public function setValue($value) |
| 532 |
{ |
| 533 |
$this->value = $value; |
| 534 |
} |
| 535 |
|
| 536 |
public function getValue() |
| 537 |
{ |
| 538 |
return $this->value; |
| 539 |
} |
| 540 |
} |
| 541 |
|
| 542 |
class Analytify_Google_Service_Pagespeedonline_ResultPageStats extends Analytify_Google_Model |
| 543 |
{ |
| 544 |
public $cssResponseBytes; |
| 545 |
public $flashResponseBytes; |
| 546 |
public $htmlResponseBytes; |
| 547 |
public $imageResponseBytes; |
| 548 |
public $javascriptResponseBytes; |
| 549 |
public $numberCssResources; |
| 550 |
public $numberHosts; |
| 551 |
public $numberJsResources; |
| 552 |
public $numberResources; |
| 553 |
public $numberStaticResources; |
| 554 |
public $otherResponseBytes; |
| 555 |
public $textResponseBytes; |
| 556 |
public $totalRequestBytes; |
| 557 |
|
| 558 |
public function setCssResponseBytes($cssResponseBytes) |
| 559 |
{ |
| 560 |
$this->cssResponseBytes = $cssResponseBytes; |
| 561 |
} |
| 562 |
|
| 563 |
public function getCssResponseBytes() |
| 564 |
{ |
| 565 |
return $this->cssResponseBytes; |
| 566 |
} |
| 567 |
|
| 568 |
public function setFlashResponseBytes($flashResponseBytes) |
| 569 |
{ |
| 570 |
$this->flashResponseBytes = $flashResponseBytes; |
| 571 |
} |
| 572 |
|
| 573 |
public function getFlashResponseBytes() |
| 574 |
{ |
| 575 |
return $this->flashResponseBytes; |
| 576 |
} |
| 577 |
|
| 578 |
public function setHtmlResponseBytes($htmlResponseBytes) |
| 579 |
{ |
| 580 |
$this->htmlResponseBytes = $htmlResponseBytes; |
| 581 |
} |
| 582 |
|
| 583 |
public function getHtmlResponseBytes() |
| 584 |
{ |
| 585 |
return $this->htmlResponseBytes; |
| 586 |
} |
| 587 |
|
| 588 |
public function setImageResponseBytes($imageResponseBytes) |
| 589 |
{ |
| 590 |
$this->imageResponseBytes = $imageResponseBytes; |
| 591 |
} |
| 592 |
|
| 593 |
public function getImageResponseBytes() |
| 594 |
{ |
| 595 |
return $this->imageResponseBytes; |
| 596 |
} |
| 597 |
|
| 598 |
public function setJavascriptResponseBytes($javascriptResponseBytes) |
| 599 |
{ |
| 600 |
$this->javascriptResponseBytes = $javascriptResponseBytes; |
| 601 |
} |
| 602 |
|
| 603 |
public function getJavascriptResponseBytes() |
| 604 |
{ |
| 605 |
return $this->javascriptResponseBytes; |
| 606 |
} |
| 607 |
|
| 608 |
public function setNumberCssResources($numberCssResources) |
| 609 |
{ |
| 610 |
$this->numberCssResources = $numberCssResources; |
| 611 |
} |
| 612 |
|
| 613 |
public function getNumberCssResources() |
| 614 |
{ |
| 615 |
return $this->numberCssResources; |
| 616 |
} |
| 617 |
|
| 618 |
public function setNumberHosts($numberHosts) |
| 619 |
{ |
| 620 |
$this->numberHosts = $numberHosts; |
| 621 |
} |
| 622 |
|
| 623 |
public function getNumberHosts() |
| 624 |
{ |
| 625 |
return $this->numberHosts; |
| 626 |
} |
| 627 |
|
| 628 |
public function setNumberJsResources($numberJsResources) |
| 629 |
{ |
| 630 |
$this->numberJsResources = $numberJsResources; |
| 631 |
} |
| 632 |
|
| 633 |
public function getNumberJsResources() |
| 634 |
{ |
| 635 |
return $this->numberJsResources; |
| 636 |
} |
| 637 |
|
| 638 |
public function setNumberResources($numberResources) |
| 639 |
{ |
| 640 |
$this->numberResources = $numberResources; |
| 641 |
} |
| 642 |
|
| 643 |
public function getNumberResources() |
| 644 |
{ |
| 645 |
return $this->numberResources; |
| 646 |
} |
| 647 |
|
| 648 |
public function setNumberStaticResources($numberStaticResources) |
| 649 |
{ |
| 650 |
$this->numberStaticResources = $numberStaticResources; |
| 651 |
} |
| 652 |
|
| 653 |
public function getNumberStaticResources() |
| 654 |
{ |
| 655 |
return $this->numberStaticResources; |
| 656 |
} |
| 657 |
|
| 658 |
public function setOtherResponseBytes($otherResponseBytes) |
| 659 |
{ |
| 660 |
$this->otherResponseBytes = $otherResponseBytes; |
| 661 |
} |
| 662 |
|
| 663 |
public function getOtherResponseBytes() |
| 664 |
{ |
| 665 |
return $this->otherResponseBytes; |
| 666 |
} |
| 667 |
|
| 668 |
public function setTextResponseBytes($textResponseBytes) |
| 669 |
{ |
| 670 |
$this->textResponseBytes = $textResponseBytes; |
| 671 |
} |
| 672 |
|
| 673 |
public function getTextResponseBytes() |
| 674 |
{ |
| 675 |
return $this->textResponseBytes; |
| 676 |
} |
| 677 |
|
| 678 |
public function setTotalRequestBytes($totalRequestBytes) |
| 679 |
{ |
| 680 |
$this->totalRequestBytes = $totalRequestBytes; |
| 681 |
} |
| 682 |
|
| 683 |
public function getTotalRequestBytes() |
| 684 |
{ |
| 685 |
return $this->totalRequestBytes; |
| 686 |
} |
| 687 |
} |
| 688 |
|
| 689 |
class Analytify_Google_Service_Pagespeedonline_ResultScreenshot extends Analytify_Google_Model |
| 690 |
{ |
| 691 |
public $data; |
| 692 |
public $height; |
| 693 |
public $mimeType; |
| 694 |
public $width; |
| 695 |
|
| 696 |
public function setData($data) |
| 697 |
{ |
| 698 |
$this->data = $data; |
| 699 |
} |
| 700 |
|
| 701 |
public function getData() |
| 702 |
{ |
| 703 |
return $this->data; |
| 704 |
} |
| 705 |
|
| 706 |
public function setHeight($height) |
| 707 |
{ |
| 708 |
$this->height = $height; |
| 709 |
} |
| 710 |
|
| 711 |
public function getHeight() |
| 712 |
{ |
| 713 |
return $this->height; |
| 714 |
} |
| 715 |
|
| 716 |
public function setMimeType($mimeType) |
| 717 |
{ |
| 718 |
$this->mimeType = $mimeType; |
| 719 |
} |
| 720 |
|
| 721 |
public function getMimeType() |
| 722 |
{ |
| 723 |
return $this->mimeType; |
| 724 |
} |
| 725 |
|
| 726 |
public function setWidth($width) |
| 727 |
{ |
| 728 |
$this->width = $width; |
| 729 |
} |
| 730 |
|
| 731 |
public function getWidth() |
| 732 |
{ |
| 733 |
return $this->width; |
| 734 |
} |
| 735 |
} |
| 736 |
|
| 737 |
class Analytify_Google_Service_Pagespeedonline_ResultVersion extends Analytify_Google_Model |
| 738 |
{ |
| 739 |
public $major; |
| 740 |
public $minor; |
| 741 |
|
| 742 |
public function setMajor($major) |
| 743 |
{ |
| 744 |
$this->major = $major; |
| 745 |
} |
| 746 |
|
| 747 |
public function getMajor() |
| 748 |
{ |
| 749 |
return $this->major; |
| 750 |
} |
| 751 |
|
| 752 |
public function setMinor($minor) |
| 753 |
{ |
| 754 |
$this->minor = $minor; |
| 755 |
} |
| 756 |
|
| 757 |
public function getMinor() |
| 758 |
{ |
| 759 |
return $this->minor; |
| 760 |
} |
| 761 |
} |
| 762 |
|