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 ( 95098d...ed1f70 )
by
unknown
06:33
created

CloseTicket::withTicketId()   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\Workorder\V20210510;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method CloseTicket closeTicket(array $options = [])
9
 * @method CreateTicket createTicket(array $options = [])
10
 * @method GetMessageTag getMessageTag(array $options = [])
11
 * @method ListCategories listCategories(array $options = [])
12
 * @method ListProducts listProducts(array $options = [])
13
 * @method ListTicketNotes listTicketNotes(array $options = [])
14
 * @method ListTickets listTickets(array $options = [])
15
 * @method ReplyTicket replyTicket(array $options = [])
16
 */
17
class WorkorderApiResolver extends ApiResolver
18
{
19
}
20
21
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
22
{
23
    /** @var string */
24
    public $product = 'Workorder';
25
26
    /** @var string */
27
    public $version = '2021-05-10';
28
29
    /** @var string */
30
    public $method = 'POST';
31
}
32
33
/**
34
 * @method string getTicketId()
35
 */
36
class CloseTicket extends Rpc
37
{
38
39
    /**
40
     * @param string $value
41
     *
42
     * @return $this
43
     */
44
    public function withTicketId($value)
45
    {
46
        $this->data['TicketId'] = $value;
47
        $this->options['form_params']['TicketId'] = $value;
48
49
        return $this;
50
    }
51
}
52
53
/**
54
 * @method string getSeverity()
55
 * @method string getDescription()
56
 * @method string getCategoryId()
57
 */
58
class CreateTicket extends Rpc
59
{
60
61
    /**
62
     * @param string $value
63
     *
64
     * @return $this
65
     */
66
    public function withSeverity($value)
67
    {
68
        $this->data['Severity'] = $value;
69
        $this->options['form_params']['Severity'] = $value;
70
71
        return $this;
72
    }
73
74
    /**
75
     * @param string $value
76
     *
77
     * @return $this
78
     */
79
    public function withDescription($value)
80
    {
81
        $this->data['Description'] = $value;
82
        $this->options['form_params']['Description'] = $value;
83
84
        return $this;
85
    }
86
87
    /**
88
     * @param string $value
89
     *
90
     * @return $this
91
     */
92
    public function withCategoryId($value)
93
    {
94
        $this->data['CategoryId'] = $value;
95
        $this->options['form_params']['CategoryId'] = $value;
96
97
        return $this;
98
    }
99
}
100
101
class GetMessageTag extends Rpc
102
{
103
}
104
105
/**
106
 * @method string getParentId()
107
 * @method $this withParentId($value)
108
 */
109
class ListCategories extends Rpc
110
{
111
}
112
113
/**
114
 * @method string getName()
115
 * @method $this withName($value)
116
 */
117
class ListProducts extends Rpc
118
{
119
}
120
121
/**
122
 * @method string getTicketId()
123
 * @method $this withTicketId($value)
124
 */
125
class ListTicketNotes extends Rpc
126
{
127
}
128
129
/**
130
 * @method string getBeginDate()
131
 * @method $this withBeginDate($value)
132
 * @method array getStatusList()
133
 * @method string getPageNumber()
134
 * @method $this withPageNumber($value)
135
 * @method string getEndDate()
136
 * @method $this withEndDate($value)
137
 * @method string getPageSize()
138
 * @method $this withPageSize($value)
139
 * @method string getKeyword()
140
 * @method $this withKeyword($value)
141
 * @method string getTicketId()
142
 * @method $this withTicketId($value)
143
 */
144
class ListTickets extends Rpc
145
{
146
147
    /**
148
     * @param array $statusList
149
     *
150
     * @return $this
151
     */
152
	public function withStatusList(array $statusList)
153
	{
154
	    $this->data['StatusList'] = $statusList;
155
		foreach ($statusList as $i => $iValue) {
156
			$this->options['query']['StatusList.' . ($i + 1)] = $iValue;
157
		}
158
159
		return $this;
160
    }
161
}
162
163
/**
164
 * @method string getSecContent()
165
 * @method string getContent()
166
 * @method string getTicketId()
167
 */
168
class ReplyTicket extends Rpc
169
{
170
171
    /**
172
     * @param string $value
173
     *
174
     * @return $this
175
     */
176
    public function withSecContent($value)
177
    {
178
        $this->data['SecContent'] = $value;
179
        $this->options['form_params']['SecContent'] = $value;
180
181
        return $this;
182
    }
183
184
    /**
185
     * @param string $value
186
     *
187
     * @return $this
188
     */
189
    public function withContent($value)
190
    {
191
        $this->data['Content'] = $value;
192
        $this->options['form_params']['Content'] = $value;
193
194
        return $this;
195
    }
196
197
    /**
198
     * @param string $value
199
     *
200
     * @return $this
201
     */
202
    public function withTicketId($value)
203
    {
204
        $this->data['TicketId'] = $value;
205
        $this->options['form_params']['TicketId'] = $value;
206
207
        return $this;
208
    }
209
}
210