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.

Roa
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 0
eloc 4
dl 0
loc 10
ccs 0
cts 0
cp 0
c 0
b 0
f 0
1
<?php
2
3
namespace AlibabaCloud\ImageSearch\V20180120;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method SearchItem searchItem(array $options = [])
9
 * @method DeleteItem deleteItem(array $options = [])
10
 * @method AddItem addItem(array $options = [])
11
 */
12
class ImageSearchApiResolver extends ApiResolver
13
{
14
}
15
16
class Roa extends \AlibabaCloud\Client\Resolver\Roa
17
{
18
    /** @var string */
19
    public $product = 'ImageSearch';
20
21
    /** @var string */
22
    public $version = '2018-01-20';
23
24
    /** @var string */
25
    public $method = 'POST';
26
}
27
28
/**
29
 * @method string getInstanceName()
30
 */
31
class SearchItem extends Roa
32
{
33
    use Traits\SearchItemTrait;
34
35
    /** @var string */
36
    public $pathPattern = '/item/search';
37
38
    /**
39
     * @param string $value
40
     *
41
     * @return $this
42
     */
43 1
    public function withInstanceName($value)
44
    {
45 1
        $this->data['InstanceName'] = $value;
46 1
        $this->options['query']['instanceName'] = $value;
47
48 1
        return $this;
49
    }
50
}
51
52
/**
53
 * @method string getInstanceName()
54
 */
55
class DeleteItem extends Roa
56
{
57
    use Traits\DeleteItemTrait;
58
59
    /** @var string */
60
    public $pathPattern = '/item/delete';
61
62
    /**
63
     * @param string $value
64
     *
65
     * @return $this
66
     */
67 1
    public function withInstanceName($value)
68
    {
69 1
        $this->data['InstanceName'] = $value;
70 1
        $this->options['query']['instanceName'] = $value;
71
72 1
        return $this;
73
    }
74
}
75
76
/**
77
 * @method string getInstanceName()
78
 */
79
class AddItem extends Roa
80
{
81
    use Traits\AddItemTrait;
82
83
    /** @var string */
84
    public $pathPattern = '/item/add';
85
86
    /**
87
     * @param string $value
88
     *
89
     * @return $this
90
     */
91 1
    public function withInstanceName($value)
92
    {
93 1
        $this->data['InstanceName'] = $value;
94 1
        $this->options['query']['instanceName'] = $value;
95
96 1
        return $this;
97
    }
98
}
99