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

SegmentGreenScreenVideo::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\Videoseg\V20200320;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method GetAsyncJobResult getAsyncJobResult(array $options = [])
9
 * @method SegmentGreenScreenVideo segmentGreenScreenVideo(array $options = [])
10
 * @method SegmentHalfBody segmentHalfBody(array $options = [])
11
 * @method SegmentVideoBody segmentVideoBody(array $options = [])
12
 */
13
class VideosegApiResolver extends ApiResolver
14
{
15
}
16
17
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
18
{
19
    /** @var string */
20
    public $product = 'videoseg';
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 = 'videoseg';
30
}
31
32
/**
33
 * @method string getAsync()
34
 * @method string getJobId()
35
 */
36
class GetAsyncJobResult 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 withJobId($value)
58
    {
59
        $this->data['JobId'] = $value;
60
        $this->options['form_params']['JobId'] = $value;
61
62
        return $this;
63
    }
64
}
65
66
/**
67
 * @method string getAsync()
68
 * @method string getVideoURL()
69
 */
70
class SegmentGreenScreenVideo extends Rpc
71
{
72
73
    /**
74
     * @param string $value
75
     *
76
     * @return $this
77
     */
78
    public function withAsync($value)
79
    {
80
        $this->data['Async'] = $value;
81
        $this->options['form_params']['Async'] = $value;
82
83
        return $this;
84
    }
85
86
    /**
87
     * @param string $value
88
     *
89
     * @return $this
90
     */
91
    public function withVideoURL($value)
92
    {
93
        $this->data['VideoURL'] = $value;
94
        $this->options['form_params']['VideoURL'] = $value;
95
96
        return $this;
97
    }
98
}
99
100
/**
101
 * @method string getAsync()
102
 * @method string getVideoUrl()
103
 */
104
class SegmentHalfBody extends Rpc
105
{
106
107
    /**
108
     * @param string $value
109
     *
110
     * @return $this
111
     */
112
    public function withAsync($value)
113
    {
114
        $this->data['Async'] = $value;
115
        $this->options['form_params']['Async'] = $value;
116
117
        return $this;
118
    }
119
120
    /**
121
     * @param string $value
122
     *
123
     * @return $this
124
     */
125
    public function withVideoUrl($value)
126
    {
127
        $this->data['VideoUrl'] = $value;
128
        $this->options['form_params']['VideoUrl'] = $value;
129
130
        return $this;
131
    }
132
}
133
134
/**
135
 * @method string getAsync()
136
 * @method string getVideoUrl()
137
 */
138
class SegmentVideoBody extends Rpc
139
{
140
141
    /**
142
     * @param string $value
143
     *
144
     * @return $this
145
     */
146
    public function withAsync($value)
147
    {
148
        $this->data['Async'] = $value;
149
        $this->options['form_params']['Async'] = $value;
150
151
        return $this;
152
    }
153
154
    /**
155
     * @param string $value
156
     *
157
     * @return $this
158
     */
159
    public function withVideoUrl($value)
160
    {
161
        $this->data['VideoUrl'] = $value;
162
        $this->options['form_params']['VideoUrl'] = $value;
163
164
        return $this;
165
    }
166
}
167