1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace AlibabaCloud\Sasti\V20200512; |
4
|
|
|
|
5
|
|
|
use AlibabaCloud\Client\Resolver\ApiResolver; |
6
|
|
|
|
7
|
|
|
/** |
8
|
|
|
* @method DescribeDomainReport describeDomainReport(array $options = []) |
9
|
|
|
* @method DescribeFileReport describeFileReport(array $options = []) |
10
|
|
|
* @method DescribeIpReport describeIpReport(array $options = []) |
11
|
|
|
* @method GetGraphQueryTemplates getGraphQueryTemplates(array $options = []) |
12
|
|
|
*/ |
13
|
|
|
class SastiApiResolver extends ApiResolver |
14
|
|
|
{ |
15
|
|
|
} |
16
|
|
|
|
17
|
|
|
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc |
18
|
|
|
{ |
19
|
|
|
/** @var string */ |
20
|
|
|
public $product = 'Sasti'; |
21
|
|
|
|
22
|
|
|
/** @var string */ |
23
|
|
|
public $version = '2020-05-12'; |
24
|
|
|
|
25
|
|
|
/** @var string */ |
26
|
|
|
public $method = 'POST'; |
27
|
|
|
} |
28
|
|
|
|
29
|
|
|
/** |
30
|
|
|
* @method string getSourceIp() |
31
|
|
|
* @method $this withSourceIp($value) |
32
|
|
|
* @method string getField() |
33
|
|
|
* @method $this withField($value) |
34
|
|
|
* @method string getDomain() |
35
|
|
|
* @method $this withDomain($value) |
36
|
|
|
* @method string getServiceLang() |
37
|
|
|
* @method $this withServiceLang($value) |
38
|
|
|
*/ |
39
|
|
|
class DescribeDomainReport extends Rpc |
40
|
|
|
{ |
41
|
|
|
} |
42
|
|
|
|
43
|
|
|
/** |
44
|
|
|
* @method string getSourceIp() |
45
|
|
|
* @method $this withSourceIp($value) |
46
|
|
|
* @method string getField() |
47
|
|
|
* @method $this withField($value) |
48
|
|
|
* @method string getServiceLang() |
49
|
|
|
* @method $this withServiceLang($value) |
50
|
|
|
* @method string getFileHash() |
51
|
|
|
* @method $this withFileHash($value) |
52
|
|
|
*/ |
53
|
|
|
class DescribeFileReport extends Rpc |
54
|
|
|
{ |
55
|
|
|
} |
56
|
|
|
|
57
|
|
|
/** |
58
|
|
|
* @method string getSourceIp() |
59
|
|
|
* @method $this withSourceIp($value) |
60
|
|
|
* @method string getIp() |
61
|
|
|
* @method $this withIp($value) |
62
|
|
|
* @method string getField() |
63
|
|
|
* @method $this withField($value) |
64
|
|
|
* @method string getServiceLang() |
65
|
|
|
* @method $this withServiceLang($value) |
66
|
|
|
*/ |
67
|
|
|
class DescribeIpReport extends Rpc |
68
|
|
|
{ |
69
|
|
|
} |
70
|
|
|
|
71
|
|
|
/** |
72
|
|
|
* @method string getServiceUnit() |
73
|
|
|
* @method string getEnv() |
74
|
|
|
*/ |
75
|
|
|
class GetGraphQueryTemplates extends Rpc |
76
|
|
|
{ |
77
|
|
|
|
78
|
|
|
/** |
79
|
|
|
* @param string $value |
80
|
|
|
* |
81
|
|
|
* @return $this |
82
|
|
|
*/ |
83
|
|
|
public function withServiceUnit($value) |
84
|
|
|
{ |
85
|
|
|
$this->data['ServiceUnit'] = $value; |
86
|
|
|
$this->options['form_params']['ServiceUnit'] = $value; |
87
|
|
|
|
88
|
|
|
return $this; |
89
|
|
|
} |
90
|
|
|
|
91
|
|
|
/** |
92
|
|
|
* @param string $value |
93
|
|
|
* |
94
|
|
|
* @return $this |
95
|
|
|
*/ |
96
|
|
|
public function withEnv($value) |
97
|
|
|
{ |
98
|
|
|
$this->data['Env'] = $value; |
99
|
|
|
$this->options['form_params']['Env'] = $value; |
100
|
|
|
|
101
|
|
|
return $this; |
102
|
|
|
} |
103
|
|
|
} |
104
|
|
|
|