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\SearchConsole;
19
20class RunMobileFriendlyTestResponse extends \Google\Collection
21{
22  protected $collection_key = 'resourceIssues';
23  /**
24   * @var string
25   */
26  public $mobileFriendliness;
27  protected $mobileFriendlyIssuesType = MobileFriendlyIssue::class;
28  protected $mobileFriendlyIssuesDataType = 'array';
29  protected $resourceIssuesType = ResourceIssue::class;
30  protected $resourceIssuesDataType = 'array';
31  protected $screenshotType = Image::class;
32  protected $screenshotDataType = '';
33  protected $testStatusType = TestStatus::class;
34  protected $testStatusDataType = '';
35
36  /**
37   * @param string
38   */
39  public function setMobileFriendliness($mobileFriendliness)
40  {
41    $this->mobileFriendliness = $mobileFriendliness;
42  }
43  /**
44   * @return string
45   */
46  public function getMobileFriendliness()
47  {
48    return $this->mobileFriendliness;
49  }
50  /**
51   * @param MobileFriendlyIssue[]
52   */
53  public function setMobileFriendlyIssues($mobileFriendlyIssues)
54  {
55    $this->mobileFriendlyIssues = $mobileFriendlyIssues;
56  }
57  /**
58   * @return MobileFriendlyIssue[]
59   */
60  public function getMobileFriendlyIssues()
61  {
62    return $this->mobileFriendlyIssues;
63  }
64  /**
65   * @param ResourceIssue[]
66   */
67  public function setResourceIssues($resourceIssues)
68  {
69    $this->resourceIssues = $resourceIssues;
70  }
71  /**
72   * @return ResourceIssue[]
73   */
74  public function getResourceIssues()
75  {
76    return $this->resourceIssues;
77  }
78  /**
79   * @param Image
80   */
81  public function setScreenshot(Image $screenshot)
82  {
83    $this->screenshot = $screenshot;
84  }
85  /**
86   * @return Image
87   */
88  public function getScreenshot()
89  {
90    return $this->screenshot;
91  }
92  /**
93   * @param TestStatus
94   */
95  public function setTestStatus(TestStatus $testStatus)
96  {
97    $this->testStatus = $testStatus;
98  }
99  /**
100   * @return TestStatus
101   */
102  public function getTestStatus()
103  {
104    return $this->testStatus;
105  }
106}
107
108// Adding a class alias for backwards compatibility with the previous class name.
109class_alias(RunMobileFriendlyTestResponse::class, 'Google_Service_SearchConsole_RunMobileFriendlyTestResponse');
110