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 ( e87709...1759c0 )
by
unknown
10:13
created

PredictModel::withBody()   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\DocumentAutoml\V20221229;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method CreateModelAsyncPredict createModelAsyncPredict(array $options = [])
9
 * @method GetModelAsyncPredict getModelAsyncPredict(array $options = [])
10
 * @method PredictClassifierModel predictClassifierModel(array $options = [])
11
 * @method PredictModel predictModel(array $options = [])
12
 * @method PredictTemplateModel predictTemplateModel(array $options = [])
13
 */
14
class DocumentAutomlApiResolver extends ApiResolver
15
{
16
}
17
18
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
19
{
20
    /** @var string */
21
    public $product = 'documentAutoml';
22
23
    /** @var string */
24
    public $version = '2022-12-29';
25
26
    /** @var string */
27
    public $method = 'POST';
28
29
    /** @var string */
30
    public $serviceCode = 'documentAutoml';
31
}
32
33
/**
34
 * @method string getBody()
35
 * @method string getBinaryToText()
36
 * @method $this withBinaryToText($value)
37
 * @method string getContent()
38
 * @method $this withContent($value)
39
 * @method string getServiceName()
40
 * @method $this withServiceName($value)
41
 * @method string getProduct()
42
 * @method $this withProduct($value)
43
 * @method string getModelId()
44
 * @method $this withModelId($value)
45
 * @method string getServiceVersion()
46
 * @method $this withServiceVersion($value)
47
 * @method string getModelVersion()
48
 * @method $this withModelVersion($value)
49
 */
50
class CreateModelAsyncPredict extends Rpc
51
{
52
53
    /**
54
     * @param string $value
55
     *
56
     * @return $this
57
     */
58
    public function withBody($value)
59
    {
60
        $this->data['Body'] = $value;
61
        $this->options['form_params']['body'] = $value;
62
63
        return $this;
64
    }
65
}
66
67
/**
68
 * @method string getAsyncPredictId()
69
 * @method $this withAsyncPredictId($value)
70
 * @method string getProduct()
71
 * @method $this withProduct($value)
72
 */
73
class GetModelAsyncPredict extends Rpc
74
{
75
}
76
77
/**
78
 * @method string getBody()
79
 * @method string getContent()
80
 * @method $this withContent($value)
81
 * @method string getClassifierId()
82
 * @method $this withClassifierId($value)
83
 * @method string getAutoPrediction()
84
 * @method $this withAutoPrediction($value)
85
 */
86
class PredictClassifierModel extends Rpc
87
{
88
89
    /**
90
     * @param string $value
91
     *
92
     * @return $this
93
     */
94
    public function withBody($value)
95
    {
96
        $this->data['Body'] = $value;
97
        $this->options['form_params']['body'] = $value;
98
99
        return $this;
100
    }
101
}
102
103
/**
104
 * @method string getBody()
105
 * @method string getContent()
106
 * @method $this withContent($value)
107
 * @method string getBinaryToText()
108
 * @method $this withBinaryToText($value)
109
 * @method string getProduct()
110
 * @method $this withProduct($value)
111
 * @method string getModelId()
112
 * @method $this withModelId($value)
113
 * @method string getModelVersion()
114
 * @method $this withModelVersion($value)
115
 */
116
class PredictModel extends Rpc
117
{
118
119
    /**
120
     * @param string $value
121
     *
122
     * @return $this
123
     */
124
    public function withBody($value)
125
    {
126
        $this->data['Body'] = $value;
127
        $this->options['form_params']['body'] = $value;
128
129
        return $this;
130
    }
131
}
132
133
/**
134
 * @method string getBody()
135
 * @method string getContent()
136
 * @method $this withContent($value)
137
 * @method string getBinaryToText()
138
 * @method $this withBinaryToText($value)
139
 * @method string getTaskId()
140
 * @method $this withTaskId($value)
141
 * @method string getProduct()
142
 * @method $this withProduct($value)
143
 */
144
class PredictTemplateModel extends Rpc
145
{
146
147
    /**
148
     * @param string $value
149
     *
150
     * @return $this
151
     */
152
    public function withBody($value)
153
    {
154
        $this->data['Body'] = $value;
155
        $this->options['form_params']['body'] = $value;
156
157
        return $this;
158
    }
159
}
160