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   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 39
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 1
cbo 1
dl 0
loc 39
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A retrieve() 0 5 1
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