1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace AlibabaCloud\IndustryBrain\V20180712; |
4
|
|
|
|
5
|
|
|
use AlibabaCloud\Client\Resolver\ApiResolver; |
6
|
|
|
|
7
|
|
|
/** |
8
|
|
|
* @method AsyncResponsePost asyncResponsePost(array $options = []) |
9
|
|
|
* @method GetDataProperties getDataProperties(array $options = []) |
10
|
|
|
* @method PostRealTimeDeviceData postRealTimeDeviceData(array $options = []) |
11
|
|
|
* @method OperateEquipment operateEquipment(array $options = []) |
12
|
|
|
* @method GetIndustryInfoList getIndustryInfoList(array $options = []) |
13
|
|
|
* @method GetIndustryInfoLineageList getIndustryInfoLineageList(array $options = []) |
14
|
|
|
* @method GetIndustryInfoChildrenList getIndustryInfoChildrenList(array $options = []) |
15
|
|
|
* @method GetIndustryInfo getIndustryInfo(array $options = []) |
16
|
|
|
* @method InvokeService invokeService(array $options = []) |
17
|
|
|
* @method GetServiceInputMapping getServiceInputMapping(array $options = []) |
18
|
|
|
* @method GetAlgorithmList getAlgorithmList(array $options = []) |
19
|
|
|
* @method GetOSSImageAccess getOSSImageAccess(array $options = []) |
20
|
|
|
* @method GetAsyncServiceResult getAsyncServiceResult(array $options = []) |
21
|
|
|
* @method GetServiceResultAsync getServiceResultAsync(array $options = []) |
22
|
|
|
* @method InvokeServiceAsync invokeServiceAsync(array $options = []) |
23
|
|
|
* @method GetOnlineServiceResult getOnlineServiceResult(array $options = []) |
24
|
|
|
*/ |
25
|
|
|
class IndustryBrainApiResolver extends ApiResolver |
26
|
|
|
{ |
27
|
|
|
} |
28
|
|
|
|
29
|
|
|
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc |
30
|
|
|
{ |
31
|
|
|
/** @var string */ |
32
|
|
|
public $product = 'industry-brain'; |
33
|
|
|
|
34
|
|
|
/** @var string */ |
35
|
|
|
public $version = '2018-07-12'; |
36
|
|
|
|
37
|
|
|
/** @var string */ |
38
|
|
|
protected $scheme = 'https'; |
39
|
|
|
} |
40
|
|
|
|
41
|
|
|
/** |
42
|
|
|
* @method string getData() |
43
|
|
|
* @method $this withData($value) |
44
|
|
|
* @method string getContext() |
45
|
|
|
* @method $this withContext($value) |
46
|
|
|
* @method string getProgress() |
47
|
|
|
* @method $this withProgress($value) |
48
|
|
|
* @method string getMessage() |
49
|
|
|
* @method $this withMessage($value) |
50
|
|
|
* @method string getTaskId() |
51
|
|
|
* @method $this withTaskId($value) |
52
|
|
|
* @method string getStatus() |
53
|
|
|
* @method $this withStatus($value) |
54
|
|
|
*/ |
55
|
|
|
class AsyncResponsePost extends Rpc |
56
|
|
|
{ |
57
|
|
|
|
58
|
|
|
/** @var string */ |
59
|
|
|
public $scheme = 'http'; |
60
|
|
|
|
61
|
|
|
/** @var string */ |
62
|
|
|
public $method = 'POST'; |
63
|
|
|
} |
64
|
|
|
|
65
|
|
|
/** |
66
|
|
|
* @method string getServiceId() |
67
|
|
|
* @method $this withServiceId($value) |
68
|
|
|
*/ |
69
|
|
|
class GetDataProperties extends Rpc |
70
|
|
|
{ |
71
|
|
|
|
72
|
|
|
/** @var string */ |
73
|
|
|
public $scheme = 'http'; |
74
|
|
|
} |
75
|
|
|
|
76
|
|
|
/** |
77
|
|
|
* @method string getData() |
78
|
|
|
* @method string getServiceId() |
79
|
|
|
*/ |
80
|
|
|
class PostRealTimeDeviceData extends Rpc |
81
|
|
|
{ |
82
|
|
|
|
83
|
|
|
/** @var string */ |
84
|
|
|
public $method = 'POST'; |
85
|
|
|
|
86
|
|
|
/** |
87
|
|
|
* @param string $value |
88
|
|
|
* |
89
|
|
|
* @return $this |
90
|
|
|
*/ |
91
|
|
|
public function withData($value) |
92
|
|
|
{ |
93
|
|
|
$this->data['Data'] = $value; |
94
|
|
|
$this->options['form_params']['Data'] = $value; |
95
|
|
|
|
96
|
|
|
return $this; |
97
|
|
|
} |
98
|
|
|
|
99
|
|
|
/** |
100
|
|
|
* @param string $value |
101
|
|
|
* |
102
|
|
|
* @return $this |
103
|
|
|
*/ |
104
|
|
|
public function withServiceId($value) |
105
|
|
|
{ |
106
|
|
|
$this->data['ServiceId'] = $value; |
107
|
|
|
$this->options['form_params']['ServiceId'] = $value; |
108
|
|
|
|
109
|
|
|
return $this; |
110
|
|
|
} |
111
|
|
|
} |
112
|
|
|
|
113
|
|
|
/** |
114
|
|
|
* @method string getOperation() |
115
|
|
|
* @method string getProjectId() |
116
|
|
|
* @method string getRequestData() |
117
|
|
|
*/ |
118
|
|
|
class OperateEquipment extends Rpc |
119
|
|
|
{ |
120
|
|
|
|
121
|
|
|
/** @var string */ |
122
|
|
|
public $method = 'POST'; |
123
|
|
|
|
124
|
|
|
/** |
125
|
|
|
* @param string $value |
126
|
|
|
* |
127
|
|
|
* @return $this |
128
|
|
|
*/ |
129
|
|
|
public function withOperation($value) |
130
|
|
|
{ |
131
|
|
|
$this->data['Operation'] = $value; |
132
|
|
|
$this->options['form_params']['Operation'] = $value; |
133
|
|
|
|
134
|
|
|
return $this; |
135
|
|
|
} |
136
|
|
|
|
137
|
|
|
/** |
138
|
|
|
* @param string $value |
139
|
|
|
* |
140
|
|
|
* @return $this |
141
|
|
|
*/ |
142
|
|
|
public function withProjectId($value) |
143
|
|
|
{ |
144
|
|
|
$this->data['ProjectId'] = $value; |
145
|
|
|
$this->options['form_params']['ProjectId'] = $value; |
146
|
|
|
|
147
|
|
|
return $this; |
148
|
|
|
} |
149
|
|
|
|
150
|
|
|
/** |
151
|
|
|
* @param string $value |
152
|
|
|
* |
153
|
|
|
* @return $this |
154
|
|
|
*/ |
155
|
|
|
public function withRequestData($value) |
156
|
|
|
{ |
157
|
|
|
$this->data['RequestData'] = $value; |
158
|
|
|
$this->options['form_params']['RequestData'] = $value; |
159
|
|
|
|
160
|
|
|
return $this; |
161
|
|
|
} |
162
|
|
|
} |
163
|
|
|
|
164
|
|
|
class GetIndustryInfoList extends Rpc |
165
|
|
|
{ |
166
|
|
|
} |
167
|
|
|
|
168
|
|
|
/** |
169
|
|
|
* @method string getIndustryCode() |
170
|
|
|
* @method $this withIndustryCode($value) |
171
|
|
|
*/ |
172
|
|
|
class GetIndustryInfoLineageList extends Rpc |
173
|
|
|
{ |
174
|
|
|
} |
175
|
|
|
|
176
|
|
|
/** |
177
|
|
|
* @method string getIndustryCode() |
178
|
|
|
* @method $this withIndustryCode($value) |
179
|
|
|
*/ |
180
|
|
|
class GetIndustryInfoChildrenList extends Rpc |
181
|
|
|
{ |
182
|
|
|
} |
183
|
|
|
|
184
|
|
|
/** |
185
|
|
|
* @method string getIndustryCode() |
186
|
|
|
* @method $this withIndustryCode($value) |
187
|
|
|
*/ |
188
|
|
|
class GetIndustryInfo extends Rpc |
189
|
|
|
{ |
190
|
|
|
} |
191
|
|
|
|
192
|
|
|
/** |
193
|
|
|
* @method string getRequestParams() |
194
|
|
|
* @method $this withRequestParams($value) |
195
|
|
|
* @method string getServiceId() |
196
|
|
|
* @method $this withServiceId($value) |
197
|
|
|
* @method string getRequestData() |
198
|
|
|
* @method $this withRequestData($value) |
199
|
|
|
* @method string getShowParams() |
200
|
|
|
* @method $this withShowParams($value) |
201
|
|
|
*/ |
202
|
|
|
class InvokeService extends Rpc |
203
|
|
|
{ |
204
|
|
|
|
205
|
|
|
/** @var string */ |
206
|
|
|
public $scheme = 'http'; |
207
|
|
|
|
208
|
|
|
/** @var string */ |
209
|
|
|
public $method = 'POST'; |
210
|
|
|
} |
211
|
|
|
|
212
|
|
|
/** |
213
|
|
|
* @method string getShowLatestData() |
214
|
|
|
* @method $this withShowLatestData($value) |
215
|
|
|
* @method string getLimit() |
216
|
|
|
* @method $this withLimit($value) |
217
|
|
|
* @method string getServiceId() |
218
|
|
|
* @method $this withServiceId($value) |
219
|
|
|
* @method string getAlgorithmId() |
220
|
|
|
* @method $this withAlgorithmId($value) |
221
|
|
|
*/ |
222
|
|
|
class GetServiceInputMapping extends Rpc |
223
|
|
|
{ |
224
|
|
|
|
225
|
|
|
/** @var string */ |
226
|
|
|
public $scheme = 'http'; |
227
|
|
|
} |
228
|
|
|
|
229
|
|
|
/** |
230
|
|
|
* @method string getServiceId() |
231
|
|
|
* @method $this withServiceId($value) |
232
|
|
|
*/ |
233
|
|
|
class GetAlgorithmList extends Rpc |
234
|
|
|
{ |
235
|
|
|
} |
236
|
|
|
|
237
|
|
|
/** |
238
|
|
|
* @method string getUserCode() |
239
|
|
|
* @method $this withUserCode($value) |
240
|
|
|
* @method string getProjectId() |
241
|
|
|
* @method $this withProjectId($value) |
242
|
|
|
*/ |
243
|
|
|
class GetOSSImageAccess extends Rpc |
244
|
|
|
{ |
245
|
|
|
} |
246
|
|
|
|
247
|
|
|
/** |
248
|
|
|
* @method string getTaskId() |
249
|
|
|
* @method $this withTaskId($value) |
250
|
|
|
*/ |
251
|
|
|
class GetAsyncServiceResult extends Rpc |
252
|
|
|
{ |
253
|
|
|
|
254
|
|
|
/** @var string */ |
255
|
|
|
public $scheme = 'http'; |
256
|
|
|
} |
257
|
|
|
|
258
|
|
|
/** |
259
|
|
|
* @method string getTaskId() |
260
|
|
|
* @method $this withTaskId($value) |
261
|
|
|
*/ |
262
|
|
|
class GetServiceResultAsync extends Rpc |
263
|
|
|
{ |
264
|
|
|
|
265
|
|
|
/** @var string */ |
266
|
|
|
public $scheme = 'http'; |
267
|
|
|
} |
268
|
|
|
|
269
|
|
|
/** |
270
|
|
|
* @method string getIsShowInput() |
271
|
|
|
* @method $this withIsShowInput($value) |
272
|
|
|
* @method string getServiceId() |
273
|
|
|
* @method $this withServiceId($value) |
274
|
|
|
* @method string getParams() |
275
|
|
|
* @method $this withParams($value) |
276
|
|
|
* @method string getRequestData() |
277
|
|
|
* @method $this withRequestData($value) |
278
|
|
|
*/ |
279
|
|
|
class InvokeServiceAsync extends Rpc |
280
|
|
|
{ |
281
|
|
|
|
282
|
|
|
/** @var string */ |
283
|
|
|
public $scheme = 'http'; |
284
|
|
|
|
285
|
|
|
/** @var string */ |
286
|
|
|
public $method = 'POST'; |
287
|
|
|
} |
288
|
|
|
|
289
|
|
|
/** |
290
|
|
|
* @method string getServiceId() |
291
|
|
|
* @method $this withServiceId($value) |
292
|
|
|
*/ |
293
|
|
|
class GetOnlineServiceResult extends Rpc |
294
|
|
|
{ |
295
|
|
|
|
296
|
|
|
/** @var string */ |
297
|
|
|
public $method = 'POST'; |
298
|
|
|
} |
299
|
|
|
|