📂 File Browser

AgentAI/vendor/google/apiclient-services/src/PagespeedInsights
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AuditRefs.php
▶ Open 📄 View Source
🐘 Bucket.php
▶ Open 📄 View Source
🐘 Categories.php
▶ Open 📄 View Source
🐘 CategoryGroupV5.php
▶ Open 📄 View Source
🐘 ConfigSettings.php
▶ Open 📄 View Source
🐘 Environment.php
▶ Open 📄 View Source
🐘 I18n.php
▶ Open 📄 View Source
🐘 LhrEntity.php
▶ Open 📄 View Source
🐘 LighthouseAuditResultV5.php
▶ Open 📄 View Source
🐘 LighthouseCategoryV5.php
▶ Open 📄 View Source
🐘 LighthouseResultV5.php
▶ Open 📄 View Source
🐘 MetricSavings.php
▶ Open 📄 View Source
🐘 PagespeedApiLoadingExperienceV5.php
▶ Open 📄 View Source
🐘 PagespeedApiPagespeedResponseV5.php
▶ Open 📄 View Source
🐘 PagespeedVersion.php
▶ Open 📄 View Source
🐘 RendererFormattedStrings.php
▶ Open 📄 View Source
🐘 RuntimeError.php
▶ Open 📄 View Source
🐘 StackPack.php
▶ Open 📄 View Source
🐘 Timing.php
▶ Open 📄 View Source
🐘 UserPageLoadMetricV5.php
▶ Open 📄 View Source

📄 Source: LighthouseCategoryV5.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\PagespeedInsights;

class LighthouseCategoryV5 extends \Google\Collection
{
  protected $collection_key = 'auditRefs';
  protected $auditRefsType = AuditRefs::class;
  protected $auditRefsDataType = 'array';
  /**
   * A more detailed description of the category and its importance.
   *
   * @var string
   */
  public $description;
  /**
   * The string identifier of the category.
   *
   * @var string
   */
  public $id;
  /**
   * A description for the manual audits in the category.
   *
   * @var string
   */
  public $manualDescription;
  /**
   * The overall score of the category, the weighted average of all its audits.
   * (The category's score, can be null.)
   *
   * @var array
   */
  public $score;
  /**
   * The human-friendly name of the category.
   *
   * @var string
   */
  public $title;

  /**
   * An array of references to all the audit members of this category.
   *
   * @param AuditRefs[] $auditRefs
   */
  public function setAuditRefs($auditRefs)
  {
    $this->auditRefs = $auditRefs;
  }
  /**
   * @return AuditRefs[]
   */
  public function getAuditRefs()
  {
    return $this->auditRefs;
  }
  /**
   * A more detailed description of the category and its importance.
   *
   * @param string $description
   */
  public function setDescription($description)
  {
    $this->description = $description;
  }
  /**
   * @return string
   */
  public function getDescription()
  {
    return $this->description;
  }
  /**
   * The string identifier of the category.
   *
   * @param string $id
   */
  public function setId($id)
  {
    $this->id = $id;
  }
  /**
   * @return string
   */
  public function getId()
  {
    return $this->id;
  }
  /**
   * A description for the manual audits in the category.
   *
   * @param string $manualDescription
   */
  public function setManualDescription($manualDescription)
  {
    $this->manualDescription = $manualDescription;
  }
  /**
   * @return string
   */
  public function getManualDescription()
  {
    return $this->manualDescription;
  }
  /**
   * The overall score of the category, the weighted average of all its audits.
   * (The category's score, can be null.)
   *
   * @param array $score
   */
  public function setScore($score)
  {
    $this->score = $score;
  }
  /**
   * @return array
   */
  public function getScore()
  {
    return $this->score;
  }
  /**
   * The human-friendly name of the category.
   *
   * @param string $title
   */
  public function setTitle($title)
  {
    $this->title = $title;
  }
  /**
   * @return string
   */
  public function getTitle()
  {
    return $this->title;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LighthouseCategoryV5::class, 'Google_Service_PagespeedInsights_LighthouseCategoryV5');
← Back