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\ShoppingContent;
|
---|
19 |
|
---|
20 | class TopicTrends extends \Google\Model
|
---|
21 | {
|
---|
22 | /**
|
---|
23 | * @var string
|
---|
24 | */
|
---|
25 | public $customerCountryCode;
|
---|
26 | protected $dateType = Date::class;
|
---|
27 | protected $dateDataType = '';
|
---|
28 | public $last120DaysSearchInterest;
|
---|
29 | public $last30DaysSearchInterest;
|
---|
30 | public $last7DaysSearchInterest;
|
---|
31 | public $last90DaysSearchInterest;
|
---|
32 | public $next7DaysSearchInterest;
|
---|
33 | public $searchInterest;
|
---|
34 | /**
|
---|
35 | * @var string
|
---|
36 | */
|
---|
37 | public $topic;
|
---|
38 |
|
---|
39 | /**
|
---|
40 | * @param string
|
---|
41 | */
|
---|
42 | public function setCustomerCountryCode($customerCountryCode)
|
---|
43 | {
|
---|
44 | $this->customerCountryCode = $customerCountryCode;
|
---|
45 | }
|
---|
46 | /**
|
---|
47 | * @return string
|
---|
48 | */
|
---|
49 | public function getCustomerCountryCode()
|
---|
50 | {
|
---|
51 | return $this->customerCountryCode;
|
---|
52 | }
|
---|
53 | /**
|
---|
54 | * @param Date
|
---|
55 | */
|
---|
56 | public function setDate(Date $date)
|
---|
57 | {
|
---|
58 | $this->date = $date;
|
---|
59 | }
|
---|
60 | /**
|
---|
61 | * @return Date
|
---|
62 | */
|
---|
63 | public function getDate()
|
---|
64 | {
|
---|
65 | return $this->date;
|
---|
66 | }
|
---|
67 | public function setLast120DaysSearchInterest($last120DaysSearchInterest)
|
---|
68 | {
|
---|
69 | $this->last120DaysSearchInterest = $last120DaysSearchInterest;
|
---|
70 | }
|
---|
71 | public function getLast120DaysSearchInterest()
|
---|
72 | {
|
---|
73 | return $this->last120DaysSearchInterest;
|
---|
74 | }
|
---|
75 | public function setLast30DaysSearchInterest($last30DaysSearchInterest)
|
---|
76 | {
|
---|
77 | $this->last30DaysSearchInterest = $last30DaysSearchInterest;
|
---|
78 | }
|
---|
79 | public function getLast30DaysSearchInterest()
|
---|
80 | {
|
---|
81 | return $this->last30DaysSearchInterest;
|
---|
82 | }
|
---|
83 | public function setLast7DaysSearchInterest($last7DaysSearchInterest)
|
---|
84 | {
|
---|
85 | $this->last7DaysSearchInterest = $last7DaysSearchInterest;
|
---|
86 | }
|
---|
87 | public function getLast7DaysSearchInterest()
|
---|
88 | {
|
---|
89 | return $this->last7DaysSearchInterest;
|
---|
90 | }
|
---|
91 | public function setLast90DaysSearchInterest($last90DaysSearchInterest)
|
---|
92 | {
|
---|
93 | $this->last90DaysSearchInterest = $last90DaysSearchInterest;
|
---|
94 | }
|
---|
95 | public function getLast90DaysSearchInterest()
|
---|
96 | {
|
---|
97 | return $this->last90DaysSearchInterest;
|
---|
98 | }
|
---|
99 | public function setNext7DaysSearchInterest($next7DaysSearchInterest)
|
---|
100 | {
|
---|
101 | $this->next7DaysSearchInterest = $next7DaysSearchInterest;
|
---|
102 | }
|
---|
103 | public function getNext7DaysSearchInterest()
|
---|
104 | {
|
---|
105 | return $this->next7DaysSearchInterest;
|
---|
106 | }
|
---|
107 | public function setSearchInterest($searchInterest)
|
---|
108 | {
|
---|
109 | $this->searchInterest = $searchInterest;
|
---|
110 | }
|
---|
111 | public function getSearchInterest()
|
---|
112 | {
|
---|
113 | return $this->searchInterest;
|
---|
114 | }
|
---|
115 | /**
|
---|
116 | * @param string
|
---|
117 | */
|
---|
118 | public function setTopic($topic)
|
---|
119 | {
|
---|
120 | $this->topic = $topic;
|
---|
121 | }
|
---|
122 | /**
|
---|
123 | * @return string
|
---|
124 | */
|
---|
125 | public function getTopic()
|
---|
126 | {
|
---|
127 | return $this->topic;
|
---|
128 | }
|
---|
129 | }
|
---|
130 |
|
---|
131 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
132 | class_alias(TopicTrends::class, 'Google_Service_ShoppingContent_TopicTrends');
|
---|