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 ( 24ca68...8ae0c9 )
by
unknown
06:04
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 SendMessage sendMessage(array $options = [])
9
 */
10
class CamsApiResolver extends ApiResolver
11
{
12
}
13
14
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
15
{
16
    /** @var string */
17
    public $product = 'cams';
18
19
    /** @var string */
20
    public $version = '2020-06-06';
21
22
    /** @var string */
23
    public $method = 'POST';
24
25
    /** @var string */
26
    public $serviceCode = 'cams';
27
}
28
29
/**
30
 * @method string getResourceOwnerId()
31
 * @method $this withResourceOwnerId($value)
32
 * @method string getTemplateBodyParams()
33
 * @method string getLink()
34
 * @method string getCaption()
35
 * @method string getType()
36
 * @method string getBody()
37
 * @method string getChannelType()
38
 * @method string getFrom()
39
 * @method string getResourceOwnerAccount()
40
 * @method $this withResourceOwnerAccount($value)
41
 * @method string getOwnerId()
42
 * @method $this withOwnerId($value)
43
 * @method string getTo()
44
 * @method string getTemplateCode()
45
 * @method string getMediaType()
46
 */
47
class SendMessage extends Rpc
48
{
49
50
    /**
51
     * @param string $value
52
     *
53
     * @return $this
54
     */
55
    public function withTemplateBodyParams($value)
56
    {
57
        $this->data['TemplateBodyParams'] = $value;
58
        $this->options['form_params']['TemplateBodyParams'] = $value;
59
60
        return $this;
61
    }
62
63
    /**
64
     * @param string $value
65
     *
66
     * @return $this
67
     */
68
    public function withLink($value)
69
    {
70
        $this->data['Link'] = $value;
71
        $this->options['form_params']['Link'] = $value;
72
73
        return $this;
74
    }
75
76
    /**
77
     * @param string $value
78
     *
79
     * @return $this
80
     */
81
    public function withCaption($value)
82
    {
83
        $this->data['Caption'] = $value;
84
        $this->options['form_params']['Caption'] = $value;
85
86
        return $this;
87
    }
88
89
    /**
90
     * @param string $value
91
     *
92
     * @return $this
93
     */
94
    public function withType($value)
95
    {
96
        $this->data['Type'] = $value;
97
        $this->options['form_params']['Type'] = $value;
98
99
        return $this;
100
    }
101
102
    /**
103
     * @param string $value
104
     *
105
     * @return $this
106
     */
107
    public function withBody($value)
108
    {
109
        $this->data['Body'] = $value;
110
        $this->options['form_params']['Body'] = $value;
111
112
        return $this;
113
    }
114
115
    /**
116
     * @param string $value
117
     *
118
     * @return $this
119
     */
120
    public function withChannelType($value)
121
    {
122
        $this->data['ChannelType'] = $value;
123
        $this->options['form_params']['ChannelType'] = $value;
124
125
        return $this;
126
    }
127
128
    /**
129
     * @param string $value
130
     *
131
     * @return $this
132
     */
133
    public function withFrom($value)
134
    {
135
        $this->data['From'] = $value;
136
        $this->options['form_params']['From'] = $value;
137
138
        return $this;
139
    }
140
141
    /**
142
     * @param string $value
143
     *
144
     * @return $this
145
     */
146
    public function withTo($value)
147
    {
148
        $this->data['To'] = $value;
149
        $this->options['form_params']['To'] = $value;
150
151
        return $this;
152
    }
153
154
    /**
155
     * @param string $value
156
     *
157
     * @return $this
158
     */
159
    public function withTemplateCode($value)
160
    {
161
        $this->data['TemplateCode'] = $value;
162
        $this->options['form_params']['TemplateCode'] = $value;
163
164
        return $this;
165
    }
166
167
    /**
168
     * @param string $value
169
     *
170
     * @return $this
171
     */
172
    public function withMediaType($value)
173
    {
174
        $this->data['MediaType'] = $value;
175
        $this->options['form_params']['MediaType'] = $value;
176
177
        return $this;
178
    }
179
}
180