Commit 0e5f7bae authored by Simon Welsh's avatar Simon Welsh

Swap protected to public

parent b6eb90f6
...@@ -7,23 +7,23 @@ use ConstMapAccess; ...@@ -7,23 +7,23 @@ use ConstMapAccess;
use InvalidArgumentException as IAE; use InvalidArgumentException as IAE;
class Droplet extends Object { class Droplet extends Object {
protected int $id; public int $id;
protected string $name; public string $name;
protected int $memory; public int $memory;
protected int $vcpus; public int $vcpus;
protected int $disk; public int $disk;
protected bool $locked; public bool $locked;
protected DateTime $created_at; public DateTime $created_at;
protected Status $status; public Status $status;
protected Set<int> $backup_ids; public Set<int> $backup_ids;
protected Set<int> $snapshot_ids; public Set<int> $snapshot_ids;
protected Set<string> $features; public Set<string> $features;
protected Region $region; public Region $region;
protected Image $image; public Image $image;
protected string $size; public string $size;
protected Vector<Network> $ipv4; public Vector<Network> $ipv4;
protected Vector<Network> $ipv6; public Vector<Network> $ipv6;
protected ?Kernel $kernel; public ?Kernel $kernel;
public function __construct(ConstMapAccess<string, mixed> $data) { public function __construct(ConstMapAccess<string, mixed> $data) {
// id // id
......
...@@ -6,13 +6,13 @@ use ConstMapAccess; ...@@ -6,13 +6,13 @@ use ConstMapAccess;
use InvalidArgumentException as IAE; use InvalidArgumentException as IAE;
class Image extends Object { class Image extends Object {
protected int $id; public int $id;
protected string $name; public string $name;
protected string $distribution; public string $distribution;
protected ?string $slug; public ?string $slug;
protected bool $public; public bool $public;
protected Set<string> $regions; public Set<string> $regions;
protected int $min_disk_size; public int $min_disk_size;
public function __construct(ConstMapAccess<string, mixed> $data) { public function __construct(ConstMapAccess<string, mixed> $data) {
// id // id
......
...@@ -6,11 +6,11 @@ use ConstMapAccess; ...@@ -6,11 +6,11 @@ use ConstMapAccess;
use InvalidArgumentException as IAE; use InvalidArgumentException as IAE;
class Region extends Object { class Region extends Object {
protected string $slug; public string $slug;
protected string $name; public string $name;
protected Set<string> $sizes; public Set<string> $sizes;
protected bool $available; public bool $available;
protected Set<string> $features; public Set<string> $features;
public function __construct(ConstMapAccess<string, mixed> $data) { public function __construct(ConstMapAccess<string, mixed> $data) {
// slug // slug
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment