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 ( 54393b...31fd57 )
by
unknown
06:54
created

BatchJobSubmit::withJsonConfig()   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\CloudSiem\V20220616;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method BatchJobCheck batchJobCheck(array $options = [])
9
 * @method BatchJobSubmit batchJobSubmit(array $options = [])
10
 * @method SendMessage sendMessage(array $options = [])
11
 */
12
class CloudSiemApiResolver extends ApiResolver
13
{
14
}
15
16
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
17
{
18
    /** @var string */
19
    public $product = 'cloud-siem';
20
21
    /** @var string */
22
    public $version = '2022-06-16';
23
24
    /** @var string */
25
    public $method = 'POST';
26
27
    /** @var string */
28
    public $serviceCode = 'cloud-siem';
29
}
30
31
/**
32
 * @method string getSubmitId()
33
 */
34
class BatchJobCheck extends Rpc
35
{
36
37
    /**
38
     * @param string $value
39
     *
40
     * @return $this
41
     */
42
    public function withSubmitId($value)
43
    {
44
        $this->data['SubmitId'] = $value;
45
        $this->options['form_params']['SubmitId'] = $value;
46
47
        return $this;
48
    }
49
}
50
51
/**
52
 * @method string getJsonConfig()
53
 */
54
class BatchJobSubmit extends Rpc
55
{
56
57
    /**
58
     * @param string $value
59
     *
60
     * @return $this
61
     */
62
    public function withJsonConfig($value)
63
    {
64
        $this->data['JsonConfig'] = $value;
65
        $this->options['form_params']['JsonConfig'] = $value;
66
67
        return $this;
68
    }
69
}
70
71
/**
72
 * @method string getChannelType()
73
 * @method string getReceiveUid()
74
 */
75
class SendMessage extends Rpc
76
{
77
78
    /**
79
     * @param string $value
80
     *
81
     * @return $this
82
     */
83
    public function withChannelType($value)
84
    {
85
        $this->data['ChannelType'] = $value;
86
        $this->options['form_params']['ChannelType'] = $value;
87
88
        return $this;
89
    }
90
91
    /**
92
     * @param string $value
93
     *
94
     * @return $this
95
     */
96
    public function withReceiveUid($value)
97
    {
98
        $this->data['ReceiveUid'] = $value;
99
        $this->options['form_params']['ReceiveUid'] = $value;
100
101
        return $this;
102
    }
103
}
104