Bez popisu

UrlCrawlErrorsSample.php 2.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <?php
  2. /*
  3. * Copyright 2014 Google Inc.
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  6. * use this file except in compliance with the License. You may obtain a copy of
  7. * the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  13. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  14. * License for the specific language governing permissions and limitations under
  15. * the License.
  16. */
  17. class Google_Service_Webmasters_UrlCrawlErrorsSample extends Google_Model
  18. {
  19. protected $internal_gapi_mappings = array(
  20. "firstDetected" => "first_detected",
  21. "lastCrawled" => "last_crawled",
  22. );
  23. public $firstDetected;
  24. public $lastCrawled;
  25. public $pageUrl;
  26. public $responseCode;
  27. protected $urlDetailsType = 'Google_Service_Webmasters_UrlSampleDetails';
  28. protected $urlDetailsDataType = '';
  29. public function setFirstDetected($firstDetected)
  30. {
  31. $this->firstDetected = $firstDetected;
  32. }
  33. public function getFirstDetected()
  34. {
  35. return $this->firstDetected;
  36. }
  37. public function setLastCrawled($lastCrawled)
  38. {
  39. $this->lastCrawled = $lastCrawled;
  40. }
  41. public function getLastCrawled()
  42. {
  43. return $this->lastCrawled;
  44. }
  45. public function setPageUrl($pageUrl)
  46. {
  47. $this->pageUrl = $pageUrl;
  48. }
  49. public function getPageUrl()
  50. {
  51. return $this->pageUrl;
  52. }
  53. public function setResponseCode($responseCode)
  54. {
  55. $this->responseCode = $responseCode;
  56. }
  57. public function getResponseCode()
  58. {
  59. return $this->responseCode;
  60. }
  61. /**
  62. * @param Google_Service_Webmasters_UrlSampleDetails
  63. */
  64. public function setUrlDetails(Google_Service_Webmasters_UrlSampleDetails $urlDetails)
  65. {
  66. $this->urlDetails = $urlDetails;
  67. }
  68. /**
  69. * @return Google_Service_Webmasters_UrlSampleDetails
  70. */
  71. public function getUrlDetails()
  72. {
  73. return $this->urlDetails;
  74. }
  75. }