source: vendor/google/apiclient-services/src/PagespeedInsights/Categories.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 6 weeks ago

Upload project files

  • Property mode set to 100644
File size: 2.7 KB
Line 
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\PagespeedInsights;
19
20class Categories extends \Google\Model
21{
22 protected $internal_gapi_mappings = [
23 "bestPractices" => "best-practices",
24 ];
25 protected $accessibilityType = LighthouseCategoryV5::class;
26 protected $accessibilityDataType = '';
27 protected $bestPracticesType = LighthouseCategoryV5::class;
28 protected $bestPracticesDataType = '';
29 protected $performanceType = LighthouseCategoryV5::class;
30 protected $performanceDataType = '';
31 protected $pwaType = LighthouseCategoryV5::class;
32 protected $pwaDataType = '';
33 protected $seoType = LighthouseCategoryV5::class;
34 protected $seoDataType = '';
35
36 /**
37 * @param LighthouseCategoryV5
38 */
39 public function setAccessibility(LighthouseCategoryV5 $accessibility)
40 {
41 $this->accessibility = $accessibility;
42 }
43 /**
44 * @return LighthouseCategoryV5
45 */
46 public function getAccessibility()
47 {
48 return $this->accessibility;
49 }
50 /**
51 * @param LighthouseCategoryV5
52 */
53 public function setBestPractices(LighthouseCategoryV5 $bestPractices)
54 {
55 $this->bestPractices = $bestPractices;
56 }
57 /**
58 * @return LighthouseCategoryV5
59 */
60 public function getBestPractices()
61 {
62 return $this->bestPractices;
63 }
64 /**
65 * @param LighthouseCategoryV5
66 */
67 public function setPerformance(LighthouseCategoryV5 $performance)
68 {
69 $this->performance = $performance;
70 }
71 /**
72 * @return LighthouseCategoryV5
73 */
74 public function getPerformance()
75 {
76 return $this->performance;
77 }
78 /**
79 * @param LighthouseCategoryV5
80 */
81 public function setPwa(LighthouseCategoryV5 $pwa)
82 {
83 $this->pwa = $pwa;
84 }
85 /**
86 * @return LighthouseCategoryV5
87 */
88 public function getPwa()
89 {
90 return $this->pwa;
91 }
92 /**
93 * @param LighthouseCategoryV5
94 */
95 public function setSeo(LighthouseCategoryV5 $seo)
96 {
97 $this->seo = $seo;
98 }
99 /**
100 * @return LighthouseCategoryV5
101 */
102 public function getSeo()
103 {
104 return $this->seo;
105 }
106}
107
108// Adding a class alias for backwards compatibility with the previous class name.
109class_alias(Categories::class, 'Google_Service_PagespeedInsights_Categories');
Note: See TracBrowser for help on using the repository browser.