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 ( 40992c...5761f9 )
by
unknown
05:58
created

SendMessage::withTemplateCode()   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
c 0
b 0
f 0
dl 0
loc 6
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
namespace AlibabaCloud\Cams\V20200606;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method CheckContacts checkContacts(array $options = [])
9
 * @method SendMessage sendMessage(array $options = [])
10
 */
11
class CamsApiResolver extends ApiResolver
12
{
13
}
14
15
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
16
{
17
    /** @var string */
18
    public $product = 'cams';
19
20
    /** @var string */
21
    public $version = '2020-06-06';
22
23
    /** @var string */
24
    public $method = 'POST';
25
26
    /** @var string */
27
    public $serviceCode = 'cams';
28
}
29
30
/**
31
 * @method string getResourceOwnerId()
32
 * @method $this withResourceOwnerId($value)
33
 * @method string getChannelType()
34
 * @method string getFrom()
35
 * @method string getResourceOwnerAccount()
36
 * @method $this withResourceOwnerAccount($value)
37
 * @method string getOwnerId()
38
 * @method $this withOwnerId($value)
39
 * @method string getContacts()
40
 */
41
class CheckContacts extends Rpc
42
{
43
44
    /**
45
     * @param string $value
46
     *
47
     * @return $this
48
     */
49
    public function withChannelType($value)
50
    {
51
        $this->data['ChannelType'] = $value;
52
        $this->options['form_params']['ChannelType'] = $value;
53
54
        return $this;
55
    }
56
57
    /**
58
     * @param string $value
59
     *
60
     * @return $this
61
     */
62
    public function withFrom($value)
63
    {
64
        $this->data['From'] = $value;
65
        $this->options['form_params']['From'] = $value;
66
67
        return $this;
68
    }
69
70
    /**
71
     * @param string $value
72
     *
73
     * @return $this
74
     */
75
    public function withContacts($value)
76
    {
77
        $this->data['Contacts'] = $value;
78
        $this->options['form_params']['Contacts'] = $value;
79
80
        return $this;
81
    }
82
}
83
84
/**
85
 * @method string getResourceOwnerId()
86
 * @method $this withResourceOwnerId($value)
87
 * @method string getMessageType()
88
 * @method string getTemplateBodyParams()
89
 * @method string getLink()
90
 * @method string getCaption()
91
 * @method string getType()
92
 * @method string getChannelType()
93
 * @method string getFrom()
94
 * @method string getText()
95
 * @method string getResourceOwnerAccount()
96
 * @method $this withResourceOwnerAccount($value)
97
 * @method string getOwnerId()
98
 * @method $this withOwnerId($value)
99
 * @method string getTo()
100
 * @method string getTemplateCode()
101
 */
102
class SendMessage extends Rpc
103
{
104
105
    /**
106
     * @param string $value
107
     *
108
     * @return $this
109
     */
110
    public function withMessageType($value)
111
    {
112
        $this->data['MessageType'] = $value;
113
        $this->options['form_params']['MessageType'] = $value;
114
115
        return $this;
116
    }
117
118
    /**
119
     * @param string $value
120
     *
121
     * @return $this
122
     */
123
    public function withTemplateBodyParams($value)
124
    {
125
        $this->data['TemplateBodyParams'] = $value;
126
        $this->options['form_params']['TemplateBodyParams'] = $value;
127
128
        return $this;
129
    }
130
131
    /**
132
     * @param string $value
133
     *
134
     * @return $this
135
     */
136
    public function withLink($value)
137
    {
138
        $this->data['Link'] = $value;
139
        $this->options['form_params']['Link'] = $value;
140
141
        return $this;
142
    }
143
144
    /**
145
     * @param string $value
146
     *
147
     * @return $this
148
     */
149
    public function withCaption($value)
150
    {
151
        $this->data['Caption'] = $value;
152
        $this->options['form_params']['Caption'] = $value;
153
154
        return $this;
155
    }
156
157
    /**
158
     * @param string $value
159
     *
160
     * @return $this
161
     */
162
    public function withType($value)
163
    {
164
        $this->data['Type'] = $value;
165
        $this->options['form_params']['Type'] = $value;
166
167
        return $this;
168
    }
169
170
    /**
171
     * @param string $value
172
     *
173
     * @return $this
174
     */
175
    public function withChannelType($value)
176
    {
177
        $this->data['ChannelType'] = $value;
178
        $this->options['form_params']['ChannelType'] = $value;
179
180
        return $this;
181
    }
182
183
    /**
184
     * @param string $value
185
     *
186
     * @return $this
187
     */
188
    public function withFrom($value)
189
    {
190
        $this->data['From'] = $value;
191
        $this->options['form_params']['From'] = $value;
192
193
        return $this;
194
    }
195
196
    /**
197
     * @param string $value
198
     *
199
     * @return $this
200
     */
201
    public function withText($value)
202
    {
203
        $this->data['Text'] = $value;
204
        $this->options['form_params']['Text'] = $value;
205
206
        return $this;
207
    }
208
209
    /**
210
     * @param string $value
211
     *
212
     * @return $this
213
     */
214
    public function withTo($value)
215
    {
216
        $this->data['To'] = $value;
217
        $this->options['form_params']['To'] = $value;
218
219
        return $this;
220
    }
221
222
    /**
223
     * @param string $value
224
     *
225
     * @return $this
226
     */
227
    public function withTemplateCode($value)
228
    {
229
        $this->data['TemplateCode'] = $value;
230
        $this->options['form_params']['TemplateCode'] = $value;
231
232
        return $this;
233
    }
234
}
235