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 ( acd4f5...c972a7 )
by
unknown
06:10
created

SegmentHalfBody::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\Videoseg\V20200320;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method GetAsyncJobResult getAsyncJobResult(array $options = [])
9
 * @method SegmentHalfBody segmentHalfBody(array $options = [])
10
 * @method SegmentVideoBody segmentVideoBody(array $options = [])
11
 */
12
class VideosegApiResolver extends ApiResolver
13
{
14
}
15
16
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
17
{
18
    /** @var string */
19
    public $product = 'videoseg';
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 = 'videoseg';
29
}
30
31
/**
32
 * @method string getAsync()
33
 * @method string getJobId()
34
 */
35
class GetAsyncJobResult 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 withJobId($value)
57
    {
58
        $this->data['JobId'] = $value;
59
        $this->options['form_params']['JobId'] = $value;
60
61
        return $this;
62
    }
63
}
64
65
/**
66
 * @method string getAsync()
67
 * @method string getVideoUrl()
68
 */
69
class SegmentHalfBody extends Rpc
70
{
71
72
    /**
73
     * @param string $value
74
     *
75
     * @return $this
76
     */
77
    public function withAsync($value)
78
    {
79
        $this->data['Async'] = $value;
80
        $this->options['form_params']['Async'] = $value;
81
82
        return $this;
83
    }
84
85
    /**
86
     * @param string $value
87
     *
88
     * @return $this
89
     */
90
    public function withVideoUrl($value)
91
    {
92
        $this->data['VideoUrl'] = $value;
93
        $this->options['form_params']['VideoUrl'] = $value;
94
95
        return $this;
96
    }
97
}
98
99
/**
100
 * @method string getAsync()
101
 * @method string getVideoUrl()
102
 */
103
class SegmentVideoBody extends Rpc
104
{
105
106
    /**
107
     * @param string $value
108
     *
109
     * @return $this
110
     */
111
    public function withAsync($value)
112
    {
113
        $this->data['Async'] = $value;
114
        $this->options['form_params']['Async'] = $value;
115
116
        return $this;
117
    }
118
119
    /**
120
     * @param string $value
121
     *
122
     * @return $this
123
     */
124
    public function withVideoUrl($value)
125
    {
126
        $this->data['VideoUrl'] = $value;
127
        $this->options['form_params']['VideoUrl'] = $value;
128
129
        return $this;
130
    }
131
}
132