| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165 |
- <?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 TrafficStats extends \Google\Collection
- {
- protected $collection_key = 'spammyFeedbackLoops';
- protected $deliveryErrorsType = DeliveryError::class;
- protected $deliveryErrorsDataType = 'array';
- public $dkimSuccessRatio;
- public $dmarcSuccessRatio;
- /**
- * @var string
- */
- public $domainReputation;
- public $inboundEncryptionRatio;
- protected $ipReputationsType = IpReputation::class;
- protected $ipReputationsDataType = 'array';
- /**
- * @var string
- */
- public $name;
- public $outboundEncryptionRatio;
- protected $spammyFeedbackLoopsType = FeedbackLoop::class;
- protected $spammyFeedbackLoopsDataType = 'array';
- public $spfSuccessRatio;
- public $userReportedSpamRatio;
- /**
- * @param DeliveryError[]
- */
- public function setDeliveryErrors($deliveryErrors)
- {
- $this->deliveryErrors = $deliveryErrors;
- }
- /**
- * @return DeliveryError[]
- */
- public function getDeliveryErrors()
- {
- return $this->deliveryErrors;
- }
- public function setDkimSuccessRatio($dkimSuccessRatio)
- {
- $this->dkimSuccessRatio = $dkimSuccessRatio;
- }
- public function getDkimSuccessRatio()
- {
- return $this->dkimSuccessRatio;
- }
- public function setDmarcSuccessRatio($dmarcSuccessRatio)
- {
- $this->dmarcSuccessRatio = $dmarcSuccessRatio;
- }
- public function getDmarcSuccessRatio()
- {
- return $this->dmarcSuccessRatio;
- }
- /**
- * @param string
- */
- public function setDomainReputation($domainReputation)
- {
- $this->domainReputation = $domainReputation;
- }
- /**
- * @return string
- */
- public function getDomainReputation()
- {
- return $this->domainReputation;
- }
- public function setInboundEncryptionRatio($inboundEncryptionRatio)
- {
- $this->inboundEncryptionRatio = $inboundEncryptionRatio;
- }
- public function getInboundEncryptionRatio()
- {
- return $this->inboundEncryptionRatio;
- }
- /**
- * @param IpReputation[]
- */
- public function setIpReputations($ipReputations)
- {
- $this->ipReputations = $ipReputations;
- }
- /**
- * @return IpReputation[]
- */
- public function getIpReputations()
- {
- return $this->ipReputations;
- }
- /**
- * @param string
- */
- public function setName($name)
- {
- $this->name = $name;
- }
- /**
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
- public function setOutboundEncryptionRatio($outboundEncryptionRatio)
- {
- $this->outboundEncryptionRatio = $outboundEncryptionRatio;
- }
- public function getOutboundEncryptionRatio()
- {
- return $this->outboundEncryptionRatio;
- }
- /**
- * @param FeedbackLoop[]
- */
- public function setSpammyFeedbackLoops($spammyFeedbackLoops)
- {
- $this->spammyFeedbackLoops = $spammyFeedbackLoops;
- }
- /**
- * @return FeedbackLoop[]
- */
- public function getSpammyFeedbackLoops()
- {
- return $this->spammyFeedbackLoops;
- }
- public function setSpfSuccessRatio($spfSuccessRatio)
- {
- $this->spfSuccessRatio = $spfSuccessRatio;
- }
- public function getSpfSuccessRatio()
- {
- return $this->spfSuccessRatio;
- }
- public function setUserReportedSpamRatio($userReportedSpamRatio)
- {
- $this->userReportedSpamRatio = $userReportedSpamRatio;
- }
- public function getUserReportedSpamRatio()
- {
- return $this->userReportedSpamRatio;
- }
- }
- // Adding a class alias for backwards compatibility with the previous class name.
- class_alias(TrafficStats::class, 'Google_Service_PostmasterTools_TrafficStats');
|