FtApiResolver.php
4.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
<?php
namespace AlibabaCloud\Ft\V20180713;
use AlibabaCloud\Client\Resolver\ApiResolver;
/**
* @method BatchAuditTest01 batchAuditTest01(array $options = [])
* @method FTApiAliasApi fTApiAliasApi(array $options = [])
* @method FtDynamicAddressDubbo ftDynamicAddressDubbo(array $options = [])
* @method FtDynamicAddressHsf ftDynamicAddressHsf(array $options = [])
* @method FtDynamicAddressHttpVpc ftDynamicAddressHttpVpc(array $options = [])
* @method FtEagleEye ftEagleEye(array $options = [])
* @method FtFlowSpecial ftFlowSpecial(array $options = [])
* @method FtGatedLaunchPolicy4 ftGatedLaunchPolicy4(array $options = [])
* @method FtIpFlowControl ftIpFlowControl(array $options = [])
* @method FtParamList ftParamList(array $options = [])
* @method TestFlowStrategy01 testFlowStrategy01(array $options = [])
* @method TestHttpApi testHttpApi(array $options = [])
*/
class FtApiResolver extends ApiResolver
{
}
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
{
/** @var string */
public $product = 'Ft';
/** @var string */
public $version = '2018-07-13';
/** @var string */
public $method = 'POST';
}
/**
* @method string getDemo01()
* @method $this withDemo01($value)
* @method string getTest010101()
* @method string getName()
* @method $this withName($value)
* @method string getBatchAuditTest01()
* @method $this withBatchAuditTest01($value)
*/
class BatchAuditTest01 extends Rpc
{
/**
* @param string $value
*
* @return $this
*/
public function withTest010101($value)
{
$this->data['Test010101'] = $value;
$this->options['form_params']['Test010101'] = $value;
return $this;
}
}
/**
* @method string getName()
* @method $this withName($value)
*/
class FTApiAliasApi extends Rpc
{
}
/**
* @method string getIntValue()
* @method $this withIntValue($value)
* @method string getStringValue()
* @method $this withStringValue($value)
*/
class FtDynamicAddressDubbo extends Rpc
{
}
class FtDynamicAddressHsf extends Rpc
{
}
/**
* @method string getP1()
* @method $this withP1($value)
* @method string getStringValue()
* @method $this withStringValue($value)
* @method string getOtherParam()
* @method $this withOtherParam($value)
* @method string getBooleanParam()
* @method $this withBooleanParam($value)
* @method string getDefaultValue()
* @method $this withDefaultValue($value)
*/
class FtDynamicAddressHttpVpc extends Rpc
{
}
/**
* @method string getName()
* @method $this withName($value)
*/
class FtEagleEye extends Rpc
{
}
/**
* @method string getName()
* @method $this withName($value)
*/
class FtFlowSpecial extends Rpc
{
}
/**
* @method string getIsGatedLaunch()
* @method $this withIsGatedLaunch($value)
*/
class FtGatedLaunchPolicy4 extends Rpc
{
}
/**
* @method string getName()
* @method $this withName($value)
*/
class FtIpFlowControl extends Rpc
{
}
/**
* @method array getDisk()
* @method string getName()
* @method $this withName($value)
*/
class FtParamList extends Rpc
{
/**
* @param array $disk
*
* @return $this
*/
public function withDisk(array $disk)
{
$this->data['Disk'] = $disk;
foreach ($disk as $depth1 => $depth1Value) {
foreach ($depth1Value['Size'] as $i => $iValue) {
$this->options['query']['Disk.' . ($depth1 + 1) . '.Size.' . ($i + 1)] = $iValue;
}
foreach ($depth1Value['Type'] as $i => $iValue) {
$this->options['query']['Disk.' . ($depth1 + 1) . '.Type.' . ($i + 1)] = $iValue;
}
}
return $this;
}
}
/**
* @method string getNames()
*/
class TestFlowStrategy01 extends Rpc
{
/** @var string */
public $method = 'PUT';
/**
* @param string $value
*
* @return $this
*/
public function withNames($value)
{
$this->data['Names'] = $value;
$this->options['form_params']['Names'] = $value;
return $this;
}
}
/**
* @method string getStringValue()
* @method $this withStringValue($value)
* @method string getOtherParam()
* @method $this withOtherParam($value)
* @method string getBooleanParam()
* @method $this withBooleanParam($value)
* @method string getDefaultValue()
* @method $this withDefaultValue($value)
*/
class TestHttpApi extends Rpc
{
}