[e3d4e0a] | 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\MyBusinessBusinessCalls;
|
---|
| 19 |
|
---|
| 20 | class AggregateMetrics extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'weekdayMetrics';
|
---|
| 23 | /**
|
---|
| 24 | * @var int
|
---|
| 25 | */
|
---|
| 26 | public $answeredCallsCount;
|
---|
| 27 | protected $endDateType = Date::class;
|
---|
| 28 | protected $endDateDataType = '';
|
---|
| 29 | protected $hourlyMetricsType = HourlyMetrics::class;
|
---|
| 30 | protected $hourlyMetricsDataType = 'array';
|
---|
| 31 | /**
|
---|
| 32 | * @var int
|
---|
| 33 | */
|
---|
| 34 | public $missedCallsCount;
|
---|
| 35 | protected $startDateType = Date::class;
|
---|
| 36 | protected $startDateDataType = '';
|
---|
| 37 | protected $weekdayMetricsType = WeekDayMetrics::class;
|
---|
| 38 | protected $weekdayMetricsDataType = 'array';
|
---|
| 39 |
|
---|
| 40 | /**
|
---|
| 41 | * @param int
|
---|
| 42 | */
|
---|
| 43 | public function setAnsweredCallsCount($answeredCallsCount)
|
---|
| 44 | {
|
---|
| 45 | $this->answeredCallsCount = $answeredCallsCount;
|
---|
| 46 | }
|
---|
| 47 | /**
|
---|
| 48 | * @return int
|
---|
| 49 | */
|
---|
| 50 | public function getAnsweredCallsCount()
|
---|
| 51 | {
|
---|
| 52 | return $this->answeredCallsCount;
|
---|
| 53 | }
|
---|
| 54 | /**
|
---|
| 55 | * @param Date
|
---|
| 56 | */
|
---|
| 57 | public function setEndDate(Date $endDate)
|
---|
| 58 | {
|
---|
| 59 | $this->endDate = $endDate;
|
---|
| 60 | }
|
---|
| 61 | /**
|
---|
| 62 | * @return Date
|
---|
| 63 | */
|
---|
| 64 | public function getEndDate()
|
---|
| 65 | {
|
---|
| 66 | return $this->endDate;
|
---|
| 67 | }
|
---|
| 68 | /**
|
---|
| 69 | * @param HourlyMetrics[]
|
---|
| 70 | */
|
---|
| 71 | public function setHourlyMetrics($hourlyMetrics)
|
---|
| 72 | {
|
---|
| 73 | $this->hourlyMetrics = $hourlyMetrics;
|
---|
| 74 | }
|
---|
| 75 | /**
|
---|
| 76 | * @return HourlyMetrics[]
|
---|
| 77 | */
|
---|
| 78 | public function getHourlyMetrics()
|
---|
| 79 | {
|
---|
| 80 | return $this->hourlyMetrics;
|
---|
| 81 | }
|
---|
| 82 | /**
|
---|
| 83 | * @param int
|
---|
| 84 | */
|
---|
| 85 | public function setMissedCallsCount($missedCallsCount)
|
---|
| 86 | {
|
---|
| 87 | $this->missedCallsCount = $missedCallsCount;
|
---|
| 88 | }
|
---|
| 89 | /**
|
---|
| 90 | * @return int
|
---|
| 91 | */
|
---|
| 92 | public function getMissedCallsCount()
|
---|
| 93 | {
|
---|
| 94 | return $this->missedCallsCount;
|
---|
| 95 | }
|
---|
| 96 | /**
|
---|
| 97 | * @param Date
|
---|
| 98 | */
|
---|
| 99 | public function setStartDate(Date $startDate)
|
---|
| 100 | {
|
---|
| 101 | $this->startDate = $startDate;
|
---|
| 102 | }
|
---|
| 103 | /**
|
---|
| 104 | * @return Date
|
---|
| 105 | */
|
---|
| 106 | public function getStartDate()
|
---|
| 107 | {
|
---|
| 108 | return $this->startDate;
|
---|
| 109 | }
|
---|
| 110 | /**
|
---|
| 111 | * @param WeekDayMetrics[]
|
---|
| 112 | */
|
---|
| 113 | public function setWeekdayMetrics($weekdayMetrics)
|
---|
| 114 | {
|
---|
| 115 | $this->weekdayMetrics = $weekdayMetrics;
|
---|
| 116 | }
|
---|
| 117 | /**
|
---|
| 118 | * @return WeekDayMetrics[]
|
---|
| 119 | */
|
---|
| 120 | public function getWeekdayMetrics()
|
---|
| 121 | {
|
---|
| 122 | return $this->weekdayMetrics;
|
---|
| 123 | }
|
---|
| 124 | }
|
---|
| 125 |
|
---|
| 126 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 127 | class_alias(AggregateMetrics::class, 'Google_Service_MyBusinessBusinessCalls_AggregateMetrics');
|
---|