📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 BaseMetric.php
▶ Open 📄 View Source
🐘 BatchQueryDomainStatsRequest.php
▶ Open 📄 View Source
🐘 BatchQueryDomainStatsResponse.php
▶ Open 📄 View Source
🐘 BatchQueryDomainStatsResult.php
▶ Open 📄 View Source
🐘 ComplianceRowData.php
▶ Open 📄 View Source
🐘 ComplianceStatus.php
▶ Open 📄 View Source
🐘 Date.php
▶ Open 📄 View Source
🐘 DateList.php
▶ Open 📄 View Source
🐘 DateRange.php
▶ Open 📄 View Source
🐘 DateRanges.php
▶ Open 📄 View Source
🐘 DeliveryError.php
▶ Open 📄 View Source
🐘 Domain.php
▶ Open 📄 View Source
🐘 DomainComplianceData.php
▶ Open 📄 View Source
🐘 DomainComplianceStatus.php
▶ Open 📄 View Source
🐘 DomainStat.php
▶ Open 📄 View Source
🐘 FeedbackLoop.php
▶ Open 📄 View Source
🐘 HonorUnsubscribeVerdict.php
▶ Open 📄 View Source
🐘 IpReputation.php
▶ Open 📄 View Source
🐘 ListDomainsResponse.php
▶ Open 📄 View Source
🐘 ListTrafficStatsResponse.php
▶ Open 📄 View Source
🐘 MetricDefinition.php
▶ Open 📄 View Source
🐘 OneClickUnsubscribeVerdict.php
▶ Open 📄 View Source
🐘 QueryDomainStatsRequest.php
▶ Open 📄 View Source
🐘 QueryDomainStatsResponse.php
▶ Open 📄 View Source
🐘 StatisticValue.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 StringList.php
▶ Open 📄 View Source
🐘 TimeQuery.php
▶ Open 📄 View Source
🐘 TrafficStats.php
▶ Open 📄 View Source

📄 Source: OneClickUnsubscribeVerdict.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\PostmasterTools;

class OneClickUnsubscribeVerdict extends \Google\Model
{
  /**
   * Unspecified.
   */
  public const REASON_REASON_UNSPECIFIED = 'REASON_UNSPECIFIED';
  /**
   * Sender does not support one-click unsubscribe for the majority of their
   * messages.
   */
  public const REASON_NO_UNSUB_GENERAL = 'NO_UNSUB_GENERAL';
  /**
   * Sender does not support one-click unsubscribe for most messages that are
   * manually reported as spam.
   */
  public const REASON_NO_UNSUB_SPAM_REPORTS = 'NO_UNSUB_SPAM_REPORTS';
  /**
   * Sender does not support one-click unsubscribe for most promotional messages
   * that are manually reported as spam. This classification of messages is a
   * subset of those encompassed by `NO_UNSUB_SPAM_REPORTS`.
   */
  public const REASON_NO_UNSUB_PROMO_SPAM_REPORTS = 'NO_UNSUB_PROMO_SPAM_REPORTS';
  /**
   * The specific reason for the compliance verdict. Must be empty if the status
   * is compliant.
   *
   * @var string
   */
  public $reason;
  protected $statusType = ComplianceStatus::class;
  protected $statusDataType = '';

  /**
   * The specific reason for the compliance verdict. Must be empty if the status
   * is compliant.
   *
   * Accepted values: REASON_UNSPECIFIED, NO_UNSUB_GENERAL,
   * NO_UNSUB_SPAM_REPORTS, NO_UNSUB_PROMO_SPAM_REPORTS
   *
   * @param self::REASON_* $reason
   */
  public function setReason($reason)
  {
    $this->reason = $reason;
  }
  /**
   * @return self::REASON_*
   */
  public function getReason()
  {
    return $this->reason;
  }
  /**
   * The compliance status.
   *
   * @param ComplianceStatus $status
   */
  public function setStatus(ComplianceStatus $status)
  {
    $this->status = $status;
  }
  /**
   * @return ComplianceStatus
   */
  public function getStatus()
  {
    return $this->status;
  }
}

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