source: vendor/google/apiclient-services/src/CloudRetail/GoogleCloudRetailV2CatalogAttributeFacetConfig.php@ f9c482b

Last change on this file since f9c482b was f9c482b, checked in by Vlado 222039 <vlado.popovski@…>, 9 days ago

Upload new project files

  • Property mode set to 100644
File size: 3.5 KB
Line 
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
18namespace Google\Service\CloudRetail;
19
20class GoogleCloudRetailV2CatalogAttributeFacetConfig extends \Google\Collection
21{
22 protected $collection_key = 'mergedFacetValues';
23 protected $facetIntervalsType = GoogleCloudRetailV2Interval::class;
24 protected $facetIntervalsDataType = 'array';
25 protected $ignoredFacetValuesType = GoogleCloudRetailV2CatalogAttributeFacetConfigIgnoredFacetValues::class;
26 protected $ignoredFacetValuesDataType = 'array';
27 protected $mergedFacetType = GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacet::class;
28 protected $mergedFacetDataType = '';
29 protected $mergedFacetValuesType = GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue::class;
30 protected $mergedFacetValuesDataType = 'array';
31 protected $rerankConfigType = GoogleCloudRetailV2CatalogAttributeFacetConfigRerankConfig::class;
32 protected $rerankConfigDataType = '';
33
34 /**
35 * @param GoogleCloudRetailV2Interval[]
36 */
37 public function setFacetIntervals($facetIntervals)
38 {
39 $this->facetIntervals = $facetIntervals;
40 }
41 /**
42 * @return GoogleCloudRetailV2Interval[]
43 */
44 public function getFacetIntervals()
45 {
46 return $this->facetIntervals;
47 }
48 /**
49 * @param GoogleCloudRetailV2CatalogAttributeFacetConfigIgnoredFacetValues[]
50 */
51 public function setIgnoredFacetValues($ignoredFacetValues)
52 {
53 $this->ignoredFacetValues = $ignoredFacetValues;
54 }
55 /**
56 * @return GoogleCloudRetailV2CatalogAttributeFacetConfigIgnoredFacetValues[]
57 */
58 public function getIgnoredFacetValues()
59 {
60 return $this->ignoredFacetValues;
61 }
62 /**
63 * @param GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacet
64 */
65 public function setMergedFacet(GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacet $mergedFacet)
66 {
67 $this->mergedFacet = $mergedFacet;
68 }
69 /**
70 * @return GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacet
71 */
72 public function getMergedFacet()
73 {
74 return $this->mergedFacet;
75 }
76 /**
77 * @param GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue[]
78 */
79 public function setMergedFacetValues($mergedFacetValues)
80 {
81 $this->mergedFacetValues = $mergedFacetValues;
82 }
83 /**
84 * @return GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue[]
85 */
86 public function getMergedFacetValues()
87 {
88 return $this->mergedFacetValues;
89 }
90 /**
91 * @param GoogleCloudRetailV2CatalogAttributeFacetConfigRerankConfig
92 */
93 public function setRerankConfig(GoogleCloudRetailV2CatalogAttributeFacetConfigRerankConfig $rerankConfig)
94 {
95 $this->rerankConfig = $rerankConfig;
96 }
97 /**
98 * @return GoogleCloudRetailV2CatalogAttributeFacetConfigRerankConfig
99 */
100 public function getRerankConfig()
101 {
102 return $this->rerankConfig;
103 }
104}
105
106// Adding a class alias for backwards compatibility with the previous class name.
107class_alias(GoogleCloudRetailV2CatalogAttributeFacetConfig::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2CatalogAttributeFacetConfig');
Note: See TracBrowser for help on using the repository browser.