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.
Completed
Pull Request — master (#136)
by Frank
01:47
created

LoadbalancerStatus::retrieve()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 0
1
<?php declare(strict_types=1);
2
3
namespace OpenStack\Networking\v2\Models;
4
5
use OpenStack\Common\Resource\Retrievable;
6
use OpenStack\Common\Resource\OperatorResource;
7
8
/**
9
 * Represents Neutron v2 Loadbalancer Stats
10
 *
11
 * @property Api $api
12
 */
13
class LoadbalancerStatus extends OperatorResource implements Retrievable
14
{
15
    /**
16
     * @var string
17
     */
18
    public $operatingStatus;
19
20
    /**
21
     * @var string
22
     */
23
    public $provisioningStatus;
24
25
    /**
26
     * @var array
27
     */
28
    public $listeners;
29
30
    /**
31
     * @var string
32
     */
33
    public $loadbalancerId;
34
35
    protected $resourceKey = 'statuses';
36
37
    protected $aliases = [
38
        'operating_status'    => 'operatingStatus',
39
        'provisioning_status' => 'provisioningStatus',
40
        'loadbalancer_id'     => 'loadbalancerId'
41
    ];
42
43
    /**
44
     * {@inheritDoc}
45
     */
46
    public function retrieve()
47
    {
48
        $response = $this->execute($this->api->getLoadbalancerStatuses(), ['loadbalancerId' => (string)$this->loadbalancerId]);
49
        $this->populateFromResponse($response);
50
    }
51
}
52