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.
Passed
Push — master ( f38619...77f9cd )
by Yong
02:07 queued 11s
created

RestartOss   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 4
dl 0
loc 14
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A withRegion() 0 6 1
1
<?php
2
3
namespace AlibabaCloud\OssAdmin\V20140326;
4
5
use AlibabaCloud\Rpc;
6
7
class V20140326Rpc extends Rpc
8
{
9
    /** @var string */
10
    public $product = 'OssAdmin';
11
12
    /** @var string */
13
    public $version = '2014-03-26';
14
15
    /** @var string */
16
    public $method = 'POST';
17
}
18
19
/**
20
 * @method string getResourceOwnerId()
21
 * @method $this withResourceOwnerId($value)
22
 * @method string getResourceOwnerAccount()
23
 * @method $this withResourceOwnerAccount($value)
24
 * @method string getOwnerAccount()
25
 * @method $this withOwnerAccount($value)
26
 * @method string getOwnerId()
27
 * @method $this withOwnerId($value)
28
 * @method string getRegion()
29
 */
30
class RestartOss extends V20140326Rpc
31
{
32
33
    /**
34
     * @param string $value
35
     *
36
     * @return $this
37
     */
38
    public function withRegion($value)
39
    {
40
        $this->data['Region'] = $value;
41
        $this->options['query']['region'] = $value;
42
43
        return $this;
44
    }
45
}
46
47
/**
48
 * @method string getResourceOwnerId()
49
 * @method $this withResourceOwnerId($value)
50
 * @method string getResourceOwnerAccount()
51
 * @method $this withResourceOwnerAccount($value)
52
 * @method string getOwnerAccount()
53
 * @method $this withOwnerAccount($value)
54
 * @method string getOwnerId()
55
 * @method $this withOwnerId($value)
56
 * @method string getRegion()
57
 */
58
class StopOss extends V20140326Rpc
59
{
60
61
    /**
62
     * @param string $value
63
     *
64
     * @return $this
65
     */
66
    public function withRegion($value)
67
    {
68
        $this->data['Region'] = $value;
69
        $this->options['query']['region'] = $value;
70
71
        return $this;
72
    }
73
}
74