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 ( 96119f...324459 )
by
unknown
06:02
created

RecognizeProdmlabel::withImageContent()   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\Visionai\V20191024;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method IdentifyAnimal identifyAnimal(array $options = [])
9
 * @method IdentifyPlant identifyPlant(array $options = [])
10
 * @method RecognizeProdcategory recognizeProdcategory(array $options = [])
11
 * @method RecognizeProdmlabel recognizeProdmlabel(array $options = [])
12
 * @method RecognizeVehicle recognizeVehicle(array $options = [])
13
 */
14
class VisionaiApiResolver extends ApiResolver
15
{
16
}
17
18
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
19
{
20
    /** @var string */
21
    public $product = 'visionai';
22
23
    /** @var string */
24
    public $version = '2019-10-24';
25
26
    /** @var string */
27
    public $method = 'POST';
28
29
    /** @var string */
30
    public $serviceCode = 'visionai';
31
}
32
33
/**
34
 * @method string getImageContent()
35
 */
36
class IdentifyAnimal extends Rpc
37
{
38
39
    /**
40
     * @param string $value
41
     *
42
     * @return $this
43
     */
44
    public function withImageContent($value)
45
    {
46
        $this->data['ImageContent'] = $value;
47
        $this->options['form_params']['ImageContent'] = $value;
48
49
        return $this;
50
    }
51
}
52
53
/**
54
 * @method string getImageContent()
55
 */
56
class IdentifyPlant extends Rpc
57
{
58
59
    /**
60
     * @param string $value
61
     *
62
     * @return $this
63
     */
64
    public function withImageContent($value)
65
    {
66
        $this->data['ImageContent'] = $value;
67
        $this->options['form_params']['ImageContent'] = $value;
68
69
        return $this;
70
    }
71
}
72
73
/**
74
 * @method string getImageContent()
75
 */
76
class RecognizeProdcategory extends Rpc
77
{
78
79
    /**
80
     * @param string $value
81
     *
82
     * @return $this
83
     */
84
    public function withImageContent($value)
85
    {
86
        $this->data['ImageContent'] = $value;
87
        $this->options['form_params']['ImageContent'] = $value;
88
89
        return $this;
90
    }
91
}
92
93
/**
94
 * @method string getImageContent()
95
 */
96
class RecognizeProdmlabel extends Rpc
97
{
98
99
    /**
100
     * @param string $value
101
     *
102
     * @return $this
103
     */
104
    public function withImageContent($value)
105
    {
106
        $this->data['ImageContent'] = $value;
107
        $this->options['form_params']['ImageContent'] = $value;
108
109
        return $this;
110
    }
111
}
112
113
/**
114
 * @method string getImageContent()
115
 */
116
class RecognizeVehicle extends Rpc
117
{
118
119
    /**
120
     * @param string $value
121
     *
122
     * @return $this
123
     */
124
    public function withImageContent($value)
125
    {
126
        $this->data['ImageContent'] = $value;
127
        $this->options['form_params']['ImageContent'] = $value;
128
129
        return $this;
130
    }
131
}
132