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 ( 0e6d1d...5be808 )
by
unknown
06:36
created

EstimateMonocularVideoDepth::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\Threedvision\V20210131;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method EstimateMonocularImageDepth estimateMonocularImageDepth(array $options = [])
9
 * @method EstimateMonocularVideoDepth estimateMonocularVideoDepth(array $options = [])
10
 * @method EstimateStereoImageDepth estimateStereoImageDepth(array $options = [])
11
 * @method GetAsyncJobResult getAsyncJobResult(array $options = [])
12
 * @method ReconstructBodyBySingleImage reconstructBodyBySingleImage(array $options = [])
13
 * @method ReconstructThreeDMultiView reconstructThreeDMultiView(array $options = [])
14
 */
15
class ThreedvisionApiResolver extends ApiResolver
16
{
17
}
18
19
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
20
{
21
    /** @var string */
22
    public $product = 'threedvision';
23
24
    /** @var string */
25
    public $version = '2021-01-31';
26
27
    /** @var string */
28
    public $method = 'POST';
29
30
    /** @var string */
31
    public $serviceCode = 'threedvision';
32
}
33
34
/**
35
 * @method string getImageURL()
36
 */
37
class EstimateMonocularImageDepth extends Rpc
38
{
39
40
    /**
41
     * @param string $value
42
     *
43
     * @return $this
44
     */
45
    public function withImageURL($value)
46
    {
47
        $this->data['ImageURL'] = $value;
48
        $this->options['form_params']['ImageURL'] = $value;
49
50
        return $this;
51
    }
52
}
53
54
/**
55
 * @method string getSampleRate()
56
 * @method string getAsync()
57
 * @method string getVideoURL()
58
 */
59
class EstimateMonocularVideoDepth extends Rpc
60
{
61
62
    /**
63
     * @param string $value
64
     *
65
     * @return $this
66
     */
67
    public function withSampleRate($value)
68
    {
69
        $this->data['SampleRate'] = $value;
70
        $this->options['form_params']['SampleRate'] = $value;
71
72
        return $this;
73
    }
74
75
    /**
76
     * @param string $value
77
     *
78
     * @return $this
79
     */
80
    public function withAsync($value)
81
    {
82
        $this->data['Async'] = $value;
83
        $this->options['form_params']['Async'] = $value;
84
85
        return $this;
86
    }
87
88
    /**
89
     * @param string $value
90
     *
91
     * @return $this
92
     */
93
    public function withVideoURL($value)
94
    {
95
        $this->data['VideoURL'] = $value;
96
        $this->options['form_params']['VideoURL'] = $value;
97
98
        return $this;
99
    }
100
}
101
102
/**
103
 * @method string getRightImageURL()
104
 * @method string getLeftImageURL()
105
 */
106
class EstimateStereoImageDepth extends Rpc
107
{
108
109
    /**
110
     * @param string $value
111
     *
112
     * @return $this
113
     */
114
    public function withRightImageURL($value)
115
    {
116
        $this->data['RightImageURL'] = $value;
117
        $this->options['form_params']['RightImageURL'] = $value;
118
119
        return $this;
120
    }
121
122
    /**
123
     * @param string $value
124
     *
125
     * @return $this
126
     */
127
    public function withLeftImageURL($value)
128
    {
129
        $this->data['LeftImageURL'] = $value;
130
        $this->options['form_params']['LeftImageURL'] = $value;
131
132
        return $this;
133
    }
134
}
135
136
/**
137
 * @method string getJobId()
138
 * @method string getAsync()
139
 */
140
class GetAsyncJobResult extends Rpc
141
{
142
143
    /**
144
     * @param string $value
145
     *
146
     * @return $this
147
     */
148
    public function withJobId($value)
149
    {
150
        $this->data['JobId'] = $value;
151
        $this->options['form_params']['JobId'] = $value;
152
153
        return $this;
154
    }
155
156
    /**
157
     * @param string $value
158
     *
159
     * @return $this
160
     */
161
    public function withAsync($value)
162
    {
163
        $this->data['Async'] = $value;
164
        $this->options['form_params']['Async'] = $value;
165
166
        return $this;
167
    }
168
}
169
170
/**
171
 * @method string getImageURL()
172
 */
173
class ReconstructBodyBySingleImage extends Rpc
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
/**
191
 * @method string getMode()
192
 * @method string getZipFileUrl()
193
 * @method string getAsync()
194
 */
195
class ReconstructThreeDMultiView extends Rpc
196
{
197
198
    /**
199
     * @param string $value
200
     *
201
     * @return $this
202
     */
203
    public function withMode($value)
204
    {
205
        $this->data['Mode'] = $value;
206
        $this->options['form_params']['Mode'] = $value;
207
208
        return $this;
209
    }
210
211
    /**
212
     * @param string $value
213
     *
214
     * @return $this
215
     */
216
    public function withZipFileUrl($value)
217
    {
218
        $this->data['ZipFileUrl'] = $value;
219
        $this->options['form_params']['ZipFileUrl'] = $value;
220
221
        return $this;
222
    }
223
224
    /**
225
     * @param string $value
226
     *
227
     * @return $this
228
     */
229
    public function withAsync($value)
230
    {
231
        $this->data['Async'] = $value;
232
        $this->options['form_params']['Async'] = $value;
233
234
        return $this;
235
    }
236
}
237