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 ( 1590de...078fdd )
by
unknown
06:22
created

UnderstandVideoContent::withAsync()   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
dl 0
loc 6
rs 10
c 1
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace AlibabaCloud\Videorecog\V20200320;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method DetectVideoShot detectVideoShot(array $options = [])
9
 * @method GenerateVideoCover generateVideoCover(array $options = [])
10
 * @method GetAsyncJobResult getAsyncJobResult(array $options = [])
11
 * @method UnderstandVideoContent understandVideoContent(array $options = [])
12
 */
13
class VideorecogApiResolver extends ApiResolver
14
{
15
}
16
17
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
18
{
19
    /** @var string */
20
    public $product = 'videorecog';
21
22
    /** @var string */
23
    public $version = '2020-03-20';
24
25
    /** @var string */
26
    public $method = 'POST';
27
28
    /** @var string */
29
    public $serviceCode = 'videorecog';
30
}
31
32
/**
33
 * @method string getAsync()
34
 * @method string getVideoUrl()
35
 */
36
class DetectVideoShot extends Rpc
37
{
38
39
    /**
40
     * @param string $value
41
     *
42
     * @return $this
43
     */
44
    public function withAsync($value)
45
    {
46
        $this->data['Async'] = $value;
47
        $this->options['form_params']['Async'] = $value;
48
49
        return $this;
50
    }
51
52
    /**
53
     * @param string $value
54
     *
55
     * @return $this
56
     */
57
    public function withVideoUrl($value)
58
    {
59
        $this->data['VideoUrl'] = $value;
60
        $this->options['form_params']['VideoUrl'] = $value;
61
62
        return $this;
63
    }
64
}
65
66
/**
67
 * @method string getIsGif()
68
 * @method string getAsync()
69
 * @method string getVideoUrl()
70
 */
71
class GenerateVideoCover extends Rpc
72
{
73
74
    /**
75
     * @param string $value
76
     *
77
     * @return $this
78
     */
79
    public function withIsGif($value)
80
    {
81
        $this->data['IsGif'] = $value;
82
        $this->options['form_params']['IsGif'] = $value;
83
84
        return $this;
85
    }
86
87
    /**
88
     * @param string $value
89
     *
90
     * @return $this
91
     */
92
    public function withAsync($value)
93
    {
94
        $this->data['Async'] = $value;
95
        $this->options['form_params']['Async'] = $value;
96
97
        return $this;
98
    }
99
100
    /**
101
     * @param string $value
102
     *
103
     * @return $this
104
     */
105
    public function withVideoUrl($value)
106
    {
107
        $this->data['VideoUrl'] = $value;
108
        $this->options['form_params']['VideoUrl'] = $value;
109
110
        return $this;
111
    }
112
}
113
114
/**
115
 * @method string getJobId()
116
 * @method string getAsync()
117
 */
118
class GetAsyncJobResult extends Rpc
119
{
120
121
    /**
122
     * @param string $value
123
     *
124
     * @return $this
125
     */
126
    public function withJobId($value)
127
    {
128
        $this->data['JobId'] = $value;
129
        $this->options['form_params']['JobId'] = $value;
130
131
        return $this;
132
    }
133
134
    /**
135
     * @param string $value
136
     *
137
     * @return $this
138
     */
139
    public function withAsync($value)
140
    {
141
        $this->data['Async'] = $value;
142
        $this->options['form_params']['Async'] = $value;
143
144
        return $this;
145
    }
146
}
147
148
/**
149
 * @method string getAsync()
150
 * @method string getVideoURL()
151
 */
152
class UnderstandVideoContent extends Rpc
153
{
154
155
    /**
156
     * @param string $value
157
     *
158
     * @return $this
159
     */
160
    public function withAsync($value)
161
    {
162
        $this->data['Async'] = $value;
163
        $this->options['form_params']['Async'] = $value;
164
165
        return $this;
166
    }
167
168
    /**
169
     * @param string $value
170
     *
171
     * @return $this
172
     */
173
    public function withVideoURL($value)
174
    {
175
        $this->data['VideoURL'] = $value;
176
        $this->options['form_params']['VideoURL'] = $value;
177
178
        return $this;
179
    }
180
}
181