GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Test Failed
Push — master ( 3501b8...06c655 )
by
unknown
06:00
created

GetGraphQueryTemplates::withServiceUnit()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 6
rs 10
cc 1
nc 1
nop 1
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