[f9c482b] | 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 |
|
---|
| 18 | namespace Google\Service\AnalyticsData;
|
---|
| 19 |
|
---|
| 20 | class PropertyQuota extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | protected $concurrentRequestsType = QuotaStatus::class;
|
---|
| 23 | protected $concurrentRequestsDataType = '';
|
---|
| 24 | protected $potentiallyThresholdedRequestsPerHourType = QuotaStatus::class;
|
---|
| 25 | protected $potentiallyThresholdedRequestsPerHourDataType = '';
|
---|
| 26 | protected $serverErrorsPerProjectPerHourType = QuotaStatus::class;
|
---|
| 27 | protected $serverErrorsPerProjectPerHourDataType = '';
|
---|
| 28 | protected $tokensPerDayType = QuotaStatus::class;
|
---|
| 29 | protected $tokensPerDayDataType = '';
|
---|
| 30 | protected $tokensPerHourType = QuotaStatus::class;
|
---|
| 31 | protected $tokensPerHourDataType = '';
|
---|
| 32 | protected $tokensPerProjectPerHourType = QuotaStatus::class;
|
---|
| 33 | protected $tokensPerProjectPerHourDataType = '';
|
---|
| 34 |
|
---|
| 35 | /**
|
---|
| 36 | * @param QuotaStatus
|
---|
| 37 | */
|
---|
| 38 | public function setConcurrentRequests(QuotaStatus $concurrentRequests)
|
---|
| 39 | {
|
---|
| 40 | $this->concurrentRequests = $concurrentRequests;
|
---|
| 41 | }
|
---|
| 42 | /**
|
---|
| 43 | * @return QuotaStatus
|
---|
| 44 | */
|
---|
| 45 | public function getConcurrentRequests()
|
---|
| 46 | {
|
---|
| 47 | return $this->concurrentRequests;
|
---|
| 48 | }
|
---|
| 49 | /**
|
---|
| 50 | * @param QuotaStatus
|
---|
| 51 | */
|
---|
| 52 | public function setPotentiallyThresholdedRequestsPerHour(QuotaStatus $potentiallyThresholdedRequestsPerHour)
|
---|
| 53 | {
|
---|
| 54 | $this->potentiallyThresholdedRequestsPerHour = $potentiallyThresholdedRequestsPerHour;
|
---|
| 55 | }
|
---|
| 56 | /**
|
---|
| 57 | * @return QuotaStatus
|
---|
| 58 | */
|
---|
| 59 | public function getPotentiallyThresholdedRequestsPerHour()
|
---|
| 60 | {
|
---|
| 61 | return $this->potentiallyThresholdedRequestsPerHour;
|
---|
| 62 | }
|
---|
| 63 | /**
|
---|
| 64 | * @param QuotaStatus
|
---|
| 65 | */
|
---|
| 66 | public function setServerErrorsPerProjectPerHour(QuotaStatus $serverErrorsPerProjectPerHour)
|
---|
| 67 | {
|
---|
| 68 | $this->serverErrorsPerProjectPerHour = $serverErrorsPerProjectPerHour;
|
---|
| 69 | }
|
---|
| 70 | /**
|
---|
| 71 | * @return QuotaStatus
|
---|
| 72 | */
|
---|
| 73 | public function getServerErrorsPerProjectPerHour()
|
---|
| 74 | {
|
---|
| 75 | return $this->serverErrorsPerProjectPerHour;
|
---|
| 76 | }
|
---|
| 77 | /**
|
---|
| 78 | * @param QuotaStatus
|
---|
| 79 | */
|
---|
| 80 | public function setTokensPerDay(QuotaStatus $tokensPerDay)
|
---|
| 81 | {
|
---|
| 82 | $this->tokensPerDay = $tokensPerDay;
|
---|
| 83 | }
|
---|
| 84 | /**
|
---|
| 85 | * @return QuotaStatus
|
---|
| 86 | */
|
---|
| 87 | public function getTokensPerDay()
|
---|
| 88 | {
|
---|
| 89 | return $this->tokensPerDay;
|
---|
| 90 | }
|
---|
| 91 | /**
|
---|
| 92 | * @param QuotaStatus
|
---|
| 93 | */
|
---|
| 94 | public function setTokensPerHour(QuotaStatus $tokensPerHour)
|
---|
| 95 | {
|
---|
| 96 | $this->tokensPerHour = $tokensPerHour;
|
---|
| 97 | }
|
---|
| 98 | /**
|
---|
| 99 | * @return QuotaStatus
|
---|
| 100 | */
|
---|
| 101 | public function getTokensPerHour()
|
---|
| 102 | {
|
---|
| 103 | return $this->tokensPerHour;
|
---|
| 104 | }
|
---|
| 105 | /**
|
---|
| 106 | * @param QuotaStatus
|
---|
| 107 | */
|
---|
| 108 | public function setTokensPerProjectPerHour(QuotaStatus $tokensPerProjectPerHour)
|
---|
| 109 | {
|
---|
| 110 | $this->tokensPerProjectPerHour = $tokensPerProjectPerHour;
|
---|
| 111 | }
|
---|
| 112 | /**
|
---|
| 113 | * @return QuotaStatus
|
---|
| 114 | */
|
---|
| 115 | public function getTokensPerProjectPerHour()
|
---|
| 116 | {
|
---|
| 117 | return $this->tokensPerProjectPerHour;
|
---|
| 118 | }
|
---|
| 119 | }
|
---|
| 120 |
|
---|
| 121 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 122 | class_alias(PropertyQuota::class, 'Google_Service_AnalyticsData_PropertyQuota');
|
---|