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 ( 20aaf5...1858de )
by
unknown
12:27
created

TaggingImage::withImageContent()   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\Imagerecog\V20190930;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method DetectImageElements detectImageElements(array $options = [])
9
 * @method RecognizeImageColor recognizeImageColor(array $options = [])
10
 * @method RecognizeImageStyle recognizeImageStyle(array $options = [])
11
 * @method RecognizeScene recognizeScene(array $options = [])
12
 * @method TaggingImage taggingImage(array $options = [])
13
 */
14
class ImagerecogApiResolver extends ApiResolver
15
{
16
}
17
18
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
19
{
20
    /** @var string */
21
    public $product = 'imagerecog';
22
23
    /** @var string */
24
    public $version = '2019-09-30';
25
26
    /** @var string */
27
    public $method = 'POST';
28
29
    /** @var string */
30
    public $serviceCode = 'imagerecog';
31
}
32
33
/**
34
 * @method string getUrl()
35
 */
36
class DetectImageElements extends Rpc
37
{
38
39
    /**
40
     * @param string $value
41
     *
42
     * @return $this
43
     */
44
    public function withUrl($value)
45
    {
46
        $this->data['Url'] = $value;
47
        $this->options['form_params']['Url'] = $value;
48
49
        return $this;
50
    }
51
}
52
53
/**
54
 * @method string getUrl()
55
 * @method string getColorCount()
56
 */
57
class RecognizeImageColor extends Rpc
58
{
59
60
    /**
61
     * @param string $value
62
     *
63
     * @return $this
64
     */
65
    public function withUrl($value)
66
    {
67
        $this->data['Url'] = $value;
68
        $this->options['form_params']['Url'] = $value;
69
70
        return $this;
71
    }
72
73
    /**
74
     * @param string $value
75
     *
76
     * @return $this
77
     */
78
    public function withColorCount($value)
79
    {
80
        $this->data['ColorCount'] = $value;
81
        $this->options['form_params']['ColorCount'] = $value;
82
83
        return $this;
84
    }
85
}
86
87
/**
88
 * @method string getUrl()
89
 */
90
class RecognizeImageStyle extends Rpc
91
{
92
93
    /**
94
     * @param string $value
95
     *
96
     * @return $this
97
     */
98
    public function withUrl($value)
99
    {
100
        $this->data['Url'] = $value;
101
        $this->options['form_params']['Url'] = $value;
102
103
        return $this;
104
    }
105
}
106
107
/**
108
 * @method string getImageType()
109
 * @method string getImageURL()
110
 * @method string getImageContent()
111
 */
112
class RecognizeScene extends Rpc
113
{
114
115
    /**
116
     * @param string $value
117
     *
118
     * @return $this
119
     */
120
    public function withImageType($value)
121
    {
122
        $this->data['ImageType'] = $value;
123
        $this->options['form_params']['ImageType'] = $value;
124
125
        return $this;
126
    }
127
128
    /**
129
     * @param string $value
130
     *
131
     * @return $this
132
     */
133
    public function withImageURL($value)
134
    {
135
        $this->data['ImageURL'] = $value;
136
        $this->options['form_params']['ImageURL'] = $value;
137
138
        return $this;
139
    }
140
141
    /**
142
     * @param string $value
143
     *
144
     * @return $this
145
     */
146
    public function withImageContent($value)
147
    {
148
        $this->data['ImageContent'] = $value;
149
        $this->options['form_params']['ImageContent'] = $value;
150
151
        return $this;
152
    }
153
}
154
155
/**
156
 * @method string getImageType()
157
 * @method string getImageURL()
158
 * @method string getImageContent()
159
 */
160
class TaggingImage extends Rpc
161
{
162
163
    /**
164
     * @param string $value
165
     *
166
     * @return $this
167
     */
168
    public function withImageType($value)
169
    {
170
        $this->data['ImageType'] = $value;
171
        $this->options['form_params']['ImageType'] = $value;
172
173
        return $this;
174
    }
175
176
    /**
177
     * @param string $value
178
     *
179
     * @return $this
180
     */
181
    public function withImageURL($value)
182
    {
183
        $this->data['ImageURL'] = $value;
184
        $this->options['form_params']['ImageURL'] = $value;
185
186
        return $this;
187
    }
188
189
    /**
190
     * @param string $value
191
     *
192
     * @return $this
193
     */
194
    public function withImageContent($value)
195
    {
196
        $this->data['ImageContent'] = $value;
197
        $this->options['form_params']['ImageContent'] = $value;
198
199
        return $this;
200
    }
201
}
202