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\SA360;
|
---|
19 |
|
---|
20 | class GoogleAdsSearchads360V0CommonWebpageInfo extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'conditions';
|
---|
23 | protected $conditionsType = GoogleAdsSearchads360V0CommonWebpageConditionInfo::class;
|
---|
24 | protected $conditionsDataType = 'array';
|
---|
25 | public $coveragePercentage;
|
---|
26 | /**
|
---|
27 | * @var string
|
---|
28 | */
|
---|
29 | public $criterionName;
|
---|
30 |
|
---|
31 | /**
|
---|
32 | * @param GoogleAdsSearchads360V0CommonWebpageConditionInfo[]
|
---|
33 | */
|
---|
34 | public function setConditions($conditions)
|
---|
35 | {
|
---|
36 | $this->conditions = $conditions;
|
---|
37 | }
|
---|
38 | /**
|
---|
39 | * @return GoogleAdsSearchads360V0CommonWebpageConditionInfo[]
|
---|
40 | */
|
---|
41 | public function getConditions()
|
---|
42 | {
|
---|
43 | return $this->conditions;
|
---|
44 | }
|
---|
45 | public function setCoveragePercentage($coveragePercentage)
|
---|
46 | {
|
---|
47 | $this->coveragePercentage = $coveragePercentage;
|
---|
48 | }
|
---|
49 | public function getCoveragePercentage()
|
---|
50 | {
|
---|
51 | return $this->coveragePercentage;
|
---|
52 | }
|
---|
53 | /**
|
---|
54 | * @param string
|
---|
55 | */
|
---|
56 | public function setCriterionName($criterionName)
|
---|
57 | {
|
---|
58 | $this->criterionName = $criterionName;
|
---|
59 | }
|
---|
60 | /**
|
---|
61 | * @return string
|
---|
62 | */
|
---|
63 | public function getCriterionName()
|
---|
64 | {
|
---|
65 | return $this->criterionName;
|
---|
66 | }
|
---|
67 | }
|
---|
68 |
|
---|
69 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
70 | class_alias(GoogleAdsSearchads360V0CommonWebpageInfo::class, 'Google_Service_SA360_GoogleAdsSearchads360V0CommonWebpageInfo');
|
---|