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 CompetitiveVisibility extends \Google\Model
|
---|
21 | {
|
---|
22 | public $adsOrganicRatio;
|
---|
23 | public $categoryBenchmarkVisibilityTrend;
|
---|
24 | /**
|
---|
25 | * @var string
|
---|
26 | */
|
---|
27 | public $categoryId;
|
---|
28 | /**
|
---|
29 | * @var string
|
---|
30 | */
|
---|
31 | public $countryCode;
|
---|
32 | protected $dateType = Date::class;
|
---|
33 | protected $dateDataType = '';
|
---|
34 | /**
|
---|
35 | * @var string
|
---|
36 | */
|
---|
37 | public $domain;
|
---|
38 | public $higherPositionRate;
|
---|
39 | /**
|
---|
40 | * @var bool
|
---|
41 | */
|
---|
42 | public $isYourDomain;
|
---|
43 | public $pageOverlapRate;
|
---|
44 | /**
|
---|
45 | * @var string
|
---|
46 | */
|
---|
47 | public $rank;
|
---|
48 | public $relativeVisibility;
|
---|
49 | /**
|
---|
50 | * @var string
|
---|
51 | */
|
---|
52 | public $trafficSource;
|
---|
53 | public $yourDomainVisibilityTrend;
|
---|
54 |
|
---|
55 | public function setAdsOrganicRatio($adsOrganicRatio)
|
---|
56 | {
|
---|
57 | $this->adsOrganicRatio = $adsOrganicRatio;
|
---|
58 | }
|
---|
59 | public function getAdsOrganicRatio()
|
---|
60 | {
|
---|
61 | return $this->adsOrganicRatio;
|
---|
62 | }
|
---|
63 | public function setCategoryBenchmarkVisibilityTrend($categoryBenchmarkVisibilityTrend)
|
---|
64 | {
|
---|
65 | $this->categoryBenchmarkVisibilityTrend = $categoryBenchmarkVisibilityTrend;
|
---|
66 | }
|
---|
67 | public function getCategoryBenchmarkVisibilityTrend()
|
---|
68 | {
|
---|
69 | return $this->categoryBenchmarkVisibilityTrend;
|
---|
70 | }
|
---|
71 | /**
|
---|
72 | * @param string
|
---|
73 | */
|
---|
74 | public function setCategoryId($categoryId)
|
---|
75 | {
|
---|
76 | $this->categoryId = $categoryId;
|
---|
77 | }
|
---|
78 | /**
|
---|
79 | * @return string
|
---|
80 | */
|
---|
81 | public function getCategoryId()
|
---|
82 | {
|
---|
83 | return $this->categoryId;
|
---|
84 | }
|
---|
85 | /**
|
---|
86 | * @param string
|
---|
87 | */
|
---|
88 | public function setCountryCode($countryCode)
|
---|
89 | {
|
---|
90 | $this->countryCode = $countryCode;
|
---|
91 | }
|
---|
92 | /**
|
---|
93 | * @return string
|
---|
94 | */
|
---|
95 | public function getCountryCode()
|
---|
96 | {
|
---|
97 | return $this->countryCode;
|
---|
98 | }
|
---|
99 | /**
|
---|
100 | * @param Date
|
---|
101 | */
|
---|
102 | public function setDate(Date $date)
|
---|
103 | {
|
---|
104 | $this->date = $date;
|
---|
105 | }
|
---|
106 | /**
|
---|
107 | * @return Date
|
---|
108 | */
|
---|
109 | public function getDate()
|
---|
110 | {
|
---|
111 | return $this->date;
|
---|
112 | }
|
---|
113 | /**
|
---|
114 | * @param string
|
---|
115 | */
|
---|
116 | public function setDomain($domain)
|
---|
117 | {
|
---|
118 | $this->domain = $domain;
|
---|
119 | }
|
---|
120 | /**
|
---|
121 | * @return string
|
---|
122 | */
|
---|
123 | public function getDomain()
|
---|
124 | {
|
---|
125 | return $this->domain;
|
---|
126 | }
|
---|
127 | public function setHigherPositionRate($higherPositionRate)
|
---|
128 | {
|
---|
129 | $this->higherPositionRate = $higherPositionRate;
|
---|
130 | }
|
---|
131 | public function getHigherPositionRate()
|
---|
132 | {
|
---|
133 | return $this->higherPositionRate;
|
---|
134 | }
|
---|
135 | /**
|
---|
136 | * @param bool
|
---|
137 | */
|
---|
138 | public function setIsYourDomain($isYourDomain)
|
---|
139 | {
|
---|
140 | $this->isYourDomain = $isYourDomain;
|
---|
141 | }
|
---|
142 | /**
|
---|
143 | * @return bool
|
---|
144 | */
|
---|
145 | public function getIsYourDomain()
|
---|
146 | {
|
---|
147 | return $this->isYourDomain;
|
---|
148 | }
|
---|
149 | public function setPageOverlapRate($pageOverlapRate)
|
---|
150 | {
|
---|
151 | $this->pageOverlapRate = $pageOverlapRate;
|
---|
152 | }
|
---|
153 | public function getPageOverlapRate()
|
---|
154 | {
|
---|
155 | return $this->pageOverlapRate;
|
---|
156 | }
|
---|
157 | /**
|
---|
158 | * @param string
|
---|
159 | */
|
---|
160 | public function setRank($rank)
|
---|
161 | {
|
---|
162 | $this->rank = $rank;
|
---|
163 | }
|
---|
164 | /**
|
---|
165 | * @return string
|
---|
166 | */
|
---|
167 | public function getRank()
|
---|
168 | {
|
---|
169 | return $this->rank;
|
---|
170 | }
|
---|
171 | public function setRelativeVisibility($relativeVisibility)
|
---|
172 | {
|
---|
173 | $this->relativeVisibility = $relativeVisibility;
|
---|
174 | }
|
---|
175 | public function getRelativeVisibility()
|
---|
176 | {
|
---|
177 | return $this->relativeVisibility;
|
---|
178 | }
|
---|
179 | /**
|
---|
180 | * @param string
|
---|
181 | */
|
---|
182 | public function setTrafficSource($trafficSource)
|
---|
183 | {
|
---|
184 | $this->trafficSource = $trafficSource;
|
---|
185 | }
|
---|
186 | /**
|
---|
187 | * @return string
|
---|
188 | */
|
---|
189 | public function getTrafficSource()
|
---|
190 | {
|
---|
191 | return $this->trafficSource;
|
---|
192 | }
|
---|
193 | public function setYourDomainVisibilityTrend($yourDomainVisibilityTrend)
|
---|
194 | {
|
---|
195 | $this->yourDomainVisibilityTrend = $yourDomainVisibilityTrend;
|
---|
196 | }
|
---|
197 | public function getYourDomainVisibilityTrend()
|
---|
198 | {
|
---|
199 | return $this->yourDomainVisibilityTrend;
|
---|
200 | }
|
---|
201 | }
|
---|
202 |
|
---|
203 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
204 | class_alias(CompetitiveVisibility::class, 'Google_Service_ShoppingContent_CompetitiveVisibility');
|
---|