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 ( a3d17e...bbe43d )
by
unknown
10:42 queued 06:20
created

GenerateVideoCover::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
c 1
b 0
f 0
dl 0
loc 6
rs 10
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
 */
12
class VideorecogApiResolver extends ApiResolver
13
{
14
}
15
16
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
17
{
18
    /** @var string */
19
    public $product = 'videorecog';
20
21
    /** @var string */
22
    public $version = '2020-03-20';
23
24
    /** @var string */
25
    public $method = 'POST';
26
27
    /** @var string */
28
    public $serviceCode = 'videorecog';
29
}
30
31
/**
32
 * @method string getAsync()
33
 * @method string getVideoUrl()
34
 */
35
class DetectVideoShot extends Rpc
36
{
37
38
    /**
39
     * @param string $value
40
     *
41
     * @return $this
42
     */
43
    public function withAsync($value)
44
    {
45
        $this->data['Async'] = $value;
46
        $this->options['form_params']['Async'] = $value;
47
48
        return $this;
49
    }
50
51
    /**
52
     * @param string $value
53
     *
54
     * @return $this
55
     */
56
    public function withVideoUrl($value)
57
    {
58
        $this->data['VideoUrl'] = $value;
59
        $this->options['form_params']['VideoUrl'] = $value;
60
61
        return $this;
62
    }
63
}
64
65
/**
66
 * @method string getIsGif()
67
 * @method string getAsync()
68
 * @method string getVideoUrl()
69
 */
70
class GenerateVideoCover extends Rpc
71
{
72
73
    /**
74
     * @param string $value
75
     *
76
     * @return $this
77
     */
78
    public function withIsGif($value)
79
    {
80
        $this->data['IsGif'] = $value;
81
        $this->options['form_params']['IsGif'] = $value;
82
83
        return $this;
84
    }
85
86
    /**
87
     * @param string $value
88
     *
89
     * @return $this
90
     */
91
    public function withAsync($value)
92
    {
93
        $this->data['Async'] = $value;
94
        $this->options['form_params']['Async'] = $value;
95
96
        return $this;
97
    }
98
99
    /**
100
     * @param string $value
101
     *
102
     * @return $this
103
     */
104
    public function withVideoUrl($value)
105
    {
106
        $this->data['VideoUrl'] = $value;
107
        $this->options['form_params']['VideoUrl'] = $value;
108
109
        return $this;
110
    }
111
}
112
113
/**
114
 * @method string getAsync()
115
 * @method string getJobId()
116
 */
117
class GetAsyncJobResult extends Rpc
118
{
119
120
    /**
121
     * @param string $value
122
     *
123
     * @return $this
124
     */
125
    public function withAsync($value)
126
    {
127
        $this->data['Async'] = $value;
128
        $this->options['form_params']['Async'] = $value;
129
130
        return $this;
131
    }
132
133
    /**
134
     * @param string $value
135
     *
136
     * @return $this
137
     */
138
    public function withJobId($value)
139
    {
140
        $this->data['JobId'] = $value;
141
        $this->options['form_params']['JobId'] = $value;
142
143
        return $this;
144
    }
145
}
146