SafconsoleApiResolver.php
1.4 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
<?php
namespace AlibabaCloud\Safconsole\V20210112;
use AlibabaCloud\Client\Resolver\ApiResolver;
/**
* @method RevokeFeedback revokeFeedback(array $options = [])
* @method SendFeedback sendFeedback(array $options = [])
*/
class SafconsoleApiResolver extends ApiResolver
{
}
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
{
/** @var string */
public $product = 'safconsole';
/** @var string */
public $version = '2021-01-12';
/** @var string */
public $method = 'POST';
/** @var string */
public $serviceCode = 'safconsole';
}
/**
* @method string getSampleType()
* @method string getValue()
*/
class RevokeFeedback extends Rpc
{
/**
* @param string $value
*
* @return $this
*/
public function withSampleType($value)
{
$this->data['SampleType'] = $value;
$this->options['form_params']['SampleType'] = $value;
return $this;
}
/**
* @param string $value
*
* @return $this
*/
public function withValue($value)
{
$this->data['Value'] = $value;
$this->options['form_params']['Value'] = $value;
return $this;
}
}
/**
* @method string getRiskLabel()
* @method $this withRiskLabel($value)
* @method string getSampleType()
* @method $this withSampleType($value)
* @method string getValue()
* @method $this withValue($value)
*/
class SendFeedback extends Rpc
{
}