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\Datastore;
|
---|
19 |
|
---|
20 | class RunAggregationQueryRequest extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $aggregationQueryType = AggregationQuery::class;
|
---|
23 | protected $aggregationQueryDataType = '';
|
---|
24 | /**
|
---|
25 | * @var string
|
---|
26 | */
|
---|
27 | public $databaseId;
|
---|
28 | protected $explainOptionsType = ExplainOptions::class;
|
---|
29 | protected $explainOptionsDataType = '';
|
---|
30 | protected $gqlQueryType = GqlQuery::class;
|
---|
31 | protected $gqlQueryDataType = '';
|
---|
32 | protected $partitionIdType = PartitionId::class;
|
---|
33 | protected $partitionIdDataType = '';
|
---|
34 | protected $readOptionsType = ReadOptions::class;
|
---|
35 | protected $readOptionsDataType = '';
|
---|
36 |
|
---|
37 | /**
|
---|
38 | * @param AggregationQuery
|
---|
39 | */
|
---|
40 | public function setAggregationQuery(AggregationQuery $aggregationQuery)
|
---|
41 | {
|
---|
42 | $this->aggregationQuery = $aggregationQuery;
|
---|
43 | }
|
---|
44 | /**
|
---|
45 | * @return AggregationQuery
|
---|
46 | */
|
---|
47 | public function getAggregationQuery()
|
---|
48 | {
|
---|
49 | return $this->aggregationQuery;
|
---|
50 | }
|
---|
51 | /**
|
---|
52 | * @param string
|
---|
53 | */
|
---|
54 | public function setDatabaseId($databaseId)
|
---|
55 | {
|
---|
56 | $this->databaseId = $databaseId;
|
---|
57 | }
|
---|
58 | /**
|
---|
59 | * @return string
|
---|
60 | */
|
---|
61 | public function getDatabaseId()
|
---|
62 | {
|
---|
63 | return $this->databaseId;
|
---|
64 | }
|
---|
65 | /**
|
---|
66 | * @param ExplainOptions
|
---|
67 | */
|
---|
68 | public function setExplainOptions(ExplainOptions $explainOptions)
|
---|
69 | {
|
---|
70 | $this->explainOptions = $explainOptions;
|
---|
71 | }
|
---|
72 | /**
|
---|
73 | * @return ExplainOptions
|
---|
74 | */
|
---|
75 | public function getExplainOptions()
|
---|
76 | {
|
---|
77 | return $this->explainOptions;
|
---|
78 | }
|
---|
79 | /**
|
---|
80 | * @param GqlQuery
|
---|
81 | */
|
---|
82 | public function setGqlQuery(GqlQuery $gqlQuery)
|
---|
83 | {
|
---|
84 | $this->gqlQuery = $gqlQuery;
|
---|
85 | }
|
---|
86 | /**
|
---|
87 | * @return GqlQuery
|
---|
88 | */
|
---|
89 | public function getGqlQuery()
|
---|
90 | {
|
---|
91 | return $this->gqlQuery;
|
---|
92 | }
|
---|
93 | /**
|
---|
94 | * @param PartitionId
|
---|
95 | */
|
---|
96 | public function setPartitionId(PartitionId $partitionId)
|
---|
97 | {
|
---|
98 | $this->partitionId = $partitionId;
|
---|
99 | }
|
---|
100 | /**
|
---|
101 | * @return PartitionId
|
---|
102 | */
|
---|
103 | public function getPartitionId()
|
---|
104 | {
|
---|
105 | return $this->partitionId;
|
---|
106 | }
|
---|
107 | /**
|
---|
108 | * @param ReadOptions
|
---|
109 | */
|
---|
110 | public function setReadOptions(ReadOptions $readOptions)
|
---|
111 | {
|
---|
112 | $this->readOptions = $readOptions;
|
---|
113 | }
|
---|
114 | /**
|
---|
115 | * @return ReadOptions
|
---|
116 | */
|
---|
117 | public function getReadOptions()
|
---|
118 | {
|
---|
119 | return $this->readOptions;
|
---|
120 | }
|
---|
121 | }
|
---|
122 |
|
---|
123 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
124 | class_alias(RunAggregationQueryRequest::class, 'Google_Service_Datastore_RunAggregationQueryRequest');
|
---|