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 ( 928dce...e6613e )
by
unknown
07:45
created

QueryAsyncJobList::withStatus()   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\Viapi\V20230117;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method CancelWaitingAsyncJob cancelWaitingAsyncJob(array $options = [])
9
 * @method GetAsyncJobResult getAsyncJobResult(array $options = [])
10
 * @method QueryAsyncJobList queryAsyncJobList(array $options = [])
11
 */
12
class ViapiApiResolver extends ApiResolver
13
{
14
}
15
16
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
17
{
18
    /** @var string */
19
    public $product = 'viapi';
20
21
    /** @var string */
22
    public $version = '2023-01-17';
23
24
    /** @var string */
25
    public $method = 'POST';
26
27
    /** @var string */
28
    public $serviceCode = 'viapi';
29
}
30
31
/**
32
 * @method string getJobId()
33
 * @method string getAsync()
34
 */
35
class CancelWaitingAsyncJob extends Rpc
36
{
37
38
    /**
39
     * @param string $value
40
     *
41
     * @return $this
42
     */
43
    public function withJobId($value)
44
    {
45
        $this->data['JobId'] = $value;
46
        $this->options['form_params']['JobId'] = $value;
47
48
        return $this;
49
    }
50
51
    /**
52
     * @param string $value
53
     *
54
     * @return $this
55
     */
56
    public function withAsync($value)
57
    {
58
        $this->data['Async'] = $value;
59
        $this->options['form_params']['Async'] = $value;
60
61
        return $this;
62
    }
63
}
64
65
/**
66
 * @method string getJobId()
67
 * @method string getAsync()
68
 */
69
class GetAsyncJobResult extends Rpc
70
{
71
72
    /**
73
     * @param string $value
74
     *
75
     * @return $this
76
     */
77
    public function withJobId($value)
78
    {
79
        $this->data['JobId'] = $value;
80
        $this->options['form_params']['JobId'] = $value;
81
82
        return $this;
83
    }
84
85
    /**
86
     * @param string $value
87
     *
88
     * @return $this
89
     */
90
    public function withAsync($value)
91
    {
92
        $this->data['Async'] = $value;
93
        $this->options['form_params']['Async'] = $value;
94
95
        return $this;
96
    }
97
}
98
99
/**
100
 * @method string getStartTime()
101
 * @method string getPageNum()
102
 * @method string getJobId()
103
 * @method string getPopApiName()
104
 * @method string getPageSize()
105
 * @method string getPopProduct()
106
 * @method string getEndTime()
107
 * @method string getStatus()
108
 */
109
class QueryAsyncJobList extends Rpc
110
{
111
112
    /**
113
     * @param string $value
114
     *
115
     * @return $this
116
     */
117
    public function withStartTime($value)
118
    {
119
        $this->data['StartTime'] = $value;
120
        $this->options['form_params']['StartTime'] = $value;
121
122
        return $this;
123
    }
124
125
    /**
126
     * @param string $value
127
     *
128
     * @return $this
129
     */
130
    public function withPageNum($value)
131
    {
132
        $this->data['PageNum'] = $value;
133
        $this->options['form_params']['PageNum'] = $value;
134
135
        return $this;
136
    }
137
138
    /**
139
     * @param string $value
140
     *
141
     * @return $this
142
     */
143
    public function withJobId($value)
144
    {
145
        $this->data['JobId'] = $value;
146
        $this->options['form_params']['JobId'] = $value;
147
148
        return $this;
149
    }
150
151
    /**
152
     * @param string $value
153
     *
154
     * @return $this
155
     */
156
    public function withPopApiName($value)
157
    {
158
        $this->data['PopApiName'] = $value;
159
        $this->options['form_params']['PopApiName'] = $value;
160
161
        return $this;
162
    }
163
164
    /**
165
     * @param string $value
166
     *
167
     * @return $this
168
     */
169
    public function withPageSize($value)
170
    {
171
        $this->data['PageSize'] = $value;
172
        $this->options['form_params']['PageSize'] = $value;
173
174
        return $this;
175
    }
176
177
    /**
178
     * @param string $value
179
     *
180
     * @return $this
181
     */
182
    public function withPopProduct($value)
183
    {
184
        $this->data['PopProduct'] = $value;
185
        $this->options['form_params']['PopProduct'] = $value;
186
187
        return $this;
188
    }
189
190
    /**
191
     * @param string $value
192
     *
193
     * @return $this
194
     */
195
    public function withEndTime($value)
196
    {
197
        $this->data['EndTime'] = $value;
198
        $this->options['form_params']['EndTime'] = $value;
199
200
        return $this;
201
    }
202
203
    /**
204
     * @param string $value
205
     *
206
     * @return $this
207
     */
208
    public function withStatus($value)
209
    {
210
        $this->data['Status'] = $value;
211
        $this->options['form_params']['Status'] = $value;
212
213
        return $this;
214
    }
215
}
216