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 ( c7db40...65d9f6 )
by
unknown
07:33
created

RpcDataUploadAndDownload   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A withQuery1() 0 6 1
1
<?php
2
3
namespace AlibabaCloud\Ft\V20210101;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method DataRateLimitTest dataRateLimitTest(array $options = [])
9
 * @method NormalRpcHsfApi normalRpcHsfApi(array $options = [])
10
 * @method NormalRpcHttpApi normalRpcHttpApi(array $options = [])
11
 * @method RpcDataUpload rpcDataUpload(array $options = [])
12
 * @method RpcDataUploadAndDownload rpcDataUploadAndDownload(array $options = [])
13
 * @method RpcDataUploadTest rpcDataUploadTest(array $options = [])
14
 */
15
class FtApiResolver extends ApiResolver
16
{
17
}
18
19
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
20
{
21
    /** @var string */
22
    public $product = 'Ft';
23
24
    /** @var string */
25
    public $version = '2021-01-01';
26
27
    /** @var string */
28
    public $method = 'POST';
29
}
30
31
/**
32
 * @method string getNewparam2()
33
 * @method string getNewparam1()
34
 * @method string getData()
35
 * @method $this withData($value)
36
 * @method string getMap()
37
 * @method $this withMap($value)
38
 */
39
class DataRateLimitTest extends Rpc
40
{
41
42
    /**
43
     * @param string $value
44
     *
45
     * @return $this
46
     */
47
    public function withNewparam2($value)
48
    {
49
        $this->data['Newparam2'] = $value;
50
        $this->options['query']['new-param-2'] = $value;
51
52
        return $this;
53
    }
54
55
    /**
56
     * @param string $value
57
     *
58
     * @return $this
59
     */
60
    public function withNewparam1($value)
61
    {
62
        $this->data['Newparam1'] = $value;
63
        $this->options['query']['new-param-1'] = $value;
64
65
        return $this;
66
    }
67
}
68
69
class NormalRpcHsfApi extends Rpc
70
{
71
72
    /** @var string */
73
    public $method = 'GET';
74
}
75
76
class NormalRpcHttpApi extends Rpc
77
{
78
79
    /** @var string */
80
    public $method = 'GET';
81
}
82
83
/**
84
 * @method string getQuery1()
85
 * @method string getQuery2()
86
 * @method string getLargeParam()
87
 */
88
class RpcDataUpload extends Rpc
89
{
90
91
    /**
92
     * @param string $value
93
     *
94
     * @return $this
95
     */
96
    public function withQuery1($value)
97
    {
98
        $this->data['Query1'] = $value;
99
        $this->options['query']['query1'] = $value;
100
101
        return $this;
102
    }
103
104
    /**
105
     * @param string $value
106
     *
107
     * @return $this
108
     */
109
    public function withQuery2($value)
110
    {
111
        $this->data['Query2'] = $value;
112
        $this->options['query']['query2'] = $value;
113
114
        return $this;
115
    }
116
117
    /**
118
     * @param string $value
119
     *
120
     * @return $this
121
     */
122
    public function withLargeParam($value)
123
    {
124
        $this->data['LargeParam'] = $value;
125
        $this->options['form_params']['largeParam'] = $value;
126
127
        return $this;
128
    }
129
}
130
131
/**
132
 * @method string getQuery1()
133
 */
134
class RpcDataUploadAndDownload extends Rpc
135
{
136
137
    /**
138
     * @param string $value
139
     *
140
     * @return $this
141
     */
142
    public function withQuery1($value)
143
    {
144
        $this->data['Query1'] = $value;
145
        $this->options['query']['query1'] = $value;
146
147
        return $this;
148
    }
149
}
150
151
class RpcDataUploadTest extends Rpc
152
{
153
154
    /** @var string */
155
    public $method = 'GET';
156
}
157