diff --git a/CHANGELOG.md b/CHANGELOG.md index 0716e5a..8463aef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ CHANGELOG ========= +6.48.9 +--- +* Added `retentionType` backups property and getter + 6.48.8 --- * Fix Kubernetes Cluster release endpoint diff --git a/src/Entity/Vps/Backup.php b/src/Entity/Vps/Backup.php index f7f2e91..f50db9a 100644 --- a/src/Entity/Vps/Backup.php +++ b/src/Entity/Vps/Backup.php @@ -36,6 +36,11 @@ class Backup extends AbstractEntity */ protected $availabilityZone; + /** + * @var string $retentionType + */ + protected string $retentionType; + public function getId(): int { return $this->id; @@ -65,4 +70,9 @@ public function getStatus(): string { return $this->status; } + + public function getRetentionType(): string + { + return $this->retentionType; + } } diff --git a/src/TransipAPI.php b/src/TransipAPI.php index 9c6d302..e9adfb1 100644 --- a/src/TransipAPI.php +++ b/src/TransipAPI.php @@ -100,7 +100,7 @@ class TransipAPI { public const TRANSIP_API_ENDPOINT = "https://api.transip.nl/v6"; - public const TRANSIP_API_LIBRARY_VERSION = "6.48.8"; + public const TRANSIP_API_LIBRARY_VERSION = "6.48.9"; public const TRANSIP_API_DEMO_TOKEN = "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImN3MiFSbDU2eDNoUnkjelM4YmdOIn0.eyJpc3MiOiJhcGkudHJhbnNpcC5ubCIsImF1ZCI6ImFwaS50cmFuc2lwLm5sIiwianRpIjoiY3cyIVJsNTZ4M2hSeSN6UzhiZ04iLCJpYXQiOjE1ODIyMDE1NTAsIm5iZiI6MTU4MjIwMTU1MCwiZXhwIjoyMTE4NzQ1NTUwLCJjaWQiOiI2MDQ0OSIsInJvIjpmYWxzZSwiZ2siOmZhbHNlLCJrdiI6dHJ1ZX0.fYBWV4O5WPXxGuWG-vcrFWqmRHBm9yp0PHiYh_oAWxWxCaZX2Rf6WJfc13AxEeZ67-lY0TA2kSaOCp0PggBb_MGj73t4cH8gdwDJzANVxkiPL1Saqiw2NgZ3IHASJnisUWNnZp8HnrhLLe5ficvb1D9WOUOItmFC2ZgfGObNhlL2y-AMNLT4X7oNgrNTGm-mespo0jD_qH9dK5_evSzS3K8o03gu6p19jxfsnIh8TIVRvNdluYC2wo4qDl5EW5BEZ8OSuJ121ncOT1oRpzXB0cVZ9e5_UVAEr9X3f26_Eomg52-PjrgcRJ_jPIUYbrlo06KjjX2h0fzMr21ZE023Gw"; /**