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
18namespace Google\Service\Webmasters;
19
20class WmxSitemap extends \Google\Collection
21{
22  protected $collection_key = 'contents';
23  protected $contentsType = WmxSitemapContent::class;
24  protected $contentsDataType = 'array';
25  public $errors;
26  public $isPending;
27  public $isSitemapsIndex;
28  public $lastDownloaded;
29  public $lastSubmitted;
30  public $path;
31  public $type;
32  public $warnings;
33
34  /**
35   * @param WmxSitemapContent[]
36   */
37  public function setContents($contents)
38  {
39    $this->contents = $contents;
40  }
41  /**
42   * @return WmxSitemapContent[]
43   */
44  public function getContents()
45  {
46    return $this->contents;
47  }
48  public function setErrors($errors)
49  {
50    $this->errors = $errors;
51  }
52  public function getErrors()
53  {
54    return $this->errors;
55  }
56  public function setIsPending($isPending)
57  {
58    $this->isPending = $isPending;
59  }
60  public function getIsPending()
61  {
62    return $this->isPending;
63  }
64  public function setIsSitemapsIndex($isSitemapsIndex)
65  {
66    $this->isSitemapsIndex = $isSitemapsIndex;
67  }
68  public function getIsSitemapsIndex()
69  {
70    return $this->isSitemapsIndex;
71  }
72  public function setLastDownloaded($lastDownloaded)
73  {
74    $this->lastDownloaded = $lastDownloaded;
75  }
76  public function getLastDownloaded()
77  {
78    return $this->lastDownloaded;
79  }
80  public function setLastSubmitted($lastSubmitted)
81  {
82    $this->lastSubmitted = $lastSubmitted;
83  }
84  public function getLastSubmitted()
85  {
86    return $this->lastSubmitted;
87  }
88  public function setPath($path)
89  {
90    $this->path = $path;
91  }
92  public function getPath()
93  {
94    return $this->path;
95  }
96  public function setType($type)
97  {
98    $this->type = $type;
99  }
100  public function getType()
101  {
102    return $this->type;
103  }
104  public function setWarnings($warnings)
105  {
106    $this->warnings = $warnings;
107  }
108  public function getWarnings()
109  {
110    return $this->warnings;
111  }
112}
113
114// Adding a class alias for backwards compatibility with the previous class name.
115class_alias(WmxSitemap::class, 'Google_Service_Webmasters_WmxSitemap');
116