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

RestartOssInstance::withRegion()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 6
c 0
b 0
f 0
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
namespace AlibabaCloud\OssAdmin\V20150302;
4
5
use AlibabaCloud\Rpc;
6
7
class V20150302Rpc extends Rpc
8
{
9
    /** @var string */
10
    public $product = 'OssAdmin';
11
12
    /** @var string */
13
    public $version = '2015-03-02';
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 RestartOssInstance extends V20150302Rpc
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 ReleaseOssInstance extends V20150302Rpc
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
75
/**
76
 * @method string getResourceOwnerId()
77
 * @method $this withResourceOwnerId($value)
78
 * @method string getResourceOwnerAccount()
79
 * @method $this withResourceOwnerAccount($value)
80
 * @method string getOwnerAccount()
81
 * @method $this withOwnerAccount($value)
82
 * @method string getOwnerId()
83
 * @method $this withOwnerId($value)
84
 * @method string getRegion()
85
 */
86
class CreateOssInstance extends V20150302Rpc
87
{
88
89
    /**
90
     * @param string $value
91
     *
92
     * @return $this
93
     */
94
    public function withRegion($value)
95
    {
96
        $this->data['Region'] = $value;
97
        $this->options['query']['region'] = $value;
98
99
        return $this;
100
    }
101
}
102
103
/**
104
 * @method string getResourceOwnerId()
105
 * @method $this withResourceOwnerId($value)
106
 * @method string getResourceOwnerAccount()
107
 * @method $this withResourceOwnerAccount($value)
108
 * @method string getOwnerAccount()
109
 * @method $this withOwnerAccount($value)
110
 * @method string getOwnerId()
111
 * @method $this withOwnerId($value)
112
 * @method string getRegion()
113
 */
114
class StopOssInstance extends V20150302Rpc
115
{
116
117
    /**
118
     * @param string $value
119
     *
120
     * @return $this
121
     */
122
    public function withRegion($value)
123
    {
124
        $this->data['Region'] = $value;
125
        $this->options['query']['region'] = $value;
126
127
        return $this;
128
    }
129
}
130