Skip to content

Commit

Permalink
Merge branch 'rename-block-storage-disk-size-to-size' into 'master'
Browse files Browse the repository at this point in the history
Rename diskSize to size

See merge request transip/restapi-php-library!256
  • Loading branch information
Jordi Donadeu committed Oct 30, 2023
2 parents 13c6b30 + 851c71a commit 69d4214
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
CHANGELOG
=========

6.49.1
---
* Renamed block storage diskSize parameters to size

6.49.0
---
* Added ability to fetch Action from Operating Install
Expand Down
8 changes: 4 additions & 4 deletions src/Entity/BlockStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ class BlockStorage extends AbstractEntity
protected $description;

/**
* @var int $diskSize
* @var int $size
*/
protected $diskSize;
protected $size;

/**
* @var string $vpsName
Expand Down Expand Up @@ -64,9 +64,9 @@ public function getDescription(): string
return $this->description;
}

public function getDiskSize(): int
public function getSize(): int
{
return $this->diskSize;
return $this->size;
}

public function getVpsName(): string
Expand Down
8 changes: 4 additions & 4 deletions src/Entity/BlockStorage/Backup.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ class Backup extends AbstractEntity
protected $status;

/**
* @var int $diskSize
* @var int $size
*/
protected $diskSize;
protected $size;

/**
* @var string $dateTimeCreate
Expand All @@ -42,9 +42,9 @@ public function getStatus(): string
return $this->status;
}

public function getDiskSize(): int
public function getSize(): int
{
return $this->diskSize;
return $this->size;
}

public function getDateTimeCreate(): string
Expand Down
2 changes: 1 addition & 1 deletion src/TransipAPI.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
class TransipAPI
{
public const TRANSIP_API_ENDPOINT = "https://api.transip.nl/v6";
public const TRANSIP_API_LIBRARY_VERSION = "6.49.0";
public const TRANSIP_API_LIBRARY_VERSION = "6.49.1";
public const TRANSIP_API_DEMO_TOKEN = "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImN3MiFSbDU2eDNoUnkjelM4YmdOIn0.eyJpc3MiOiJhcGkudHJhbnNpcC5ubCIsImF1ZCI6ImFwaS50cmFuc2lwLm5sIiwianRpIjoiY3cyIVJsNTZ4M2hSeSN6UzhiZ04iLCJpYXQiOjE1ODIyMDE1NTAsIm5iZiI6MTU4MjIwMTU1MCwiZXhwIjoyMTE4NzQ1NTUwLCJjaWQiOiI2MDQ0OSIsInJvIjpmYWxzZSwiZ2siOmZhbHNlLCJrdiI6dHJ1ZX0.fYBWV4O5WPXxGuWG-vcrFWqmRHBm9yp0PHiYh_oAWxWxCaZX2Rf6WJfc13AxEeZ67-lY0TA2kSaOCp0PggBb_MGj73t4cH8gdwDJzANVxkiPL1Saqiw2NgZ3IHASJnisUWNnZp8HnrhLLe5ficvb1D9WOUOItmFC2ZgfGObNhlL2y-AMNLT4X7oNgrNTGm-mespo0jD_qH9dK5_evSzS3K8o03gu6p19jxfsnIh8TIVRvNdluYC2wo4qDl5EW5BEZ8OSuJ121ncOT1oRpzXB0cVZ9e5_UVAEr9X3f26_Eomg52-PjrgcRJ_jPIUYbrlo06KjjX2h0fzMr21ZE023Gw";

/**
Expand Down

0 comments on commit 69d4214

Please sign in to comment.