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 ( 156343...30e031 )
by
unknown
09:00
created

BatchQuerySessionByClientIds::withClientIdList()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 8
rs 10
cc 2
nc 2
nop 1
1
<?php
2
3
namespace AlibabaCloud\OnsMqtt\V20191211;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method ApplyToken applyToken(array $options = [])
9
 * @method BatchQuerySessionByClientIds batchQuerySessionByClientIds(array $options = [])
10
 * @method BatchSendMessages batchSendMessages(array $options = [])
11
 * @method QuerySessionByClientId querySessionByClientId(array $options = [])
12
 * @method QueryToken queryToken(array $options = [])
13
 * @method RevokeToken revokeToken(array $options = [])
14
 * @method SendMessage sendMessage(array $options = [])
15
 */
16
class OnsMqttApiResolver extends ApiResolver
17
{
18
}
19
20
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
21
{
22
    /** @var string */
23
    public $product = 'OnsMqtt';
24
25
    /** @var string */
26
    public $version = '2019-12-11';
27
28
    /** @var string */
29
    public $method = 'POST';
30
31
    /** @var string */
32
    public $serviceCode = 'onsmqtt';
33
}
34
35
/**
36
 * @method string getExpireTime()
37
 * @method $this withExpireTime($value)
38
 * @method string getResources()
39
 * @method $this withResources($value)
40
 * @method string getInstanceId()
41
 * @method $this withInstanceId($value)
42
 * @method string getActions()
43
 * @method $this withActions($value)
44
 */
45
class ApplyToken extends Rpc
46
{
47
}
48
49
/**
50
 * @method array getClientIdList()
51
 * @method string getInstanceId()
52
 * @method $this withInstanceId($value)
53
 */
54
class BatchQuerySessionByClientIds extends Rpc
55
{
56
57
    /**
58
     * @param array $clientIdList
59
     *
60
     * @return $this
61
     */
62
	public function withClientIdList(array $clientIdList)
63
	{
64
	    $this->data['ClientIdList'] = $clientIdList;
65
		foreach ($clientIdList as $i => $iValue) {
66
			$this->options['query']['ClientIdList.' . ($i + 1)] = $iValue;
67
		}
68
69
		return $this;
70
    }
71
}
72
73
/**
74
 * @method string getNoPersistFlag()
75
 * @method $this withNoPersistFlag($value)
76
 * @method string getInstanceId()
77
 * @method $this withInstanceId($value)
78
 * @method array getMessages()
79
 */
80
class BatchSendMessages extends Rpc
81
{
82
83
    /**
84
     * @param array $messages
85
     *
86
     * @return $this
87
     */
88
	public function withMessages(array $messages)
89
	{
90
	    $this->data['Messages'] = $messages;
91
		foreach ($messages as $depth1 => $depth1Value) {
92
			$this->options['query']['Messages.' . ($depth1 + 1) . '.Payload'] = $depth1Value['Payload'];
93
			foreach ($depth1Value['Topics'] as $i => $iValue) {
94
				$this->options['query']['Messages.' . ($depth1 + 1) . '.Topics.' . ($i + 1)] = $iValue;
95
			}
96
			$this->options['query']['Messages.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
97
			$this->options['query']['Messages.' . ($depth1 + 1) . '.ReceiptId'] = $depth1Value['ReceiptId'];
98
		}
99
100
		return $this;
101
    }
102
}
103
104
/**
105
 * @method string getClientId()
106
 * @method $this withClientId($value)
107
 * @method string getInstanceId()
108
 * @method $this withInstanceId($value)
109
 */
110
class QuerySessionByClientId extends Rpc
111
{
112
}
113
114
/**
115
 * @method string getToken()
116
 * @method $this withToken($value)
117
 * @method string getInstanceId()
118
 * @method $this withInstanceId($value)
119
 */
120
class QueryToken extends Rpc
121
{
122
}
123
124
/**
125
 * @method string getToken()
126
 * @method $this withToken($value)
127
 * @method string getInstanceId()
128
 * @method $this withInstanceId($value)
129
 */
130
class RevokeToken extends Rpc
131
{
132
}
133
134
/**
135
 * @method string getNoPersistFlag()
136
 * @method $this withNoPersistFlag($value)
137
 * @method string getMqttTopic()
138
 * @method $this withMqttTopic($value)
139
 * @method string getInstanceId()
140
 * @method $this withInstanceId($value)
141
 * @method string getPayload()
142
 * @method $this withPayload($value)
143
 * @method string getReceiptId()
144
 * @method $this withReceiptId($value)
145
 */
146
class SendMessage extends Rpc
147
{
148
}
149