From bfcc000244362ac184abb40a262a066ceefc21ac Mon Sep 17 00:00:00 2001 From: Glenn Blom Date: Mon, 23 Jan 2023 20:58:16 +0100 Subject: [PATCH] fix change in Acronis API (#17) * fix change in Acronis API --- src/Entity/AccessPolicyCollection.php | 1 + src/Entity/ApplicationUuidCollection.php | 1 + src/Entity/Contact.php | 1 + src/Entity/InfraUuidCollection.php | 1 + src/Entity/OfferingCollection.php | 2 ++ src/Entity/SearchResult.php | 1 + src/Entity/SearchResultCollection.php | 1 + src/Entity/TenantCollection.php | 1 + src/Entity/TenantPricing.php | 2 +- src/Entity/UsageCollection.php | 1 + src/Entity/UserCollection.php | 1 + src/Entity/UserUuidCollection.php | 1 + 12 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/Entity/AccessPolicyCollection.php b/src/Entity/AccessPolicyCollection.php index 369bdcd..8e6a0ec 100644 --- a/src/Entity/AccessPolicyCollection.php +++ b/src/Entity/AccessPolicyCollection.php @@ -10,6 +10,7 @@ class AccessPolicyCollection { /** * @var AccessPolicy[] + * * @Serializer\Type("array") * @Serializer\SerializedName("items") * @Serializer\Groups({"update_data"}) diff --git a/src/Entity/ApplicationUuidCollection.php b/src/Entity/ApplicationUuidCollection.php index 324bc0e..b357846 100644 --- a/src/Entity/ApplicationUuidCollection.php +++ b/src/Entity/ApplicationUuidCollection.php @@ -10,6 +10,7 @@ class ApplicationUuidCollection { /** * @var string[] + * * @Serializer\Type("array") * @Serializer\SerializedName("items") */ diff --git a/src/Entity/Contact.php b/src/Entity/Contact.php index 5562645..f9be803 100644 --- a/src/Entity/Contact.php +++ b/src/Entity/Contact.php @@ -25,6 +25,7 @@ class Contact /** * @var string[] + * * @Serializer\SerializedName("types") * @Serializer\Type("array") * @Serializer\Groups({"create_data","update_data"}) diff --git a/src/Entity/InfraUuidCollection.php b/src/Entity/InfraUuidCollection.php index 426b447..193bd75 100644 --- a/src/Entity/InfraUuidCollection.php +++ b/src/Entity/InfraUuidCollection.php @@ -10,6 +10,7 @@ class InfraUuidCollection { /** * @var string[] + * * @Serializer\Type("array") * @Serializer\SerializedName("infras") */ diff --git a/src/Entity/OfferingCollection.php b/src/Entity/OfferingCollection.php index 3ec9536..900dff7 100644 --- a/src/Entity/OfferingCollection.php +++ b/src/Entity/OfferingCollection.php @@ -17,6 +17,7 @@ class OfferingCollection /** * @var Offering[] + * * @Serializer\Type("array") * @Serializer\SerializedName("items") */ @@ -24,6 +25,7 @@ class OfferingCollection /** * @var Offering[] + * * @Serializer\Type("array") * @Serializer\SerializedName("offering_items") * @Serializer\Groups({"update_data"}) diff --git a/src/Entity/SearchResult.php b/src/Entity/SearchResult.php index dc23303..daf18d4 100644 --- a/src/Entity/SearchResult.php +++ b/src/Entity/SearchResult.php @@ -34,6 +34,7 @@ class SearchResult /** * @var string[] + * * @Serializer\SerializedName("path") * @Serializer\Type("array") */ diff --git a/src/Entity/SearchResultCollection.php b/src/Entity/SearchResultCollection.php index f1f8bb1..b59f25c 100644 --- a/src/Entity/SearchResultCollection.php +++ b/src/Entity/SearchResultCollection.php @@ -10,6 +10,7 @@ class SearchResultCollection { /** * @var SearchResult[] + * * @Serializer\Type("array") * @Serializer\SerializedName("items") */ diff --git a/src/Entity/TenantCollection.php b/src/Entity/TenantCollection.php index c308d7a..c43cdd4 100644 --- a/src/Entity/TenantCollection.php +++ b/src/Entity/TenantCollection.php @@ -17,6 +17,7 @@ class TenantCollection /** * @var Tenant[] + * * @Serializer\Type("array") * @Serializer\SerializedName("items") */ diff --git a/src/Entity/TenantPricing.php b/src/Entity/TenantPricing.php index 333b4dd..87a0d29 100644 --- a/src/Entity/TenantPricing.php +++ b/src/Entity/TenantPricing.php @@ -32,7 +32,7 @@ class TenantPricing /** * @Serializer\SerializedName("production_start_date") - * @Serializer\Type("DateTimeImmutable<'Y-m-d H:i:s', '', ['Y-m-d\TH:i:s']>") + * @Serializer\Type("DateTimeImmutable<'Y-m-d H:i:s', '', ['Y-m-d\TH:i:s\Z', 'Y-m-d\TH:i:s']>") */ private ?DateTimeImmutable $productionStartDate; diff --git a/src/Entity/UsageCollection.php b/src/Entity/UsageCollection.php index 5e74b0b..b211621 100644 --- a/src/Entity/UsageCollection.php +++ b/src/Entity/UsageCollection.php @@ -10,6 +10,7 @@ class UsageCollection { /** * @var Usage[] + * * @Serializer\Type("array") * @Serializer\SerializedName("items") */ diff --git a/src/Entity/UserCollection.php b/src/Entity/UserCollection.php index c66aef8..26618fa 100644 --- a/src/Entity/UserCollection.php +++ b/src/Entity/UserCollection.php @@ -17,6 +17,7 @@ class UserCollection /** * @var User[] + * * @Serializer\Type("array") * @Serializer\SerializedName("items") */ diff --git a/src/Entity/UserUuidCollection.php b/src/Entity/UserUuidCollection.php index 2c89706..d5a43a1 100644 --- a/src/Entity/UserUuidCollection.php +++ b/src/Entity/UserUuidCollection.php @@ -10,6 +10,7 @@ class UserUuidCollection { /** * @var string[] + * * @Serializer\Type("array") * @Serializer\SerializedName("items") */