1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace AlibabaCloud\Green\V20170823; |
4
|
|
|
|
5
|
|
|
use AlibabaCloud\Rpc; |
6
|
|
|
|
7
|
|
|
/** |
8
|
|
|
* Api DescribeOssResultItems |
9
|
|
|
* |
10
|
|
|
* @method string getTotalCount() |
11
|
|
|
* @method string getMinScore() |
12
|
|
|
* @method string getSuggestion() |
13
|
|
|
* @method string getCurrentPage() |
14
|
|
|
* @method string getMaxScore() |
15
|
|
|
* @method string getStartDate() |
16
|
|
|
* @method string getResourceType() |
17
|
|
|
* @method string getScene() |
18
|
|
|
* @method string getQueryId() |
19
|
|
|
* @method string getBucket() |
20
|
|
|
* @method string getEndDate() |
21
|
|
|
* @method string getSourceIp() |
22
|
|
|
* @method string getPageSize() |
23
|
|
|
* @method string getLang() |
24
|
|
|
* @method string getStock() |
25
|
|
|
* @method string getObject() |
26
|
|
|
*/ |
27
|
|
|
class DescribeOssResultItems extends Rpc |
28
|
|
|
{ |
29
|
|
|
public $product = 'Green'; |
30
|
|
|
|
31
|
|
|
public $version = '2017-08-23'; |
32
|
|
|
|
33
|
|
|
public $method = 'POST'; |
34
|
|
|
|
35
|
|
|
public $serviceCode = 'green'; |
36
|
|
|
|
37
|
|
|
/** |
38
|
|
|
* @param string $totalCount |
39
|
|
|
* |
40
|
|
|
* @return $this |
41
|
|
|
*/ |
42
|
|
|
public function withTotalCount($totalCount) |
43
|
|
|
{ |
44
|
|
|
$this->data['TotalCount'] = $totalCount; |
45
|
|
|
$this->options['query']['TotalCount'] = $totalCount; |
46
|
|
|
|
47
|
|
|
return $this; |
48
|
|
|
} |
49
|
|
|
|
50
|
|
|
/** |
51
|
|
|
* @param string $minScore |
52
|
|
|
* |
53
|
|
|
* @return $this |
54
|
|
|
*/ |
55
|
|
|
public function withMinScore($minScore) |
56
|
|
|
{ |
57
|
|
|
$this->data['MinScore'] = $minScore; |
58
|
|
|
$this->options['query']['MinScore'] = $minScore; |
59
|
|
|
|
60
|
|
|
return $this; |
61
|
|
|
} |
62
|
|
|
|
63
|
|
|
/** |
64
|
|
|
* @param string $suggestion |
65
|
|
|
* |
66
|
|
|
* @return $this |
67
|
|
|
*/ |
68
|
|
|
public function withSuggestion($suggestion) |
69
|
|
|
{ |
70
|
|
|
$this->data['Suggestion'] = $suggestion; |
71
|
|
|
$this->options['query']['Suggestion'] = $suggestion; |
72
|
|
|
|
73
|
|
|
return $this; |
74
|
|
|
} |
75
|
|
|
|
76
|
|
|
/** |
77
|
|
|
* @param string $currentPage |
78
|
|
|
* |
79
|
|
|
* @return $this |
80
|
|
|
*/ |
81
|
|
|
public function withCurrentPage($currentPage) |
82
|
|
|
{ |
83
|
|
|
$this->data['CurrentPage'] = $currentPage; |
84
|
|
|
$this->options['query']['CurrentPage'] = $currentPage; |
85
|
|
|
|
86
|
|
|
return $this; |
87
|
|
|
} |
88
|
|
|
|
89
|
|
|
/** |
90
|
|
|
* @param string $maxScore |
91
|
|
|
* |
92
|
|
|
* @return $this |
93
|
|
|
*/ |
94
|
|
|
public function withMaxScore($maxScore) |
95
|
|
|
{ |
96
|
|
|
$this->data['MaxScore'] = $maxScore; |
97
|
|
|
$this->options['query']['MaxScore'] = $maxScore; |
98
|
|
|
|
99
|
|
|
return $this; |
100
|
|
|
} |
101
|
|
|
|
102
|
|
|
/** |
103
|
|
|
* @param string $startDate |
104
|
|
|
* |
105
|
|
|
* @return $this |
106
|
|
|
*/ |
107
|
|
|
public function withStartDate($startDate) |
108
|
|
|
{ |
109
|
|
|
$this->data['StartDate'] = $startDate; |
110
|
|
|
$this->options['query']['StartDate'] = $startDate; |
111
|
|
|
|
112
|
|
|
return $this; |
113
|
|
|
} |
114
|
|
|
|
115
|
|
|
/** |
116
|
|
|
* @param string $resourceType |
117
|
|
|
* |
118
|
|
|
* @return $this |
119
|
|
|
*/ |
120
|
|
|
public function withResourceType($resourceType) |
121
|
|
|
{ |
122
|
|
|
$this->data['ResourceType'] = $resourceType; |
123
|
|
|
$this->options['query']['ResourceType'] = $resourceType; |
124
|
|
|
|
125
|
|
|
return $this; |
126
|
|
|
} |
127
|
|
|
|
128
|
|
|
/** |
129
|
|
|
* @param string $scene |
130
|
|
|
* |
131
|
|
|
* @return $this |
132
|
|
|
*/ |
133
|
|
|
public function withScene($scene) |
134
|
|
|
{ |
135
|
|
|
$this->data['Scene'] = $scene; |
136
|
|
|
$this->options['query']['Scene'] = $scene; |
137
|
|
|
|
138
|
|
|
return $this; |
139
|
|
|
} |
140
|
|
|
|
141
|
|
|
/** |
142
|
|
|
* @param string $queryId |
143
|
|
|
* |
144
|
|
|
* @return $this |
145
|
|
|
*/ |
146
|
|
|
public function withQueryId($queryId) |
147
|
|
|
{ |
148
|
|
|
$this->data['QueryId'] = $queryId; |
149
|
|
|
$this->options['query']['QueryId'] = $queryId; |
150
|
|
|
|
151
|
|
|
return $this; |
152
|
|
|
} |
153
|
|
|
|
154
|
|
|
/** |
155
|
|
|
* @param string $bucket |
156
|
|
|
* |
157
|
|
|
* @return $this |
158
|
|
|
*/ |
159
|
|
|
public function withBucket($bucket) |
160
|
|
|
{ |
161
|
|
|
$this->data['Bucket'] = $bucket; |
162
|
|
|
$this->options['query']['Bucket'] = $bucket; |
163
|
|
|
|
164
|
|
|
return $this; |
165
|
|
|
} |
166
|
|
|
|
167
|
|
|
/** |
168
|
|
|
* @param string $endDate |
169
|
|
|
* |
170
|
|
|
* @return $this |
171
|
|
|
*/ |
172
|
|
|
public function withEndDate($endDate) |
173
|
|
|
{ |
174
|
|
|
$this->data['EndDate'] = $endDate; |
175
|
|
|
$this->options['query']['EndDate'] = $endDate; |
176
|
|
|
|
177
|
|
|
return $this; |
178
|
|
|
} |
179
|
|
|
|
180
|
|
|
/** |
181
|
|
|
* @param string $sourceIp |
182
|
|
|
* |
183
|
|
|
* @return $this |
184
|
|
|
*/ |
185
|
|
|
public function withSourceIp($sourceIp) |
186
|
|
|
{ |
187
|
|
|
$this->data['SourceIp'] = $sourceIp; |
188
|
|
|
$this->options['query']['SourceIp'] = $sourceIp; |
189
|
|
|
|
190
|
|
|
return $this; |
191
|
|
|
} |
192
|
|
|
|
193
|
|
|
/** |
194
|
|
|
* @param string $pageSize |
195
|
|
|
* |
196
|
|
|
* @return $this |
197
|
|
|
*/ |
198
|
|
|
public function withPageSize($pageSize) |
199
|
|
|
{ |
200
|
|
|
$this->data['PageSize'] = $pageSize; |
201
|
|
|
$this->options['query']['PageSize'] = $pageSize; |
202
|
|
|
|
203
|
|
|
return $this; |
204
|
|
|
} |
205
|
|
|
|
206
|
|
|
/** |
207
|
|
|
* @param string $lang |
208
|
|
|
* |
209
|
|
|
* @return $this |
210
|
|
|
*/ |
211
|
|
|
public function withLang($lang) |
212
|
|
|
{ |
213
|
|
|
$this->data['Lang'] = $lang; |
214
|
|
|
$this->options['query']['Lang'] = $lang; |
215
|
|
|
|
216
|
|
|
return $this; |
217
|
|
|
} |
218
|
|
|
|
219
|
|
|
/** |
220
|
|
|
* @param string $stock |
221
|
|
|
* |
222
|
|
|
* @return $this |
223
|
|
|
*/ |
224
|
|
|
public function withStock($stock) |
225
|
|
|
{ |
226
|
|
|
$this->data['Stock'] = $stock; |
227
|
|
|
$this->options['query']['Stock'] = $stock; |
228
|
|
|
|
229
|
|
|
return $this; |
230
|
|
|
} |
231
|
|
|
|
232
|
|
|
/** |
233
|
|
|
* @param string $object |
234
|
|
|
* |
235
|
|
|
* @return $this |
236
|
|
|
*/ |
237
|
|
|
public function withObject($object) |
238
|
|
|
{ |
239
|
|
|
$this->data['Object'] = $object; |
240
|
|
|
$this->options['query']['Object'] = $object; |
241
|
|
|
|
242
|
|
|
return $this; |
243
|
|
|
} |
244
|
|
|
} |
245
|
|
|
|