From 0959645edde70a4aa840af11114de5504c4662b1 Mon Sep 17 00:00:00 2001 From: Ben Cromwell Date: Tue, 3 Sep 2024 09:28:49 +0100 Subject: [PATCH 1/2] chore: update deps and specify multicore for cs fixer --- generator/.php-cs-fixer.dist.php | 7 + generator/composer.lock | 268 ++++++++++++++++--------------- 2 files changed, 145 insertions(+), 130 deletions(-) create mode 100644 generator/.php-cs-fixer.dist.php diff --git a/generator/.php-cs-fixer.dist.php b/generator/.php-cs-fixer.dist.php new file mode 100644 index 00000000..9923238d --- /dev/null +++ b/generator/.php-cs-fixer.dist.php @@ -0,0 +1,7 @@ +setParallelConfig(PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect()) +; diff --git a/generator/composer.lock b/generator/composer.lock index ebbf390e..d7e82d2b 100644 --- a/generator/composer.lock +++ b/generator/composer.lock @@ -468,30 +468,38 @@ }, { "name": "composer/pcre", - "version": "3.1.4", + "version": "3.3.1", "source": { "type": "git", "url": "https://github.com/composer/pcre.git", - "reference": "04229f163664973f68f38f6f73d917799168ef24" + "reference": "63aaeac21d7e775ff9bc9d45021e1745c97521c4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/pcre/zipball/04229f163664973f68f38f6f73d917799168ef24", - "reference": "04229f163664973f68f38f6f73d917799168ef24", + "url": "https://api.github.com/repos/composer/pcre/zipball/63aaeac21d7e775ff9bc9d45021e1745c97521c4", + "reference": "63aaeac21d7e775ff9bc9d45021e1745c97521c4", "shasum": "" }, "require": { "php": "^7.4 || ^8.0" }, + "conflict": { + "phpstan/phpstan": "<1.11.10" + }, "require-dev": { - "phpstan/phpstan": "^1.3", + "phpstan/phpstan": "^1.11.10", "phpstan/phpstan-strict-rules": "^1.1", - "symfony/phpunit-bridge": "^5" + "phpunit/phpunit": "^8 || ^9" }, "type": "library", "extra": { "branch-alias": { "dev-main": "3.x-dev" + }, + "phpstan": { + "includes": [ + "extension.neon" + ] } }, "autoload": { @@ -519,7 +527,7 @@ ], "support": { "issues": "https://github.com/composer/pcre/issues", - "source": "https://github.com/composer/pcre/tree/3.1.4" + "source": "https://github.com/composer/pcre/tree/3.3.1" }, "funding": [ { @@ -535,20 +543,20 @@ "type": "tidelift" } ], - "time": "2024-05-27T13:40:54+00:00" + "time": "2024-08-27T18:44:43+00:00" }, { "name": "composer/semver", - "version": "3.4.0", + "version": "3.4.2", "source": { "type": "git", "url": "https://github.com/composer/semver.git", - "reference": "35e8d0af4486141bc745f23a29cc2091eb624a32" + "reference": "c51258e759afdb17f1fd1fe83bc12baaef6309d6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/35e8d0af4486141bc745f23a29cc2091eb624a32", - "reference": "35e8d0af4486141bc745f23a29cc2091eb624a32", + "url": "https://api.github.com/repos/composer/semver/zipball/c51258e759afdb17f1fd1fe83bc12baaef6309d6", + "reference": "c51258e759afdb17f1fd1fe83bc12baaef6309d6", "shasum": "" }, "require": { @@ -600,7 +608,7 @@ "support": { "irc": "ircs://irc.libera.chat:6697/composer", "issues": "https://github.com/composer/semver/issues", - "source": "https://github.com/composer/semver/tree/3.4.0" + "source": "https://github.com/composer/semver/tree/3.4.2" }, "funding": [ { @@ -616,7 +624,7 @@ "type": "tidelift" } ], - "time": "2023-08-31T09:50:34+00:00" + "time": "2024-07-12T11:35:52+00:00" }, { "name": "composer/xdebug-handler", @@ -824,16 +832,16 @@ }, { "name": "fidry/cpu-core-counter", - "version": "1.1.0", + "version": "1.2.0", "source": { "type": "git", "url": "https://github.com/theofidry/cpu-core-counter.git", - "reference": "f92996c4d5c1a696a6a970e20f7c4216200fcc42" + "reference": "8520451a140d3f46ac33042715115e290cf5785f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/f92996c4d5c1a696a6a970e20f7c4216200fcc42", - "reference": "f92996c4d5c1a696a6a970e20f7c4216200fcc42", + "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/8520451a140d3f46ac33042715115e290cf5785f", + "reference": "8520451a140d3f46ac33042715115e290cf5785f", "shasum": "" }, "require": { @@ -873,7 +881,7 @@ ], "support": { "issues": "https://github.com/theofidry/cpu-core-counter/issues", - "source": "https://github.com/theofidry/cpu-core-counter/tree/1.1.0" + "source": "https://github.com/theofidry/cpu-core-counter/tree/1.2.0" }, "funding": [ { @@ -881,20 +889,20 @@ "type": "github" } ], - "time": "2024-02-07T09:43:46+00:00" + "time": "2024-08-06T10:04:20+00:00" }, { "name": "friendsofphp/php-cs-fixer", - "version": "v3.59.3", + "version": "v3.64.0", "source": { "type": "git", "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", - "reference": "30ba9ecc2b0e5205e578fe29973c15653d9bfd29" + "reference": "58dd9c931c785a79739310aef5178928305ffa67" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/30ba9ecc2b0e5205e578fe29973c15653d9bfd29", - "reference": "30ba9ecc2b0e5205e578fe29973c15653d9bfd29", + "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/58dd9c931c785a79739310aef5178928305ffa67", + "reference": "58dd9c931c785a79739310aef5178928305ffa67", "shasum": "" }, "require": { @@ -976,7 +984,7 @@ ], "support": { "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues", - "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.59.3" + "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.64.0" }, "funding": [ { @@ -984,27 +992,27 @@ "type": "github" } ], - "time": "2024-06-16T14:17:03+00:00" + "time": "2024-08-30T23:09:38+00:00" }, { "name": "jane-php/json-schema", - "version": "v7.7.0", + "version": "v7.8.1", "source": { "type": "git", "url": "https://github.com/janephp/json-schema.git", - "reference": "ddb70e2f19e62f3128e853c08dd852646942759d" + "reference": "f33f91fe40832c9ae312bf6f2baa5929bafaa341" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/janephp/json-schema/zipball/ddb70e2f19e62f3128e853c08dd852646942759d", - "reference": "ddb70e2f19e62f3128e853c08dd852646942759d", + "url": "https://api.github.com/repos/janephp/json-schema/zipball/f33f91fe40832c9ae312bf6f2baa5929bafaa341", + "reference": "f33f91fe40832c9ae312bf6f2baa5929bafaa341", "shasum": "" }, "require": { "doctrine/inflector": "^1.4 || ^2.0", "ext-json": "*", "jane-php/json-schema-runtime": "^7.5", - "nikic/php-parser": "^4.18", + "nikic/php-parser": "^4.19 || ^5.1", "php": "^8.0", "symfony/console": "^5.4 || ^6.4 || ^7.0", "symfony/filesystem": "^5.4 || ^6.4 || ^7.0", @@ -1015,7 +1023,6 @@ "symfony/yaml": "^5.4 || ^6.4 || ^7.0" }, "conflict": { - "nikic/php-parser": "<4.0.4", "symfony/framework-bundle": "5.1.0" }, "require-dev": { @@ -1058,22 +1065,22 @@ ], "description": "Generate a serializable / deserializable object model given a json schema", "support": { - "source": "https://github.com/janephp/json-schema/tree/v7.7.0" + "source": "https://github.com/janephp/json-schema/tree/v7.8.1" }, - "time": "2024-06-27T08:39:01+00:00" + "time": "2024-07-29T13:51:58+00:00" }, { "name": "jane-php/json-schema-runtime", - "version": "v7.7.0", + "version": "v7.8.1", "source": { "type": "git", "url": "https://github.com/janephp/json-schema-runtime.git", - "reference": "658c68abf7e429db2ae71afe9e7a6a5d43d5d247" + "reference": "8a9e3e6ec94959ab4160a5e36323cda76d8e7d03" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/janephp/json-schema-runtime/zipball/658c68abf7e429db2ae71afe9e7a6a5d43d5d247", - "reference": "658c68abf7e429db2ae71afe9e7a6a5d43d5d247", + "url": "https://api.github.com/repos/janephp/json-schema-runtime/zipball/8a9e3e6ec94959ab4160a5e36323cda76d8e7d03", + "reference": "8a9e3e6ec94959ab4160a5e36323cda76d8e7d03", "shasum": "" }, "require": { @@ -1120,35 +1127,34 @@ ], "description": "Jane runtime Library", "support": { - "source": "https://github.com/janephp/json-schema-runtime/tree/v7.7.0" + "source": "https://github.com/janephp/json-schema-runtime/tree/v7.8.1" }, - "time": "2024-01-31T09:18:22+00:00" + "time": "2024-07-29T13:51:58+00:00" }, { "name": "jane-php/open-api-3", - "version": "v7.7.0", + "version": "v7.8.1", "source": { "type": "git", "url": "https://github.com/janephp/open-api-3.git", - "reference": "8be765af77a460a9270d3efb4267b17a42256fce" + "reference": "ef808d0b7219e44258f14966c064027b87492c04" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/janephp/open-api-3/zipball/8be765af77a460a9270d3efb4267b17a42256fce", - "reference": "8be765af77a460a9270d3efb4267b17a42256fce", + "url": "https://api.github.com/repos/janephp/open-api-3/zipball/ef808d0b7219e44258f14966c064027b87492c04", + "reference": "ef808d0b7219e44258f14966c064027b87492c04", "shasum": "" }, "require": { "ext-json": "*", "jane-php/json-schema": "^7.5", "jane-php/open-api-common": "^7.5", - "nikic/php-parser": "^4.18", + "nikic/php-parser": "^4.19 || ^5.1", "php": "^8.0", "symfony/serializer": "^5.4 || ^6.4 || ^7.0", "symfony/yaml": "^5.4 || ^6.4 || ^7.0" }, "conflict": { - "nikic/php-parser": "<4.0.4", "symfony/framework-bundle": "5.1.0" }, "require-dev": { @@ -1195,22 +1201,22 @@ "swagger" ], "support": { - "source": "https://github.com/janephp/open-api-3/tree/v7.7.0" + "source": "https://github.com/janephp/open-api-3/tree/v7.8.1" }, - "time": "2024-06-27T08:39:01+00:00" + "time": "2024-07-29T13:51:58+00:00" }, { "name": "jane-php/open-api-common", - "version": "v7.7.0", + "version": "v7.8.1", "source": { "type": "git", "url": "https://github.com/janephp/open-api-common.git", - "reference": "d08bc64ef90379714db776764f2286d7e7d12d61" + "reference": "9b6d48539cc6746e583f5e04869172bbf1014732" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/janephp/open-api-common/zipball/d08bc64ef90379714db776764f2286d7e7d12d61", - "reference": "d08bc64ef90379714db776764f2286d7e7d12d61", + "url": "https://api.github.com/repos/janephp/open-api-common/zipball/9b6d48539cc6746e583f5e04869172bbf1014732", + "reference": "9b6d48539cc6746e583f5e04869172bbf1014732", "shasum": "" }, "require": { @@ -1264,13 +1270,13 @@ "utility" ], "support": { - "source": "https://github.com/janephp/open-api-common/tree/v7.7.0" + "source": "https://github.com/janephp/open-api-common/tree/v7.8.1" }, - "time": "2024-04-03T13:53:10+00:00" + "time": "2024-07-29T13:51:58+00:00" }, { "name": "jane-php/open-api-runtime", - "version": "v7.7.0", + "version": "v7.8.1", "source": { "type": "git", "url": "https://github.com/janephp/open-api-runtime.git", @@ -1327,7 +1333,7 @@ ], "description": "Jane OpenAPI Runtime Library, dependencies and utility class for a library generated by jane/openapi", "support": { - "source": "https://github.com/janephp/open-api-runtime/tree/v7.7.0" + "source": "https://github.com/janephp/open-api-runtime/tree/v7.8.1" }, "time": "2024-01-31T09:32:00+00:00" }, @@ -1507,25 +1513,27 @@ }, { "name": "nikic/php-parser", - "version": "v4.19.1", + "version": "v5.1.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "4e1b88d21c69391150ace211e9eaf05810858d0b" + "reference": "683130c2ff8c2739f4822ff7ac5c873ec529abd1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/4e1b88d21c69391150ace211e9eaf05810858d0b", - "reference": "4e1b88d21c69391150ace211e9eaf05810858d0b", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/683130c2ff8c2739f4822ff7ac5c873ec529abd1", + "reference": "683130c2ff8c2739f4822ff7ac5c873ec529abd1", "shasum": "" }, "require": { + "ext-ctype": "*", + "ext-json": "*", "ext-tokenizer": "*", - "php": ">=7.1" + "php": ">=7.4" }, "require-dev": { "ircmaxell/php-yacc": "^0.0.7", - "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" + "phpunit/phpunit": "^9.0" }, "bin": [ "bin/php-parse" @@ -1533,7 +1541,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.9-dev" + "dev-master": "5.0-dev" } }, "autoload": { @@ -1557,9 +1565,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.19.1" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.1.0" }, - "time": "2024-03-17T08:10:35+00:00" + "time": "2024-07-01T20:03:41+00:00" }, { "name": "nyholm/psr7", @@ -1915,16 +1923,16 @@ }, { "name": "php-http/multipart-stream-builder", - "version": "1.3.1", + "version": "1.4.0", "source": { "type": "git", "url": "https://github.com/php-http/multipart-stream-builder.git", - "reference": "ed56da23b95949ae4747378bed8a5b61a2fdae24" + "reference": "ad3d012c44d6a5a1686fea99cbfa560f0fb80448" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-http/multipart-stream-builder/zipball/ed56da23b95949ae4747378bed8a5b61a2fdae24", - "reference": "ed56da23b95949ae4747378bed8a5b61a2fdae24", + "url": "https://api.github.com/repos/php-http/multipart-stream-builder/zipball/ad3d012c44d6a5a1686fea99cbfa560f0fb80448", + "reference": "ad3d012c44d6a5a1686fea99cbfa560f0fb80448", "shasum": "" }, "require": { @@ -1965,9 +1973,9 @@ ], "support": { "issues": "https://github.com/php-http/multipart-stream-builder/issues", - "source": "https://github.com/php-http/multipart-stream-builder/tree/1.3.1" + "source": "https://github.com/php-http/multipart-stream-builder/tree/1.4.0" }, - "time": "2024-06-10T14:51:55+00:00" + "time": "2024-09-01T11:08:55+00:00" }, { "name": "php-http/promise", @@ -2342,16 +2350,16 @@ }, { "name": "psr/log", - "version": "3.0.0", + "version": "3.0.1", "source": { "type": "git", "url": "https://github.com/php-fig/log.git", - "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001" + "reference": "79dff0b268932c640297f5208d6298f71855c03e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001", - "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001", + "url": "https://api.github.com/repos/php-fig/log/zipball/79dff0b268932c640297f5208d6298f71855c03e", + "reference": "79dff0b268932c640297f5208d6298f71855c03e", "shasum": "" }, "require": { @@ -2386,9 +2394,9 @@ "psr-3" ], "support": { - "source": "https://github.com/php-fig/log/tree/3.0.0" + "source": "https://github.com/php-fig/log/tree/3.0.1" }, - "time": "2021-07-14T16:46:02+00:00" + "time": "2024-08-21T13:31:24+00:00" }, { "name": "react/cache", @@ -2764,31 +2772,31 @@ }, { "name": "react/socket", - "version": "v1.15.0", + "version": "v1.16.0", "source": { "type": "git", "url": "https://github.com/reactphp/socket.git", - "reference": "216d3aec0b87f04a40ca04f481e6af01bdd1d038" + "reference": "23e4ff33ea3e160d2d1f59a0e6050e4b0fb0eac1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/reactphp/socket/zipball/216d3aec0b87f04a40ca04f481e6af01bdd1d038", - "reference": "216d3aec0b87f04a40ca04f481e6af01bdd1d038", + "url": "https://api.github.com/repos/reactphp/socket/zipball/23e4ff33ea3e160d2d1f59a0e6050e4b0fb0eac1", + "reference": "23e4ff33ea3e160d2d1f59a0e6050e4b0fb0eac1", "shasum": "" }, "require": { "evenement/evenement": "^3.0 || ^2.0 || ^1.0", "php": ">=5.3.0", - "react/dns": "^1.11", + "react/dns": "^1.13", "react/event-loop": "^1.2", - "react/promise": "^3 || ^2.6 || ^1.2.1", - "react/stream": "^1.2" + "react/promise": "^3.2 || ^2.6 || ^1.2.1", + "react/stream": "^1.4" }, "require-dev": { "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36", - "react/async": "^4 || ^3 || ^2", + "react/async": "^4.3 || ^3.3 || ^2", "react/promise-stream": "^1.4", - "react/promise-timer": "^1.10" + "react/promise-timer": "^1.11" }, "type": "library", "autoload": { @@ -2832,7 +2840,7 @@ ], "support": { "issues": "https://github.com/reactphp/socket/issues", - "source": "https://github.com/reactphp/socket/tree/v1.15.0" + "source": "https://github.com/reactphp/socket/tree/v1.16.0" }, "funding": [ { @@ -2840,7 +2848,7 @@ "type": "open_collective" } ], - "time": "2023-12-15T11:02:10+00:00" + "time": "2024-07-26T10:38:09+00:00" }, { "name": "react/stream", @@ -2989,16 +2997,16 @@ }, { "name": "symfony/console", - "version": "v7.1.2", + "version": "v7.1.4", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "0aa29ca177f432ab68533432db0de059f39c92ae" + "reference": "1eed7af6961d763e7832e874d7f9b21c3ea9c111" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/0aa29ca177f432ab68533432db0de059f39c92ae", - "reference": "0aa29ca177f432ab68533432db0de059f39c92ae", + "url": "https://api.github.com/repos/symfony/console/zipball/1eed7af6961d763e7832e874d7f9b21c3ea9c111", + "reference": "1eed7af6961d763e7832e874d7f9b21c3ea9c111", "shasum": "" }, "require": { @@ -3062,7 +3070,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v7.1.2" + "source": "https://github.com/symfony/console/tree/v7.1.4" }, "funding": [ { @@ -3078,7 +3086,7 @@ "type": "tidelift" } ], - "time": "2024-06-28T10:03:55+00:00" + "time": "2024-08-15T22:48:53+00:00" }, { "name": "symfony/event-dispatcher", @@ -3304,16 +3312,16 @@ }, { "name": "symfony/finder", - "version": "v7.1.1", + "version": "v7.1.4", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "fbb0ba67688b780efbc886c1a0a0948dcf7205d6" + "reference": "d95bbf319f7d052082fb7af147e0f835a695e823" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/fbb0ba67688b780efbc886c1a0a0948dcf7205d6", - "reference": "fbb0ba67688b780efbc886c1a0a0948dcf7205d6", + "url": "https://api.github.com/repos/symfony/finder/zipball/d95bbf319f7d052082fb7af147e0f835a695e823", + "reference": "d95bbf319f7d052082fb7af147e0f835a695e823", "shasum": "" }, "require": { @@ -3348,7 +3356,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v7.1.1" + "source": "https://github.com/symfony/finder/tree/v7.1.4" }, "funding": [ { @@ -3364,7 +3372,7 @@ "type": "tidelift" } ], - "time": "2024-05-31T14:57:53+00:00" + "time": "2024-08-13T14:28:19+00:00" }, { "name": "symfony/options-resolver", @@ -3826,16 +3834,16 @@ }, { "name": "symfony/process", - "version": "v7.1.1", + "version": "v7.1.3", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "febf90124323a093c7ee06fdb30e765ca3c20028" + "reference": "7f2f542c668ad6c313dc4a5e9c3321f733197eca" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/febf90124323a093c7ee06fdb30e765ca3c20028", - "reference": "febf90124323a093c7ee06fdb30e765ca3c20028", + "url": "https://api.github.com/repos/symfony/process/zipball/7f2f542c668ad6c313dc4a5e9c3321f733197eca", + "reference": "7f2f542c668ad6c313dc4a5e9c3321f733197eca", "shasum": "" }, "require": { @@ -3867,7 +3875,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v7.1.1" + "source": "https://github.com/symfony/process/tree/v7.1.3" }, "funding": [ { @@ -3883,7 +3891,7 @@ "type": "tidelift" } ], - "time": "2024-05-31T14:57:53+00:00" + "time": "2024-07-26T12:44:47+00:00" }, { "name": "symfony/service-contracts", @@ -4032,16 +4040,16 @@ }, { "name": "symfony/string", - "version": "v7.1.2", + "version": "v7.1.4", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "14221089ac66cf82e3cf3d1c1da65de305587ff8" + "reference": "6cd670a6d968eaeb1c77c2e76091c45c56bc367b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/14221089ac66cf82e3cf3d1c1da65de305587ff8", - "reference": "14221089ac66cf82e3cf3d1c1da65de305587ff8", + "url": "https://api.github.com/repos/symfony/string/zipball/6cd670a6d968eaeb1c77c2e76091c45c56bc367b", + "reference": "6cd670a6d968eaeb1c77c2e76091c45c56bc367b", "shasum": "" }, "require": { @@ -4099,7 +4107,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v7.1.2" + "source": "https://github.com/symfony/string/tree/v7.1.4" }, "funding": [ { @@ -4115,7 +4123,7 @@ "type": "tidelift" } ], - "time": "2024-06-28T09:27:18+00:00" + "time": "2024-08-12T09:59:40+00:00" }, { "name": "symfony/translation-contracts", @@ -4197,16 +4205,16 @@ }, { "name": "symfony/validator", - "version": "v7.1.2", + "version": "v7.1.4", "source": { "type": "git", "url": "https://github.com/symfony/validator.git", - "reference": "bed12b7d5bd4dac452db5fa6203331c876b489e7" + "reference": "0d7e0dfd41702d6b9356214b76110421c1e74368" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/validator/zipball/bed12b7d5bd4dac452db5fa6203331c876b489e7", - "reference": "bed12b7d5bd4dac452db5fa6203331c876b489e7", + "url": "https://api.github.com/repos/symfony/validator/zipball/0d7e0dfd41702d6b9356214b76110421c1e74368", + "reference": "0d7e0dfd41702d6b9356214b76110421c1e74368", "shasum": "" }, "require": { @@ -4274,7 +4282,7 @@ "description": "Provides tools to validate values", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/validator/tree/v7.1.2" + "source": "https://github.com/symfony/validator/tree/v7.1.4" }, "funding": [ { @@ -4290,20 +4298,20 @@ "type": "tidelift" } ], - "time": "2024-06-25T19:55:06+00:00" + "time": "2024-08-30T15:58:06+00:00" }, { "name": "symfony/var-dumper", - "version": "v7.1.2", + "version": "v7.1.4", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "5857c57c6b4b86524c08cf4f4bc95327270a816d" + "reference": "a5fa7481b199090964d6fd5dab6294d5a870c7aa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/5857c57c6b4b86524c08cf4f4bc95327270a816d", - "reference": "5857c57c6b4b86524c08cf4f4bc95327270a816d", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/a5fa7481b199090964d6fd5dab6294d5a870c7aa", + "reference": "a5fa7481b199090964d6fd5dab6294d5a870c7aa", "shasum": "" }, "require": { @@ -4357,7 +4365,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v7.1.2" + "source": "https://github.com/symfony/var-dumper/tree/v7.1.4" }, "funding": [ { @@ -4373,20 +4381,20 @@ "type": "tidelift" } ], - "time": "2024-06-28T08:00:31+00:00" + "time": "2024-08-30T16:12:47+00:00" }, { "name": "symfony/yaml", - "version": "v7.1.1", + "version": "v7.1.4", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "fa34c77015aa6720469db7003567b9f772492bf2" + "reference": "92e080b851c1c655c786a2da77f188f2dccd0f4b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/fa34c77015aa6720469db7003567b9f772492bf2", - "reference": "fa34c77015aa6720469db7003567b9f772492bf2", + "url": "https://api.github.com/repos/symfony/yaml/zipball/92e080b851c1c655c786a2da77f188f2dccd0f4b", + "reference": "92e080b851c1c655c786a2da77f188f2dccd0f4b", "shasum": "" }, "require": { @@ -4428,7 +4436,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v7.1.1" + "source": "https://github.com/symfony/yaml/tree/v7.1.4" }, "funding": [ { @@ -4444,7 +4452,7 @@ "type": "tidelift" } ], - "time": "2024-05-31T14:57:53+00:00" + "time": "2024-08-12T09:59:40+00:00" } ], "aliases": [], From 437bd97b92af9253245bb11827b967b06f9d59b5 Mon Sep 17 00:00:00 2001 From: bencromwell Date: Tue, 3 Sep 2024 08:31:05 +0000 Subject: [PATCH 2/2] feat(generator): new client automatically generated in GitHub Actions --- src/Core/Endpoint/DeleteAddressList.php | 10 +- src/Core/Endpoint/DeleteAddressListEntry.php | 10 +- src/Core/Endpoint/DeleteApiToken.php | 12 +- src/Core/Endpoint/DeleteDisk.php | 14 +- src/Core/Endpoint/DeleteDiskBackupPolicy.php | 12 +- .../DeleteDiskBackupPolicySchedule.php | 10 +- src/Core/Endpoint/DeleteDnsRecord.php | 10 +- src/Core/Endpoint/DeleteDnsZone.php | 10 +- src/Core/Endpoint/DeleteFileStorageVolume.php | 14 +- src/Core/Endpoint/DeleteIpAddress.php | 12 +- src/Core/Endpoint/DeleteLoadBalancer.php | 12 +- ...leteLoadBalancersRulesLoadBalancerRule.php | 12 +- src/Core/Endpoint/DeleteSecurityGroup.php | 14 +- ...teSecurityGroupsRulesSecurityGroupRule.php | 12 +- src/Core/Endpoint/DeleteSshKey.php | 12 +- src/Core/Endpoint/DeleteTag.php | 10 +- src/Core/Endpoint/DeleteTrashObject.php | 12 +- src/Core/Endpoint/DeleteVirtualMachine.php | 12 +- .../Endpoint/DeleteVirtualMachineGroup.php | 12 +- src/Core/Endpoint/GetAddressList.php | 10 +- src/Core/Endpoint/GetAddressListEntries.php | 10 +- src/Core/Endpoint/GetAddressListEntry.php | 10 +- src/Core/Endpoint/GetAddressLists.php | 8 +- src/Core/Endpoint/GetCertificate.php | 12 +- src/Core/Endpoint/GetCountries.php | 8 +- src/Core/Endpoint/GetCountry.php | 10 +- src/Core/Endpoint/GetCountryCountryStates.php | 10 +- src/Core/Endpoint/GetCountryState.php | 10 +- src/Core/Endpoint/GetCurrencies.php | 8 +- src/Core/Endpoint/GetCurrency.php | 10 +- src/Core/Endpoint/GetDataCenter.php | 10 +- .../Endpoint/GetDataCenterDefaultNetwork.php | 10 +- src/Core/Endpoint/GetDataCenterGpuTypes.php | 10 +- src/Core/Endpoint/GetDataCenters.php | 8 +- src/Core/Endpoint/GetDisk.php | 12 +- src/Core/Endpoint/GetDiskBackupPolicy.php | 12 +- .../Endpoint/GetDiskDiskBackupPolicies.php | 12 +- src/Core/Endpoint/GetDiskTemplate.php | 10 +- src/Core/Endpoint/GetDiskTemplateVersion.php | 10 +- .../Endpoint/GetDiskTemplateVersionSpec.php | 10 +- src/Core/Endpoint/GetDiskTemplateVersions.php | 10 +- src/Core/Endpoint/GetDnsRecord.php | 10 +- src/Core/Endpoint/GetDnsZone.php | 10 +- src/Core/Endpoint/GetDnsZoneRecords.php | 10 +- src/Core/Endpoint/GetFileStorageVolume.php | 12 +- src/Core/Endpoint/GetGpuType.php | 10 +- src/Core/Endpoint/GetGpuTypes.php | 8 +- src/Core/Endpoint/GetIpAddress.php | 10 +- src/Core/Endpoint/GetLoadBalancer.php | 10 +- src/Core/Endpoint/GetLoadBalancerRules.php | 10 +- .../GetLoadBalancersRulesLoadBalancerRule.php | 10 +- src/Core/Endpoint/GetNetwork.php | 10 +- src/Core/Endpoint/GetOperatingSystem.php | 10 +- src/Core/Endpoint/GetOperatingSystems.php | 8 +- src/Core/Endpoint/GetOrganization.php | 10 +- .../Endpoint/GetOrganizationAddressLists.php | 10 +- .../Endpoint/GetOrganizationApiTokens.php | 10 +- .../GetOrganizationAvailableNetworks.php | 10 +- .../Endpoint/GetOrganizationCertificates.php | 10 +- .../GetOrganizationDiskBackupPolicies.php | 10 +- .../GetOrganizationDiskIoProfiles.php | 10 +- .../Endpoint/GetOrganizationDiskTemplates.php | 8 +- src/Core/Endpoint/GetOrganizationDisks.php | 10 +- src/Core/Endpoint/GetOrganizationDnsZones.php | 10 +- .../GetOrganizationDnsZonesNameservers.php | 10 +- .../GetOrganizationFileStorageVolumes.php | 10 +- .../Endpoint/GetOrganizationIpAddresses.php | 10 +- .../Endpoint/GetOrganizationLoadBalancers.php | 10 +- src/Core/Endpoint/GetOrganizationManaged.php | 10 +- .../GetOrganizationNetworkSpeedProfiles.php | 10 +- src/Core/Endpoint/GetOrganizationPolicy.php | 8 +- .../Endpoint/GetOrganizationPolicyLimits.php | 10 +- src/Core/Endpoint/GetOrganizationPrices.php | 8 +- .../GetOrganizationSecurityGroups.php | 10 +- src/Core/Endpoint/GetOrganizationSshKeys.php | 10 +- src/Core/Endpoint/GetOrganizationTags.php | 10 +- .../Endpoint/GetOrganizationTrashObjects.php | 10 +- .../GetOrganizationUsersWithAccess.php | 10 +- .../GetOrganizationVirtualMachineGroups.php | 10 +- .../GetOrganizationVirtualMachines.php | 10 +- src/Core/Endpoint/GetOrganizations.php | 8 +- src/Core/Endpoint/GetSecurityGroup.php | 10 +- src/Core/Endpoint/GetSecurityGroupRules.php | 10 +- ...etSecurityGroupsRulesSecurityGroupRule.php | 10 +- src/Core/Endpoint/GetTag.php | 10 +- src/Core/Endpoint/GetTask.php | 10 +- src/Core/Endpoint/GetTrashObject.php | 10 +- src/Core/Endpoint/GetUsersCurrent.php | 10 +- src/Core/Endpoint/GetVMNIVMNI.php | 10 +- src/Core/Endpoint/GetVirtualMachine.php | 12 +- .../GetVirtualMachineAuthorizedKeys.php | 8 +- .../GetVirtualMachineDiskBackupPolicies.php | 12 +- src/Core/Endpoint/GetVirtualMachineDisks.php | 12 +- src/Core/Endpoint/GetVirtualMachineGroup.php | 10 +- .../GetVirtualMachineNetworkInterface.php | 10 +- ...orkInterfaceAvailableIpsAddressVersion.php | 10 +- .../GetVirtualMachineNetworkInterfaces.php | 12 +- .../Endpoint/GetVirtualMachinePackage.php | 10 +- .../Endpoint/GetVirtualMachinePackages.php | 10 +- ...rtualMachinesBuildsVirtualMachineBuild.php | 10 +- src/Core/Endpoint/GetZone.php | 10 +- src/Core/Endpoint/GetZones.php | 8 +- src/Core/Endpoint/PatchAddressList.php | 12 +- src/Core/Endpoint/PatchAddressListEntry.php | 12 +- src/Core/Endpoint/PatchApiToken.php | 12 +- src/Core/Endpoint/PatchDisk.php | 12 +- src/Core/Endpoint/PatchDiskBackupPolicy.php | 14 +- src/Core/Endpoint/PatchDnsRecord.php | 12 +- src/Core/Endpoint/PatchDnsZone.php | 12 +- src/Core/Endpoint/PatchFileStorageVolume.php | 14 +- src/Core/Endpoint/PatchIpAddress.php | 12 +- src/Core/Endpoint/PatchLoadBalancer.php | 12 +- ...atchLoadBalancersRulesLoadBalancerRule.php | 12 +- src/Core/Endpoint/PatchSecurityGroup.php | 12 +- ...chSecurityGroupsRulesSecurityGroupRule.php | 12 +- src/Core/Endpoint/PatchTag.php | 12 +- src/Core/Endpoint/PatchVirtualMachine.php | 12 +- .../Endpoint/PatchVirtualMachineGroup.php | 12 +- ...hineNetworkInterfaceUpdateSpeedProfile.php | 12 +- src/Core/Endpoint/PostAddressListEntries.php | 12 +- .../Endpoint/PostAddressListEntriesBulk.php | 12 +- .../Endpoint/PostApiTokenRegenerateSecret.php | 12 +- src/Core/Endpoint/PostDiskAssign.php | 12 +- src/Core/Endpoint/PostDiskAttach.php | 12 +- src/Core/Endpoint/PostDiskDetach.php | 12 +- .../Endpoint/PostDiskDiskBackupPolicies.php | 14 +- src/Core/Endpoint/PostDiskUnassign.php | 14 +- src/Core/Endpoint/PostDnsZoneRecords.php | 12 +- src/Core/Endpoint/PostDnsZoneVerify.php | 12 +- .../PostInvalidateLinkedWebSession.php | 6 +- src/Core/Endpoint/PostIpAddressUnallocate.php | 14 +- src/Core/Endpoint/PostLoadBalancerRules.php | 12 +- .../Endpoint/PostOrganizationAddressLists.php | 12 +- .../Endpoint/PostOrganizationApiTokens.php | 12 +- src/Core/Endpoint/PostOrganizationDisks.php | 14 +- .../Endpoint/PostOrganizationDnsZones.php | 12 +- .../PostOrganizationFileStorageVolumes.php | 12 +- .../Endpoint/PostOrganizationIpAddresses.php | 8 +- .../PostOrganizationLoadBalancers.php | 12 +- src/Core/Endpoint/PostOrganizationManaged.php | 10 +- .../PostOrganizationSecurityGroups.php | 12 +- src/Core/Endpoint/PostOrganizationSshKeys.php | 12 +- src/Core/Endpoint/PostOrganizationTags.php | 12 +- .../PostOrganizationTrashObjectsPurgeAll.php | 12 +- .../PostOrganizationVirtualMachineGroups.php | 12 +- .../PostOrganizationVirtualMachinesBuild.php | 8 +- ...ganizationVirtualMachinesBuildFromSpec.php | 10 +- src/Core/Endpoint/PostSecurityGroupRules.php | 12 +- src/Core/Endpoint/PostTrashObjectRestore.php | 10 +- .../Endpoint/PostVirtualMachineAllocateIp.php | 10 +- .../PostVirtualMachineConsoleSessions.php | 12 +- .../PostVirtualMachineDiskBackupPolicies.php | 14 +- ...rtualMachineNetworkInterfaceAllocateIp.php | 8 +- ...alMachineNetworkInterfaceAllocateNewIp.php | 8 +- src/Core/Endpoint/PostVirtualMachineReset.php | 10 +- .../Endpoint/PostVirtualMachineShutdown.php | 10 +- src/Core/Endpoint/PostVirtualMachineStart.php | 10 +- src/Core/Endpoint/PostVirtualMachineStop.php | 10 +- src/Core/Endpoint/PutDiskIoProfile.php | 8 +- src/Core/Endpoint/PutDiskResize.php | 12 +- .../PutVirtualMachineFlexibleResources.php | 10 +- .../Endpoint/PutVirtualMachinePackage.php | 8 +- .../APIAuthenticator400SchemaNormalizer.php | 12 +- .../APIAuthenticator503SchemaNormalizer.php | 12 +- .../APITokenArgumentsNormalizer.php | 12 +- .../Normalizer/APITokenLookupNormalizer.php | 12 +- src/Core/Normalizer/APITokenNormalizer.php | 12 +- .../AddressListArgumentsNormalizer.php | 12 +- ...esAddressListEntryDeleteBodyNormalizer.php | 16 +- ...eResponse200AddressListEntryNormalizer.php | 12 +- ...ssListEntryDeleteResponse200Normalizer.php | 16 +- ...tResponse200AddressListEntryNormalizer.php | 12 +- ...dressListEntryGetResponse200Normalizer.php | 16 +- ...iesAddressListEntryPatchBodyNormalizer.php | 20 +- ...hResponse200AddressListEntryNormalizer.php | 12 +- ...essListEntryPatchResponse200Normalizer.php | 16 +- .../AddressListEntryArgumentsNormalizer.php | 12 +- .../AddressListEntryLookupNormalizer.php | 12 +- .../Normalizer/AddressListEntryNormalizer.php | 12 +- .../AddressListLookupNormalizer.php | 12 +- src/Core/Normalizer/AddressListNormalizer.php | 16 +- ...ssListsAddressListDeleteBodyNormalizer.php | 16 +- ...DeleteResponse200AddressListNormalizer.php | 16 +- ...AddressListDeleteResponse200Normalizer.php | 16 +- ...dressListEntriesBulkPostBodyNormalizer.php | 24 +- ...stEntriesBulkPostResponse200Normalizer.php | 12 +- ...essListEntriesGetResponse200Normalizer.php | 20 +- ...tsAddressListEntriesPostBodyNormalizer.php | 20 +- ...tResponse201AddressListEntryNormalizer.php | 12 +- ...ssListEntriesPostResponse201Normalizer.php | 16 +- ...istGetResponse200AddressListNormalizer.php | 16 +- ...stsAddressListGetResponse200Normalizer.php | 20 +- ...essListsAddressListPatchBodyNormalizer.php | 24 +- ...tPatchResponse200AddressListNormalizer.php | 16 +- ...sAddressListPatchResponse200Normalizer.php | 20 +- .../AddressListsGetResponse200Normalizer.php | 20 +- .../ApiTokensApiTokenDeleteBodyNormalizer.php | 16 +- ...kenDeleteResponse200ApiTokenNormalizer.php | 12 +- ...ensApiTokenDeleteResponse200Normalizer.php | 16 +- .../ApiTokensApiTokenPatchBodyNormalizer.php | 24 +- ...okenPatchResponse200ApiTokenNormalizer.php | 12 +- ...kensApiTokenPatchResponse200Normalizer.php | 20 +- ...okenRegenerateSecretPostBodyNormalizer.php | 16 +- ...ecretPostResponse200ApiTokenNormalizer.php | 12 +- ...enerateSecretPostResponse200Normalizer.php | 16 +- src/Core/Normalizer/AttachmentNormalizer.php | 12 +- .../Normalizer/AuthSSHKeyLookupNormalizer.php | 12 +- src/Core/Normalizer/AuthSSHKeyNormalizer.php | 12 +- .../AuthSSHKeyPropertiesNormalizer.php | 12 +- .../CertificateLookupNormalizer.php | 12 +- src/Core/Normalizer/CertificateNormalizer.php | 12 +- ...tesCertificateGetResponse200Normalizer.php | 16 +- ...yCountryStatesGetResponse200Normalizer.php | 20 +- ...CountryGetResponse200CountryNormalizer.php | 12 +- ...untriesCountryGetResponse200Normalizer.php | 16 +- .../CountriesGetResponse200Normalizer.php | 20 +- src/Core/Normalizer/CountryNormalizer.php | 12 +- .../Normalizer/CountryStateNormalizer.php | 16 +- ...teGetResponse200CountryStateNormalizer.php | 16 +- ...esCountryStateGetResponse200Normalizer.php | 16 +- ...rrencyGetResponse200CurrencyNormalizer.php | 12 +- ...enciesCurrencyGetResponse200Normalizer.php | 16 +- .../CurrenciesGetResponse200Normalizer.php | 20 +- src/Core/Normalizer/CurrencyNormalizer.php | 12 +- .../DNSRecordArgumentsNormalizer.php | 16 +- ...ecordContentArgumentsForAAAANormalizer.php | 12 +- ...cordContentArgumentsForALIASNormalizer.php | 12 +- ...NSRecordContentArgumentsForANormalizer.php | 12 +- ...RecordContentArgumentsForCAANormalizer.php | 12 +- ...cordContentArgumentsForCNAMENormalizer.php | 12 +- ...RecordContentArgumentsForIPSNormalizer.php | 12 +- ...SRecordContentArgumentsForMXNormalizer.php | 12 +- ...SRecordContentArgumentsForNSNormalizer.php | 12 +- ...RecordContentArgumentsForPTRNormalizer.php | 12 +- ...RecordContentArgumentsForSRVNormalizer.php | 12 +- ...cordContentArgumentsForSSHFPNormalizer.php | 12 +- ...RecordContentArgumentsForTXTNormalizer.php | 12 +- ...ntArgumentsForVirtualMachineNormalizer.php | 12 +- .../DNSRecordContentArgumentsNormalizer.php | 64 +- ...SRecordContentAttributesAAAANormalizer.php | 12 +- ...RecordContentAttributesALIASNormalizer.php | 12 +- .../DNSRecordContentAttributesANormalizer.php | 12 +- ...NSRecordContentAttributesCAANormalizer.php | 12 +- ...RecordContentAttributesCNAMENormalizer.php | 12 +- ...NSRecordContentAttributesIPSNormalizer.php | 12 +- ...DNSRecordContentAttributesMXNormalizer.php | 12 +- ...DNSRecordContentAttributesNSNormalizer.php | 12 +- .../DNSRecordContentAttributesNormalizer.php | 64 +- ...NSRecordContentAttributesPTRNormalizer.php | 12 +- ...NSRecordContentAttributesSRVNormalizer.php | 12 +- ...RecordContentAttributesSSHFPNormalizer.php | 12 +- ...NSRecordContentAttributesTXTNormalizer.php | 12 +- ...tentAttributesVirtualMachineNormalizer.php | 12 +- .../Normalizer/DNSRecordLookupNormalizer.php | 12 +- src/Core/Normalizer/DNSRecordNormalizer.php | 16 +- .../Normalizer/DNSZoneArgumentsNormalizer.php | 12 +- .../Normalizer/DNSZoneLookupNormalizer.php | 12 +- src/Core/Normalizer/DNSZoneNormalizer.php | 12 +- .../Normalizer/DataCenterLookupNormalizer.php | 12 +- src/Core/Normalizer/DataCenterNormalizer.php | 16 +- .../DataCenterNotFoundSchemaNormalizer.php | 12 +- ...NetworkGetResponse200NetworkNormalizer.php | 16 +- ...DefaultNetworkGetResponse200Normalizer.php | 16 +- ...tersDataCenterGetResponse200Normalizer.php | 16 +- ...CenterGpuTypesGetResponse200Normalizer.php | 20 +- .../DataCentersGetResponse200Normalizer.php | 16 +- .../DecimalOrUnlimitedNormalizer.php | 12 +- ...eAPIToken200ResponseAPITokenNormalizer.php | 12 +- ...k200ResponseDiskInstallationNormalizer.php | 20 +- ...Disk200ResponseDiskIoProfileNormalizer.php | 12 +- .../DeleteDisk200ResponseDiskNormalizer.php | 28 +- ...sponseDiskVirtualMachineDiskNormalizer.php | 16 +- ...y200ResponseDiskBackupPolicyNormalizer.php | 12 +- ...e200ResponseDiskBackupPolicyNormalizer.php | 16 +- .../DeleteDiskPartDataCenterNormalizer.php | 12 +- ...teDiskPartVirtualMachineDiskNormalizer.php | 16 +- ...DeleteDiskPartVirtualMachineNormalizer.php | 12 +- ...200ResponseFileStorageVolumeNormalizer.php | 16 +- ...eStorageVolumePartDataCenterNormalizer.php | 12 +- ...ancer200ResponseLoadBalancerNormalizer.php | 12 +- ...e200ResponseLoadBalancerRuleNormalizer.php | 12 +- ...roup200ResponseSecurityGroupNormalizer.php | 12 +- ...200ResponseSecurityGroupRuleNormalizer.php | 12 +- ...nseVirtualMachineAttachedIsoNormalizer.php | 16 +- ...esponseVirtualMachineGpuTypeNormalizer.php | 12 +- ...0ResponseVirtualMachineGroupNormalizer.php | 12 +- ...onseVirtualMachineHypervisorNormalizer.php | 12 +- ...ine200ResponseVirtualMachineNormalizer.php | 52 +- ...esponseVirtualMachinePackageNormalizer.php | 20 +- ...eteVirtualMachinePartGPUTypeNormalizer.php | 12 +- .../DeletionRestrictedNormalizer.php | 12 +- .../Normalizer/DiskArgumentsNormalizer.php | 24 +- ...esDiskBackupPolicyDeleteBodyNormalizer.php | 16 +- ...eResponse200DiskBackupPolicyNormalizer.php | 12 +- ...ackupPolicyDeleteResponse200Normalizer.php | 16 +- ...tResponse200DiskBackupPolicyNormalizer.php | 20 +- ...skBackupPolicyGetResponse200Normalizer.php | 16 +- ...iesDiskBackupPolicyPatchBodyNormalizer.php | 20 +- ...hResponse200DiskBackupPolicyNormalizer.php | 16 +- ...BackupPolicyPatchResponse200Normalizer.php | 16 +- ...ckupPolicyScheduleDeleteBodyNormalizer.php | 16 +- ...eResponse200DiskBackupPolicyNormalizer.php | 16 +- ...icyScheduleDeleteResponse200Normalizer.php | 16 +- .../DiskBackupPolicyArgumentsNormalizer.php | 16 +- .../DiskBackupPolicyLookupNormalizer.php | 12 +- .../DiskBackupPolicyTargetNormalizer.php | 12 +- .../DiskIOProfileLookupNormalizer.php | 12 +- .../Normalizer/DiskIOProfileNormalizer.php | 12 +- .../DiskIOProfileNotFoundSchemaNormalizer.php | 12 +- .../DiskInstallationAttributeNormalizer.php | 12 +- .../Normalizer/DiskInstallationNormalizer.php | 20 +- .../Normalizer/DiskIoProfileNormalizer.php | 12 +- src/Core/Normalizer/DiskLookupNormalizer.php | 12 +- src/Core/Normalizer/DiskNormalizer.php | 28 +- .../DiskNotFoundSchemaNormalizer.php | 12 +- .../DiskTemplateLatestVersionNormalizer.php | 16 +- .../DiskTemplateLookupNormalizer.php | 12 +- .../Normalizer/DiskTemplateNormalizer.php | 20 +- .../DiskTemplateNotFoundSchemaNormalizer.php | 12 +- .../DiskTemplateOperatingSystemNormalizer.php | 16 +- .../DiskTemplateVersionNormalizer.php | 16 +- ...sponse200DiskTemplateVersionNormalizer.php | 16 +- ...emplateVersionGetResponse200Normalizer.php | 16 +- ...sponse200DiskTemplateVersionNormalizer.php | 16 +- ...ateVersionSpecGetResponse200Normalizer.php | 20 +- ...teGetResponse200DiskTemplateNormalizer.php | 20 +- ...esDiskTemplateGetResponse200Normalizer.php | 16 +- ...mplateVersionsGetResponse200Normalizer.php | 24 +- .../DiskVirtualMachineDiskNormalizer.php | 20 +- .../DisksDiskAssignPostBodyNormalizer.php | 20 +- ...iskAssignPostResponse200DiskNormalizer.php | 28 +- ...sksDiskAssignPostResponse200Normalizer.php | 16 +- .../DisksDiskAttachPostBodyNormalizer.php | 16 +- ...iskAttachPostResponse200DiskNormalizer.php | 28 +- ...sksDiskAttachPostResponse200Normalizer.php | 20 +- .../DisksDiskDeleteBodyNormalizer.php | 16 +- ...sksDiskDeleteResponse200DiskNormalizer.php | 28 +- .../DisksDiskDeleteResponse200Normalizer.php | 20 +- .../DisksDiskDetachPostBodyNormalizer.php | 16 +- ...iskDetachPostResponse200DiskNormalizer.php | 28 +- ...sksDiskDetachPostResponse200Normalizer.php | 20 +- ...BackupPoliciesGetResponse200Normalizer.php | 20 +- ...skDiskBackupPoliciesPostBodyNormalizer.php | 20 +- ...tResponse200DiskBackupPolicyNormalizer.php | 20 +- ...ackupPoliciesPostResponse200Normalizer.php | 16 +- .../DisksDiskGetResponse200DiskNormalizer.php | 28 +- .../DisksDiskGetResponse200Normalizer.php | 20 +- .../DisksDiskIoProfilePutBodyNormalizer.php | 20 +- ...kIoProfilePutResponse200DiskNormalizer.php | 28 +- ...sDiskIoProfilePutResponse200Normalizer.php | 20 +- .../DisksDiskPatchBodyNormalizer.php | 24 +- ...isksDiskPatchResponse200DiskNormalizer.php | 28 +- .../DisksDiskPatchResponse200Normalizer.php | 20 +- .../DisksDiskResizePutBodyNormalizer.php | 16 +- ...DiskResizePutResponse200DiskNormalizer.php | 28 +- ...isksDiskResizePutResponse200Normalizer.php | 20 +- .../DisksDiskUnassignPostBodyNormalizer.php | 16 +- ...kUnassignPostResponse200DiskNormalizer.php | 28 +- ...sDiskUnassignPostResponse200Normalizer.php | 16 +- ...nsRecordsDnsRecordDeleteBodyNormalizer.php | 16 +- ...dsDnsRecordDeleteResponse200Normalizer.php | 12 +- ...ecordGetResponse200DnsRecordNormalizer.php | 16 +- ...cordsDnsRecordGetResponse200Normalizer.php | 16 +- ...DnsRecordsDnsRecordPatchBodyNormalizer.php | 20 +- ...ordPatchResponse200DnsRecordNormalizer.php | 16 +- ...rdsDnsRecordPatchResponse200Normalizer.php | 16 +- .../DnsZonesDnsZoneDeleteBodyNormalizer.php | 16 +- ...onesDnsZoneDeleteResponse200Normalizer.php | 12 +- ...DnsZoneGetResponse200DnsZoneNormalizer.php | 12 +- ...nsZonesDnsZoneGetResponse200Normalizer.php | 16 +- .../DnsZonesDnsZonePatchBodyNormalizer.php | 20 +- ...sZonePatchResponse200DnsZoneNormalizer.php | 12 +- ...ZonesDnsZonePatchResponse200Normalizer.php | 16 +- ...DnsZoneRecordsGetResponse200Normalizer.php | 16 +- ...sZonesDnsZoneRecordsPostBodyNormalizer.php | 20 +- ...nsZoneRecordsPostResponse200Normalizer.php | 16 +- ...nsZonesDnsZoneVerifyPostBodyNormalizer.php | 16 +- ...VerifyPostResponse200DnsZoneNormalizer.php | 12 +- ...DnsZoneVerifyPostResponse200Normalizer.php | 16 +- .../FileStorageVolumeArgumentsNormalizer.php | 16 +- .../FileStorageVolumeLookupNormalizer.php | 12 +- ...sFileStorageVolumeDeleteBodyNormalizer.php | 16 +- ...Response200FileStorageVolumeNormalizer.php | 16 +- ...orageVolumeDeleteResponse200Normalizer.php | 20 +- ...Response200FileStorageVolumeNormalizer.php | 16 +- ...eStorageVolumeGetResponse200Normalizer.php | 20 +- ...esFileStorageVolumePatchBodyNormalizer.php | 24 +- ...Response200FileStorageVolumeNormalizer.php | 16 +- ...torageVolumePatchResponse200Normalizer.php | 20 +- .../FinancialPolicyLimitNormalizer.php | 16 +- ...vailableToOrganizationSchemaNormalizer.php | 12 +- .../GPUTypeDataCentersItemNormalizer.php | 16 +- .../Normalizer/GPUTypeLookupNormalizer.php | 12 +- src/Core/Normalizer/GPUTypeNormalizer.php | 16 +- ...Lists200ResponseAddressListsNormalizer.php | 12 +- ...ountries200ResponseCountriesNormalizer.php | 12 +- ...ates200ResponseCountryStatesNormalizer.php | 12 +- ...rencies200ResponseCurrenciesNormalizer.php | 12 +- ...aCenter200ResponseDataCenterNormalizer.php | 16 +- ...ultNetwork200ResponseNetworkNormalizer.php | 16 +- ...DefaultNetworkPartDataCenterNormalizer.php | 12 +- ...rGPUTypes200ResponseGPUTypesNormalizer.php | 12 +- .../GetDataCenterPartCountryNormalizer.php | 12 +- ...enters200ResponseDataCentersNormalizer.php | 16 +- .../GetDataCentersPartCountryNormalizer.php | 12 +- ...k200ResponseDiskInstallationNormalizer.php | 20 +- ...Disk200ResponseDiskIoProfileNormalizer.php | 12 +- .../GetDisk200ResponseDiskNormalizer.php | 28 +- ...sponseDiskVirtualMachineDiskNormalizer.php | 16 +- ...y200ResponseDiskBackupPolicyNormalizer.php | 20 +- ...00ResponseDiskBackupPoliciesNormalizer.php | 20 +- ...skBackupPoliciesPartScheduleNormalizer.php | 12 +- .../GetDiskPartDataCenterNormalizer.php | 12 +- ...etDiskPartVirtualMachineDiskNormalizer.php | 16 +- .../GetDiskPartVirtualMachineNormalizer.php | 12 +- ...nseDiskTemplateLatestVersionNormalizer.php | 12 +- ...plate200ResponseDiskTemplateNormalizer.php | 20 +- ...eDiskTemplateOperatingSystemNormalizer.php | 16 +- ...iskTemplatePartLatestVersionNormalizer.php | 12 +- ...0ResponseDiskTemplateVersionNormalizer.php | 16 +- ...plateVersionPartDiskTemplateNormalizer.php | 12 +- ...0ResponseDiskTemplateVersionNormalizer.php | 16 +- ...eVersionSpecPartDiskTemplateNormalizer.php | 12 +- ...sions200ResponseDiskTemplateNormalizer.php | 12 +- ...ResponseDiskTemplateVersionsNormalizer.php | 12 +- ...200ResponseFileStorageVolumeNormalizer.php | 16 +- ...eStorageVolumePartDataCenterNormalizer.php | 12 +- ...sponseGPUTypeDataCentersItemNormalizer.php | 12 +- ...GetGPUType200ResponseGPUTypeNormalizer.php | 16 +- .../GetGPUTypePartDataCentersNormalizer.php | 12 +- ...ponseGPUTypesDataCentersItemNormalizer.php | 12 +- ...tGPUTypes200ResponseGPUTypesNormalizer.php | 16 +- .../GetGPUTypesPartDataCentersNormalizer.php | 12 +- ...Address200ResponseAllocationNormalizer.php | 12 +- ...ancer200ResponseLoadBalancerNormalizer.php | 28 +- ...etLoadBalancerPartDataCenterNormalizer.php | 12 +- ...GetLoadBalancerPartIPAddressNormalizer.php | 12 +- ...200ResponseLoadBalancerRulesNormalizer.php | 16 +- ...alancerRulesPartCertificatesNormalizer.php | 12 +- ...e200ResponseLoadBalancerRuleNormalizer.php | 20 +- ...BalancerRulePartCertificatesNormalizer.php | 12 +- ...BalancerRulePartLoadBalancerNormalizer.php | 12 +- ...s200ResponseOperatingSystemsNormalizer.php | 12 +- ...Lists200ResponseAddressListsNormalizer.php | 12 +- ...eNetworks200ResponseNetworksNormalizer.php | 16 +- ...ks200ResponseVirtualNetworksNormalizer.php | 16 +- ...ilableNetworksPartDataCenterNormalizer.php | 12 +- ...cates200ResponseCertificatesNormalizer.php | 12 +- ...00ResponseDiskBackupPoliciesNormalizer.php | 20 +- ...skBackupPoliciesPartScheduleNormalizer.php | 12 +- ...seDiskTemplatesLatestVersionNormalizer.php | 12 +- ...ates200ResponseDiskTemplatesNormalizer.php | 20 +- ...DiskTemplatesOperatingSystemNormalizer.php | 12 +- ...skTemplatesPartLatestVersionNormalizer.php | 12 +- ...TemplatesPartOperatingSystemNormalizer.php | 12 +- ...nizationDisks200ResponseDiskNormalizer.php | 16 +- ...sponseDiskVirtualMachineDiskNormalizer.php | 16 +- ...nDisksPartVirtualMachineDiskNormalizer.php | 16 +- ...ationDisksPartVirtualMachineNormalizer.php | 12 +- ...00ResponseFileStorageVolumesNormalizer.php | 16 +- ...StorageVolumesPartDataCenterNormalizer.php | 12 +- ...resses200ResponseIPAddressesNormalizer.php | 12 +- ...cers200ResponseLoadBalancersNormalizer.php | 24 +- ...nLoadBalancersPartDataCenterNormalizer.php | 12 +- ...onLoadBalancersPartIPAddressNormalizer.php | 12 +- ...aged200ResponseOrganizationsNormalizer.php | 12 +- ...anizationTags200ResponseTagsNormalizer.php | 12 +- ...rsWithAccess200ResponseUsersNormalizer.php | 16 +- ...thAccess200ResponseUsersUserNormalizer.php | 12 +- ...sponseVirtualMachinesGpuTypeNormalizer.php | 12 +- ...nseVirtualMachinesHypervisorNormalizer.php | 12 +- ...es200ResponseVirtualMachinesNormalizer.php | 32 +- ...sponseVirtualMachinesPackageNormalizer.php | 12 +- ...onVirtualMachinesPartGPUTypeNormalizer.php | 12 +- ...irtualMachinesPartHypervisorNormalizer.php | 12 +- ...rtualMachinesPartIPAddressesNormalizer.php | 12 +- ...onVirtualMachinesPartPackageNormalizer.php | 12 +- ...ions200ResponseOrganizationsNormalizer.php | 12 +- ...00ResponseSecurityGroupRulesNormalizer.php | 12 +- ...200ResponseSecurityGroupRuleNormalizer.php | 16 +- ...tyGroupRulePartSecurityGroupNormalizer.php | 12 +- ...rent200ResponseOrganizationsNormalizer.php | 12 +- ...rtualMachineNetworkInterfaceNormalizer.php | 28 +- .../GetVMNIVMNIPartIPAddressesNormalizer.php | 12 +- .../GetVMNIVMNIPartNetworkNormalizer.php | 12 +- .../GetVMNIVMNIPartSpeedProfileNormalizer.php | 12 +- ...etVMNIVMNIPartVirtualMachineNormalizer.php | 12 +- ...nseVirtualMachineAttachedIsoNormalizer.php | 16 +- ...esponseVirtualMachineGpuTypeNormalizer.php | 12 +- ...0ResponseVirtualMachineGroupNormalizer.php | 12 +- ...onseVirtualMachineHypervisorNormalizer.php | 12 +- ...ine200ResponseVirtualMachineNormalizer.php | 52 +- ...esponseVirtualMachinePackageNormalizer.php | 20 +- ...00ResponseDiskBackupPoliciesNormalizer.php | 20 +- ...skBackupPoliciesPartScheduleNormalizer.php | 12 +- ...MachineDisks200ResponseDisksNormalizer.php | 16 +- ...tVirtualMachineDisksPartDiskNormalizer.php | 12 +- ...rtualMachineNetworkInterfaceNormalizer.php | 24 +- ...workInterfacePartIPAddressesNormalizer.php | 12 +- ...eNetworkInterfacePartNetworkNormalizer.php | 12 +- ...kInterfacePartVirtualMachineNormalizer.php | 12 +- ...tualMachineNetworkInterfacesNormalizer.php | 20 +- ...orkInterfacesPartIPAddressesNormalizer.php | 12 +- ...NetworkInterfacesPartNetworkNormalizer.php | 12 +- ...GetVirtualMachinePartGPUTypeNormalizer.php | 12 +- ...0ResponseVirtualMachineBuildNormalizer.php | 16 +- ...alMachineBuildVirtualMachineNormalizer.php | 12 +- ...chineBuildPartVirtualMachineNormalizer.php | 12 +- .../GetZones200ResponseZonesNormalizer.php | 16 +- .../GetZonesPartDataCenterNormalizer.php | 12 +- .../GpuTypesGetResponse200Normalizer.php | 20 +- ...puTypesGpuTypeGetResponse200Normalizer.php | 16 +- src/Core/Normalizer/HypervisorNormalizer.php | 12 +- .../Normalizer/IPAddressLookupNormalizer.php | 12 +- src/Core/Normalizer/IPAddressNormalizer.php | 16 +- .../IPAddressNotFoundSchemaNormalizer.php | 12 +- .../IPAlreadyAllocatedSchemaNormalizer.php | 12 +- src/Core/Normalizer/ISONormalizer.php | 16 +- .../ISOOperatingSystemNormalizer.php | 16 +- ...yNotLinkedToWebSessionSchemaNormalizer.php | 12 +- .../IntegerOrUnlimitedNormalizer.php | 12 +- .../Normalizer/IntegerValueNormalizer.php | 12 +- .../InterfaceNotFoundSchemaNormalizer.php | 12 +- .../Normalizer/InvalidAPITokenNormalizer.php | 12 +- .../InvalidAPITokenSchemaNormalizer.php | 16 +- ...validCapabilitiesTokenSchemaNormalizer.php | 12 +- .../Normalizer/InvalidIPSchemaNormalizer.php | 12 +- .../Normalizer/InvalidSpecXMLNormalizer.php | 12 +- .../InvalidSpecXMLSchemaNormalizer.php | 16 +- .../InvalidTimestampSchemaNormalizer.php | 12 +- ...dateLinkedWebSessionPostBodyNormalizer.php | 12 +- ...kedWebSessionPostResponse200Normalizer.php | 12 +- ...AddressesIpAddressDeleteBodyNormalizer.php | 16 +- ...esIpAddressDeleteResponse200Normalizer.php | 12 +- ...ressGetResponse200AllocationNormalizer.php | 12 +- ...dressGetResponse200IpAddressNormalizer.php | 16 +- ...essesIpAddressGetResponse200Normalizer.php | 20 +- ...pAddressesIpAddressPatchBodyNormalizer.php | 16 +- ...essPatchResponse200IpAddressNormalizer.php | 16 +- ...sesIpAddressPatchResponse200Normalizer.php | 16 +- ...sIpAddressUnallocatePostBodyNormalizer.php | 16 +- ...essUnallocatePostResponse200Normalizer.php | 12 +- src/Core/Normalizer/JaneObjectNormalizer.php | 6796 ++++++++++++----- src/Core/Normalizer/KeyValueNormalizer.php | 12 +- .../LoadBalancerArgumentsNormalizer.php | 20 +- .../LoadBalancerLookupNormalizer.php | 12 +- .../LoadBalancerResourceNormalizer.php | 12 +- .../LoadBalancerRuleArgumentsNormalizer.php | 16 +- .../LoadBalancerRuleLookupNormalizer.php | 12 +- .../LoadBalancerWeightNormalizer.php | 12 +- ...LoadBalancerWeightsArgumentsNormalizer.php | 12 +- ...ancersLoadBalancerDeleteBodyNormalizer.php | 16 +- ...eleteResponse200LoadBalancerNormalizer.php | 12 +- ...oadBalancerDeleteResponse200Normalizer.php | 16 +- ...erGetResponse200LoadBalancerNormalizer.php | 28 +- ...rsLoadBalancerGetResponse200Normalizer.php | 20 +- ...lancersLoadBalancerPatchBodyNormalizer.php | 24 +- ...PatchResponse200LoadBalancerNormalizer.php | 28 +- ...LoadBalancerPatchResponse200Normalizer.php | 20 +- ...dBalancerRulesGetResponse200Normalizer.php | 20 +- ...ersLoadBalancerRulesPostBodyNormalizer.php | 20 +- ...tResponse200LoadBalancerRuleNormalizer.php | 20 +- ...BalancerRulesPostResponse200Normalizer.php | 16 +- ...esLoadBalancerRuleDeleteBodyNormalizer.php | 16 +- ...eResponse200LoadBalancerRuleNormalizer.php | 12 +- ...alancerRuleDeleteResponse200Normalizer.php | 16 +- ...tResponse200LoadBalancerRuleNormalizer.php | 20 +- ...adBalancerRuleGetResponse200Normalizer.php | 16 +- ...lesLoadBalancerRulePatchBodyNormalizer.php | 20 +- ...hResponse200LoadBalancerRuleNormalizer.php | 20 +- ...BalancerRulePatchResponse200Normalizer.php | 16 +- .../LocationRequiredSchemaNormalizer.php | 12 +- .../Normalizer/NetworkLookupNormalizer.php | 12 +- src/Core/Normalizer/NetworkNormalizer.php | 16 +- .../NetworkNotFoundSchemaNormalizer.php | 12 +- .../NetworkSpeedProfileLookupNormalizer.php | 12 +- .../NetworkSpeedProfileNormalizer.php | 12 +- ...rkSpeedProfileNotFoundSchemaNormalizer.php | 12 +- ...NetworkGetResponse200NetworkNormalizer.php | 16 +- ...etworksNetworkGetResponse200Normalizer.php | 16 +- .../NoAvailableAddressesSchemaNormalizer.php | 12 +- .../NoInterfaceAvailableSchemaNormalizer.php | 12 +- .../Normalizer/ObjectInTrashNormalizer.php | 16 +- .../ObjectInTrashSchemaNormalizer.php | 16 +- .../ObjectInTrashTrashObjectNormalizer.php | 12 +- .../OneSystemDiskRequiredSchemaNormalizer.php | 12 +- .../OperatingSystemBadgeNormalizer.php | 12 +- .../Normalizer/OperatingSystemNormalizer.php | 16 +- ...peratingSystemNotFoundSchemaNormalizer.php | 12 +- ...eratingSystemsGetResponse200Normalizer.php | 20 +- ...peratingSystemGetResponse200Normalizer.php | 16 +- ...etResponse200OperatingSystemNormalizer.php | 16 +- .../OrganizationCountryNormalizer.php | 12 +- .../OrganizationCountryStateNormalizer.php | 16 +- ...ganizationLimitReachedSchemaNormalizer.php | 12 +- .../OrganizationLookupNormalizer.php | 12 +- .../Normalizer/OrganizationNormalizer.php | 24 +- ...ganizationNotActivatedSchemaNormalizer.php | 12 +- .../OrganizationNotFoundSchemaNormalizer.php | 12 +- .../OrganizationPolicyNormalizer.php | 72 +- .../OrganizationSuspendedSchemaNormalizer.php | 12 +- .../OrganizationsGetResponse200Normalizer.php | 16 +- ...onAddressListsGetResponse200Normalizer.php | 20 +- ...nizationAddressListsPostBodyNormalizer.php | 24 +- ...tsPostResponse201AddressListNormalizer.php | 16 +- ...nAddressListsPostResponse201Normalizer.php | 20 +- ...ationApiTokensGetResponse200Normalizer.php | 20 +- ...rganizationApiTokensPostBodyNormalizer.php | 24 +- ...okensPostResponse200ApiTokenNormalizer.php | 12 +- ...tionApiTokensPostResponse200Normalizer.php | 20 +- ...ilableNetworksGetResponse200Normalizer.php | 20 +- ...onCertificatesGetResponse200Normalizer.php | 20 +- ...BackupPoliciesGetResponse200Normalizer.php | 20 +- ...DiskIoProfilesGetResponse200Normalizer.php | 20 +- ...nDiskTemplatesGetResponse200Normalizer.php | 20 +- ...anizationDisksGetResponse200Normalizer.php | 20 +- ...onsOrganizationDisksPostBodyNormalizer.php | 24 +- ...tionDisksPostResponse201DiskNormalizer.php | 28 +- ...nizationDisksPostResponse201Normalizer.php | 24 +- ...zationDnsZonesGetResponse200Normalizer.php | 20 +- ...nesNameserversGetResponse200Normalizer.php | 12 +- ...OrganizationDnsZonesPostBodyNormalizer.php | 20 +- ...sZonesPostResponse201DnsZoneNormalizer.php | 12 +- ...ationDnsZonesPostResponse201Normalizer.php | 16 +- ...StorageVolumesGetResponse200Normalizer.php | 20 +- ...onFileStorageVolumesPostBodyNormalizer.php | 24 +- ...Response201FileStorageVolumeNormalizer.php | 16 +- ...torageVolumesPostResponse201Normalizer.php | 20 +- ...nsOrganizationGetResponse200Normalizer.php | 16 +- ...ionIpAddressesGetResponse200Normalizer.php | 20 +- ...anizationIpAddressesPostBodyNormalizer.php | 20 +- ...ssesPostResponse200IpAddressNormalizer.php | 16 +- ...onIpAddressesPostResponse200Normalizer.php | 16 +- ...nLoadBalancersGetResponse200Normalizer.php | 20 +- ...izationLoadBalancersPostBodyNormalizer.php | 24 +- ...sPostResponse201LoadBalancerNormalizer.php | 28 +- ...LoadBalancersPostResponse201Normalizer.php | 20 +- ...izationManagedGetResponse200Normalizer.php | 20 +- ...sOrganizationManagedPostBodyNormalizer.php | 20 +- ...zationManagedPostResponse201Normalizer.php | 20 +- ...kSpeedProfilesGetResponse200Normalizer.php | 20 +- ...nizationPolicyGetResponse200Normalizer.php | 20 +- ...onPolicyLimitsGetResponse200Normalizer.php | 16 +- ...nizationPricesGetResponse200Normalizer.php | 20 +- ...SecurityGroupsGetResponse200Normalizer.php | 20 +- ...zationSecurityGroupsPostBodyNormalizer.php | 24 +- ...ecurityGroupsPostResponse200Normalizer.php | 20 +- ...PostResponse200SecurityGroupNormalizer.php | 12 +- ...izationSshKeysGetResponse200Normalizer.php | 20 +- ...sOrganizationSshKeysPostBodyNormalizer.php | 20 +- ...zationSshKeysPostResponse201Normalizer.php | 16 +- ...ganizationTagsGetResponse200Normalizer.php | 20 +- ...ionsOrganizationTagsPostBodyNormalizer.php | 20 +- ...anizationTagsPostResponse200Normalizer.php | 16 +- ...zationTagsPostResponse200TagNormalizer.php | 12 +- ...onTrashObjectsGetResponse200Normalizer.php | 20 +- ...TrashObjectsPurgeAllPostBodyNormalizer.php | 16 +- ...jectsPurgeAllPostResponse200Normalizer.php | 16 +- ...sersWithAccessGetResponse200Normalizer.php | 20 +- ...lMachineGroupsGetResponse200Normalizer.php | 16 +- ...VirtualMachineGroupsPostBodyNormalizer.php | 20 +- ...MachineGroupsPostResponse200Normalizer.php | 16 +- ...sponse200VirtualMachineGroupNormalizer.php | 12 +- ...achinesBuildFromSpecPostBodyNormalizer.php | 20 +- ...FromSpecPostResponse201BuildNormalizer.php | 12 +- ...BuildFromSpecPostResponse201Normalizer.php | 28 +- ...VirtualMachinesBuildPostBodyNormalizer.php | 48 +- ...nesBuildPostResponse201BuildNormalizer.php | 12 +- ...MachinesBuildPostResponse201Normalizer.php | 28 +- ...irtualMachinesGetResponse200Normalizer.php | 20 +- .../Normalizer/PaginationObjectNormalizer.php | 12 +- ...k200ResponseDiskInstallationNormalizer.php | 20 +- ...Disk200ResponseDiskIoProfileNormalizer.php | 12 +- .../PatchDisk200ResponseDiskNormalizer.php | 28 +- ...sponseDiskVirtualMachineDiskNormalizer.php | 16 +- ...y200ResponseDiskBackupPolicyNormalizer.php | 16 +- .../PatchDiskPartDataCenterNormalizer.php | 12 +- ...chDiskPartVirtualMachineDiskNormalizer.php | 16 +- .../PatchDiskPartVirtualMachineNormalizer.php | 12 +- ...200ResponseFileStorageVolumeNormalizer.php | 16 +- ...eStorageVolumePartDataCenterNormalizer.php | 12 +- ...ancer200ResponseLoadBalancerNormalizer.php | 28 +- ...chLoadBalancerPartDataCenterNormalizer.php | 12 +- ...tchLoadBalancerPartIPAddressNormalizer.php | 12 +- ...e200ResponseLoadBalancerRuleNormalizer.php | 20 +- ...BalancerRulePartCertificatesNormalizer.php | 12 +- ...BalancerRulePartLoadBalancerNormalizer.php | 12 +- ...200ResponseSecurityGroupRuleNormalizer.php | 16 +- ...tyGroupRulePartSecurityGroupNormalizer.php | 12 +- ...nseVirtualMachineAttachedIsoNormalizer.php | 16 +- ...esponseVirtualMachineGpuTypeNormalizer.php | 12 +- ...0ResponseVirtualMachineGroupNormalizer.php | 12 +- ...onseVirtualMachineHypervisorNormalizer.php | 12 +- ...ine200ResponseVirtualMachineNormalizer.php | 52 +- ...esponseVirtualMachinePackageNormalizer.php | 20 +- ...tchVirtualMachinePartGPUTypeNormalizer.php | 12 +- .../Normalizer/PermissionDeniedNormalizer.php | 12 +- .../PermissionDeniedSchemaNormalizer.php | 16 +- .../Normalizer/PolicyFeatureNormalizer.php | 12 +- .../Normalizer/PolicyFeaturesNormalizer.php | 32 +- src/Core/Normalizer/PolicyLimitNormalizer.php | 12 +- .../PolicyLimitWithoutCurrentNormalizer.php | 12 +- .../Normalizer/PolicyLimitsNormalizer.php | 72 +- ...orManagedOrganizationsSchemaNormalizer.php | 12 +- ...n200ResponseDiskInstallationNormalizer.php | 20 +- ...sign200ResponseDiskIoProfileNormalizer.php | 12 +- ...ostDiskAssign200ResponseDiskNormalizer.php | 28 +- ...sponseDiskVirtualMachineDiskNormalizer.php | 16 +- ...PostDiskAssignPartDataCenterNormalizer.php | 12 +- ...AssignPartVirtualMachineDiskNormalizer.php | 16 +- ...DiskAssignPartVirtualMachineNormalizer.php | 12 +- ...h200ResponseDiskInstallationNormalizer.php | 20 +- ...tach200ResponseDiskIoProfileNormalizer.php | 12 +- ...ostDiskAttach200ResponseDiskNormalizer.php | 28 +- ...sponseDiskVirtualMachineDiskNormalizer.php | 16 +- ...PostDiskAttachPartDataCenterNormalizer.php | 12 +- ...AttachPartVirtualMachineDiskNormalizer.php | 16 +- ...DiskAttachPartVirtualMachineNormalizer.php | 12 +- ...h200ResponseDiskInstallationNormalizer.php | 20 +- ...tach200ResponseDiskIoProfileNormalizer.php | 12 +- ...ostDiskDetach200ResponseDiskNormalizer.php | 28 +- ...sponseDiskVirtualMachineDiskNormalizer.php | 16 +- ...PostDiskDetachPartDataCenterNormalizer.php | 12 +- ...DetachPartVirtualMachineDiskNormalizer.php | 16 +- ...DiskDetachPartVirtualMachineNormalizer.php | 12 +- ...s200ResponseDiskBackupPolicyNormalizer.php | 20 +- ...n200ResponseDiskInstallationNormalizer.php | 20 +- ...sign200ResponseDiskIoProfileNormalizer.php | 12 +- ...tDiskUnassign200ResponseDiskNormalizer.php | 28 +- ...sponseDiskVirtualMachineDiskNormalizer.php | 16 +- ...stDiskUnassignPartDataCenterNormalizer.php | 12 +- ...assignPartVirtualMachineDiskNormalizer.php | 16 +- ...skUnassignPartVirtualMachineNormalizer.php | 12 +- ...s200ResponseLoadBalancerRuleNormalizer.php | 20 +- ...alancerRulesPartCertificatesNormalizer.php | 12 +- ...alancerRulesPartLoadBalancerNormalizer.php | 12 +- ...s201ResponseDiskInstallationNormalizer.php | 20 +- ...isks201ResponseDiskIoProfileNormalizer.php | 12 +- ...nizationDisks201ResponseDiskNormalizer.php | 28 +- ...sponseDiskVirtualMachineDiskNormalizer.php | 16 +- ...anizationDisksPartDataCenterNormalizer.php | 12 +- ...nDisksPartVirtualMachineDiskNormalizer.php | 16 +- ...ationDisksPartVirtualMachineNormalizer.php | 12 +- ...201ResponseFileStorageVolumeNormalizer.php | 16 +- ...StorageVolumesPartDataCenterNormalizer.php | 12 +- ...ncers201ResponseLoadBalancerNormalizer.php | 28 +- ...nLoadBalancersPartDataCenterNormalizer.php | 12 +- ...onLoadBalancersPartIPAddressNormalizer.php | 12 +- ...achinesBuild201ResponseBuildNormalizer.php | 12 +- ...MachinesBuild201ResponseTaskNormalizer.php | 12 +- ...1ResponseVirtualMachineBuildNormalizer.php | 12 +- ...uildFromSpec201ResponseBuildNormalizer.php | 12 +- ...BuildFromSpec201ResponseTaskNormalizer.php | 12 +- ...1ResponseVirtualMachineBuildNormalizer.php | 12 +- ...200ResponseSecurityGroupRuleNormalizer.php | 16 +- ...yGroupRulesPartSecurityGroupNormalizer.php | 12 +- ...ons201ResponseConsoleSessionNormalizer.php | 16 +- ...leSessionsPartVirtualMachineNormalizer.php | 12 +- ...s200ResponseDiskBackupPolicyNormalizer.php | 20 +- ...rtualMachineNetworkInterfaceNormalizer.php | 24 +- ...aceAllocateIPPartIPAddressesNormalizer.php | 12 +- ...terfaceAllocateIPPartNetworkNormalizer.php | 12 +- ...AllocateIPPartVirtualMachineNormalizer.php | 12 +- ...lMachineReset200ResponseTaskNormalizer.php | 12 +- ...chineShutdown200ResponseTaskNormalizer.php | 12 +- ...lMachineStart200ResponseTaskNormalizer.php | 12 +- ...alMachineStop200ResponseTaskNormalizer.php | 12 +- ...sourceWithSinglePriceVariantNormalizer.php | 16 +- ...orManagedOrganizationsSchemaNormalizer.php | 12 +- ...e200ResponseDiskInstallationNormalizer.php | 20 +- ...file200ResponseDiskIoProfileNormalizer.php | 12 +- ...DiskIOProfile200ResponseDiskNormalizer.php | 28 +- ...sponseDiskVirtualMachineDiskNormalizer.php | 16 +- ...tDiskIOProfilePartDataCenterNormalizer.php | 12 +- ...rofilePartVirtualMachineDiskNormalizer.php | 16 +- ...kIOProfilePartVirtualMachineNormalizer.php | 12 +- ...e200ResponseDiskInstallationNormalizer.php | 20 +- ...size200ResponseDiskIoProfileNormalizer.php | 12 +- ...PutDiskResize200ResponseDiskNormalizer.php | 28 +- ...sponseDiskVirtualMachineDiskNormalizer.php | 16 +- .../PutDiskResizePartDataCenterNormalizer.php | 12 +- ...ResizePartVirtualMachineDiskNormalizer.php | 16 +- ...DiskResizePartVirtualMachineNormalizer.php | 12 +- .../Normalizer/RateLimitReachedNormalizer.php | 12 +- ...cordContentAttributesForAAAANormalizer.php | 12 +- ...ordContentAttributesForALIASNormalizer.php | 12 +- .../RecordContentAttributesForANormalizer.php | 12 +- ...ecordContentAttributesForCAANormalizer.php | 12 +- ...ordContentAttributesForCNAMENormalizer.php | 12 +- ...ecordContentAttributesForIPSNormalizer.php | 12 +- ...RecordContentAttributesForMXNormalizer.php | 12 +- ...RecordContentAttributesForNSNormalizer.php | 12 +- ...ecordContentAttributesForPTRNormalizer.php | 12 +- ...ecordContentAttributesForSRVNormalizer.php | 12 +- ...ordContentAttributesForSSHFPNormalizer.php | 12 +- ...ecordContentAttributesForTXTNormalizer.php | 12 +- ...tAttributesForVirtualMachineNormalizer.php | 12 +- .../ResourceCreationRestrictedNormalizer.php | 12 +- ...urceCreationRestrictedSchemaNormalizer.php | 16 +- ...eAPIAuthenticator400ResponseNormalizer.php | 12 +- ...eAPIAuthenticator429ResponseNormalizer.php | 16 +- ...eAPIAuthenticator503ResponseNormalizer.php | 12 +- ...onseAPITokenNotFoundResponseNormalizer.php | 12 +- ...essListEntryNotFoundResponseNormalizer.php | 12 +- ...eAddressListNotFoundResponseNormalizer.php | 12 +- ...eCertificateNotFoundResponseNormalizer.php | 12 +- ...ponseCountryNotFoundResponseNormalizer.php | 12 +- ...CountryStateNotFoundResponseNormalizer.php | 12 +- ...onseCurrencyNotFoundResponseNormalizer.php | 12 +- ...nseDNSRecordNotFoundResponseNormalizer.php | 12 +- ...ponseDNSZoneNotFoundResponseNormalizer.php | 12 +- ...seDNSZoneNotVerifiedResponseNormalizer.php | 12 +- ...seDataCenterNotFoundResponseNormalizer.php | 12 +- ...seDeletionRestrictedResponseNormalizer.php | 16 +- ...BackupPolicyNotFoundResponseNormalizer.php | 12 +- ...ResponseDiskNotFoundResponseNormalizer.php | 12 +- ...DiskTemplateNotFoundResponseNormalizer.php | 12 +- ...plateVersionNotFoundResponseNormalizer.php | 12 +- ...torageVolumeNotFoundResponseNormalizer.php | 12 +- ...ponseGPUTypeNotFoundResponseNormalizer.php | 12 +- ...nseIPAddressNotFoundResponseNormalizer.php | 12 +- ...LoadBalancerNotFoundResponseNormalizer.php | 12 +- ...BalancerRuleNotFoundResponseNormalizer.php | 12 +- ...ponseNetworkNotFoundResponseNormalizer.php | 12 +- ...ResponseNoAllocationResponseNormalizer.php | 12 +- ...sociatedWithIdentityResponseNormalizer.php | 12 +- ...alMachineForAPITokenResponseNormalizer.php | 12 +- ...esponseObjectInTrashResponseNormalizer.php | 16 +- ...ratingSystemNotFoundResponseNormalizer.php | 12 +- ...OrganizationNotFoundResponseNormalizer.php | 12 +- ...tSupportUnallocationResponseNormalizer.php | 12 +- ...sponseSSHKeyNotFoundResponseNormalizer.php | 12 +- ...ecurityGroupNotFoundResponseNormalizer.php | 12 +- ...ityGroupRuleNotFoundResponseNormalizer.php | 12 +- ...ofileAlreadyAssignedResponseNormalizer.php | 12 +- .../ResponseTagNotFoundResponseNormalizer.php | 12 +- ...ResponseTaskNotFoundResponseNormalizer.php | 12 +- ...nseTaskQueueingErrorResponseNormalizer.php | 16 +- ...eTrashObjectNotFoundResponseNormalizer.php | 12 +- ...sponseUnableToAssignResponseNormalizer.php | 16 +- ...onseUnableToUnassignResponseNormalizer.php | 16 +- ...sponseUnassignedDiskResponseNormalizer.php | 12 +- ...ponseValidationErrorResponseNormalizer.php | 16 +- ...MachineBuildNotFoundResponseNormalizer.php | 12 +- ...MachineGroupNotFoundResponseNormalizer.php | 12 +- ...orkInterfaceNotFoundResponseNormalizer.php | 12 +- ...rtualMachineNotFoundResponseNormalizer.php | 12 +- ...chinePackageNotFoundResponseNormalizer.php | 12 +- ...ResponseZoneNotFoundResponseNormalizer.php | 12 +- .../ScheduleArgumentsNormalizer.php | 12 +- src/Core/Normalizer/ScheduleNormalizer.php | 12 +- .../ScopeNotGrantedErrorNormalizer.php | 12 +- .../ScopeNotGrantedErrorSchemaNormalizer.php | 16 +- .../SecurityGroupArgumentsNormalizer.php | 12 +- .../SecurityGroupLookupNormalizer.php | 12 +- .../Normalizer/SecurityGroupNormalizer.php | 12 +- .../SecurityGroupRuleArgumentsNormalizer.php | 12 +- .../SecurityGroupRuleLookupNormalizer.php | 12 +- ...sSecurityGroupRuleDeleteBodyNormalizer.php | 16 +- ...tyGroupRuleDeleteResponse200Normalizer.php | 16 +- ...Response200SecurityGroupRuleNormalizer.php | 12 +- ...urityGroupRuleGetResponse200Normalizer.php | 16 +- ...Response200SecurityGroupRuleNormalizer.php | 16 +- ...esSecurityGroupRulePatchBodyNormalizer.php | 20 +- ...ityGroupRulePatchResponse200Normalizer.php | 16 +- ...Response200SecurityGroupRuleNormalizer.php | 16 +- ...roupsSecurityGroupDeleteBodyNormalizer.php | 16 +- ...curityGroupDeleteResponse200Normalizer.php | 16 +- ...leteResponse200SecurityGroupNormalizer.php | 12 +- ...sSecurityGroupGetResponse200Normalizer.php | 20 +- ...pGetResponse200SecurityGroupNormalizer.php | 12 +- ...GroupsSecurityGroupPatchBodyNormalizer.php | 24 +- ...ecurityGroupPatchResponse200Normalizer.php | 20 +- ...atchResponse200SecurityGroupNormalizer.php | 12 +- ...rityGroupRulesGetResponse200Normalizer.php | 20 +- ...psSecurityGroupRulesPostBodyNormalizer.php | 20 +- ...ityGroupRulesPostResponse200Normalizer.php | 16 +- ...Response200SecurityGroupRuleNormalizer.php | 16 +- .../SinglePriceVariantNormalizer.php | 12 +- .../SshKeysSshKeyDeleteBodyNormalizer.php | 16 +- ...hKeysSshKeyDeleteResponse200Normalizer.php | 16 +- .../Normalizer/TagArgumentsNormalizer.php | 12 +- src/Core/Normalizer/TagLookupNormalizer.php | 12 +- src/Core/Normalizer/TagNormalizer.php | 12 +- .../TagsTagDeleteBodyNormalizer.php | 16 +- .../TagsTagDeleteResponse200Normalizer.php | 16 +- .../TagsTagDeleteResponse200TagNormalizer.php | 12 +- .../TagsTagGetResponse200Normalizer.php | 16 +- .../TagsTagGetResponse200TagNormalizer.php | 12 +- .../Normalizer/TagsTagPatchBodyNormalizer.php | 20 +- .../TagsTagPatchResponse200Normalizer.php | 16 +- .../TagsTagPatchResponse200TagNormalizer.php | 12 +- src/Core/Normalizer/TaskNormalizer.php | 12 +- .../TaskQueueingErrorNormalizer.php | 12 +- .../TaskQueueingErrorSchemaNormalizer.php | 16 +- .../TasksTaskGetResponse200Normalizer.php | 16 +- .../TemplateSpecFieldNormalizer.php | 12 +- .../Normalizer/TemplateSpecNormalizer.php | 16 +- .../TrashObjectLookupNormalizer.php | 12 +- src/Core/Normalizer/TrashObjectNormalizer.php | 12 +- ...ObjectsTrashObjectDeleteBodyNormalizer.php | 16 +- ...TrashObjectDeleteResponse200Normalizer.php | 16 +- ...ctsTrashObjectGetResponse200Normalizer.php | 16 +- ...ectGetResponse200TrashObjectNormalizer.php | 12 +- ...tsTrashObjectRestorePostBodyNormalizer.php | 16 +- ...ObjectRestorePostResponse200Normalizer.php | 16 +- ...rePostResponse200TrashObjectNormalizer.php | 12 +- .../Normalizer/UnableToAssignNormalizer.php | 12 +- .../Normalizer/UnableToUnassignNormalizer.php | 12 +- .../UnassignedDiskSchemaNormalizer.php | 12 +- ...authorizedNetworkForAPITokenNormalizer.php | 12 +- ...izedNetworkForAPITokenSchemaNormalizer.php | 16 +- src/Core/Normalizer/UserNormalizer.php | 12 +- .../UsersCurrentGetResponse200Normalizer.php | 20 +- .../Normalizer/ValidationErrorNormalizer.php | 12 +- .../ValidationErrorSchemaNormalizer.php | 16 +- .../VirtualMachineArgumentsNormalizer.php | 20 +- .../VirtualMachineAttachedIsoNormalizer.php | 16 +- ...ualMachineBuildDiskArgumentsNormalizer.php | 16 +- .../VirtualMachineDiskArgumentsNormalizer.php | 16 +- .../VirtualMachineDiskNormalizer.php | 20 +- ...tualMachineFlexibleResourcesNormalizer.php | 12 +- .../VirtualMachineGPUNormalizer.php | 16 +- .../VirtualMachineGpuTypeNormalizer.php | 16 +- ...VirtualMachineGroupArgumentsNormalizer.php | 12 +- .../VirtualMachineGroupLookupNormalizer.php | 12 +- .../VirtualMachineGroupNormalizer.php | 12 +- ...irtualMachineGroupDeleteBodyNormalizer.php | 16 +- ...achineGroupDeleteResponse200Normalizer.php | 16 +- ...sponse200VirtualMachineGroupNormalizer.php | 12 +- ...alMachineGroupGetResponse200Normalizer.php | 16 +- ...sponse200VirtualMachineGroupNormalizer.php | 12 +- ...VirtualMachineGroupPatchBodyNormalizer.php | 20 +- ...MachineGroupPatchResponse200Normalizer.php | 16 +- ...sponse200VirtualMachineGroupNormalizer.php | 12 +- .../VirtualMachineHypervisorNormalizer.php | 12 +- .../VirtualMachineLookupNormalizer.php | 12 +- .../VirtualMachineMustBeStartedNormalizer.php | 12 +- ...alMachineMustBeStartedSchemaNormalizer.php | 16 +- ...achineNetworkInterfaceLookupNormalizer.php | 12 +- ...tworkInterfaceNotFoundSchemaNormalizer.php | 12 +- ...kInterfaceAllocateIpPostBodyNormalizer.php | 20 +- ...aceAllocateIpPostResponse200Normalizer.php | 16 +- ...rtualMachineNetworkInterfaceNormalizer.php | 24 +- ...terfaceAllocateNewIpPostBodyNormalizer.php | 16 +- ...ewIpPostResponse200IpAddressNormalizer.php | 16 +- ...AllocateNewIpPostResponse200Normalizer.php | 16 +- ...AddressVersionGetResponse200Normalizer.php | 16 +- ...tworkInterfaceGetResponse200Normalizer.php | 16 +- ...rtualMachineNetworkInterfaceNormalizer.php | 28 +- ...eUpdateSpeedProfilePatchBodyNormalizer.php | 20 +- ...SpeedProfilePatchResponse200Normalizer.php | 16 +- ...dProfilePatchResponse200TaskNormalizer.php | 12 +- .../Normalizer/VirtualMachineNormalizer.php | 52 +- ...VirtualMachineNotFoundSchemaNormalizer.php | 12 +- .../VirtualMachinePackageGroupNormalizer.php | 12 +- .../VirtualMachinePackageIconNormalizer.php | 12 +- .../VirtualMachinePackageLookupNormalizer.php | 12 +- .../VirtualMachinePackageNormalizer.php | 20 +- ...MachinePackageNotFoundSchemaNormalizer.php | 12 +- ...achinePackagesGetResponse200Normalizer.php | 20 +- ...MachinePackageGetResponse200Normalizer.php | 16 +- ...alMachineBuildGetResponse200Normalizer.php | 20 +- ...ualMachineAllocateIpPostBodyNormalizer.php | 20 +- ...teIpPostResponse200IpAddressNormalizer.php | 16 +- ...ineAllocateIpPostResponse200Normalizer.php | 16 +- ...chineConsoleSessionsPostBodyNormalizer.php | 16 +- ...nsoleSessionsPostResponse201Normalizer.php | 16 +- ...inesVirtualMachineDeleteBodyNormalizer.php | 16 +- ...tualMachineDeleteResponse200Normalizer.php | 20 +- ...BackupPoliciesGetResponse200Normalizer.php | 20 +- ...neDiskBackupPoliciesPostBodyNormalizer.php | 20 +- ...tResponse200DiskBackupPolicyNormalizer.php | 20 +- ...ackupPoliciesPostResponse200Normalizer.php | 16 +- ...alMachineDisksGetResponse200Normalizer.php | 20 +- ...hineFlexibleResourcesPutBodyNormalizer.php | 20 +- ...xibleResourcesPutResponse200Normalizer.php | 16 +- ...VirtualMachineGetResponse200Normalizer.php | 20 +- ...workInterfacesGetResponse200Normalizer.php | 20 +- ...tworkInterfaceGetResponse200Normalizer.php | 16 +- ...rtualMachineNetworkInterfaceNormalizer.php | 24 +- ...VirtualMachinePackagePutBodyNormalizer.php | 20 +- ...MachinePackagePutResponse200Normalizer.php | 16 +- ...hinesVirtualMachinePatchBodyNormalizer.php | 24 +- ...rtualMachinePatchResponse200Normalizer.php | 20 +- ...tchResponse200VirtualMachineNormalizer.php | 52 +- ...sVirtualMachineResetPostBodyNormalizer.php | 16 +- ...lMachineResetPostResponse200Normalizer.php | 16 +- ...rtualMachineShutdownPostBodyNormalizer.php | 16 +- ...chineShutdownPostResponse200Normalizer.php | 16 +- ...sVirtualMachineStartPostBodyNormalizer.php | 16 +- ...lMachineStartPostResponse200Normalizer.php | 16 +- ...esVirtualMachineStopPostBodyNormalizer.php | 16 +- ...alMachineStopPostResponse200Normalizer.php | 16 +- src/Core/Normalizer/ZoneLookupNormalizer.php | 12 +- src/Core/Normalizer/ZoneNormalizer.php | 16 +- .../ZoneNotFoundSchemaNormalizer.php | 12 +- .../ZonesGetResponse200Normalizer.php | 16 +- .../ZonesZoneGetResponse200Normalizer.php | 16 +- .../ZonesZoneGetResponse200ZoneNormalizer.php | 16 +- src/Public/Endpoint/GetDataCenters.php | 6 +- src/Public/Endpoint/GetPricingPrices.php | 6 +- src/Public/Endpoint/GetStats.php | 6 +- .../Endpoint/GetVirtualMachinePackages.php | 6 +- src/Public/Endpoint/PostPricingEstimate.php | 6 +- src/Public/Endpoint/PostSignups.php | 10 +- .../Normalizer/AttachmentNormalizer.php | 12 +- .../Normalizer/CountryLookupNormalizer.php | 12 +- .../CountryNotFoundSchemaNormalizer.php | 12 +- .../Normalizer/CurrencyLookupNormalizer.php | 12 +- src/Public/Normalizer/CurrencyNormalizer.php | 12 +- .../CurrencyNotFoundSchemaNormalizer.php | 12 +- .../Normalizer/DataCenterNormalizer.php | 12 +- .../DataCentersGetResponse200Normalizer.php | 16 +- ...icingPrices200ResponsePricesNormalizer.php | 16 +- .../InternalAuthErrorNormalizer.php | 12 +- .../InvalidCouponCodeNormalizer.php | 12 +- .../InvalidEstimateQuantityNormalizer.php | 12 +- ...nvalidEstimateQuantitySchemaNormalizer.php | 16 +- .../InvalidEstimateResourceNormalizer.php | 12 +- ...nvalidEstimateResourceSchemaNormalizer.php | 16 +- .../Normalizer/JaneObjectNormalizer.php | 340 +- .../MissingResourcesSchemaNormalizer.php | 12 +- .../Normalizer/PaginationObjectNormalizer.php | 12 +- src/Public/Normalizer/PriceNormalizer.php | 16 +- .../Normalizer/PriceVariantNormalizer.php | 16 +- .../Normalizer/PricingEstimateNormalizer.php | 20 +- .../PricingEstimatePostBodyNormalizer.php | 24 +- ...imatePostResponse200EstimateNormalizer.php | 20 +- ...icingEstimatePostResponse200Normalizer.php | 16 +- ...ingEstimateResourceArgumentsNormalizer.php | 12 +- .../PricingEstimateResourceNormalizer.php | 16 +- ...icingEstimateResourcePackageNormalizer.php | 20 +- .../PricingPricesGetResponse200Normalizer.php | 16 +- .../Normalizer/RateLimitReachedNormalizer.php | 12 +- ...eAPIAuthenticator403ResponseNormalizer.php | 16 +- ...eAPIAuthenticator429ResponseNormalizer.php | 16 +- ...nseInvalidCouponCodeResponseNormalizer.php | 16 +- ...ponseValidationErrorResponseNormalizer.php | 16 +- .../SignupCampaignArgumentsNormalizer.php | 12 +- .../Normalizer/SignupsPostBodyNormalizer.php | 16 +- .../SignupsPostResponse200Normalizer.php | 12 +- .../StatsGetResponse200Normalizer.php | 12 +- .../Normalizer/ValidationErrorNormalizer.php | 12 +- .../VirtualMachinePackageGroupNormalizer.php | 12 +- .../VirtualMachinePackageIconNormalizer.php | 12 +- .../VirtualMachinePackageNormalizer.php | 20 +- ...achinePackagesGetResponse200Normalizer.php | 20 +- 1048 files changed, 13194 insertions(+), 9674 deletions(-) diff --git a/src/Core/Endpoint/DeleteAddressList.php b/src/Core/Endpoint/DeleteAddressList.php index d4470f7e..9ab53a42 100644 --- a/src/Core/Endpoint/DeleteAddressList.php +++ b/src/Core/Endpoint/DeleteAddressList.php @@ -62,22 +62,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\AddressListsAddressListDeleteResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\AddressListsAddressListDeleteResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteAddressListBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteAddressListBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\DeleteAddressListForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteAddressListNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAddressListNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteAddressListNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAddressListNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteAddressListTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteAddressListTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteAddressListServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteAddressListServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/DeleteAddressListEntry.php b/src/Core/Endpoint/DeleteAddressListEntry.php index 99a65213..a0de6149 100644 --- a/src/Core/Endpoint/DeleteAddressListEntry.php +++ b/src/Core/Endpoint/DeleteAddressListEntry.php @@ -62,22 +62,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryDeleteResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\AddressListEntriesAddressListEntryDeleteResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteAddressListEntryBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteAddressListEntryBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\DeleteAddressListEntryForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteAddressListEntryNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAddressListEntryNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteAddressListEntryNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAddressListEntryNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteAddressListEntryTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteAddressListEntryTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteAddressListEntryServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteAddressListEntryServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/DeleteApiToken.php b/src/Core/Endpoint/DeleteApiToken.php index 5be77113..e8dbce59 100644 --- a/src/Core/Endpoint/DeleteApiToken.php +++ b/src/Core/Endpoint/DeleteApiToken.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenDeleteResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\ApiTokensApiTokenDeleteResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteApiTokenBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteApiTokenBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\DeleteApiTokenForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteApiTokenNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPITokenNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteApiTokenNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPITokenNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteApiTokenUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteApiTokenUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteApiTokenTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteApiTokenTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteApiTokenServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteApiTokenServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/DeleteDisk.php b/src/Core/Endpoint/DeleteDisk.php index b2d4cac3..e2cf0aae 100644 --- a/src/Core/Endpoint/DeleteDisk.php +++ b/src/Core/Endpoint/DeleteDisk.php @@ -64,28 +64,28 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\DisksDiskDeleteResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\DisksDiskDeleteResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteDiskBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteDiskBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\DeleteDiskForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteDiskNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseDiskNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteDiskNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseDiskNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteDiskNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseObjectInTrashResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteDiskNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseObjectInTrashResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteDiskUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteDiskUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteDiskTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteDiskTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteDiskServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteDiskServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/DeleteDiskBackupPolicy.php b/src/Core/Endpoint/DeleteDiskBackupPolicy.php index 6feebfa3..89269cc0 100644 --- a/src/Core/Endpoint/DeleteDiskBackupPolicy.php +++ b/src/Core/Endpoint/DeleteDiskBackupPolicy.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteDiskBackupPolicyBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteDiskBackupPolicyBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\DeleteDiskBackupPolicyForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteDiskBackupPolicyNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseDiskBackupPolicyNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteDiskBackupPolicyNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseDiskBackupPolicyNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteDiskBackupPolicyNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseObjectInTrashResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteDiskBackupPolicyNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseObjectInTrashResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteDiskBackupPolicyTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteDiskBackupPolicyTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteDiskBackupPolicyServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteDiskBackupPolicyServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/DeleteDiskBackupPolicySchedule.php b/src/Core/Endpoint/DeleteDiskBackupPolicySchedule.php index f143d41f..a7a79808 100644 --- a/src/Core/Endpoint/DeleteDiskBackupPolicySchedule.php +++ b/src/Core/Endpoint/DeleteDiskBackupPolicySchedule.php @@ -63,7 +63,7 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\DeleteDiskBackupPolicyScheduleBadRequestException($response); @@ -72,16 +72,16 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re throw new \KatapultAPI\Core\Exception\DeleteDiskBackupPolicyScheduleForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteDiskBackupPolicyScheduleNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseDiskBackupPolicyNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteDiskBackupPolicyScheduleNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseDiskBackupPolicyNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteDiskBackupPolicyScheduleNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseObjectInTrashResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteDiskBackupPolicyScheduleNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseObjectInTrashResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteDiskBackupPolicyScheduleTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteDiskBackupPolicyScheduleTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteDiskBackupPolicyScheduleServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteDiskBackupPolicyScheduleServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/DeleteDnsRecord.php b/src/Core/Endpoint/DeleteDnsRecord.php index f3576ad0..a1493383 100644 --- a/src/Core/Endpoint/DeleteDnsRecord.php +++ b/src/Core/Endpoint/DeleteDnsRecord.php @@ -62,22 +62,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordDeleteResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\DnsRecordsDnsRecordDeleteResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteDnsRecordBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteDnsRecordBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\DeleteDnsRecordForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteDnsRecordNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseDNSRecordNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteDnsRecordNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseDNSRecordNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteDnsRecordTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteDnsRecordTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteDnsRecordServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteDnsRecordServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/DeleteDnsZone.php b/src/Core/Endpoint/DeleteDnsZone.php index 59ea839d..6a19cee4 100644 --- a/src/Core/Endpoint/DeleteDnsZone.php +++ b/src/Core/Endpoint/DeleteDnsZone.php @@ -62,22 +62,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneDeleteResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\DnsZonesDnsZoneDeleteResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteDnsZoneBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteDnsZoneBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\DeleteDnsZoneForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteDnsZoneNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseDNSZoneNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteDnsZoneNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseDNSZoneNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteDnsZoneTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteDnsZoneTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteDnsZoneServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteDnsZoneServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/DeleteFileStorageVolume.php b/src/Core/Endpoint/DeleteFileStorageVolume.php index 0681c948..b3e6f3d1 100644 --- a/src/Core/Endpoint/DeleteFileStorageVolume.php +++ b/src/Core/Endpoint/DeleteFileStorageVolume.php @@ -64,28 +64,28 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeDeleteResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeDeleteResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteFileStorageVolumeBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteFileStorageVolumeBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\DeleteFileStorageVolumeForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteFileStorageVolumeNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseFileStorageVolumeNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteFileStorageVolumeNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseFileStorageVolumeNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteFileStorageVolumeNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseObjectInTrashResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteFileStorageVolumeNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseObjectInTrashResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteFileStorageVolumeUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteFileStorageVolumeUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteFileStorageVolumeTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteFileStorageVolumeTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteFileStorageVolumeServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteFileStorageVolumeServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/DeleteIpAddress.php b/src/Core/Endpoint/DeleteIpAddress.php index ed216233..a837c7d3 100644 --- a/src/Core/Endpoint/DeleteIpAddress.php +++ b/src/Core/Endpoint/DeleteIpAddress.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressDeleteResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\IpAddressesIpAddressDeleteResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteIpAddressBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteIpAddressBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\DeleteIpAddressForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteIpAddressNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseIPAddressNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteIpAddressNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseIPAddressNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (409 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteIpAddressConflictException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseResourceDoesNotSupportUnallocationResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteIpAddressConflictException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseResourceDoesNotSupportUnallocationResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteIpAddressTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteIpAddressTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteIpAddressServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteIpAddressServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/DeleteLoadBalancer.php b/src/Core/Endpoint/DeleteLoadBalancer.php index ea02aabc..0bb69396 100644 --- a/src/Core/Endpoint/DeleteLoadBalancer.php +++ b/src/Core/Endpoint/DeleteLoadBalancer.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerDeleteResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\LoadBalancersLoadBalancerDeleteResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteLoadBalancerBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteLoadBalancerBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\DeleteLoadBalancerForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteLoadBalancerNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseLoadBalancerNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteLoadBalancerNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseLoadBalancerNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteLoadBalancerUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteLoadBalancerUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteLoadBalancerTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteLoadBalancerTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteLoadBalancerServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteLoadBalancerServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/DeleteLoadBalancersRulesLoadBalancerRule.php b/src/Core/Endpoint/DeleteLoadBalancersRulesLoadBalancerRule.php index 15d23e88..ed8ff2f9 100644 --- a/src/Core/Endpoint/DeleteLoadBalancersRulesLoadBalancerRule.php +++ b/src/Core/Endpoint/DeleteLoadBalancersRulesLoadBalancerRule.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleDeleteResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteLoadBalancersRulesLoadBalancerRuleBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteLoadBalancersRulesLoadBalancerRuleBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\DeleteLoadBalancersRulesLoadBalancerRuleForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteLoadBalancersRulesLoadBalancerRuleNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseLoadBalancerRuleNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteLoadBalancersRulesLoadBalancerRuleNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseLoadBalancerRuleNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteLoadBalancersRulesLoadBalancerRuleUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteLoadBalancersRulesLoadBalancerRuleUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteLoadBalancersRulesLoadBalancerRuleTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteLoadBalancersRulesLoadBalancerRuleTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteLoadBalancersRulesLoadBalancerRuleServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteLoadBalancersRulesLoadBalancerRuleServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/DeleteSecurityGroup.php b/src/Core/Endpoint/DeleteSecurityGroup.php index ef6f2fe1..043c60cf 100644 --- a/src/Core/Endpoint/DeleteSecurityGroup.php +++ b/src/Core/Endpoint/DeleteSecurityGroup.php @@ -64,28 +64,28 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupDeleteResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\SecurityGroupsSecurityGroupDeleteResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteSecurityGroupBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteSecurityGroupBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\DeleteSecurityGroupForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteSecurityGroupNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseSecurityGroupNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteSecurityGroupNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseSecurityGroupNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (409 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteSecurityGroupConflictException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseDeletionRestrictedResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteSecurityGroupConflictException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseDeletionRestrictedResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteSecurityGroupUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteSecurityGroupUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteSecurityGroupTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteSecurityGroupTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteSecurityGroupServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteSecurityGroupServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/DeleteSecurityGroupsRulesSecurityGroupRule.php b/src/Core/Endpoint/DeleteSecurityGroupsRulesSecurityGroupRule.php index bb92e25d..79880db8 100644 --- a/src/Core/Endpoint/DeleteSecurityGroupsRulesSecurityGroupRule.php +++ b/src/Core/Endpoint/DeleteSecurityGroupsRulesSecurityGroupRule.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteSecurityGroupsRulesSecurityGroupRuleBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteSecurityGroupsRulesSecurityGroupRuleBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\DeleteSecurityGroupsRulesSecurityGroupRuleForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteSecurityGroupsRulesSecurityGroupRuleNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseSecurityGroupRuleNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteSecurityGroupsRulesSecurityGroupRuleNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseSecurityGroupRuleNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteSecurityGroupsRulesSecurityGroupRuleUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteSecurityGroupsRulesSecurityGroupRuleUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteSecurityGroupsRulesSecurityGroupRuleTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteSecurityGroupsRulesSecurityGroupRuleTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteSecurityGroupsRulesSecurityGroupRuleServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteSecurityGroupsRulesSecurityGroupRuleServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/DeleteSshKey.php b/src/Core/Endpoint/DeleteSshKey.php index 519d2826..34f70a80 100644 --- a/src/Core/Endpoint/DeleteSshKey.php +++ b/src/Core/Endpoint/DeleteSshKey.php @@ -61,25 +61,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\SshKeysSshKeyDeleteResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\SshKeysSshKeyDeleteResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteSshKeyBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteSshKeyBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\DeleteSshKeyForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteSshKeyNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseSSHKeyNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteSshKeyNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseSSHKeyNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (409 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteSshKeyConflictException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseDeletionRestrictedResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteSshKeyConflictException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseDeletionRestrictedResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteSshKeyTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteSshKeyTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteSshKeyServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteSshKeyServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/DeleteTag.php b/src/Core/Endpoint/DeleteTag.php index d927a190..2f383ea2 100644 --- a/src/Core/Endpoint/DeleteTag.php +++ b/src/Core/Endpoint/DeleteTag.php @@ -62,22 +62,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\TagsTagDeleteResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\TagsTagDeleteResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteTagBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteTagBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\DeleteTagForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteTagNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseTagNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteTagNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseTagNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteTagTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteTagTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteTagServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteTagServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/DeleteTrashObject.php b/src/Core/Endpoint/DeleteTrashObject.php index 21590c74..1b83873c 100644 --- a/src/Core/Endpoint/DeleteTrashObject.php +++ b/src/Core/Endpoint/DeleteTrashObject.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectDeleteResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\TrashObjectsTrashObjectDeleteResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteTrashObjectBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteTrashObjectBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\DeleteTrashObjectForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteTrashObjectNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseTrashObjectNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteTrashObjectNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseTrashObjectNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteTrashObjectNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseTaskQueueingErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteTrashObjectNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseTaskQueueingErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteTrashObjectTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteTrashObjectTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteTrashObjectServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteTrashObjectServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/DeleteVirtualMachine.php b/src/Core/Endpoint/DeleteVirtualMachine.php index 1436e12d..c45acdab 100644 --- a/src/Core/Endpoint/DeleteVirtualMachine.php +++ b/src/Core/Endpoint/DeleteVirtualMachine.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDeleteResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDeleteResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteVirtualMachineBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteVirtualMachineBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\DeleteVirtualMachineForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteVirtualMachineNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteVirtualMachineNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseVirtualMachineNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteVirtualMachineNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseObjectInTrashResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteVirtualMachineNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseObjectInTrashResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteVirtualMachineTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteVirtualMachineTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteVirtualMachineServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteVirtualMachineServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/DeleteVirtualMachineGroup.php b/src/Core/Endpoint/DeleteVirtualMachineGroup.php index ce563e32..57390d86 100644 --- a/src/Core/Endpoint/DeleteVirtualMachineGroup.php +++ b/src/Core/Endpoint/DeleteVirtualMachineGroup.php @@ -62,25 +62,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteVirtualMachineGroupBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteVirtualMachineGroupBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\DeleteVirtualMachineGroupForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteVirtualMachineGroupNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineGroupNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteVirtualMachineGroupNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseVirtualMachineGroupNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (409 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteVirtualMachineGroupConflictException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseDeletionRestrictedResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteVirtualMachineGroupConflictException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseDeletionRestrictedResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteVirtualMachineGroupTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteVirtualMachineGroupTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\DeleteVirtualMachineGroupServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\DeleteVirtualMachineGroupServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetAddressList.php b/src/Core/Endpoint/GetAddressList.php index 0110dc92..c97616ac 100644 --- a/src/Core/Endpoint/GetAddressList.php +++ b/src/Core/Endpoint/GetAddressList.php @@ -75,22 +75,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\AddressListsAddressListGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\AddressListsAddressListGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetAddressListBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetAddressListBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetAddressListForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetAddressListNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAddressListNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetAddressListNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAddressListNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetAddressListTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetAddressListTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetAddressListServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetAddressListServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetAddressListEntries.php b/src/Core/Endpoint/GetAddressListEntries.php index 9c93faa1..334ad6b1 100644 --- a/src/Core/Endpoint/GetAddressListEntries.php +++ b/src/Core/Endpoint/GetAddressListEntries.php @@ -79,22 +79,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\AddressListsAddressListEntriesGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetAddressListEntriesBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetAddressListEntriesBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetAddressListEntriesForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetAddressListEntriesNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAddressListNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetAddressListEntriesNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAddressListNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetAddressListEntriesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetAddressListEntriesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetAddressListEntriesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetAddressListEntriesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetAddressListEntry.php b/src/Core/Endpoint/GetAddressListEntry.php index 68edae5f..12c4762d 100644 --- a/src/Core/Endpoint/GetAddressListEntry.php +++ b/src/Core/Endpoint/GetAddressListEntry.php @@ -75,22 +75,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\AddressListEntriesAddressListEntryGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetAddressListEntryBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetAddressListEntryBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetAddressListEntryForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetAddressListEntryNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAddressListEntryNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetAddressListEntryNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAddressListEntryNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetAddressListEntryTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetAddressListEntryTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetAddressListEntryServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetAddressListEntryServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetAddressLists.php b/src/Core/Endpoint/GetAddressLists.php index f485763a..a523f995 100644 --- a/src/Core/Endpoint/GetAddressLists.php +++ b/src/Core/Endpoint/GetAddressLists.php @@ -76,19 +76,19 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\AddressListsGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\AddressListsGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetAddressListsBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetAddressListsBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetAddressListsForbiddenException($response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetAddressListsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetAddressListsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetAddressListsServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetAddressListsServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetCertificate.php b/src/Core/Endpoint/GetCertificate.php index 7fd5d9d8..af0fb251 100644 --- a/src/Core/Endpoint/GetCertificate.php +++ b/src/Core/Endpoint/GetCertificate.php @@ -76,25 +76,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\CertificatesCertificateGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\CertificatesCertificateGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetCertificateBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetCertificateBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetCertificateForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetCertificateNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseCertificateNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetCertificateNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseCertificateNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetCertificateNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseObjectInTrashResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetCertificateNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseObjectInTrashResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetCertificateTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetCertificateTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetCertificateServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetCertificateServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetCountries.php b/src/Core/Endpoint/GetCountries.php index 0afac925..28ae20b9 100644 --- a/src/Core/Endpoint/GetCountries.php +++ b/src/Core/Endpoint/GetCountries.php @@ -73,19 +73,19 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\CountriesGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\CountriesGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetCountriesBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetCountriesBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetCountriesForbiddenException($response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetCountriesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetCountriesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetCountriesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetCountriesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetCountry.php b/src/Core/Endpoint/GetCountry.php index f1fb8099..3a192ad7 100644 --- a/src/Core/Endpoint/GetCountry.php +++ b/src/Core/Endpoint/GetCountry.php @@ -76,22 +76,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\CountriesCountryGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\CountriesCountryGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetCountryBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetCountryBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetCountryForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetCountryNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseCountryNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetCountryNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseCountryNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetCountryTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetCountryTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetCountryServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetCountryServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetCountryCountryStates.php b/src/Core/Endpoint/GetCountryCountryStates.php index 4322e6bb..de3894a1 100644 --- a/src/Core/Endpoint/GetCountryCountryStates.php +++ b/src/Core/Endpoint/GetCountryCountryStates.php @@ -80,22 +80,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\CountriesCountryCountryStatesGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\CountriesCountryCountryStatesGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetCountryCountryStatesBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetCountryCountryStatesBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetCountryCountryStatesForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetCountryCountryStatesNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseCountryNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetCountryCountryStatesNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseCountryNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetCountryCountryStatesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetCountryCountryStatesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetCountryCountryStatesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetCountryCountryStatesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetCountryState.php b/src/Core/Endpoint/GetCountryState.php index b5af17a3..d4e5ec39 100644 --- a/src/Core/Endpoint/GetCountryState.php +++ b/src/Core/Endpoint/GetCountryState.php @@ -72,22 +72,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\CountryStatesCountryStateGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\CountryStatesCountryStateGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetCountryStateBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetCountryStateBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetCountryStateForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetCountryStateNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseCountryStateNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetCountryStateNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseCountryStateNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetCountryStateTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetCountryStateTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetCountryStateServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetCountryStateServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetCurrencies.php b/src/Core/Endpoint/GetCurrencies.php index d7dbc687..c948c547 100644 --- a/src/Core/Endpoint/GetCurrencies.php +++ b/src/Core/Endpoint/GetCurrencies.php @@ -73,19 +73,19 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\CurrenciesGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\CurrenciesGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetCurrenciesBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetCurrenciesBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetCurrenciesForbiddenException($response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetCurrenciesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetCurrenciesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetCurrenciesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetCurrenciesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetCurrency.php b/src/Core/Endpoint/GetCurrency.php index 8c420e37..09b998d9 100644 --- a/src/Core/Endpoint/GetCurrency.php +++ b/src/Core/Endpoint/GetCurrency.php @@ -74,22 +74,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\CurrenciesCurrencyGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\CurrenciesCurrencyGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetCurrencyBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetCurrencyBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetCurrencyForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetCurrencyNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseCurrencyNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetCurrencyNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseCurrencyNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetCurrencyTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetCurrencyTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetCurrencyServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetCurrencyServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetDataCenter.php b/src/Core/Endpoint/GetDataCenter.php index 0006f99d..87db75a0 100644 --- a/src/Core/Endpoint/GetDataCenter.php +++ b/src/Core/Endpoint/GetDataCenter.php @@ -74,22 +74,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\DataCentersDataCenterGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\DataCentersDataCenterGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDataCenterBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDataCenterBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetDataCenterForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDataCenterNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseDataCenterNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDataCenterNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseDataCenterNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDataCenterTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDataCenterTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDataCenterServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDataCenterServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetDataCenterDefaultNetwork.php b/src/Core/Endpoint/GetDataCenterDefaultNetwork.php index 2d0caf8a..19f04e23 100644 --- a/src/Core/Endpoint/GetDataCenterDefaultNetwork.php +++ b/src/Core/Endpoint/GetDataCenterDefaultNetwork.php @@ -74,22 +74,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\DataCentersDataCenterDefaultNetworkGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\DataCentersDataCenterDefaultNetworkGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDataCenterDefaultNetworkBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDataCenterDefaultNetworkBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetDataCenterDefaultNetworkForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDataCenterDefaultNetworkNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseDataCenterNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDataCenterDefaultNetworkNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseDataCenterNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDataCenterDefaultNetworkTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDataCenterDefaultNetworkTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDataCenterDefaultNetworkServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDataCenterDefaultNetworkServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetDataCenterGpuTypes.php b/src/Core/Endpoint/GetDataCenterGpuTypes.php index e2ff2818..adf1e511 100644 --- a/src/Core/Endpoint/GetDataCenterGpuTypes.php +++ b/src/Core/Endpoint/GetDataCenterGpuTypes.php @@ -78,22 +78,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\DataCentersDataCenterGpuTypesGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\DataCentersDataCenterGpuTypesGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDataCenterGpuTypesBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDataCenterGpuTypesBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetDataCenterGpuTypesForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDataCenterGpuTypesNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseDataCenterNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDataCenterGpuTypesNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseDataCenterNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDataCenterGpuTypesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDataCenterGpuTypesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDataCenterGpuTypesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDataCenterGpuTypesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetDataCenters.php b/src/Core/Endpoint/GetDataCenters.php index 855ab072..09c56180 100644 --- a/src/Core/Endpoint/GetDataCenters.php +++ b/src/Core/Endpoint/GetDataCenters.php @@ -47,19 +47,19 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\DataCentersGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\DataCentersGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDataCentersBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDataCentersBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetDataCentersForbiddenException($response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDataCentersTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDataCentersTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDataCentersServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDataCentersServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetDisk.php b/src/Core/Endpoint/GetDisk.php index 292adf2e..053c8b6f 100644 --- a/src/Core/Endpoint/GetDisk.php +++ b/src/Core/Endpoint/GetDisk.php @@ -76,25 +76,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\DisksDiskGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\DisksDiskGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDiskBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDiskBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetDiskForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDiskNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseDiskNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDiskNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseDiskNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDiskNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseObjectInTrashResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDiskNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseObjectInTrashResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDiskTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDiskTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDiskServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDiskServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetDiskBackupPolicy.php b/src/Core/Endpoint/GetDiskBackupPolicy.php index 15c633fa..d5c5894c 100644 --- a/src/Core/Endpoint/GetDiskBackupPolicy.php +++ b/src/Core/Endpoint/GetDiskBackupPolicy.php @@ -76,25 +76,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDiskBackupPolicyBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDiskBackupPolicyBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetDiskBackupPolicyForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDiskBackupPolicyNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseDiskBackupPolicyNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDiskBackupPolicyNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseDiskBackupPolicyNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDiskBackupPolicyNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseObjectInTrashResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDiskBackupPolicyNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseObjectInTrashResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDiskBackupPolicyTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDiskBackupPolicyTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDiskBackupPolicyServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDiskBackupPolicyServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetDiskDiskBackupPolicies.php b/src/Core/Endpoint/GetDiskDiskBackupPolicies.php index 6edbdbd3..512813c9 100644 --- a/src/Core/Endpoint/GetDiskDiskBackupPolicies.php +++ b/src/Core/Endpoint/GetDiskDiskBackupPolicies.php @@ -80,25 +80,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDiskDiskBackupPoliciesBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDiskDiskBackupPoliciesBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetDiskDiskBackupPoliciesForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDiskDiskBackupPoliciesNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseDiskNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDiskDiskBackupPoliciesNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseDiskNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDiskDiskBackupPoliciesNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseObjectInTrashResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDiskDiskBackupPoliciesNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseObjectInTrashResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDiskDiskBackupPoliciesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDiskDiskBackupPoliciesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDiskDiskBackupPoliciesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDiskDiskBackupPoliciesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetDiskTemplate.php b/src/Core/Endpoint/GetDiskTemplate.php index 9083e298..ca484937 100644 --- a/src/Core/Endpoint/GetDiskTemplate.php +++ b/src/Core/Endpoint/GetDiskTemplate.php @@ -77,22 +77,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\DiskTemplatesDiskTemplateGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\DiskTemplatesDiskTemplateGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDiskTemplateBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDiskTemplateBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetDiskTemplateForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDiskTemplateNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseDiskTemplateNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDiskTemplateNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseDiskTemplateNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDiskTemplateTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDiskTemplateTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDiskTemplateServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDiskTemplateServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetDiskTemplateVersion.php b/src/Core/Endpoint/GetDiskTemplateVersion.php index b699fae8..789e7af1 100644 --- a/src/Core/Endpoint/GetDiskTemplateVersion.php +++ b/src/Core/Endpoint/GetDiskTemplateVersion.php @@ -75,22 +75,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDiskTemplateVersionBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDiskTemplateVersionBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetDiskTemplateVersionForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDiskTemplateVersionNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseDiskTemplateVersionNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDiskTemplateVersionNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseDiskTemplateVersionNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDiskTemplateVersionTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDiskTemplateVersionTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDiskTemplateVersionServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDiskTemplateVersionServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetDiskTemplateVersionSpec.php b/src/Core/Endpoint/GetDiskTemplateVersionSpec.php index 98558a42..b2a78260 100644 --- a/src/Core/Endpoint/GetDiskTemplateVersionSpec.php +++ b/src/Core/Endpoint/GetDiskTemplateVersionSpec.php @@ -75,22 +75,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDiskTemplateVersionSpecBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDiskTemplateVersionSpecBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetDiskTemplateVersionSpecForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDiskTemplateVersionSpecNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseDiskTemplateVersionNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDiskTemplateVersionSpecNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseDiskTemplateVersionNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDiskTemplateVersionSpecTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDiskTemplateVersionSpecTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDiskTemplateVersionSpecServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDiskTemplateVersionSpecServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetDiskTemplateVersions.php b/src/Core/Endpoint/GetDiskTemplateVersions.php index 0668cda3..a939b832 100644 --- a/src/Core/Endpoint/GetDiskTemplateVersions.php +++ b/src/Core/Endpoint/GetDiskTemplateVersions.php @@ -81,22 +81,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\DiskTemplatesDiskTemplateVersionsGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\DiskTemplatesDiskTemplateVersionsGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDiskTemplateVersionsBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDiskTemplateVersionsBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetDiskTemplateVersionsForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDiskTemplateVersionsNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseDiskTemplateNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDiskTemplateVersionsNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseDiskTemplateNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDiskTemplateVersionsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDiskTemplateVersionsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDiskTemplateVersionsServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDiskTemplateVersionsServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetDnsRecord.php b/src/Core/Endpoint/GetDnsRecord.php index fd8a6147..e6b9e549 100644 --- a/src/Core/Endpoint/GetDnsRecord.php +++ b/src/Core/Endpoint/GetDnsRecord.php @@ -75,22 +75,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\DnsRecordsDnsRecordGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDnsRecordBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDnsRecordBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetDnsRecordForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDnsRecordNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseDNSRecordNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDnsRecordNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseDNSRecordNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDnsRecordTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDnsRecordTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDnsRecordServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDnsRecordServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetDnsZone.php b/src/Core/Endpoint/GetDnsZone.php index b707d505..d343b0c3 100644 --- a/src/Core/Endpoint/GetDnsZone.php +++ b/src/Core/Endpoint/GetDnsZone.php @@ -77,22 +77,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\DnsZonesDnsZoneGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDnsZoneBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDnsZoneBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetDnsZoneForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDnsZoneNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseDNSZoneNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDnsZoneNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseDNSZoneNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDnsZoneTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDnsZoneTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDnsZoneServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDnsZoneServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetDnsZoneRecords.php b/src/Core/Endpoint/GetDnsZoneRecords.php index e9ef1a74..753b241a 100644 --- a/src/Core/Endpoint/GetDnsZoneRecords.php +++ b/src/Core/Endpoint/GetDnsZoneRecords.php @@ -77,22 +77,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneRecordsGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\DnsZonesDnsZoneRecordsGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDnsZoneRecordsBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDnsZoneRecordsBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetDnsZoneRecordsForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDnsZoneRecordsNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseDNSZoneNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDnsZoneRecordsNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseDNSZoneNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDnsZoneRecordsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDnsZoneRecordsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetDnsZoneRecordsServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetDnsZoneRecordsServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetFileStorageVolume.php b/src/Core/Endpoint/GetFileStorageVolume.php index aba4882d..ab17b58c 100644 --- a/src/Core/Endpoint/GetFileStorageVolume.php +++ b/src/Core/Endpoint/GetFileStorageVolume.php @@ -76,25 +76,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetFileStorageVolumeBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetFileStorageVolumeBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetFileStorageVolumeForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetFileStorageVolumeNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseFileStorageVolumeNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetFileStorageVolumeNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseFileStorageVolumeNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetFileStorageVolumeNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseObjectInTrashResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetFileStorageVolumeNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseObjectInTrashResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetFileStorageVolumeTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetFileStorageVolumeTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetFileStorageVolumeServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetFileStorageVolumeServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetGpuType.php b/src/Core/Endpoint/GetGpuType.php index e4541167..6e7ce2f8 100644 --- a/src/Core/Endpoint/GetGpuType.php +++ b/src/Core/Endpoint/GetGpuType.php @@ -74,22 +74,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\GpuTypesGpuTypeGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\GpuTypesGpuTypeGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetGpuTypeBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetGpuTypeBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetGpuTypeForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetGpuTypeNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseGPUTypeNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetGpuTypeNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseGPUTypeNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetGpuTypeTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetGpuTypeTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetGpuTypeServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetGpuTypeServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetGpuTypes.php b/src/Core/Endpoint/GetGpuTypes.php index 20c5f5fd..73089d85 100644 --- a/src/Core/Endpoint/GetGpuTypes.php +++ b/src/Core/Endpoint/GetGpuTypes.php @@ -73,19 +73,19 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\GpuTypesGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\GpuTypesGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetGpuTypesBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetGpuTypesBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetGpuTypesForbiddenException($response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetGpuTypesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetGpuTypesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetGpuTypesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetGpuTypesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetIpAddress.php b/src/Core/Endpoint/GetIpAddress.php index 48e672e9..74a5b442 100644 --- a/src/Core/Endpoint/GetIpAddress.php +++ b/src/Core/Endpoint/GetIpAddress.php @@ -77,22 +77,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\IpAddressesIpAddressGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetIpAddressBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetIpAddressBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetIpAddressForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetIpAddressNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseIPAddressNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetIpAddressNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseIPAddressNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetIpAddressTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetIpAddressTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetIpAddressServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetIpAddressServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetLoadBalancer.php b/src/Core/Endpoint/GetLoadBalancer.php index d5305249..15a18036 100644 --- a/src/Core/Endpoint/GetLoadBalancer.php +++ b/src/Core/Endpoint/GetLoadBalancer.php @@ -77,22 +77,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\LoadBalancersLoadBalancerGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetLoadBalancerBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetLoadBalancerBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetLoadBalancerForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetLoadBalancerNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseLoadBalancerNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetLoadBalancerNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseLoadBalancerNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetLoadBalancerTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetLoadBalancerTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetLoadBalancerServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetLoadBalancerServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetLoadBalancerRules.php b/src/Core/Endpoint/GetLoadBalancerRules.php index 7f8cfa05..b033d25e 100644 --- a/src/Core/Endpoint/GetLoadBalancerRules.php +++ b/src/Core/Endpoint/GetLoadBalancerRules.php @@ -81,22 +81,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetLoadBalancerRulesBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetLoadBalancerRulesBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetLoadBalancerRulesForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetLoadBalancerRulesNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseLoadBalancerNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetLoadBalancerRulesNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseLoadBalancerNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetLoadBalancerRulesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetLoadBalancerRulesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetLoadBalancerRulesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetLoadBalancerRulesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetLoadBalancersRulesLoadBalancerRule.php b/src/Core/Endpoint/GetLoadBalancersRulesLoadBalancerRule.php index 73370345..4453d555 100644 --- a/src/Core/Endpoint/GetLoadBalancersRulesLoadBalancerRule.php +++ b/src/Core/Endpoint/GetLoadBalancersRulesLoadBalancerRule.php @@ -75,22 +75,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetLoadBalancersRulesLoadBalancerRuleBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetLoadBalancersRulesLoadBalancerRuleBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetLoadBalancersRulesLoadBalancerRuleForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetLoadBalancersRulesLoadBalancerRuleNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseLoadBalancerRuleNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetLoadBalancersRulesLoadBalancerRuleNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseLoadBalancerRuleNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetLoadBalancersRulesLoadBalancerRuleTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetLoadBalancersRulesLoadBalancerRuleTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetLoadBalancersRulesLoadBalancerRuleServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetLoadBalancersRulesLoadBalancerRuleServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetNetwork.php b/src/Core/Endpoint/GetNetwork.php index b611f3da..97a52b1c 100644 --- a/src/Core/Endpoint/GetNetwork.php +++ b/src/Core/Endpoint/GetNetwork.php @@ -74,22 +74,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\NetworksNetworkGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\NetworksNetworkGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetNetworkBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetNetworkBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetNetworkForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetNetworkNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseNetworkNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetNetworkNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseNetworkNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetNetworkTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetNetworkTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetNetworkServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetNetworkServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetOperatingSystem.php b/src/Core/Endpoint/GetOperatingSystem.php index ccc7d344..7b77aae3 100644 --- a/src/Core/Endpoint/GetOperatingSystem.php +++ b/src/Core/Endpoint/GetOperatingSystem.php @@ -72,22 +72,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OperatingSystemsOperatingSystemGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OperatingSystemsOperatingSystemGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOperatingSystemBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOperatingSystemBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetOperatingSystemForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOperatingSystemNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOperatingSystemNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOperatingSystemNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOperatingSystemNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOperatingSystemTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOperatingSystemTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOperatingSystemServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOperatingSystemServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetOperatingSystems.php b/src/Core/Endpoint/GetOperatingSystems.php index 6d19b4dc..48a70f4e 100644 --- a/src/Core/Endpoint/GetOperatingSystems.php +++ b/src/Core/Endpoint/GetOperatingSystems.php @@ -73,19 +73,19 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OperatingSystemsGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OperatingSystemsGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOperatingSystemsBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOperatingSystemsBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetOperatingSystemsForbiddenException($response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOperatingSystemsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOperatingSystemsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOperatingSystemsServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOperatingSystemsServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetOrganization.php b/src/Core/Endpoint/GetOrganization.php index 6d463cad..8d8f3133 100644 --- a/src/Core/Endpoint/GetOrganization.php +++ b/src/Core/Endpoint/GetOrganization.php @@ -76,22 +76,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetOrganizationForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetOrganizationAddressLists.php b/src/Core/Endpoint/GetOrganizationAddressLists.php index da013a71..f066d020 100644 --- a/src/Core/Endpoint/GetOrganizationAddressLists.php +++ b/src/Core/Endpoint/GetOrganizationAddressLists.php @@ -85,22 +85,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationAddressListsBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationAddressListsBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetOrganizationAddressListsForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationAddressListsNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationAddressListsNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationAddressListsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationAddressListsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationAddressListsServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationAddressListsServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetOrganizationApiTokens.php b/src/Core/Endpoint/GetOrganizationApiTokens.php index 26e0ab85..586dc2da 100644 --- a/src/Core/Endpoint/GetOrganizationApiTokens.php +++ b/src/Core/Endpoint/GetOrganizationApiTokens.php @@ -85,22 +85,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationApiTokensBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationApiTokensBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetOrganizationApiTokensForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationApiTokensNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationApiTokensNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationApiTokensTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationApiTokensTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationApiTokensServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationApiTokensServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetOrganizationAvailableNetworks.php b/src/Core/Endpoint/GetOrganizationAvailableNetworks.php index de800ccd..5f611459 100644 --- a/src/Core/Endpoint/GetOrganizationAvailableNetworks.php +++ b/src/Core/Endpoint/GetOrganizationAvailableNetworks.php @@ -74,22 +74,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAvailableNetworksGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationAvailableNetworksGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationAvailableNetworksBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationAvailableNetworksBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetOrganizationAvailableNetworksForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationAvailableNetworksNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationAvailableNetworksNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationAvailableNetworksTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationAvailableNetworksTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationAvailableNetworksServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationAvailableNetworksServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetOrganizationCertificates.php b/src/Core/Endpoint/GetOrganizationCertificates.php index 4155eede..0d658965 100644 --- a/src/Core/Endpoint/GetOrganizationCertificates.php +++ b/src/Core/Endpoint/GetOrganizationCertificates.php @@ -81,22 +81,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationCertificatesGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationCertificatesGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationCertificatesBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationCertificatesBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetOrganizationCertificatesForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationCertificatesNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationCertificatesNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationCertificatesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationCertificatesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationCertificatesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationCertificatesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetOrganizationDiskBackupPolicies.php b/src/Core/Endpoint/GetOrganizationDiskBackupPolicies.php index 8bc8fc19..38ad62ad 100644 --- a/src/Core/Endpoint/GetOrganizationDiskBackupPolicies.php +++ b/src/Core/Endpoint/GetOrganizationDiskBackupPolicies.php @@ -81,22 +81,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDiskBackupPoliciesGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationDiskBackupPoliciesGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationDiskBackupPoliciesBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationDiskBackupPoliciesBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetOrganizationDiskBackupPoliciesForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationDiskBackupPoliciesNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationDiskBackupPoliciesNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationDiskBackupPoliciesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationDiskBackupPoliciesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationDiskBackupPoliciesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationDiskBackupPoliciesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetOrganizationDiskIoProfiles.php b/src/Core/Endpoint/GetOrganizationDiskIoProfiles.php index 4dae55f6..45bad553 100644 --- a/src/Core/Endpoint/GetOrganizationDiskIoProfiles.php +++ b/src/Core/Endpoint/GetOrganizationDiskIoProfiles.php @@ -78,22 +78,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDiskIoProfilesGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationDiskIoProfilesGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationDiskIoProfilesBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationDiskIoProfilesBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetOrganizationDiskIoProfilesForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationDiskIoProfilesNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationDiskIoProfilesNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationDiskIoProfilesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationDiskIoProfilesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationDiskIoProfilesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationDiskIoProfilesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetOrganizationDiskTemplates.php b/src/Core/Endpoint/GetOrganizationDiskTemplates.php index c49a6476..7b75fb0a 100644 --- a/src/Core/Endpoint/GetOrganizationDiskTemplates.php +++ b/src/Core/Endpoint/GetOrganizationDiskTemplates.php @@ -85,10 +85,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDiskTemplatesGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationDiskTemplatesGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationDiskTemplatesBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationDiskTemplatesBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetOrganizationDiskTemplatesForbiddenException($response); @@ -97,10 +97,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re throw new \KatapultAPI\Core\Exception\GetOrganizationDiskTemplatesNotFoundException($response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationDiskTemplatesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationDiskTemplatesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationDiskTemplatesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationDiskTemplatesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetOrganizationDisks.php b/src/Core/Endpoint/GetOrganizationDisks.php index 5ec29ff6..870af1c2 100644 --- a/src/Core/Endpoint/GetOrganizationDisks.php +++ b/src/Core/Endpoint/GetOrganizationDisks.php @@ -85,22 +85,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationDisksGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationDisksBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationDisksBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetOrganizationDisksForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationDisksNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationDisksNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationDisksTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationDisksTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationDisksServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationDisksServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetOrganizationDnsZones.php b/src/Core/Endpoint/GetOrganizationDnsZones.php index eda0169d..4c59dff1 100644 --- a/src/Core/Endpoint/GetOrganizationDnsZones.php +++ b/src/Core/Endpoint/GetOrganizationDnsZones.php @@ -81,22 +81,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationDnsZonesBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationDnsZonesBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetOrganizationDnsZonesForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationDnsZonesNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationDnsZonesNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationDnsZonesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationDnsZonesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationDnsZonesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationDnsZonesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetOrganizationDnsZonesNameservers.php b/src/Core/Endpoint/GetOrganizationDnsZonesNameservers.php index 0b5859ea..77f54329 100644 --- a/src/Core/Endpoint/GetOrganizationDnsZonesNameservers.php +++ b/src/Core/Endpoint/GetOrganizationDnsZonesNameservers.php @@ -77,22 +77,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesNameserversGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesNameserversGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationDnsZonesNameserversBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationDnsZonesNameserversBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetOrganizationDnsZonesNameserversForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationDnsZonesNameserversNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationDnsZonesNameserversNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationDnsZonesNameserversTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationDnsZonesNameserversTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationDnsZonesNameserversServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationDnsZonesNameserversServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetOrganizationFileStorageVolumes.php b/src/Core/Endpoint/GetOrganizationFileStorageVolumes.php index 0524d998..e6781f2d 100644 --- a/src/Core/Endpoint/GetOrganizationFileStorageVolumes.php +++ b/src/Core/Endpoint/GetOrganizationFileStorageVolumes.php @@ -85,22 +85,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationFileStorageVolumesBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationFileStorageVolumesBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetOrganizationFileStorageVolumesForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationFileStorageVolumesNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationFileStorageVolumesNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationFileStorageVolumesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationFileStorageVolumesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationFileStorageVolumesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationFileStorageVolumesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetOrganizationIpAddresses.php b/src/Core/Endpoint/GetOrganizationIpAddresses.php index 1932b7fb..be78f207 100644 --- a/src/Core/Endpoint/GetOrganizationIpAddresses.php +++ b/src/Core/Endpoint/GetOrganizationIpAddresses.php @@ -83,22 +83,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationIpAddressesBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationIpAddressesBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetOrganizationIpAddressesForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationIpAddressesNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationIpAddressesNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationIpAddressesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationIpAddressesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationIpAddressesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationIpAddressesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetOrganizationLoadBalancers.php b/src/Core/Endpoint/GetOrganizationLoadBalancers.php index 7dae73bf..b334acef 100644 --- a/src/Core/Endpoint/GetOrganizationLoadBalancers.php +++ b/src/Core/Endpoint/GetOrganizationLoadBalancers.php @@ -85,22 +85,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationLoadBalancersBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationLoadBalancersBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetOrganizationLoadBalancersForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationLoadBalancersNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationLoadBalancersNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationLoadBalancersTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationLoadBalancersTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationLoadBalancersServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationLoadBalancersServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetOrganizationManaged.php b/src/Core/Endpoint/GetOrganizationManaged.php index f9ab1c64..a70340b2 100644 --- a/src/Core/Endpoint/GetOrganizationManaged.php +++ b/src/Core/Endpoint/GetOrganizationManaged.php @@ -84,22 +84,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationManagedGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationManagedGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationManagedBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationManagedBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetOrganizationManagedForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationManagedNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationManagedNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationManagedTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationManagedTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationManagedServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationManagedServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetOrganizationNetworkSpeedProfiles.php b/src/Core/Endpoint/GetOrganizationNetworkSpeedProfiles.php index 1b9a07f4..430d0566 100644 --- a/src/Core/Endpoint/GetOrganizationNetworkSpeedProfiles.php +++ b/src/Core/Endpoint/GetOrganizationNetworkSpeedProfiles.php @@ -78,22 +78,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationNetworkSpeedProfilesGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationNetworkSpeedProfilesGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationNetworkSpeedProfilesBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationNetworkSpeedProfilesBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetOrganizationNetworkSpeedProfilesForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationNetworkSpeedProfilesNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationNetworkSpeedProfilesNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationNetworkSpeedProfilesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationNetworkSpeedProfilesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationNetworkSpeedProfilesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationNetworkSpeedProfilesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetOrganizationPolicy.php b/src/Core/Endpoint/GetOrganizationPolicy.php index 6fa8f733..ea6aec94 100644 --- a/src/Core/Endpoint/GetOrganizationPolicy.php +++ b/src/Core/Endpoint/GetOrganizationPolicy.php @@ -76,7 +76,7 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationPolicyGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationPolicyGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetOrganizationPolicyBadRequestException($response); @@ -85,13 +85,13 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re throw new \KatapultAPI\Core\Exception\GetOrganizationPolicyForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationPolicyNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationPolicyNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationPolicyTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationPolicyTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationPolicyServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationPolicyServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetOrganizationPolicyLimits.php b/src/Core/Endpoint/GetOrganizationPolicyLimits.php index 62e790b5..90901ed8 100644 --- a/src/Core/Endpoint/GetOrganizationPolicyLimits.php +++ b/src/Core/Endpoint/GetOrganizationPolicyLimits.php @@ -76,22 +76,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationPolicyLimitsGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationPolicyLimitsGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationPolicyLimitsBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationPolicyLimitsBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetOrganizationPolicyLimitsForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationPolicyLimitsNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationPolicyLimitsNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationPolicyLimitsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationPolicyLimitsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationPolicyLimitsServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationPolicyLimitsServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetOrganizationPrices.php b/src/Core/Endpoint/GetOrganizationPrices.php index 3a62adbd..58ff5c0e 100644 --- a/src/Core/Endpoint/GetOrganizationPrices.php +++ b/src/Core/Endpoint/GetOrganizationPrices.php @@ -76,7 +76,7 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationPricesGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationPricesGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetOrganizationPricesBadRequestException($response); @@ -85,13 +85,13 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re throw new \KatapultAPI\Core\Exception\GetOrganizationPricesForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationPricesNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationPricesNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationPricesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationPricesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationPricesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationPricesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetOrganizationSecurityGroups.php b/src/Core/Endpoint/GetOrganizationSecurityGroups.php index 793687c1..69371849 100644 --- a/src/Core/Endpoint/GetOrganizationSecurityGroups.php +++ b/src/Core/Endpoint/GetOrganizationSecurityGroups.php @@ -85,22 +85,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationSecurityGroupsBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationSecurityGroupsBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetOrganizationSecurityGroupsForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationSecurityGroupsNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationSecurityGroupsNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationSecurityGroupsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationSecurityGroupsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationSecurityGroupsServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationSecurityGroupsServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetOrganizationSshKeys.php b/src/Core/Endpoint/GetOrganizationSshKeys.php index c5567c7b..3ab622af 100644 --- a/src/Core/Endpoint/GetOrganizationSshKeys.php +++ b/src/Core/Endpoint/GetOrganizationSshKeys.php @@ -78,22 +78,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSshKeysGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationSshKeysGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationSshKeysBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationSshKeysBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetOrganizationSshKeysForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationSshKeysNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationSshKeysNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationSshKeysTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationSshKeysTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationSshKeysServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationSshKeysServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetOrganizationTags.php b/src/Core/Endpoint/GetOrganizationTags.php index a7e002d4..76bfd644 100644 --- a/src/Core/Endpoint/GetOrganizationTags.php +++ b/src/Core/Endpoint/GetOrganizationTags.php @@ -81,22 +81,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationTagsGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationTagsBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationTagsBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetOrganizationTagsForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationTagsNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationTagsNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationTagsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationTagsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationTagsServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationTagsServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetOrganizationTrashObjects.php b/src/Core/Endpoint/GetOrganizationTrashObjects.php index 6f5572af..b4203bee 100644 --- a/src/Core/Endpoint/GetOrganizationTrashObjects.php +++ b/src/Core/Endpoint/GetOrganizationTrashObjects.php @@ -80,22 +80,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTrashObjectsGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationTrashObjectsGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationTrashObjectsBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationTrashObjectsBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetOrganizationTrashObjectsForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationTrashObjectsNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationTrashObjectsNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationTrashObjectsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationTrashObjectsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationTrashObjectsServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationTrashObjectsServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetOrganizationUsersWithAccess.php b/src/Core/Endpoint/GetOrganizationUsersWithAccess.php index 459f55a7..7e66cb96 100644 --- a/src/Core/Endpoint/GetOrganizationUsersWithAccess.php +++ b/src/Core/Endpoint/GetOrganizationUsersWithAccess.php @@ -85,22 +85,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationUsersWithAccessGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationUsersWithAccessGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationUsersWithAccessBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationUsersWithAccessBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetOrganizationUsersWithAccessForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationUsersWithAccessNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationUsersWithAccessNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationUsersWithAccessTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationUsersWithAccessTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationUsersWithAccessServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationUsersWithAccessServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetOrganizationVirtualMachineGroups.php b/src/Core/Endpoint/GetOrganizationVirtualMachineGroups.php index 0990880e..774850eb 100644 --- a/src/Core/Endpoint/GetOrganizationVirtualMachineGroups.php +++ b/src/Core/Endpoint/GetOrganizationVirtualMachineGroups.php @@ -77,22 +77,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationVirtualMachineGroupsBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationVirtualMachineGroupsBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetOrganizationVirtualMachineGroupsForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationVirtualMachineGroupsNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationVirtualMachineGroupsNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationVirtualMachineGroupsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationVirtualMachineGroupsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationVirtualMachineGroupsServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationVirtualMachineGroupsServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetOrganizationVirtualMachines.php b/src/Core/Endpoint/GetOrganizationVirtualMachines.php index fb829bc7..3d5ccf16 100644 --- a/src/Core/Endpoint/GetOrganizationVirtualMachines.php +++ b/src/Core/Endpoint/GetOrganizationVirtualMachines.php @@ -85,22 +85,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationVirtualMachinesBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationVirtualMachinesBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetOrganizationVirtualMachinesForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationVirtualMachinesNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationVirtualMachinesNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationVirtualMachinesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationVirtualMachinesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationVirtualMachinesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationVirtualMachinesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetOrganizations.php b/src/Core/Endpoint/GetOrganizations.php index 0380f31f..b3fbde7c 100644 --- a/src/Core/Endpoint/GetOrganizations.php +++ b/src/Core/Endpoint/GetOrganizations.php @@ -47,19 +47,19 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationsBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationsBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetOrganizationsForbiddenException($response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetOrganizationsServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetOrganizationsServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetSecurityGroup.php b/src/Core/Endpoint/GetSecurityGroup.php index 4c84a04f..70f0cea1 100644 --- a/src/Core/Endpoint/GetSecurityGroup.php +++ b/src/Core/Endpoint/GetSecurityGroup.php @@ -75,22 +75,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\SecurityGroupsSecurityGroupGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetSecurityGroupBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetSecurityGroupBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetSecurityGroupForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetSecurityGroupNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseSecurityGroupNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetSecurityGroupNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseSecurityGroupNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetSecurityGroupTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetSecurityGroupTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetSecurityGroupServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetSecurityGroupServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetSecurityGroupRules.php b/src/Core/Endpoint/GetSecurityGroupRules.php index e060e9c3..b43d5d28 100644 --- a/src/Core/Endpoint/GetSecurityGroupRules.php +++ b/src/Core/Endpoint/GetSecurityGroupRules.php @@ -79,22 +79,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetSecurityGroupRulesBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetSecurityGroupRulesBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetSecurityGroupRulesForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetSecurityGroupRulesNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseSecurityGroupNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetSecurityGroupRulesNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseSecurityGroupNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetSecurityGroupRulesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetSecurityGroupRulesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetSecurityGroupRulesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetSecurityGroupRulesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetSecurityGroupsRulesSecurityGroupRule.php b/src/Core/Endpoint/GetSecurityGroupsRulesSecurityGroupRule.php index a7afe835..84033d00 100644 --- a/src/Core/Endpoint/GetSecurityGroupsRulesSecurityGroupRule.php +++ b/src/Core/Endpoint/GetSecurityGroupsRulesSecurityGroupRule.php @@ -75,22 +75,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetSecurityGroupsRulesSecurityGroupRuleBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetSecurityGroupsRulesSecurityGroupRuleBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetSecurityGroupsRulesSecurityGroupRuleForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetSecurityGroupsRulesSecurityGroupRuleNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseSecurityGroupRuleNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetSecurityGroupsRulesSecurityGroupRuleNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseSecurityGroupRuleNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetSecurityGroupsRulesSecurityGroupRuleTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetSecurityGroupsRulesSecurityGroupRuleTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetSecurityGroupsRulesSecurityGroupRuleServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetSecurityGroupsRulesSecurityGroupRuleServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetTag.php b/src/Core/Endpoint/GetTag.php index 5a79984e..69ad83f5 100644 --- a/src/Core/Endpoint/GetTag.php +++ b/src/Core/Endpoint/GetTag.php @@ -75,22 +75,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\TagsTagGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\TagsTagGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetTagBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetTagBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetTagForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetTagNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseTagNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetTagNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseTagNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetTagTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetTagTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetTagServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetTagServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetTask.php b/src/Core/Endpoint/GetTask.php index 5442ed00..7de749ee 100644 --- a/src/Core/Endpoint/GetTask.php +++ b/src/Core/Endpoint/GetTask.php @@ -75,22 +75,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\TasksTaskGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\TasksTaskGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetTaskBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetTaskBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetTaskForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetTaskNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseTaskNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetTaskNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseTaskNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetTaskTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetTaskTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetTaskServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetTaskServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetTrashObject.php b/src/Core/Endpoint/GetTrashObject.php index 6d6b0685..f3ec3877 100644 --- a/src/Core/Endpoint/GetTrashObject.php +++ b/src/Core/Endpoint/GetTrashObject.php @@ -76,22 +76,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\TrashObjectsTrashObjectGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetTrashObjectBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetTrashObjectBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetTrashObjectForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetTrashObjectNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseTrashObjectNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetTrashObjectNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseTrashObjectNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetTrashObjectTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetTrashObjectTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetTrashObjectServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetTrashObjectServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetUsersCurrent.php b/src/Core/Endpoint/GetUsersCurrent.php index 9d1be0c6..18f0927c 100644 --- a/src/Core/Endpoint/GetUsersCurrent.php +++ b/src/Core/Endpoint/GetUsersCurrent.php @@ -48,22 +48,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\UsersCurrentGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\UsersCurrentGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetUsersCurrentBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetUsersCurrentBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetUsersCurrentForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetUsersCurrentNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseNoUserAssociatedWithIdentityResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetUsersCurrentNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseNoUserAssociatedWithIdentityResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetUsersCurrentTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetUsersCurrentTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetUsersCurrentServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetUsersCurrentServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetVMNIVMNI.php b/src/Core/Endpoint/GetVMNIVMNI.php index 2eddc8fc..6554e527 100644 --- a/src/Core/Endpoint/GetVMNIVMNI.php +++ b/src/Core/Endpoint/GetVMNIVMNI.php @@ -75,22 +75,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVMNIVMNIBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVMNIVMNIBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetVMNIVMNIForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVMNIVMNINotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineNetworkInterfaceNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVMNIVMNINotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseVirtualMachineNetworkInterfaceNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVMNIVMNITooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVMNIVMNITooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVMNIVMNIServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVMNIVMNIServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetVirtualMachine.php b/src/Core/Endpoint/GetVirtualMachine.php index 9b6274e7..544e3c65 100644 --- a/src/Core/Endpoint/GetVirtualMachine.php +++ b/src/Core/Endpoint/GetVirtualMachine.php @@ -78,25 +78,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\VirtualMachinesVirtualMachineGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachineBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachineBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetVirtualMachineForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachineNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachineNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseVirtualMachineNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachineNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseObjectInTrashResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachineNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseObjectInTrashResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachineTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachineTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachineServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachineServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetVirtualMachineAuthorizedKeys.php b/src/Core/Endpoint/GetVirtualMachineAuthorizedKeys.php index 549aeb85..6b5b255c 100644 --- a/src/Core/Endpoint/GetVirtualMachineAuthorizedKeys.php +++ b/src/Core/Endpoint/GetVirtualMachineAuthorizedKeys.php @@ -67,19 +67,19 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re if (200 === $status) { } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachineAuthorizedKeysBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachineAuthorizedKeysBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetVirtualMachineAuthorizedKeysForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachineAuthorizedKeysNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseNoVirtualMachineForAPITokenResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachineAuthorizedKeysNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseNoVirtualMachineForAPITokenResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachineAuthorizedKeysTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachineAuthorizedKeysTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachineAuthorizedKeysServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachineAuthorizedKeysServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetVirtualMachineDiskBackupPolicies.php b/src/Core/Endpoint/GetVirtualMachineDiskBackupPolicies.php index ea67ad91..9685f45a 100644 --- a/src/Core/Endpoint/GetVirtualMachineDiskBackupPolicies.php +++ b/src/Core/Endpoint/GetVirtualMachineDiskBackupPolicies.php @@ -84,25 +84,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachineDiskBackupPoliciesBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachineDiskBackupPoliciesBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetVirtualMachineDiskBackupPoliciesForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachineDiskBackupPoliciesNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachineDiskBackupPoliciesNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseVirtualMachineNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachineDiskBackupPoliciesNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseObjectInTrashResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachineDiskBackupPoliciesNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseObjectInTrashResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachineDiskBackupPoliciesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachineDiskBackupPoliciesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachineDiskBackupPoliciesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachineDiskBackupPoliciesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetVirtualMachineDisks.php b/src/Core/Endpoint/GetVirtualMachineDisks.php index 9bdc4002..c205af6e 100644 --- a/src/Core/Endpoint/GetVirtualMachineDisks.php +++ b/src/Core/Endpoint/GetVirtualMachineDisks.php @@ -82,25 +82,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDisksGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDisksGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachineDisksBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachineDisksBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetVirtualMachineDisksForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachineDisksNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachineDisksNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseVirtualMachineNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachineDisksNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseObjectInTrashResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachineDisksNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseObjectInTrashResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachineDisksTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachineDisksTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachineDisksServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachineDisksServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetVirtualMachineGroup.php b/src/Core/Endpoint/GetVirtualMachineGroup.php index 0b9a4a7c..b88348f0 100644 --- a/src/Core/Endpoint/GetVirtualMachineGroup.php +++ b/src/Core/Endpoint/GetVirtualMachineGroup.php @@ -75,22 +75,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachineGroupBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachineGroupBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetVirtualMachineGroupForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachineGroupNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineGroupNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachineGroupNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseVirtualMachineGroupNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachineGroupTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachineGroupTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachineGroupServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachineGroupServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetVirtualMachineNetworkInterface.php b/src/Core/Endpoint/GetVirtualMachineNetworkInterface.php index e39bf1fe..10d4b70a 100644 --- a/src/Core/Endpoint/GetVirtualMachineNetworkInterface.php +++ b/src/Core/Endpoint/GetVirtualMachineNetworkInterface.php @@ -82,10 +82,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachineNetworkInterfaceBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachineNetworkInterfaceBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetVirtualMachineNetworkInterfaceForbiddenException($response); @@ -94,13 +94,13 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re throw new \KatapultAPI\Core\Exception\GetVirtualMachineNetworkInterfaceNotFoundException($response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachineNetworkInterfaceNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseObjectInTrashResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachineNetworkInterfaceNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseObjectInTrashResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachineNetworkInterfaceTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachineNetworkInterfaceTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachineNetworkInterfaceServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachineNetworkInterfaceServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetVirtualMachineNetworkInterfaceAvailableIpsAddressVersion.php b/src/Core/Endpoint/GetVirtualMachineNetworkInterfaceAvailableIpsAddressVersion.php index 400cefa7..20971e3c 100644 --- a/src/Core/Endpoint/GetVirtualMachineNetworkInterfaceAvailableIpsAddressVersion.php +++ b/src/Core/Endpoint/GetVirtualMachineNetworkInterfaceAvailableIpsAddressVersion.php @@ -77,22 +77,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsAddressVersionGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsAddressVersionGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachineNetworkInterfaceAvailableIpsAddressVersionBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachineNetworkInterfaceAvailableIpsAddressVersionBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetVirtualMachineNetworkInterfaceAvailableIpsAddressVersionForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachineNetworkInterfaceAvailableIpsAddressVersionNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineNetworkInterfaceNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachineNetworkInterfaceAvailableIpsAddressVersionNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseVirtualMachineNetworkInterfaceNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachineNetworkInterfaceAvailableIpsAddressVersionTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachineNetworkInterfaceAvailableIpsAddressVersionTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachineNetworkInterfaceAvailableIpsAddressVersionServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachineNetworkInterfaceAvailableIpsAddressVersionServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetVirtualMachineNetworkInterfaces.php b/src/Core/Endpoint/GetVirtualMachineNetworkInterfaces.php index 2d3bdebe..d230b37d 100644 --- a/src/Core/Endpoint/GetVirtualMachineNetworkInterfaces.php +++ b/src/Core/Endpoint/GetVirtualMachineNetworkInterfaces.php @@ -82,25 +82,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachineNetworkInterfacesBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachineNetworkInterfacesBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetVirtualMachineNetworkInterfacesForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachineNetworkInterfacesNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachineNetworkInterfacesNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseVirtualMachineNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachineNetworkInterfacesNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseObjectInTrashResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachineNetworkInterfacesNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseObjectInTrashResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachineNetworkInterfacesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachineNetworkInterfacesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachineNetworkInterfacesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachineNetworkInterfacesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetVirtualMachinePackage.php b/src/Core/Endpoint/GetVirtualMachinePackage.php index 3add91bf..740da407 100644 --- a/src/Core/Endpoint/GetVirtualMachinePackage.php +++ b/src/Core/Endpoint/GetVirtualMachinePackage.php @@ -76,22 +76,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\VirtualMachinePackagesVirtualMachinePackageGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\VirtualMachinePackagesVirtualMachinePackageGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachinePackageBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachinePackageBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetVirtualMachinePackageForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachinePackageNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseVirtualMachinePackageNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachinePackageNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseVirtualMachinePackageNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachinePackageTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachinePackageTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachinePackageServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachinePackageServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetVirtualMachinePackages.php b/src/Core/Endpoint/GetVirtualMachinePackages.php index 3ae38613..53b26f37 100644 --- a/src/Core/Endpoint/GetVirtualMachinePackages.php +++ b/src/Core/Endpoint/GetVirtualMachinePackages.php @@ -80,22 +80,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\VirtualMachinePackagesGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\VirtualMachinePackagesGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachinePackagesBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachinePackagesBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetVirtualMachinePackagesForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachinePackagesNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachinePackagesNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachinePackagesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachinePackagesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachinePackagesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachinePackagesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetVirtualMachinesBuildsVirtualMachineBuild.php b/src/Core/Endpoint/GetVirtualMachinesBuildsVirtualMachineBuild.php index c3b99c74..c4f27c7e 100644 --- a/src/Core/Endpoint/GetVirtualMachinesBuildsVirtualMachineBuild.php +++ b/src/Core/Endpoint/GetVirtualMachinesBuildsVirtualMachineBuild.php @@ -75,22 +75,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\VirtualMachinesBuildsVirtualMachineBuildGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\VirtualMachinesBuildsVirtualMachineBuildGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachinesBuildsVirtualMachineBuildBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachinesBuildsVirtualMachineBuildBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetVirtualMachinesBuildsVirtualMachineBuildForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachinesBuildsVirtualMachineBuildNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineBuildNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachinesBuildsVirtualMachineBuildNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseVirtualMachineBuildNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachinesBuildsVirtualMachineBuildTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachinesBuildsVirtualMachineBuildTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetVirtualMachinesBuildsVirtualMachineBuildServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetVirtualMachinesBuildsVirtualMachineBuildServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetZone.php b/src/Core/Endpoint/GetZone.php index 6d869477..b7dd5a29 100644 --- a/src/Core/Endpoint/GetZone.php +++ b/src/Core/Endpoint/GetZone.php @@ -74,22 +74,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ZonesZoneGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\ZonesZoneGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetZoneBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetZoneBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetZoneForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetZoneNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseZoneNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetZoneNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseZoneNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetZoneTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetZoneTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetZoneServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetZoneServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/GetZones.php b/src/Core/Endpoint/GetZones.php index 4c137e0a..297dc38c 100644 --- a/src/Core/Endpoint/GetZones.php +++ b/src/Core/Endpoint/GetZones.php @@ -47,19 +47,19 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ZonesGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\ZonesGetResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetZonesBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetZonesBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\GetZonesForbiddenException($response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetZonesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetZonesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\GetZonesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\GetZonesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PatchAddressList.php b/src/Core/Endpoint/PatchAddressList.php index 04688818..c70a40a2 100644 --- a/src/Core/Endpoint/PatchAddressList.php +++ b/src/Core/Endpoint/PatchAddressList.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\AddressListsAddressListPatchResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\AddressListsAddressListPatchResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchAddressListBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchAddressListBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PatchAddressListForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchAddressListNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAddressListNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchAddressListNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAddressListNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchAddressListUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchAddressListUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchAddressListTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchAddressListTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchAddressListServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchAddressListServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PatchAddressListEntry.php b/src/Core/Endpoint/PatchAddressListEntry.php index c583f53c..2e769f53 100644 --- a/src/Core/Endpoint/PatchAddressListEntry.php +++ b/src/Core/Endpoint/PatchAddressListEntry.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryPatchResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\AddressListEntriesAddressListEntryPatchResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchAddressListEntryBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchAddressListEntryBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PatchAddressListEntryForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchAddressListEntryNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAddressListEntryNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchAddressListEntryNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAddressListEntryNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchAddressListEntryUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchAddressListEntryUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchAddressListEntryTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchAddressListEntryTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchAddressListEntryServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchAddressListEntryServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PatchApiToken.php b/src/Core/Endpoint/PatchApiToken.php index 3753a364..97a4f5d8 100644 --- a/src/Core/Endpoint/PatchApiToken.php +++ b/src/Core/Endpoint/PatchApiToken.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenPatchResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\ApiTokensApiTokenPatchResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchApiTokenBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchApiTokenBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PatchApiTokenForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchApiTokenNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPITokenNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchApiTokenNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPITokenNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchApiTokenUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchApiTokenUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchApiTokenTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchApiTokenTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchApiTokenServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchApiTokenServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PatchDisk.php b/src/Core/Endpoint/PatchDisk.php index e86a041b..5c413c9b 100644 --- a/src/Core/Endpoint/PatchDisk.php +++ b/src/Core/Endpoint/PatchDisk.php @@ -64,28 +64,28 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\DisksDiskPatchResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\DisksDiskPatchResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchDiskBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchDiskBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PatchDiskForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchDiskNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseDiskNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchDiskNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseDiskNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchDiskNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseObjectInTrashResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchDiskNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseObjectInTrashResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PatchDiskUnprocessableEntityException($response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchDiskTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchDiskTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchDiskServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchDiskServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PatchDiskBackupPolicy.php b/src/Core/Endpoint/PatchDiskBackupPolicy.php index d040c710..e4e82281 100644 --- a/src/Core/Endpoint/PatchDiskBackupPolicy.php +++ b/src/Core/Endpoint/PatchDiskBackupPolicy.php @@ -64,28 +64,28 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyPatchResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchDiskBackupPolicyBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchDiskBackupPolicyBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PatchDiskBackupPolicyForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchDiskBackupPolicyNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseDiskBackupPolicyNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchDiskBackupPolicyNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseDiskBackupPolicyNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchDiskBackupPolicyNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseObjectInTrashResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchDiskBackupPolicyNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseObjectInTrashResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchDiskBackupPolicyUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchDiskBackupPolicyUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchDiskBackupPolicyTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchDiskBackupPolicyTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchDiskBackupPolicyServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchDiskBackupPolicyServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PatchDnsRecord.php b/src/Core/Endpoint/PatchDnsRecord.php index ba544ced..5d0bc0ce 100644 --- a/src/Core/Endpoint/PatchDnsRecord.php +++ b/src/Core/Endpoint/PatchDnsRecord.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordPatchResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\DnsRecordsDnsRecordPatchResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchDnsRecordBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchDnsRecordBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PatchDnsRecordForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchDnsRecordNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseDNSRecordNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchDnsRecordNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseDNSRecordNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchDnsRecordUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchDnsRecordUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchDnsRecordTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchDnsRecordTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchDnsRecordServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchDnsRecordServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PatchDnsZone.php b/src/Core/Endpoint/PatchDnsZone.php index a85a5ef1..146efee7 100644 --- a/src/Core/Endpoint/PatchDnsZone.php +++ b/src/Core/Endpoint/PatchDnsZone.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\DnsZonesDnsZonePatchResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\DnsZonesDnsZonePatchResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchDnsZoneBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchDnsZoneBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PatchDnsZoneForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchDnsZoneNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseDNSZoneNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchDnsZoneNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseDNSZoneNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchDnsZoneUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchDnsZoneUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchDnsZoneTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchDnsZoneTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchDnsZoneServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchDnsZoneServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PatchFileStorageVolume.php b/src/Core/Endpoint/PatchFileStorageVolume.php index f1a9204d..bb3b8128 100644 --- a/src/Core/Endpoint/PatchFileStorageVolume.php +++ b/src/Core/Endpoint/PatchFileStorageVolume.php @@ -64,28 +64,28 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumePatchResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumePatchResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchFileStorageVolumeBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchFileStorageVolumeBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PatchFileStorageVolumeForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchFileStorageVolumeNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseFileStorageVolumeNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchFileStorageVolumeNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseFileStorageVolumeNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchFileStorageVolumeNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseObjectInTrashResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchFileStorageVolumeNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseObjectInTrashResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchFileStorageVolumeUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchFileStorageVolumeUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchFileStorageVolumeTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchFileStorageVolumeTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchFileStorageVolumeServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchFileStorageVolumeServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PatchIpAddress.php b/src/Core/Endpoint/PatchIpAddress.php index b8bf2716..059dde0e 100644 --- a/src/Core/Endpoint/PatchIpAddress.php +++ b/src/Core/Endpoint/PatchIpAddress.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressPatchResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\IpAddressesIpAddressPatchResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchIpAddressBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchIpAddressBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PatchIpAddressForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchIpAddressNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseIPAddressNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchIpAddressNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseIPAddressNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchIpAddressUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchIpAddressUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchIpAddressTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchIpAddressTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchIpAddressServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchIpAddressServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PatchLoadBalancer.php b/src/Core/Endpoint/PatchLoadBalancer.php index 6e3b2e4f..8c46c335 100644 --- a/src/Core/Endpoint/PatchLoadBalancer.php +++ b/src/Core/Endpoint/PatchLoadBalancer.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerPatchResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\LoadBalancersLoadBalancerPatchResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchLoadBalancerBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchLoadBalancerBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PatchLoadBalancerForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchLoadBalancerNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseLoadBalancerNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchLoadBalancerNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseLoadBalancerNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchLoadBalancerUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchLoadBalancerUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchLoadBalancerTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchLoadBalancerTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchLoadBalancerServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchLoadBalancerServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PatchLoadBalancersRulesLoadBalancerRule.php b/src/Core/Endpoint/PatchLoadBalancersRulesLoadBalancerRule.php index 86dbf49d..646e45fc 100644 --- a/src/Core/Endpoint/PatchLoadBalancersRulesLoadBalancerRule.php +++ b/src/Core/Endpoint/PatchLoadBalancersRulesLoadBalancerRule.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRulePatchResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRulePatchResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchLoadBalancersRulesLoadBalancerRuleBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchLoadBalancersRulesLoadBalancerRuleBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PatchLoadBalancersRulesLoadBalancerRuleForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchLoadBalancersRulesLoadBalancerRuleNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseLoadBalancerRuleNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchLoadBalancersRulesLoadBalancerRuleNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseLoadBalancerRuleNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchLoadBalancersRulesLoadBalancerRuleUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchLoadBalancersRulesLoadBalancerRuleUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchLoadBalancersRulesLoadBalancerRuleTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchLoadBalancersRulesLoadBalancerRuleTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchLoadBalancersRulesLoadBalancerRuleServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchLoadBalancersRulesLoadBalancerRuleServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PatchSecurityGroup.php b/src/Core/Endpoint/PatchSecurityGroup.php index bd406a34..f3fedc23 100644 --- a/src/Core/Endpoint/PatchSecurityGroup.php +++ b/src/Core/Endpoint/PatchSecurityGroup.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupPatchResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\SecurityGroupsSecurityGroupPatchResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchSecurityGroupBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchSecurityGroupBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PatchSecurityGroupForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchSecurityGroupNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseSecurityGroupNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchSecurityGroupNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseSecurityGroupNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchSecurityGroupUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchSecurityGroupUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchSecurityGroupTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchSecurityGroupTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchSecurityGroupServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchSecurityGroupServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PatchSecurityGroupsRulesSecurityGroupRule.php b/src/Core/Endpoint/PatchSecurityGroupsRulesSecurityGroupRule.php index 7efa36f5..79c6a6cf 100644 --- a/src/Core/Endpoint/PatchSecurityGroupsRulesSecurityGroupRule.php +++ b/src/Core/Endpoint/PatchSecurityGroupsRulesSecurityGroupRule.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRulePatchResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRulePatchResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchSecurityGroupsRulesSecurityGroupRuleBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchSecurityGroupsRulesSecurityGroupRuleBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PatchSecurityGroupsRulesSecurityGroupRuleForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchSecurityGroupsRulesSecurityGroupRuleNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseSecurityGroupRuleNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchSecurityGroupsRulesSecurityGroupRuleNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseSecurityGroupRuleNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchSecurityGroupsRulesSecurityGroupRuleUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchSecurityGroupsRulesSecurityGroupRuleUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchSecurityGroupsRulesSecurityGroupRuleTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchSecurityGroupsRulesSecurityGroupRuleTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchSecurityGroupsRulesSecurityGroupRuleServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchSecurityGroupsRulesSecurityGroupRuleServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PatchTag.php b/src/Core/Endpoint/PatchTag.php index 586715bc..0d7ea906 100644 --- a/src/Core/Endpoint/PatchTag.php +++ b/src/Core/Endpoint/PatchTag.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\TagsTagPatchResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\TagsTagPatchResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchTagBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchTagBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PatchTagForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchTagNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseTagNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchTagNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseTagNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchTagUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchTagUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchTagTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchTagTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchTagServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchTagServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PatchVirtualMachine.php b/src/Core/Endpoint/PatchVirtualMachine.php index 2736dbe4..87a7cfe8 100644 --- a/src/Core/Endpoint/PatchVirtualMachine.php +++ b/src/Core/Endpoint/PatchVirtualMachine.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePatchResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePatchResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchVirtualMachineBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchVirtualMachineBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PatchVirtualMachineForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchVirtualMachineNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchVirtualMachineNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseVirtualMachineNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchVirtualMachineNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseObjectInTrashResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchVirtualMachineNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseObjectInTrashResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchVirtualMachineTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchVirtualMachineTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchVirtualMachineServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchVirtualMachineServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PatchVirtualMachineGroup.php b/src/Core/Endpoint/PatchVirtualMachineGroup.php index e7f3f76f..ace85c84 100644 --- a/src/Core/Endpoint/PatchVirtualMachineGroup.php +++ b/src/Core/Endpoint/PatchVirtualMachineGroup.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupPatchResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchVirtualMachineGroupBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchVirtualMachineGroupBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PatchVirtualMachineGroupForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchVirtualMachineGroupNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineGroupNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchVirtualMachineGroupNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseVirtualMachineGroupNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchVirtualMachineGroupUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchVirtualMachineGroupUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchVirtualMachineGroupTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchVirtualMachineGroupTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchVirtualMachineGroupServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchVirtualMachineGroupServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PatchVirtualMachineNetworkInterfaceUpdateSpeedProfile.php b/src/Core/Endpoint/PatchVirtualMachineNetworkInterfaceUpdateSpeedProfile.php index 73507445..c83d3768 100644 --- a/src/Core/Endpoint/PatchVirtualMachineNetworkInterfaceUpdateSpeedProfile.php +++ b/src/Core/Endpoint/PatchVirtualMachineNetworkInterfaceUpdateSpeedProfile.php @@ -63,10 +63,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchVirtualMachineNetworkInterfaceUpdateSpeedProfileBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchVirtualMachineNetworkInterfaceUpdateSpeedProfileBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PatchVirtualMachineNetworkInterfaceUpdateSpeedProfileForbiddenException($response); @@ -75,16 +75,16 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re throw new \KatapultAPI\Core\Exception\PatchVirtualMachineNetworkInterfaceUpdateSpeedProfileNotFoundException($response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchVirtualMachineNetworkInterfaceUpdateSpeedProfileNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseTaskQueueingErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchVirtualMachineNetworkInterfaceUpdateSpeedProfileNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseTaskQueueingErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchVirtualMachineNetworkInterfaceUpdateSpeedProfileUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseSpeedProfileAlreadyAssignedResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchVirtualMachineNetworkInterfaceUpdateSpeedProfileUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseSpeedProfileAlreadyAssignedResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchVirtualMachineNetworkInterfaceUpdateSpeedProfileTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchVirtualMachineNetworkInterfaceUpdateSpeedProfileTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PatchVirtualMachineNetworkInterfaceUpdateSpeedProfileServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PatchVirtualMachineNetworkInterfaceUpdateSpeedProfileServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostAddressListEntries.php b/src/Core/Endpoint/PostAddressListEntries.php index a9c3be7a..57df76e8 100644 --- a/src/Core/Endpoint/PostAddressListEntries.php +++ b/src/Core/Endpoint/PostAddressListEntries.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesPostResponse201', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\AddressListsAddressListEntriesPostResponse201', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostAddressListEntriesBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostAddressListEntriesBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostAddressListEntriesForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostAddressListEntriesNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAddressListNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostAddressListEntriesNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAddressListNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostAddressListEntriesUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostAddressListEntriesUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostAddressListEntriesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostAddressListEntriesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostAddressListEntriesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostAddressListEntriesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostAddressListEntriesBulk.php b/src/Core/Endpoint/PostAddressListEntriesBulk.php index 75f8a2a1..8df755b8 100644 --- a/src/Core/Endpoint/PostAddressListEntriesBulk.php +++ b/src/Core/Endpoint/PostAddressListEntriesBulk.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesBulkPostResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\AddressListsAddressListEntriesBulkPostResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostAddressListEntriesBulkBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostAddressListEntriesBulkBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostAddressListEntriesBulkForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostAddressListEntriesBulkNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAddressListNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostAddressListEntriesBulkNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAddressListNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostAddressListEntriesBulkUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostAddressListEntriesBulkUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostAddressListEntriesBulkTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostAddressListEntriesBulkTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostAddressListEntriesBulkServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostAddressListEntriesBulkServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostApiTokenRegenerateSecret.php b/src/Core/Endpoint/PostApiTokenRegenerateSecret.php index e61cd519..d4125ae7 100644 --- a/src/Core/Endpoint/PostApiTokenRegenerateSecret.php +++ b/src/Core/Endpoint/PostApiTokenRegenerateSecret.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenRegenerateSecretPostResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\ApiTokensApiTokenRegenerateSecretPostResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostApiTokenRegenerateSecretBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostApiTokenRegenerateSecretBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostApiTokenRegenerateSecretForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostApiTokenRegenerateSecretNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPITokenNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostApiTokenRegenerateSecretNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPITokenNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostApiTokenRegenerateSecretUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostApiTokenRegenerateSecretUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostApiTokenRegenerateSecretTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostApiTokenRegenerateSecretTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostApiTokenRegenerateSecretServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostApiTokenRegenerateSecretServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostDiskAssign.php b/src/Core/Endpoint/PostDiskAssign.php index 823a37ba..027cdec3 100644 --- a/src/Core/Endpoint/PostDiskAssign.php +++ b/src/Core/Endpoint/PostDiskAssign.php @@ -64,10 +64,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\DisksDiskAssignPostResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\DisksDiskAssignPostResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDiskAssignBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDiskAssignBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostDiskAssignForbiddenException($response); @@ -76,16 +76,16 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re throw new \KatapultAPI\Core\Exception\PostDiskAssignNotFoundException($response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDiskAssignNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseObjectInTrashResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDiskAssignNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseObjectInTrashResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDiskAssignUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseUnableToAssignResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDiskAssignUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseUnableToAssignResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDiskAssignTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDiskAssignTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDiskAssignServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDiskAssignServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostDiskAttach.php b/src/Core/Endpoint/PostDiskAttach.php index 06b8a5c5..768495e7 100644 --- a/src/Core/Endpoint/PostDiskAttach.php +++ b/src/Core/Endpoint/PostDiskAttach.php @@ -64,28 +64,28 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\DisksDiskAttachPostResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\DisksDiskAttachPostResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDiskAttachBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDiskAttachBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostDiskAttachForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDiskAttachNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseDiskNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDiskAttachNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseDiskNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostDiskAttachNotAcceptableException($response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDiskAttachUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseUnassignedDiskResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDiskAttachUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseUnassignedDiskResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDiskAttachTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDiskAttachTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDiskAttachServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDiskAttachServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostDiskDetach.php b/src/Core/Endpoint/PostDiskDetach.php index 38b65e7a..f51e914c 100644 --- a/src/Core/Endpoint/PostDiskDetach.php +++ b/src/Core/Endpoint/PostDiskDetach.php @@ -64,28 +64,28 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\DisksDiskDetachPostResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\DisksDiskDetachPostResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDiskDetachBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDiskDetachBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostDiskDetachForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDiskDetachNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseDiskNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDiskDetachNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseDiskNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostDiskDetachNotAcceptableException($response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDiskDetachUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseUnassignedDiskResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDiskDetachUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseUnassignedDiskResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDiskDetachTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDiskDetachTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDiskDetachServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDiskDetachServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostDiskDiskBackupPolicies.php b/src/Core/Endpoint/PostDiskDiskBackupPolicies.php index ea64bad7..ea056de9 100644 --- a/src/Core/Endpoint/PostDiskDiskBackupPolicies.php +++ b/src/Core/Endpoint/PostDiskDiskBackupPolicies.php @@ -64,28 +64,28 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesPostResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesPostResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDiskDiskBackupPoliciesBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDiskDiskBackupPoliciesBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostDiskDiskBackupPoliciesForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDiskDiskBackupPoliciesNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseDiskNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDiskDiskBackupPoliciesNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseDiskNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDiskDiskBackupPoliciesNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseObjectInTrashResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDiskDiskBackupPoliciesNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseObjectInTrashResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDiskDiskBackupPoliciesUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDiskDiskBackupPoliciesUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDiskDiskBackupPoliciesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDiskDiskBackupPoliciesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDiskDiskBackupPoliciesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDiskDiskBackupPoliciesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostDiskUnassign.php b/src/Core/Endpoint/PostDiskUnassign.php index 3ee5429f..d99a6048 100644 --- a/src/Core/Endpoint/PostDiskUnassign.php +++ b/src/Core/Endpoint/PostDiskUnassign.php @@ -64,28 +64,28 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\DisksDiskUnassignPostResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\DisksDiskUnassignPostResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDiskUnassignBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDiskUnassignBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostDiskUnassignForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDiskUnassignNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseDiskNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDiskUnassignNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseDiskNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDiskUnassignNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseObjectInTrashResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDiskUnassignNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseObjectInTrashResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDiskUnassignUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseUnableToUnassignResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDiskUnassignUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseUnableToUnassignResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDiskUnassignTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDiskUnassignTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDiskUnassignServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDiskUnassignServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostDnsZoneRecords.php b/src/Core/Endpoint/PostDnsZoneRecords.php index 9f596b10..45bdc0fd 100644 --- a/src/Core/Endpoint/PostDnsZoneRecords.php +++ b/src/Core/Endpoint/PostDnsZoneRecords.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneRecordsPostResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\DnsZonesDnsZoneRecordsPostResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDnsZoneRecordsBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDnsZoneRecordsBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostDnsZoneRecordsForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDnsZoneRecordsNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseDNSZoneNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDnsZoneRecordsNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseDNSZoneNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDnsZoneRecordsUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDnsZoneRecordsUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDnsZoneRecordsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDnsZoneRecordsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDnsZoneRecordsServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDnsZoneRecordsServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostDnsZoneVerify.php b/src/Core/Endpoint/PostDnsZoneVerify.php index 80b67864..35f2d0e6 100644 --- a/src/Core/Endpoint/PostDnsZoneVerify.php +++ b/src/Core/Endpoint/PostDnsZoneVerify.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneVerifyPostResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\DnsZonesDnsZoneVerifyPostResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDnsZoneVerifyBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDnsZoneVerifyBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostDnsZoneVerifyForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDnsZoneVerifyNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseDNSZoneNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDnsZoneVerifyNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseDNSZoneNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDnsZoneVerifyUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseDNSZoneNotVerifiedResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDnsZoneVerifyUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseDNSZoneNotVerifiedResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDnsZoneVerifyTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDnsZoneVerifyTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostDnsZoneVerifyServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostDnsZoneVerifyServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostInvalidateLinkedWebSession.php b/src/Core/Endpoint/PostInvalidateLinkedWebSession.php index 511fc295..47225048 100644 --- a/src/Core/Endpoint/PostInvalidateLinkedWebSession.php +++ b/src/Core/Endpoint/PostInvalidateLinkedWebSession.php @@ -61,7 +61,7 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\InvalidateLinkedWebSessionPostResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\InvalidateLinkedWebSessionPostResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostInvalidateLinkedWebSessionBadRequestException($response); @@ -70,10 +70,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re throw new \KatapultAPI\Core\Exception\PostInvalidateLinkedWebSessionForbiddenException($response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostInvalidateLinkedWebSessionTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostInvalidateLinkedWebSessionTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostInvalidateLinkedWebSessionServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostInvalidateLinkedWebSessionServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostIpAddressUnallocate.php b/src/Core/Endpoint/PostIpAddressUnallocate.php index d811612d..6830a949 100644 --- a/src/Core/Endpoint/PostIpAddressUnallocate.php +++ b/src/Core/Endpoint/PostIpAddressUnallocate.php @@ -64,28 +64,28 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressUnallocatePostResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\IpAddressesIpAddressUnallocatePostResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostIpAddressUnallocateBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostIpAddressUnallocateBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostIpAddressUnallocateForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostIpAddressUnallocateNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseIPAddressNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostIpAddressUnallocateNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseIPAddressNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (409 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostIpAddressUnallocateConflictException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseResourceDoesNotSupportUnallocationResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostIpAddressUnallocateConflictException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseResourceDoesNotSupportUnallocationResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostIpAddressUnallocateUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseNoAllocationResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostIpAddressUnallocateUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseNoAllocationResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostIpAddressUnallocateTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostIpAddressUnallocateTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostIpAddressUnallocateServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostIpAddressUnallocateServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostLoadBalancerRules.php b/src/Core/Endpoint/PostLoadBalancerRules.php index 40872f5f..22554bcb 100644 --- a/src/Core/Endpoint/PostLoadBalancerRules.php +++ b/src/Core/Endpoint/PostLoadBalancerRules.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesPostResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesPostResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostLoadBalancerRulesBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostLoadBalancerRulesBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostLoadBalancerRulesForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostLoadBalancerRulesNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseLoadBalancerNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostLoadBalancerRulesNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseLoadBalancerNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostLoadBalancerRulesUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostLoadBalancerRulesUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostLoadBalancerRulesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostLoadBalancerRulesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostLoadBalancerRulesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostLoadBalancerRulesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostOrganizationAddressLists.php b/src/Core/Endpoint/PostOrganizationAddressLists.php index ea5b6ad4..2a20d3c5 100644 --- a/src/Core/Endpoint/PostOrganizationAddressLists.php +++ b/src/Core/Endpoint/PostOrganizationAddressLists.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsPostResponse201', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsPostResponse201', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationAddressListsBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationAddressListsBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostOrganizationAddressListsForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationAddressListsNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationAddressListsNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationAddressListsUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationAddressListsUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationAddressListsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationAddressListsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationAddressListsServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationAddressListsServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostOrganizationApiTokens.php b/src/Core/Endpoint/PostOrganizationApiTokens.php index 0991267f..2047dae4 100644 --- a/src/Core/Endpoint/PostOrganizationApiTokens.php +++ b/src/Core/Endpoint/PostOrganizationApiTokens.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensPostResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensPostResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationApiTokensBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationApiTokensBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostOrganizationApiTokensForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationApiTokensNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationApiTokensNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationApiTokensUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationApiTokensUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationApiTokensTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationApiTokensTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationApiTokensServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationApiTokensServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostOrganizationDisks.php b/src/Core/Endpoint/PostOrganizationDisks.php index 04340ee5..f25ec653 100644 --- a/src/Core/Endpoint/PostOrganizationDisks.php +++ b/src/Core/Endpoint/PostOrganizationDisks.php @@ -64,28 +64,28 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksPostResponse201', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationDisksPostResponse201', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationDisksBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationDisksBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostOrganizationDisksForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationDisksNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationDisksNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationDisksNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseTaskQueueingErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationDisksNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseTaskQueueingErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationDisksUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationDisksUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationDisksTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationDisksTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationDisksServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationDisksServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostOrganizationDnsZones.php b/src/Core/Endpoint/PostOrganizationDnsZones.php index 975643fd..1a0f1e91 100644 --- a/src/Core/Endpoint/PostOrganizationDnsZones.php +++ b/src/Core/Endpoint/PostOrganizationDnsZones.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesPostResponse201', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesPostResponse201', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationDnsZonesBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationDnsZonesBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostOrganizationDnsZonesForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationDnsZonesNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationDnsZonesNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationDnsZonesUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationDnsZonesUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationDnsZonesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationDnsZonesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationDnsZonesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationDnsZonesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostOrganizationFileStorageVolumes.php b/src/Core/Endpoint/PostOrganizationFileStorageVolumes.php index b967b8df..4a2fd7a6 100644 --- a/src/Core/Endpoint/PostOrganizationFileStorageVolumes.php +++ b/src/Core/Endpoint/PostOrganizationFileStorageVolumes.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesPostResponse201', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesPostResponse201', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationFileStorageVolumesBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationFileStorageVolumesBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostOrganizationFileStorageVolumesForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationFileStorageVolumesNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationFileStorageVolumesNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationFileStorageVolumesUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationFileStorageVolumesUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationFileStorageVolumesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationFileStorageVolumesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationFileStorageVolumesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationFileStorageVolumesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostOrganizationIpAddresses.php b/src/Core/Endpoint/PostOrganizationIpAddresses.php index ae552de4..1103457f 100644 --- a/src/Core/Endpoint/PostOrganizationIpAddresses.php +++ b/src/Core/Endpoint/PostOrganizationIpAddresses.php @@ -63,10 +63,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesPostResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesPostResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationIpAddressesBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationIpAddressesBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostOrganizationIpAddressesForbiddenException($response); @@ -75,10 +75,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re throw new \KatapultAPI\Core\Exception\PostOrganizationIpAddressesNotFoundException($response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationIpAddressesUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationIpAddressesUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationIpAddressesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationIpAddressesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostOrganizationIpAddressesServiceUnavailableException($response); diff --git a/src/Core/Endpoint/PostOrganizationLoadBalancers.php b/src/Core/Endpoint/PostOrganizationLoadBalancers.php index 79878fed..e000d8f6 100644 --- a/src/Core/Endpoint/PostOrganizationLoadBalancers.php +++ b/src/Core/Endpoint/PostOrganizationLoadBalancers.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersPostResponse201', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersPostResponse201', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationLoadBalancersBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationLoadBalancersBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostOrganizationLoadBalancersForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationLoadBalancersNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationLoadBalancersNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationLoadBalancersUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationLoadBalancersUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationLoadBalancersTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationLoadBalancersTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationLoadBalancersServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationLoadBalancersServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostOrganizationManaged.php b/src/Core/Endpoint/PostOrganizationManaged.php index 15081967..f2c1f49e 100644 --- a/src/Core/Endpoint/PostOrganizationManaged.php +++ b/src/Core/Endpoint/PostOrganizationManaged.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationManagedPostResponse201', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationManagedPostResponse201', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationManagedBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationManagedBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostOrganizationManagedForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationManagedNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationManagedNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostOrganizationManagedUnprocessableEntityException($response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationManagedTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationManagedTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationManagedServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationManagedServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostOrganizationSecurityGroups.php b/src/Core/Endpoint/PostOrganizationSecurityGroups.php index 9d7b8efc..016c787a 100644 --- a/src/Core/Endpoint/PostOrganizationSecurityGroups.php +++ b/src/Core/Endpoint/PostOrganizationSecurityGroups.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsPostResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsPostResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationSecurityGroupsBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationSecurityGroupsBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostOrganizationSecurityGroupsForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationSecurityGroupsNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationSecurityGroupsNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationSecurityGroupsUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationSecurityGroupsUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationSecurityGroupsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationSecurityGroupsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationSecurityGroupsServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationSecurityGroupsServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostOrganizationSshKeys.php b/src/Core/Endpoint/PostOrganizationSshKeys.php index d629a5ac..cd68c7f3 100644 --- a/src/Core/Endpoint/PostOrganizationSshKeys.php +++ b/src/Core/Endpoint/PostOrganizationSshKeys.php @@ -61,25 +61,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSshKeysPostResponse201', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationSshKeysPostResponse201', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationSshKeysBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationSshKeysBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostOrganizationSshKeysForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationSshKeysNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationSshKeysNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationSshKeysUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationSshKeysUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationSshKeysTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationSshKeysTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationSshKeysServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationSshKeysServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostOrganizationTags.php b/src/Core/Endpoint/PostOrganizationTags.php index 904f15d0..dfd8c556 100644 --- a/src/Core/Endpoint/PostOrganizationTags.php +++ b/src/Core/Endpoint/PostOrganizationTags.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsPostResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationTagsPostResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationTagsBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationTagsBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostOrganizationTagsForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationTagsNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationTagsNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationTagsUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationTagsUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationTagsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationTagsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationTagsServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationTagsServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostOrganizationTrashObjectsPurgeAll.php b/src/Core/Endpoint/PostOrganizationTrashObjectsPurgeAll.php index 6bc92b84..e257ac16 100644 --- a/src/Core/Endpoint/PostOrganizationTrashObjectsPurgeAll.php +++ b/src/Core/Endpoint/PostOrganizationTrashObjectsPurgeAll.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationTrashObjectsPurgeAllBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationTrashObjectsPurgeAllBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostOrganizationTrashObjectsPurgeAllForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationTrashObjectsPurgeAllNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationTrashObjectsPurgeAllNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationTrashObjectsPurgeAllNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseTaskQueueingErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationTrashObjectsPurgeAllNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseTaskQueueingErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationTrashObjectsPurgeAllTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationTrashObjectsPurgeAllTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationTrashObjectsPurgeAllServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationTrashObjectsPurgeAllServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostOrganizationVirtualMachineGroups.php b/src/Core/Endpoint/PostOrganizationVirtualMachineGroups.php index c9e7f43d..cfa2bc36 100644 --- a/src/Core/Endpoint/PostOrganizationVirtualMachineGroups.php +++ b/src/Core/Endpoint/PostOrganizationVirtualMachineGroups.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsPostResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationVirtualMachineGroupsBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationVirtualMachineGroupsBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostOrganizationVirtualMachineGroupsForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationVirtualMachineGroupsNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationVirtualMachineGroupsNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationVirtualMachineGroupsUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationVirtualMachineGroupsUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationVirtualMachineGroupsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationVirtualMachineGroupsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationVirtualMachineGroupsServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationVirtualMachineGroupsServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostOrganizationVirtualMachinesBuild.php b/src/Core/Endpoint/PostOrganizationVirtualMachinesBuild.php index 26aa86be..9bdbf054 100644 --- a/src/Core/Endpoint/PostOrganizationVirtualMachinesBuild.php +++ b/src/Core/Endpoint/PostOrganizationVirtualMachinesBuild.php @@ -63,10 +63,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildPostResponse201', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationVirtualMachinesBuildBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationVirtualMachinesBuildBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostOrganizationVirtualMachinesBuildForbiddenException($response); @@ -78,10 +78,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re throw new \KatapultAPI\Core\Exception\PostOrganizationVirtualMachinesBuildUnprocessableEntityException($response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationVirtualMachinesBuildTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationVirtualMachinesBuildTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationVirtualMachinesBuildServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationVirtualMachinesBuildServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostOrganizationVirtualMachinesBuildFromSpec.php b/src/Core/Endpoint/PostOrganizationVirtualMachinesBuildFromSpec.php index cbe5179f..e7e256d0 100644 --- a/src/Core/Endpoint/PostOrganizationVirtualMachinesBuildFromSpec.php +++ b/src/Core/Endpoint/PostOrganizationVirtualMachinesBuildFromSpec.php @@ -63,7 +63,7 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostOrganizationVirtualMachinesBuildFromSpecBadRequestException($response); @@ -72,16 +72,16 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re throw new \KatapultAPI\Core\Exception\PostOrganizationVirtualMachinesBuildFromSpecForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationVirtualMachinesBuildFromSpecNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationVirtualMachinesBuildFromSpecNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationVirtualMachinesBuildFromSpecUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationVirtualMachinesBuildFromSpecUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationVirtualMachinesBuildFromSpecTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationVirtualMachinesBuildFromSpecTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostOrganizationVirtualMachinesBuildFromSpecServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostOrganizationVirtualMachinesBuildFromSpecServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostSecurityGroupRules.php b/src/Core/Endpoint/PostSecurityGroupRules.php index 3e20c0c3..bbcf5e9e 100644 --- a/src/Core/Endpoint/PostSecurityGroupRules.php +++ b/src/Core/Endpoint/PostSecurityGroupRules.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesPostResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesPostResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostSecurityGroupRulesBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostSecurityGroupRulesBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostSecurityGroupRulesForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostSecurityGroupRulesNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseSecurityGroupNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostSecurityGroupRulesNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseSecurityGroupNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostSecurityGroupRulesUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostSecurityGroupRulesUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostSecurityGroupRulesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostSecurityGroupRulesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostSecurityGroupRulesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostSecurityGroupRulesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostTrashObjectRestore.php b/src/Core/Endpoint/PostTrashObjectRestore.php index 18ab54a8..1150bc6e 100644 --- a/src/Core/Endpoint/PostTrashObjectRestore.php +++ b/src/Core/Endpoint/PostTrashObjectRestore.php @@ -62,22 +62,22 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectRestorePostResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\TrashObjectsTrashObjectRestorePostResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostTrashObjectRestoreBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostTrashObjectRestoreBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostTrashObjectRestoreForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostTrashObjectRestoreNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseTrashObjectNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostTrashObjectRestoreNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseTrashObjectNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostTrashObjectRestoreTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostTrashObjectRestoreTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostTrashObjectRestoreServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostTrashObjectRestoreServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostVirtualMachineAllocateIp.php b/src/Core/Endpoint/PostVirtualMachineAllocateIp.php index 15704edd..03a43338 100644 --- a/src/Core/Endpoint/PostVirtualMachineAllocateIp.php +++ b/src/Core/Endpoint/PostVirtualMachineAllocateIp.php @@ -64,10 +64,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineAllocateIpPostResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\VirtualMachinesVirtualMachineAllocateIpPostResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineAllocateIpBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineAllocateIpBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostVirtualMachineAllocateIpForbiddenException($response); @@ -76,16 +76,16 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re throw new \KatapultAPI\Core\Exception\PostVirtualMachineAllocateIpNotFoundException($response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineAllocateIpNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseObjectInTrashResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineAllocateIpNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseObjectInTrashResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostVirtualMachineAllocateIpUnprocessableEntityException($response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineAllocateIpTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineAllocateIpTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineAllocateIpServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineAllocateIpServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostVirtualMachineConsoleSessions.php b/src/Core/Endpoint/PostVirtualMachineConsoleSessions.php index b4e571e2..5bc6bd1b 100644 --- a/src/Core/Endpoint/PostVirtualMachineConsoleSessions.php +++ b/src/Core/Endpoint/PostVirtualMachineConsoleSessions.php @@ -65,28 +65,28 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineConsoleSessionsPostResponse201', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\VirtualMachinesVirtualMachineConsoleSessionsPostResponse201', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineConsoleSessionsBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineConsoleSessionsBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostVirtualMachineConsoleSessionsForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineConsoleSessionsNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineConsoleSessionsNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseVirtualMachineNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostVirtualMachineConsoleSessionsNotAcceptableException($response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineConsoleSessionsUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineConsoleSessionsUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineConsoleSessionsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineConsoleSessionsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineConsoleSessionsServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineConsoleSessionsServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostVirtualMachineDiskBackupPolicies.php b/src/Core/Endpoint/PostVirtualMachineDiskBackupPolicies.php index d832c30e..f973bae5 100644 --- a/src/Core/Endpoint/PostVirtualMachineDiskBackupPolicies.php +++ b/src/Core/Endpoint/PostVirtualMachineDiskBackupPolicies.php @@ -64,28 +64,28 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineDiskBackupPoliciesBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineDiskBackupPoliciesBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostVirtualMachineDiskBackupPoliciesForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineDiskBackupPoliciesNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineDiskBackupPoliciesNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseVirtualMachineNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineDiskBackupPoliciesNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseObjectInTrashResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineDiskBackupPoliciesNotAcceptableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseObjectInTrashResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineDiskBackupPoliciesUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineDiskBackupPoliciesUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineDiskBackupPoliciesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineDiskBackupPoliciesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineDiskBackupPoliciesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineDiskBackupPoliciesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostVirtualMachineNetworkInterfaceAllocateIp.php b/src/Core/Endpoint/PostVirtualMachineNetworkInterfaceAllocateIp.php index a4f97443..95bd1443 100644 --- a/src/Core/Endpoint/PostVirtualMachineNetworkInterfaceAllocateIp.php +++ b/src/Core/Endpoint/PostVirtualMachineNetworkInterfaceAllocateIp.php @@ -63,10 +63,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineNetworkInterfaceAllocateIpBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineNetworkInterfaceAllocateIpBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostVirtualMachineNetworkInterfaceAllocateIpForbiddenException($response); @@ -78,10 +78,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re throw new \KatapultAPI\Core\Exception\PostVirtualMachineNetworkInterfaceAllocateIpUnprocessableEntityException($response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineNetworkInterfaceAllocateIpTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineNetworkInterfaceAllocateIpTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineNetworkInterfaceAllocateIpServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineNetworkInterfaceAllocateIpServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostVirtualMachineNetworkInterfaceAllocateNewIp.php b/src/Core/Endpoint/PostVirtualMachineNetworkInterfaceAllocateNewIp.php index b6248d22..b40c80cc 100644 --- a/src/Core/Endpoint/PostVirtualMachineNetworkInterfaceAllocateNewIp.php +++ b/src/Core/Endpoint/PostVirtualMachineNetworkInterfaceAllocateNewIp.php @@ -62,19 +62,19 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineNetworkInterfaceAllocateNewIpBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineNetworkInterfaceAllocateNewIpBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostVirtualMachineNetworkInterfaceAllocateNewIpForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineNetworkInterfaceAllocateNewIpNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineNetworkInterfaceNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineNetworkInterfaceAllocateNewIpNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseVirtualMachineNetworkInterfaceNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineNetworkInterfaceAllocateNewIpTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineNetworkInterfaceAllocateNewIpTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostVirtualMachineNetworkInterfaceAllocateNewIpServiceUnavailableException($response); diff --git a/src/Core/Endpoint/PostVirtualMachineReset.php b/src/Core/Endpoint/PostVirtualMachineReset.php index 6bfc6c50..ee620549 100644 --- a/src/Core/Endpoint/PostVirtualMachineReset.php +++ b/src/Core/Endpoint/PostVirtualMachineReset.php @@ -64,25 +64,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineResetPostResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\VirtualMachinesVirtualMachineResetPostResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineResetBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineResetBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostVirtualMachineResetForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineResetNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineResetNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseVirtualMachineNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostVirtualMachineResetNotAcceptableException($response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineResetTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineResetTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineResetServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineResetServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostVirtualMachineShutdown.php b/src/Core/Endpoint/PostVirtualMachineShutdown.php index a4165e6b..96842ca4 100644 --- a/src/Core/Endpoint/PostVirtualMachineShutdown.php +++ b/src/Core/Endpoint/PostVirtualMachineShutdown.php @@ -64,25 +64,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineShutdownPostResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\VirtualMachinesVirtualMachineShutdownPostResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineShutdownBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineShutdownBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostVirtualMachineShutdownForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineShutdownNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineShutdownNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseVirtualMachineNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostVirtualMachineShutdownNotAcceptableException($response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineShutdownTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineShutdownTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineShutdownServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineShutdownServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostVirtualMachineStart.php b/src/Core/Endpoint/PostVirtualMachineStart.php index 6c882f33..7ba9d4ed 100644 --- a/src/Core/Endpoint/PostVirtualMachineStart.php +++ b/src/Core/Endpoint/PostVirtualMachineStart.php @@ -64,25 +64,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStartPostResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStartPostResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineStartBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineStartBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostVirtualMachineStartForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineStartNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineStartNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseVirtualMachineNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostVirtualMachineStartNotAcceptableException($response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineStartTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineStartTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineStartServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineStartServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PostVirtualMachineStop.php b/src/Core/Endpoint/PostVirtualMachineStop.php index 6d718f71..a6321811 100644 --- a/src/Core/Endpoint/PostVirtualMachineStop.php +++ b/src/Core/Endpoint/PostVirtualMachineStop.php @@ -64,25 +64,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStopPostResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStopPostResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineStopBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineStopBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostVirtualMachineStopForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineStopNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineStopNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseVirtualMachineNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PostVirtualMachineStopNotAcceptableException($response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineStopTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineStopTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PostVirtualMachineStopServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PostVirtualMachineStopServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PutDiskIoProfile.php b/src/Core/Endpoint/PutDiskIoProfile.php index 5e8aa80c..b77c7565 100644 --- a/src/Core/Endpoint/PutDiskIoProfile.php +++ b/src/Core/Endpoint/PutDiskIoProfile.php @@ -63,10 +63,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\DisksDiskIoProfilePutResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\DisksDiskIoProfilePutResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PutDiskIoProfileBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PutDiskIoProfileBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PutDiskIoProfileForbiddenException($response); @@ -78,10 +78,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re throw new \KatapultAPI\Core\Exception\PutDiskIoProfileNotAcceptableException($response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PutDiskIoProfileTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PutDiskIoProfileTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PutDiskIoProfileServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PutDiskIoProfileServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PutDiskResize.php b/src/Core/Endpoint/PutDiskResize.php index 7ec522c7..dd301f8b 100644 --- a/src/Core/Endpoint/PutDiskResize.php +++ b/src/Core/Endpoint/PutDiskResize.php @@ -64,28 +64,28 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\DisksDiskResizePutResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\DisksDiskResizePutResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PutDiskResizeBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PutDiskResizeBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PutDiskResizeForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PutDiskResizeNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseDiskNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PutDiskResizeNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseDiskNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PutDiskResizeNotAcceptableException($response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PutDiskResizeUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PutDiskResizeUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PutDiskResizeTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PutDiskResizeTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PutDiskResizeServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PutDiskResizeServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PutVirtualMachineFlexibleResources.php b/src/Core/Endpoint/PutVirtualMachineFlexibleResources.php index d3e9ee96..c8d0c634 100644 --- a/src/Core/Endpoint/PutVirtualMachineFlexibleResources.php +++ b/src/Core/Endpoint/PutVirtualMachineFlexibleResources.php @@ -63,25 +63,25 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PutVirtualMachineFlexibleResourcesBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PutVirtualMachineFlexibleResourcesBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PutVirtualMachineFlexibleResourcesForbiddenException($response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PutVirtualMachineFlexibleResourcesNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineNotFoundResponse', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PutVirtualMachineFlexibleResourcesNotFoundException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseVirtualMachineNotFoundResponse', 'json'), $response); } if (is_null($contentType) === false && (406 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PutVirtualMachineFlexibleResourcesNotAcceptableException($response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PutVirtualMachineFlexibleResourcesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PutVirtualMachineFlexibleResourcesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PutVirtualMachineFlexibleResourcesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PutVirtualMachineFlexibleResourcesServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Endpoint/PutVirtualMachinePackage.php b/src/Core/Endpoint/PutVirtualMachinePackage.php index a45add79..38b231a7 100644 --- a/src/Core/Endpoint/PutVirtualMachinePackage.php +++ b/src/Core/Endpoint/PutVirtualMachinePackage.php @@ -63,10 +63,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePackagePutResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePackagePutResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PutVirtualMachinePackageBadRequestException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PutVirtualMachinePackageBadRequestException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response', 'json'), $response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Core\Exception\PutVirtualMachinePackageForbiddenException($response); @@ -78,10 +78,10 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re throw new \KatapultAPI\Core\Exception\PutVirtualMachinePackageNotAcceptableException($response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PutVirtualMachinePackageTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PutVirtualMachinePackageTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Core\Exception\PutVirtualMachinePackageServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response', 'json'), $response); + throw new \KatapultAPI\Core\Exception\PutVirtualMachinePackageServiceUnavailableException($serializer->deserialize($body, 'KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response', 'json'), $response); } } diff --git a/src/Core/Normalizer/APIAuthenticator400SchemaNormalizer.php b/src/Core/Normalizer/APIAuthenticator400SchemaNormalizer.php index f9e95403..e6e4360a 100644 --- a/src/Core/Normalizer/APIAuthenticator400SchemaNormalizer.php +++ b/src/Core/Normalizer/APIAuthenticator400SchemaNormalizer.php @@ -31,12 +31,12 @@ class APIAuthenticator400SchemaNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\APIAuthenticator400Schema'; + return $type === \KatapultAPI\Core\Model\APIAuthenticator400Schema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\APIAuthenticator400Schema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\APIAuthenticator400Schema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\APIAuthenticator400Schema' => false]; + return [\KatapultAPI\Core\Model\APIAuthenticator400Schema::class => false]; } } } else { @@ -116,12 +116,12 @@ class APIAuthenticator400SchemaNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\APIAuthenticator400Schema'; + return $type === \KatapultAPI\Core\Model\APIAuthenticator400Schema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\APIAuthenticator400Schema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\APIAuthenticator400Schema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\APIAuthenticator400Schema' => false]; + return [\KatapultAPI\Core\Model\APIAuthenticator400Schema::class => false]; } } } diff --git a/src/Core/Normalizer/APIAuthenticator503SchemaNormalizer.php b/src/Core/Normalizer/APIAuthenticator503SchemaNormalizer.php index 7176e65e..339700e4 100644 --- a/src/Core/Normalizer/APIAuthenticator503SchemaNormalizer.php +++ b/src/Core/Normalizer/APIAuthenticator503SchemaNormalizer.php @@ -31,12 +31,12 @@ class APIAuthenticator503SchemaNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\APIAuthenticator503Schema'; + return $type === \KatapultAPI\Core\Model\APIAuthenticator503Schema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\APIAuthenticator503Schema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\APIAuthenticator503Schema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\APIAuthenticator503Schema' => false]; + return [\KatapultAPI\Core\Model\APIAuthenticator503Schema::class => false]; } } } else { @@ -116,12 +116,12 @@ class APIAuthenticator503SchemaNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\APIAuthenticator503Schema'; + return $type === \KatapultAPI\Core\Model\APIAuthenticator503Schema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\APIAuthenticator503Schema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\APIAuthenticator503Schema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\APIAuthenticator503Schema' => false]; + return [\KatapultAPI\Core\Model\APIAuthenticator503Schema::class => false]; } } } diff --git a/src/Core/Normalizer/APITokenArgumentsNormalizer.php b/src/Core/Normalizer/APITokenArgumentsNormalizer.php index 70d955ca..ec4a3870 100644 --- a/src/Core/Normalizer/APITokenArgumentsNormalizer.php +++ b/src/Core/Normalizer/APITokenArgumentsNormalizer.php @@ -31,12 +31,12 @@ class APITokenArgumentsNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\APITokenArguments'; + return $type === \KatapultAPI\Core\Model\APITokenArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\APITokenArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\APITokenArguments::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -118,7 +118,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\APITokenArguments' => false]; + return [\KatapultAPI\Core\Model\APITokenArguments::class => false]; } } } else { @@ -131,12 +131,12 @@ class APITokenArgumentsNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\APITokenArguments'; + return $type === \KatapultAPI\Core\Model\APITokenArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\APITokenArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\APITokenArguments::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -221,7 +221,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\APITokenArguments' => false]; + return [\KatapultAPI\Core\Model\APITokenArguments::class => false]; } } } diff --git a/src/Core/Normalizer/APITokenLookupNormalizer.php b/src/Core/Normalizer/APITokenLookupNormalizer.php index 3bf03f48..40e4dc62 100644 --- a/src/Core/Normalizer/APITokenLookupNormalizer.php +++ b/src/Core/Normalizer/APITokenLookupNormalizer.php @@ -31,12 +31,12 @@ class APITokenLookupNormalizer implements DenormalizerInterface, NormalizerInter public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\APITokenLookup'; + return $type === \KatapultAPI\Core\Model\APITokenLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\APITokenLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\APITokenLookup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\APITokenLookup' => false]; + return [\KatapultAPI\Core\Model\APITokenLookup::class => false]; } } } else { @@ -94,12 +94,12 @@ class APITokenLookupNormalizer implements DenormalizerInterface, NormalizerInter public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\APITokenLookup'; + return $type === \KatapultAPI\Core\Model\APITokenLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\APITokenLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\APITokenLookup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\APITokenLookup' => false]; + return [\KatapultAPI\Core\Model\APITokenLookup::class => false]; } } } diff --git a/src/Core/Normalizer/APITokenNormalizer.php b/src/Core/Normalizer/APITokenNormalizer.php index 2fe233f2..e4b2b508 100644 --- a/src/Core/Normalizer/APITokenNormalizer.php +++ b/src/Core/Normalizer/APITokenNormalizer.php @@ -31,12 +31,12 @@ class APITokenNormalizer implements DenormalizerInterface, NormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\APIToken'; + return $type === \KatapultAPI\Core\Model\APIToken::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\APIToken'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\APIToken::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -152,7 +152,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\APIToken' => false]; + return [\KatapultAPI\Core\Model\APIToken::class => false]; } } } else { @@ -165,12 +165,12 @@ class APITokenNormalizer implements DenormalizerInterface, NormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\APIToken'; + return $type === \KatapultAPI\Core\Model\APIToken::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\APIToken'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\APIToken::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -289,7 +289,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\APIToken' => false]; + return [\KatapultAPI\Core\Model\APIToken::class => false]; } } } diff --git a/src/Core/Normalizer/AddressListArgumentsNormalizer.php b/src/Core/Normalizer/AddressListArgumentsNormalizer.php index 42a57326..8b961427 100644 --- a/src/Core/Normalizer/AddressListArgumentsNormalizer.php +++ b/src/Core/Normalizer/AddressListArgumentsNormalizer.php @@ -31,12 +31,12 @@ class AddressListArgumentsNormalizer implements DenormalizerInterface, Normalize public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListArguments'; + return $type === \KatapultAPI\Core\Model\AddressListArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListArguments::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListArguments' => false]; + return [\KatapultAPI\Core\Model\AddressListArguments::class => false]; } } } else { @@ -94,12 +94,12 @@ class AddressListArgumentsNormalizer implements DenormalizerInterface, Normalize public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListArguments'; + return $type === \KatapultAPI\Core\Model\AddressListArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListArguments::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListArguments' => false]; + return [\KatapultAPI\Core\Model\AddressListArguments::class => false]; } } } diff --git a/src/Core/Normalizer/AddressListEntriesAddressListEntryDeleteBodyNormalizer.php b/src/Core/Normalizer/AddressListEntriesAddressListEntryDeleteBodyNormalizer.php index 80918718..5c197907 100644 --- a/src/Core/Normalizer/AddressListEntriesAddressListEntryDeleteBodyNormalizer.php +++ b/src/Core/Normalizer/AddressListEntriesAddressListEntryDeleteBodyNormalizer.php @@ -31,12 +31,12 @@ class AddressListEntriesAddressListEntryDeleteBodyNormalizer implements Denormal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryDeleteBody'; + return $type === \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryDeleteBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('address_list_entry', $data)) { - $object->setAddressListEntry($this->denormalizer->denormalize($data['address_list_entry'], 'KatapultAPI\\Core\\Model\\AddressListEntryLookup', 'json', $context)); + $object->setAddressListEntry($this->denormalizer->denormalize($data['address_list_entry'], \KatapultAPI\Core\Model\AddressListEntryLookup::class, 'json', $context)); unset($data['address_list_entry']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryDeleteBody' => false]; + return [\KatapultAPI\Core\Model\AddressListEntriesAddressListEntryDeleteBody::class => false]; } } } else { @@ -92,12 +92,12 @@ class AddressListEntriesAddressListEntryDeleteBodyNormalizer implements Denormal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryDeleteBody'; + return $type === \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryDeleteBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('address_list_entry', $data)) { - $object->setAddressListEntry($this->denormalizer->denormalize($data['address_list_entry'], 'KatapultAPI\\Core\\Model\\AddressListEntryLookup', 'json', $context)); + $object->setAddressListEntry($this->denormalizer->denormalize($data['address_list_entry'], \KatapultAPI\Core\Model\AddressListEntryLookup::class, 'json', $context)); unset($data['address_list_entry']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryDeleteBody' => false]; + return [\KatapultAPI\Core\Model\AddressListEntriesAddressListEntryDeleteBody::class => false]; } } } diff --git a/src/Core/Normalizer/AddressListEntriesAddressListEntryDeleteResponse200AddressListEntryNormalizer.php b/src/Core/Normalizer/AddressListEntriesAddressListEntryDeleteResponse200AddressListEntryNormalizer.php index 3eafa9a9..8373e3d4 100644 --- a/src/Core/Normalizer/AddressListEntriesAddressListEntryDeleteResponse200AddressListEntryNormalizer.php +++ b/src/Core/Normalizer/AddressListEntriesAddressListEntryDeleteResponse200AddressListEntryNormalizer.php @@ -31,12 +31,12 @@ class AddressListEntriesAddressListEntryDeleteResponse200AddressListEntryNormali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryDeleteResponse200AddressListEntry'; + return $type === \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryDeleteResponse200AddressListEntry::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryDeleteResponse200AddressListEntry'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryDeleteResponse200AddressListEntry::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryDeleteResponse200AddressListEntry' => false]; + return [\KatapultAPI\Core\Model\AddressListEntriesAddressListEntryDeleteResponse200AddressListEntry::class => false]; } } } else { @@ -108,12 +108,12 @@ class AddressListEntriesAddressListEntryDeleteResponse200AddressListEntryNormali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryDeleteResponse200AddressListEntry'; + return $type === \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryDeleteResponse200AddressListEntry::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryDeleteResponse200AddressListEntry'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryDeleteResponse200AddressListEntry::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryDeleteResponse200AddressListEntry' => false]; + return [\KatapultAPI\Core\Model\AddressListEntriesAddressListEntryDeleteResponse200AddressListEntry::class => false]; } } } diff --git a/src/Core/Normalizer/AddressListEntriesAddressListEntryDeleteResponse200Normalizer.php b/src/Core/Normalizer/AddressListEntriesAddressListEntryDeleteResponse200Normalizer.php index dff2f519..3d9809fb 100644 --- a/src/Core/Normalizer/AddressListEntriesAddressListEntryDeleteResponse200Normalizer.php +++ b/src/Core/Normalizer/AddressListEntriesAddressListEntryDeleteResponse200Normalizer.php @@ -31,12 +31,12 @@ class AddressListEntriesAddressListEntryDeleteResponse200Normalizer implements D public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryDeleteResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('address_list_entry', $data)) { - $object->setAddressListEntry($this->denormalizer->denormalize($data['address_list_entry'], 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryDeleteResponse200AddressListEntry', 'json', $context)); + $object->setAddressListEntry($this->denormalizer->denormalize($data['address_list_entry'], \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryDeleteResponse200AddressListEntry::class, 'json', $context)); unset($data['address_list_entry']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\AddressListEntriesAddressListEntryDeleteResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class AddressListEntriesAddressListEntryDeleteResponse200Normalizer implements D public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryDeleteResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('address_list_entry', $data)) { - $object->setAddressListEntry($this->denormalizer->denormalize($data['address_list_entry'], 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryDeleteResponse200AddressListEntry', 'json', $context)); + $object->setAddressListEntry($this->denormalizer->denormalize($data['address_list_entry'], \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryDeleteResponse200AddressListEntry::class, 'json', $context)); unset($data['address_list_entry']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\AddressListEntriesAddressListEntryDeleteResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/AddressListEntriesAddressListEntryGetResponse200AddressListEntryNormalizer.php b/src/Core/Normalizer/AddressListEntriesAddressListEntryGetResponse200AddressListEntryNormalizer.php index 201fdaa7..a1f18170 100644 --- a/src/Core/Normalizer/AddressListEntriesAddressListEntryGetResponse200AddressListEntryNormalizer.php +++ b/src/Core/Normalizer/AddressListEntriesAddressListEntryGetResponse200AddressListEntryNormalizer.php @@ -31,12 +31,12 @@ class AddressListEntriesAddressListEntryGetResponse200AddressListEntryNormalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryGetResponse200AddressListEntry'; + return $type === \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryGetResponse200AddressListEntry::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryGetResponse200AddressListEntry'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryGetResponse200AddressListEntry::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryGetResponse200AddressListEntry' => false]; + return [\KatapultAPI\Core\Model\AddressListEntriesAddressListEntryGetResponse200AddressListEntry::class => false]; } } } else { @@ -108,12 +108,12 @@ class AddressListEntriesAddressListEntryGetResponse200AddressListEntryNormalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryGetResponse200AddressListEntry'; + return $type === \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryGetResponse200AddressListEntry::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryGetResponse200AddressListEntry'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryGetResponse200AddressListEntry::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryGetResponse200AddressListEntry' => false]; + return [\KatapultAPI\Core\Model\AddressListEntriesAddressListEntryGetResponse200AddressListEntry::class => false]; } } } diff --git a/src/Core/Normalizer/AddressListEntriesAddressListEntryGetResponse200Normalizer.php b/src/Core/Normalizer/AddressListEntriesAddressListEntryGetResponse200Normalizer.php index 78058c5e..6fb3b11a 100644 --- a/src/Core/Normalizer/AddressListEntriesAddressListEntryGetResponse200Normalizer.php +++ b/src/Core/Normalizer/AddressListEntriesAddressListEntryGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class AddressListEntriesAddressListEntryGetResponse200Normalizer implements Deno public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryGetResponse200'; + return $type === \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('address_list_entry', $data)) { - $object->setAddressListEntry($this->denormalizer->denormalize($data['address_list_entry'], 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryGetResponse200AddressListEntry', 'json', $context)); + $object->setAddressListEntry($this->denormalizer->denormalize($data['address_list_entry'], \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryGetResponse200AddressListEntry::class, 'json', $context)); unset($data['address_list_entry']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryGetResponse200' => false]; + return [\KatapultAPI\Core\Model\AddressListEntriesAddressListEntryGetResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class AddressListEntriesAddressListEntryGetResponse200Normalizer implements Deno public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryGetResponse200'; + return $type === \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('address_list_entry', $data)) { - $object->setAddressListEntry($this->denormalizer->denormalize($data['address_list_entry'], 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryGetResponse200AddressListEntry', 'json', $context)); + $object->setAddressListEntry($this->denormalizer->denormalize($data['address_list_entry'], \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryGetResponse200AddressListEntry::class, 'json', $context)); unset($data['address_list_entry']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryGetResponse200' => false]; + return [\KatapultAPI\Core\Model\AddressListEntriesAddressListEntryGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/AddressListEntriesAddressListEntryPatchBodyNormalizer.php b/src/Core/Normalizer/AddressListEntriesAddressListEntryPatchBodyNormalizer.php index a7d4d34f..54f3f7b7 100644 --- a/src/Core/Normalizer/AddressListEntriesAddressListEntryPatchBodyNormalizer.php +++ b/src/Core/Normalizer/AddressListEntriesAddressListEntryPatchBodyNormalizer.php @@ -31,12 +31,12 @@ class AddressListEntriesAddressListEntryPatchBodyNormalizer implements Denormali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryPatchBody'; + return $type === \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryPatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryPatchBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryPatchBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('address_list_entry', $data)) { - $object->setAddressListEntry($this->denormalizer->denormalize($data['address_list_entry'], 'KatapultAPI\\Core\\Model\\AddressListEntryLookup', 'json', $context)); + $object->setAddressListEntry($this->denormalizer->denormalize($data['address_list_entry'], \KatapultAPI\Core\Model\AddressListEntryLookup::class, 'json', $context)); unset($data['address_list_entry']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\AddressListEntryArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\AddressListEntryArguments::class, 'json', $context)); unset($data['properties']); } foreach ($data as $key => $value) { @@ -84,7 +84,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryPatchBody' => false]; + return [\KatapultAPI\Core\Model\AddressListEntriesAddressListEntryPatchBody::class => false]; } } } else { @@ -97,12 +97,12 @@ class AddressListEntriesAddressListEntryPatchBodyNormalizer implements Denormali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryPatchBody'; + return $type === \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryPatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryPatchBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryPatchBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -118,11 +118,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('address_list_entry', $data)) { - $object->setAddressListEntry($this->denormalizer->denormalize($data['address_list_entry'], 'KatapultAPI\\Core\\Model\\AddressListEntryLookup', 'json', $context)); + $object->setAddressListEntry($this->denormalizer->denormalize($data['address_list_entry'], \KatapultAPI\Core\Model\AddressListEntryLookup::class, 'json', $context)); unset($data['address_list_entry']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\AddressListEntryArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\AddressListEntryArguments::class, 'json', $context)); unset($data['properties']); } foreach ($data as $key => $value) { @@ -153,7 +153,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryPatchBody' => false]; + return [\KatapultAPI\Core\Model\AddressListEntriesAddressListEntryPatchBody::class => false]; } } } diff --git a/src/Core/Normalizer/AddressListEntriesAddressListEntryPatchResponse200AddressListEntryNormalizer.php b/src/Core/Normalizer/AddressListEntriesAddressListEntryPatchResponse200AddressListEntryNormalizer.php index 486b2928..ca55d6b7 100644 --- a/src/Core/Normalizer/AddressListEntriesAddressListEntryPatchResponse200AddressListEntryNormalizer.php +++ b/src/Core/Normalizer/AddressListEntriesAddressListEntryPatchResponse200AddressListEntryNormalizer.php @@ -31,12 +31,12 @@ class AddressListEntriesAddressListEntryPatchResponse200AddressListEntryNormaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryPatchResponse200AddressListEntry'; + return $type === \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryPatchResponse200AddressListEntry::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryPatchResponse200AddressListEntry'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryPatchResponse200AddressListEntry::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryPatchResponse200AddressListEntry' => false]; + return [\KatapultAPI\Core\Model\AddressListEntriesAddressListEntryPatchResponse200AddressListEntry::class => false]; } } } else { @@ -108,12 +108,12 @@ class AddressListEntriesAddressListEntryPatchResponse200AddressListEntryNormaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryPatchResponse200AddressListEntry'; + return $type === \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryPatchResponse200AddressListEntry::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryPatchResponse200AddressListEntry'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryPatchResponse200AddressListEntry::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryPatchResponse200AddressListEntry' => false]; + return [\KatapultAPI\Core\Model\AddressListEntriesAddressListEntryPatchResponse200AddressListEntry::class => false]; } } } diff --git a/src/Core/Normalizer/AddressListEntriesAddressListEntryPatchResponse200Normalizer.php b/src/Core/Normalizer/AddressListEntriesAddressListEntryPatchResponse200Normalizer.php index 6b8f3e86..fe520dc0 100644 --- a/src/Core/Normalizer/AddressListEntriesAddressListEntryPatchResponse200Normalizer.php +++ b/src/Core/Normalizer/AddressListEntriesAddressListEntryPatchResponse200Normalizer.php @@ -31,12 +31,12 @@ class AddressListEntriesAddressListEntryPatchResponse200Normalizer implements De public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryPatchResponse200'; + return $type === \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryPatchResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryPatchResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryPatchResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('address_list_entry', $data)) { - $object->setAddressListEntry($this->denormalizer->denormalize($data['address_list_entry'], 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryPatchResponse200AddressListEntry', 'json', $context)); + $object->setAddressListEntry($this->denormalizer->denormalize($data['address_list_entry'], \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryPatchResponse200AddressListEntry::class, 'json', $context)); unset($data['address_list_entry']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryPatchResponse200' => false]; + return [\KatapultAPI\Core\Model\AddressListEntriesAddressListEntryPatchResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class AddressListEntriesAddressListEntryPatchResponse200Normalizer implements De public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryPatchResponse200'; + return $type === \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryPatchResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryPatchResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryPatchResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('address_list_entry', $data)) { - $object->setAddressListEntry($this->denormalizer->denormalize($data['address_list_entry'], 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryPatchResponse200AddressListEntry', 'json', $context)); + $object->setAddressListEntry($this->denormalizer->denormalize($data['address_list_entry'], \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryPatchResponse200AddressListEntry::class, 'json', $context)); unset($data['address_list_entry']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryPatchResponse200' => false]; + return [\KatapultAPI\Core\Model\AddressListEntriesAddressListEntryPatchResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/AddressListEntryArgumentsNormalizer.php b/src/Core/Normalizer/AddressListEntryArgumentsNormalizer.php index 7f4abe4a..ea00a399 100644 --- a/src/Core/Normalizer/AddressListEntryArgumentsNormalizer.php +++ b/src/Core/Normalizer/AddressListEntryArgumentsNormalizer.php @@ -31,12 +31,12 @@ class AddressListEntryArgumentsNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListEntryArguments'; + return $type === \KatapultAPI\Core\Model\AddressListEntryArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListEntryArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListEntryArguments::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListEntryArguments' => false]; + return [\KatapultAPI\Core\Model\AddressListEntryArguments::class => false]; } } } else { @@ -101,12 +101,12 @@ class AddressListEntryArgumentsNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListEntryArguments'; + return $type === \KatapultAPI\Core\Model\AddressListEntryArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListEntryArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListEntryArguments::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListEntryArguments' => false]; + return [\KatapultAPI\Core\Model\AddressListEntryArguments::class => false]; } } } diff --git a/src/Core/Normalizer/AddressListEntryLookupNormalizer.php b/src/Core/Normalizer/AddressListEntryLookupNormalizer.php index 69c480ee..32f722e2 100644 --- a/src/Core/Normalizer/AddressListEntryLookupNormalizer.php +++ b/src/Core/Normalizer/AddressListEntryLookupNormalizer.php @@ -31,12 +31,12 @@ class AddressListEntryLookupNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListEntryLookup'; + return $type === \KatapultAPI\Core\Model\AddressListEntryLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListEntryLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListEntryLookup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListEntryLookup' => false]; + return [\KatapultAPI\Core\Model\AddressListEntryLookup::class => false]; } } } else { @@ -94,12 +94,12 @@ class AddressListEntryLookupNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListEntryLookup'; + return $type === \KatapultAPI\Core\Model\AddressListEntryLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListEntryLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListEntryLookup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListEntryLookup' => false]; + return [\KatapultAPI\Core\Model\AddressListEntryLookup::class => false]; } } } diff --git a/src/Core/Normalizer/AddressListEntryNormalizer.php b/src/Core/Normalizer/AddressListEntryNormalizer.php index a2e4c416..8cf69f69 100644 --- a/src/Core/Normalizer/AddressListEntryNormalizer.php +++ b/src/Core/Normalizer/AddressListEntryNormalizer.php @@ -31,12 +31,12 @@ class AddressListEntryNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListEntry'; + return $type === \KatapultAPI\Core\Model\AddressListEntry::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListEntry'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListEntry::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListEntry' => false]; + return [\KatapultAPI\Core\Model\AddressListEntry::class => false]; } } } else { @@ -108,12 +108,12 @@ class AddressListEntryNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListEntry'; + return $type === \KatapultAPI\Core\Model\AddressListEntry::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListEntry'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListEntry::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListEntry' => false]; + return [\KatapultAPI\Core\Model\AddressListEntry::class => false]; } } } diff --git a/src/Core/Normalizer/AddressListLookupNormalizer.php b/src/Core/Normalizer/AddressListLookupNormalizer.php index 980e17eb..a9b2865a 100644 --- a/src/Core/Normalizer/AddressListLookupNormalizer.php +++ b/src/Core/Normalizer/AddressListLookupNormalizer.php @@ -31,12 +31,12 @@ class AddressListLookupNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListLookup'; + return $type === \KatapultAPI\Core\Model\AddressListLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListLookup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListLookup' => false]; + return [\KatapultAPI\Core\Model\AddressListLookup::class => false]; } } } else { @@ -94,12 +94,12 @@ class AddressListLookupNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListLookup'; + return $type === \KatapultAPI\Core\Model\AddressListLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListLookup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListLookup' => false]; + return [\KatapultAPI\Core\Model\AddressListLookup::class => false]; } } } diff --git a/src/Core/Normalizer/AddressListNormalizer.php b/src/Core/Normalizer/AddressListNormalizer.php index a1730147..2b5cd412 100644 --- a/src/Core/Normalizer/AddressListNormalizer.php +++ b/src/Core/Normalizer/AddressListNormalizer.php @@ -31,12 +31,12 @@ class AddressListNormalizer implements DenormalizerInterface, NormalizerInterfac public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressList'; + return $type === \KatapultAPI\Core\Model\AddressList::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressList'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressList::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -66,7 +66,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('entries', $data)) { $values = []; foreach ($data['entries'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\AddressListEntry', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\AddressListEntry::class, 'json', $context); } $object->setEntries($values); unset($data['entries']); @@ -110,7 +110,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressList' => false]; + return [\KatapultAPI\Core\Model\AddressList::class => false]; } } } else { @@ -123,12 +123,12 @@ class AddressListNormalizer implements DenormalizerInterface, NormalizerInterfac public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressList'; + return $type === \KatapultAPI\Core\Model\AddressList::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressList'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressList::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -158,7 +158,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('entries', $data)) { $values = []; foreach ($data['entries'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\AddressListEntry', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\AddressListEntry::class, 'json', $context); } $object->setEntries($values); unset($data['entries']); @@ -205,7 +205,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressList' => false]; + return [\KatapultAPI\Core\Model\AddressList::class => false]; } } } diff --git a/src/Core/Normalizer/AddressListsAddressListDeleteBodyNormalizer.php b/src/Core/Normalizer/AddressListsAddressListDeleteBodyNormalizer.php index 388c03e0..381b4e60 100644 --- a/src/Core/Normalizer/AddressListsAddressListDeleteBodyNormalizer.php +++ b/src/Core/Normalizer/AddressListsAddressListDeleteBodyNormalizer.php @@ -31,12 +31,12 @@ class AddressListsAddressListDeleteBodyNormalizer implements DenormalizerInterfa public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListsAddressListDeleteBody'; + return $type === \KatapultAPI\Core\Model\AddressListsAddressListDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListsAddressListDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListsAddressListDeleteBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('address_list', $data)) { - $object->setAddressList($this->denormalizer->denormalize($data['address_list'], 'KatapultAPI\\Core\\Model\\AddressListLookup', 'json', $context)); + $object->setAddressList($this->denormalizer->denormalize($data['address_list'], \KatapultAPI\Core\Model\AddressListLookup::class, 'json', $context)); unset($data['address_list']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListsAddressListDeleteBody' => false]; + return [\KatapultAPI\Core\Model\AddressListsAddressListDeleteBody::class => false]; } } } else { @@ -92,12 +92,12 @@ class AddressListsAddressListDeleteBodyNormalizer implements DenormalizerInterfa public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListsAddressListDeleteBody'; + return $type === \KatapultAPI\Core\Model\AddressListsAddressListDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListsAddressListDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListsAddressListDeleteBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('address_list', $data)) { - $object->setAddressList($this->denormalizer->denormalize($data['address_list'], 'KatapultAPI\\Core\\Model\\AddressListLookup', 'json', $context)); + $object->setAddressList($this->denormalizer->denormalize($data['address_list'], \KatapultAPI\Core\Model\AddressListLookup::class, 'json', $context)); unset($data['address_list']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListsAddressListDeleteBody' => false]; + return [\KatapultAPI\Core\Model\AddressListsAddressListDeleteBody::class => false]; } } } diff --git a/src/Core/Normalizer/AddressListsAddressListDeleteResponse200AddressListNormalizer.php b/src/Core/Normalizer/AddressListsAddressListDeleteResponse200AddressListNormalizer.php index 368cfd4e..46fbe581 100644 --- a/src/Core/Normalizer/AddressListsAddressListDeleteResponse200AddressListNormalizer.php +++ b/src/Core/Normalizer/AddressListsAddressListDeleteResponse200AddressListNormalizer.php @@ -31,12 +31,12 @@ class AddressListsAddressListDeleteResponse200AddressListNormalizer implements D public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListsAddressListDeleteResponse200AddressList'; + return $type === \KatapultAPI\Core\Model\AddressListsAddressListDeleteResponse200AddressList::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListsAddressListDeleteResponse200AddressList'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListsAddressListDeleteResponse200AddressList::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -66,7 +66,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('entries', $data)) { $values = []; foreach ($data['entries'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\AddressListEntry', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\AddressListEntry::class, 'json', $context); } $object->setEntries($values); unset($data['entries']); @@ -110,7 +110,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListsAddressListDeleteResponse200AddressList' => false]; + return [\KatapultAPI\Core\Model\AddressListsAddressListDeleteResponse200AddressList::class => false]; } } } else { @@ -123,12 +123,12 @@ class AddressListsAddressListDeleteResponse200AddressListNormalizer implements D public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListsAddressListDeleteResponse200AddressList'; + return $type === \KatapultAPI\Core\Model\AddressListsAddressListDeleteResponse200AddressList::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListsAddressListDeleteResponse200AddressList'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListsAddressListDeleteResponse200AddressList::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -158,7 +158,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('entries', $data)) { $values = []; foreach ($data['entries'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\AddressListEntry', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\AddressListEntry::class, 'json', $context); } $object->setEntries($values); unset($data['entries']); @@ -205,7 +205,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListsAddressListDeleteResponse200AddressList' => false]; + return [\KatapultAPI\Core\Model\AddressListsAddressListDeleteResponse200AddressList::class => false]; } } } diff --git a/src/Core/Normalizer/AddressListsAddressListDeleteResponse200Normalizer.php b/src/Core/Normalizer/AddressListsAddressListDeleteResponse200Normalizer.php index d07b9804..5e42f00f 100644 --- a/src/Core/Normalizer/AddressListsAddressListDeleteResponse200Normalizer.php +++ b/src/Core/Normalizer/AddressListsAddressListDeleteResponse200Normalizer.php @@ -31,12 +31,12 @@ class AddressListsAddressListDeleteResponse200Normalizer implements Denormalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListsAddressListDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\AddressListsAddressListDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListsAddressListDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListsAddressListDeleteResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('address_list', $data)) { - $object->setAddressList($this->denormalizer->denormalize($data['address_list'], 'KatapultAPI\\Core\\Model\\AddressListsAddressListDeleteResponse200AddressList', 'json', $context)); + $object->setAddressList($this->denormalizer->denormalize($data['address_list'], \KatapultAPI\Core\Model\AddressListsAddressListDeleteResponse200AddressList::class, 'json', $context)); unset($data['address_list']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListsAddressListDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\AddressListsAddressListDeleteResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class AddressListsAddressListDeleteResponse200Normalizer implements Denormalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListsAddressListDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\AddressListsAddressListDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListsAddressListDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListsAddressListDeleteResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('address_list', $data)) { - $object->setAddressList($this->denormalizer->denormalize($data['address_list'], 'KatapultAPI\\Core\\Model\\AddressListsAddressListDeleteResponse200AddressList', 'json', $context)); + $object->setAddressList($this->denormalizer->denormalize($data['address_list'], \KatapultAPI\Core\Model\AddressListsAddressListDeleteResponse200AddressList::class, 'json', $context)); unset($data['address_list']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListsAddressListDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\AddressListsAddressListDeleteResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/AddressListsAddressListEntriesBulkPostBodyNormalizer.php b/src/Core/Normalizer/AddressListsAddressListEntriesBulkPostBodyNormalizer.php index 3e6c7b89..55acf827 100644 --- a/src/Core/Normalizer/AddressListsAddressListEntriesBulkPostBodyNormalizer.php +++ b/src/Core/Normalizer/AddressListsAddressListEntriesBulkPostBodyNormalizer.php @@ -31,12 +31,12 @@ class AddressListsAddressListEntriesBulkPostBodyNormalizer implements Denormaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesBulkPostBody'; + return $type === \KatapultAPI\Core\Model\AddressListsAddressListEntriesBulkPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesBulkPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListsAddressListEntriesBulkPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('address_list', $data)) { - $object->setAddressList($this->denormalizer->denormalize($data['address_list'], 'KatapultAPI\\Core\\Model\\AddressListLookup', 'json', $context)); + $object->setAddressList($this->denormalizer->denormalize($data['address_list'], \KatapultAPI\Core\Model\AddressListLookup::class, 'json', $context)); unset($data['address_list']); } if (\array_key_exists('add', $data)) { $values = []; foreach ($data['add'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\AddressListEntryArguments', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\AddressListEntryArguments::class, 'json', $context); } $object->setAdd($values); unset($data['add']); @@ -66,7 +66,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('remove', $data)) { $values_1 = []; foreach ($data['remove'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'KatapultAPI\\Core\\Model\\AddressListEntryArguments', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, \KatapultAPI\Core\Model\AddressListEntryArguments::class, 'json', $context); } $object->setRemove($values_1); unset($data['remove']); @@ -109,7 +109,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesBulkPostBody' => false]; + return [\KatapultAPI\Core\Model\AddressListsAddressListEntriesBulkPostBody::class => false]; } } } else { @@ -122,12 +122,12 @@ class AddressListsAddressListEntriesBulkPostBodyNormalizer implements Denormaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesBulkPostBody'; + return $type === \KatapultAPI\Core\Model\AddressListsAddressListEntriesBulkPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesBulkPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListsAddressListEntriesBulkPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -143,13 +143,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('address_list', $data)) { - $object->setAddressList($this->denormalizer->denormalize($data['address_list'], 'KatapultAPI\\Core\\Model\\AddressListLookup', 'json', $context)); + $object->setAddressList($this->denormalizer->denormalize($data['address_list'], \KatapultAPI\Core\Model\AddressListLookup::class, 'json', $context)); unset($data['address_list']); } if (\array_key_exists('add', $data)) { $values = []; foreach ($data['add'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\AddressListEntryArguments', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\AddressListEntryArguments::class, 'json', $context); } $object->setAdd($values); unset($data['add']); @@ -157,7 +157,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('remove', $data)) { $values_1 = []; foreach ($data['remove'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'KatapultAPI\\Core\\Model\\AddressListEntryArguments', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, \KatapultAPI\Core\Model\AddressListEntryArguments::class, 'json', $context); } $object->setRemove($values_1); unset($data['remove']); @@ -203,7 +203,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesBulkPostBody' => false]; + return [\KatapultAPI\Core\Model\AddressListsAddressListEntriesBulkPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/AddressListsAddressListEntriesBulkPostResponse200Normalizer.php b/src/Core/Normalizer/AddressListsAddressListEntriesBulkPostResponse200Normalizer.php index 88a60a02..ee20050c 100644 --- a/src/Core/Normalizer/AddressListsAddressListEntriesBulkPostResponse200Normalizer.php +++ b/src/Core/Normalizer/AddressListsAddressListEntriesBulkPostResponse200Normalizer.php @@ -31,12 +31,12 @@ class AddressListsAddressListEntriesBulkPostResponse200Normalizer implements Den public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesBulkPostResponse200'; + return $type === \KatapultAPI\Core\Model\AddressListsAddressListEntriesBulkPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesBulkPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListsAddressListEntriesBulkPostResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -74,7 +74,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesBulkPostResponse200' => false]; + return [\KatapultAPI\Core\Model\AddressListsAddressListEntriesBulkPostResponse200::class => false]; } } } else { @@ -87,12 +87,12 @@ class AddressListsAddressListEntriesBulkPostResponse200Normalizer implements Den public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesBulkPostResponse200'; + return $type === \KatapultAPI\Core\Model\AddressListsAddressListEntriesBulkPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesBulkPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListsAddressListEntriesBulkPostResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -133,7 +133,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesBulkPostResponse200' => false]; + return [\KatapultAPI\Core\Model\AddressListsAddressListEntriesBulkPostResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/AddressListsAddressListEntriesGetResponse200Normalizer.php b/src/Core/Normalizer/AddressListsAddressListEntriesGetResponse200Normalizer.php index 45bd6982..a55d4ad4 100644 --- a/src/Core/Normalizer/AddressListsAddressListEntriesGetResponse200Normalizer.php +++ b/src/Core/Normalizer/AddressListsAddressListEntriesGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class AddressListsAddressListEntriesGetResponse200Normalizer implements Denormal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesGetResponse200'; + return $type === \KatapultAPI\Core\Model\AddressListsAddressListEntriesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListsAddressListEntriesGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('address_list_entries', $data)) { $values = []; foreach ($data['address_list_entries'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\AddressListEntry', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\AddressListEntry::class, 'json', $context); } $object->setAddressListEntries($values); unset($data['address_list_entries']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\AddressListsAddressListEntriesGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class AddressListsAddressListEntriesGetResponse200Normalizer implements Denormal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesGetResponse200'; + return $type === \KatapultAPI\Core\Model\AddressListsAddressListEntriesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListsAddressListEntriesGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('address_list_entries', $data)) { $values = []; foreach ($data['address_list_entries'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\AddressListEntry', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\AddressListEntry::class, 'json', $context); } $object->setAddressListEntries($values); unset($data['address_list_entries']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\AddressListsAddressListEntriesGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/AddressListsAddressListEntriesPostBodyNormalizer.php b/src/Core/Normalizer/AddressListsAddressListEntriesPostBodyNormalizer.php index 59ae807e..f3d278d5 100644 --- a/src/Core/Normalizer/AddressListsAddressListEntriesPostBodyNormalizer.php +++ b/src/Core/Normalizer/AddressListsAddressListEntriesPostBodyNormalizer.php @@ -31,12 +31,12 @@ class AddressListsAddressListEntriesPostBodyNormalizer implements DenormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesPostBody'; + return $type === \KatapultAPI\Core\Model\AddressListsAddressListEntriesPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListsAddressListEntriesPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('address_list', $data)) { - $object->setAddressList($this->denormalizer->denormalize($data['address_list'], 'KatapultAPI\\Core\\Model\\AddressListLookup', 'json', $context)); + $object->setAddressList($this->denormalizer->denormalize($data['address_list'], \KatapultAPI\Core\Model\AddressListLookup::class, 'json', $context)); unset($data['address_list']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\AddressListEntryArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\AddressListEntryArguments::class, 'json', $context)); unset($data['properties']); } foreach ($data as $key => $value) { @@ -84,7 +84,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesPostBody' => false]; + return [\KatapultAPI\Core\Model\AddressListsAddressListEntriesPostBody::class => false]; } } } else { @@ -97,12 +97,12 @@ class AddressListsAddressListEntriesPostBodyNormalizer implements DenormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesPostBody'; + return $type === \KatapultAPI\Core\Model\AddressListsAddressListEntriesPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListsAddressListEntriesPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -118,11 +118,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('address_list', $data)) { - $object->setAddressList($this->denormalizer->denormalize($data['address_list'], 'KatapultAPI\\Core\\Model\\AddressListLookup', 'json', $context)); + $object->setAddressList($this->denormalizer->denormalize($data['address_list'], \KatapultAPI\Core\Model\AddressListLookup::class, 'json', $context)); unset($data['address_list']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\AddressListEntryArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\AddressListEntryArguments::class, 'json', $context)); unset($data['properties']); } foreach ($data as $key => $value) { @@ -153,7 +153,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesPostBody' => false]; + return [\KatapultAPI\Core\Model\AddressListsAddressListEntriesPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/AddressListsAddressListEntriesPostResponse201AddressListEntryNormalizer.php b/src/Core/Normalizer/AddressListsAddressListEntriesPostResponse201AddressListEntryNormalizer.php index bece92d4..f2fceffe 100644 --- a/src/Core/Normalizer/AddressListsAddressListEntriesPostResponse201AddressListEntryNormalizer.php +++ b/src/Core/Normalizer/AddressListsAddressListEntriesPostResponse201AddressListEntryNormalizer.php @@ -31,12 +31,12 @@ class AddressListsAddressListEntriesPostResponse201AddressListEntryNormalizer im public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesPostResponse201AddressListEntry'; + return $type === \KatapultAPI\Core\Model\AddressListsAddressListEntriesPostResponse201AddressListEntry::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesPostResponse201AddressListEntry'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListsAddressListEntriesPostResponse201AddressListEntry::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesPostResponse201AddressListEntry' => false]; + return [\KatapultAPI\Core\Model\AddressListsAddressListEntriesPostResponse201AddressListEntry::class => false]; } } } else { @@ -108,12 +108,12 @@ class AddressListsAddressListEntriesPostResponse201AddressListEntryNormalizer im public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesPostResponse201AddressListEntry'; + return $type === \KatapultAPI\Core\Model\AddressListsAddressListEntriesPostResponse201AddressListEntry::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesPostResponse201AddressListEntry'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListsAddressListEntriesPostResponse201AddressListEntry::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesPostResponse201AddressListEntry' => false]; + return [\KatapultAPI\Core\Model\AddressListsAddressListEntriesPostResponse201AddressListEntry::class => false]; } } } diff --git a/src/Core/Normalizer/AddressListsAddressListEntriesPostResponse201Normalizer.php b/src/Core/Normalizer/AddressListsAddressListEntriesPostResponse201Normalizer.php index 6c3f6181..079f3e5f 100644 --- a/src/Core/Normalizer/AddressListsAddressListEntriesPostResponse201Normalizer.php +++ b/src/Core/Normalizer/AddressListsAddressListEntriesPostResponse201Normalizer.php @@ -31,12 +31,12 @@ class AddressListsAddressListEntriesPostResponse201Normalizer implements Denorma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesPostResponse201'; + return $type === \KatapultAPI\Core\Model\AddressListsAddressListEntriesPostResponse201::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesPostResponse201'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListsAddressListEntriesPostResponse201::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('address_list_entry', $data)) { - $object->setAddressListEntry($this->denormalizer->denormalize($data['address_list_entry'], 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesPostResponse201AddressListEntry', 'json', $context)); + $object->setAddressListEntry($this->denormalizer->denormalize($data['address_list_entry'], \KatapultAPI\Core\Model\AddressListsAddressListEntriesPostResponse201AddressListEntry::class, 'json', $context)); unset($data['address_list_entry']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesPostResponse201' => false]; + return [\KatapultAPI\Core\Model\AddressListsAddressListEntriesPostResponse201::class => false]; } } } else { @@ -92,12 +92,12 @@ class AddressListsAddressListEntriesPostResponse201Normalizer implements Denorma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesPostResponse201'; + return $type === \KatapultAPI\Core\Model\AddressListsAddressListEntriesPostResponse201::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesPostResponse201'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListsAddressListEntriesPostResponse201::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('address_list_entry', $data)) { - $object->setAddressListEntry($this->denormalizer->denormalize($data['address_list_entry'], 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesPostResponse201AddressListEntry', 'json', $context)); + $object->setAddressListEntry($this->denormalizer->denormalize($data['address_list_entry'], \KatapultAPI\Core\Model\AddressListsAddressListEntriesPostResponse201AddressListEntry::class, 'json', $context)); unset($data['address_list_entry']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesPostResponse201' => false]; + return [\KatapultAPI\Core\Model\AddressListsAddressListEntriesPostResponse201::class => false]; } } } diff --git a/src/Core/Normalizer/AddressListsAddressListGetResponse200AddressListNormalizer.php b/src/Core/Normalizer/AddressListsAddressListGetResponse200AddressListNormalizer.php index 1e745f66..4f94d3d2 100644 --- a/src/Core/Normalizer/AddressListsAddressListGetResponse200AddressListNormalizer.php +++ b/src/Core/Normalizer/AddressListsAddressListGetResponse200AddressListNormalizer.php @@ -31,12 +31,12 @@ class AddressListsAddressListGetResponse200AddressListNormalizer implements Deno public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListsAddressListGetResponse200AddressList'; + return $type === \KatapultAPI\Core\Model\AddressListsAddressListGetResponse200AddressList::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListsAddressListGetResponse200AddressList'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListsAddressListGetResponse200AddressList::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -66,7 +66,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('entries', $data)) { $values = []; foreach ($data['entries'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\AddressListEntry', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\AddressListEntry::class, 'json', $context); } $object->setEntries($values); unset($data['entries']); @@ -110,7 +110,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListsAddressListGetResponse200AddressList' => false]; + return [\KatapultAPI\Core\Model\AddressListsAddressListGetResponse200AddressList::class => false]; } } } else { @@ -123,12 +123,12 @@ class AddressListsAddressListGetResponse200AddressListNormalizer implements Deno public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListsAddressListGetResponse200AddressList'; + return $type === \KatapultAPI\Core\Model\AddressListsAddressListGetResponse200AddressList::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListsAddressListGetResponse200AddressList'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListsAddressListGetResponse200AddressList::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -158,7 +158,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('entries', $data)) { $values = []; foreach ($data['entries'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\AddressListEntry', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\AddressListEntry::class, 'json', $context); } $object->setEntries($values); unset($data['entries']); @@ -205,7 +205,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListsAddressListGetResponse200AddressList' => false]; + return [\KatapultAPI\Core\Model\AddressListsAddressListGetResponse200AddressList::class => false]; } } } diff --git a/src/Core/Normalizer/AddressListsAddressListGetResponse200Normalizer.php b/src/Core/Normalizer/AddressListsAddressListGetResponse200Normalizer.php index d7364973..410ead2d 100644 --- a/src/Core/Normalizer/AddressListsAddressListGetResponse200Normalizer.php +++ b/src/Core/Normalizer/AddressListsAddressListGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class AddressListsAddressListGetResponse200Normalizer implements DenormalizerInt public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListsAddressListGetResponse200'; + return $type === \KatapultAPI\Core\Model\AddressListsAddressListGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListsAddressListGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListsAddressListGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('address_list', $data)) { - $object->setAddressList($this->denormalizer->denormalize($data['address_list'], 'KatapultAPI\\Core\\Model\\AddressListsAddressListGetResponse200AddressList', 'json', $context)); + $object->setAddressList($this->denormalizer->denormalize($data['address_list'], \KatapultAPI\Core\Model\AddressListsAddressListGetResponse200AddressList::class, 'json', $context)); unset($data['address_list']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListsAddressListGetResponse200' => false]; + return [\KatapultAPI\Core\Model\AddressListsAddressListGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class AddressListsAddressListGetResponse200Normalizer implements DenormalizerInt public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListsAddressListGetResponse200'; + return $type === \KatapultAPI\Core\Model\AddressListsAddressListGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListsAddressListGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListsAddressListGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('address_list', $data)) { - $object->setAddressList($this->denormalizer->denormalize($data['address_list'], 'KatapultAPI\\Core\\Model\\AddressListsAddressListGetResponse200AddressList', 'json', $context)); + $object->setAddressList($this->denormalizer->denormalize($data['address_list'], \KatapultAPI\Core\Model\AddressListsAddressListGetResponse200AddressList::class, 'json', $context)); unset($data['address_list']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListsAddressListGetResponse200' => false]; + return [\KatapultAPI\Core\Model\AddressListsAddressListGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/AddressListsAddressListPatchBodyNormalizer.php b/src/Core/Normalizer/AddressListsAddressListPatchBodyNormalizer.php index 0833614b..65534ff1 100644 --- a/src/Core/Normalizer/AddressListsAddressListPatchBodyNormalizer.php +++ b/src/Core/Normalizer/AddressListsAddressListPatchBodyNormalizer.php @@ -31,12 +31,12 @@ class AddressListsAddressListPatchBodyNormalizer implements DenormalizerInterfac public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListsAddressListPatchBody'; + return $type === \KatapultAPI\Core\Model\AddressListsAddressListPatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListsAddressListPatchBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListsAddressListPatchBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,17 +52,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('address_list', $data)) { - $object->setAddressList($this->denormalizer->denormalize($data['address_list'], 'KatapultAPI\\Core\\Model\\AddressListLookup', 'json', $context)); + $object->setAddressList($this->denormalizer->denormalize($data['address_list'], \KatapultAPI\Core\Model\AddressListLookup::class, 'json', $context)); unset($data['address_list']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\AddressListArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\AddressListArguments::class, 'json', $context)); unset($data['properties']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -99,7 +99,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListsAddressListPatchBody' => false]; + return [\KatapultAPI\Core\Model\AddressListsAddressListPatchBody::class => false]; } } } else { @@ -112,12 +112,12 @@ class AddressListsAddressListPatchBodyNormalizer implements DenormalizerInterfac public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListsAddressListPatchBody'; + return $type === \KatapultAPI\Core\Model\AddressListsAddressListPatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListsAddressListPatchBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListsAddressListPatchBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -133,17 +133,17 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('address_list', $data)) { - $object->setAddressList($this->denormalizer->denormalize($data['address_list'], 'KatapultAPI\\Core\\Model\\AddressListLookup', 'json', $context)); + $object->setAddressList($this->denormalizer->denormalize($data['address_list'], \KatapultAPI\Core\Model\AddressListLookup::class, 'json', $context)); unset($data['address_list']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\AddressListArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\AddressListArguments::class, 'json', $context)); unset($data['properties']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -183,7 +183,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListsAddressListPatchBody' => false]; + return [\KatapultAPI\Core\Model\AddressListsAddressListPatchBody::class => false]; } } } diff --git a/src/Core/Normalizer/AddressListsAddressListPatchResponse200AddressListNormalizer.php b/src/Core/Normalizer/AddressListsAddressListPatchResponse200AddressListNormalizer.php index 6ea09d1b..05da33ae 100644 --- a/src/Core/Normalizer/AddressListsAddressListPatchResponse200AddressListNormalizer.php +++ b/src/Core/Normalizer/AddressListsAddressListPatchResponse200AddressListNormalizer.php @@ -31,12 +31,12 @@ class AddressListsAddressListPatchResponse200AddressListNormalizer implements De public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListsAddressListPatchResponse200AddressList'; + return $type === \KatapultAPI\Core\Model\AddressListsAddressListPatchResponse200AddressList::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListsAddressListPatchResponse200AddressList'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListsAddressListPatchResponse200AddressList::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -66,7 +66,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('entries', $data)) { $values = []; foreach ($data['entries'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\AddressListEntry', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\AddressListEntry::class, 'json', $context); } $object->setEntries($values); unset($data['entries']); @@ -110,7 +110,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListsAddressListPatchResponse200AddressList' => false]; + return [\KatapultAPI\Core\Model\AddressListsAddressListPatchResponse200AddressList::class => false]; } } } else { @@ -123,12 +123,12 @@ class AddressListsAddressListPatchResponse200AddressListNormalizer implements De public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListsAddressListPatchResponse200AddressList'; + return $type === \KatapultAPI\Core\Model\AddressListsAddressListPatchResponse200AddressList::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListsAddressListPatchResponse200AddressList'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListsAddressListPatchResponse200AddressList::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -158,7 +158,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('entries', $data)) { $values = []; foreach ($data['entries'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\AddressListEntry', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\AddressListEntry::class, 'json', $context); } $object->setEntries($values); unset($data['entries']); @@ -205,7 +205,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListsAddressListPatchResponse200AddressList' => false]; + return [\KatapultAPI\Core\Model\AddressListsAddressListPatchResponse200AddressList::class => false]; } } } diff --git a/src/Core/Normalizer/AddressListsAddressListPatchResponse200Normalizer.php b/src/Core/Normalizer/AddressListsAddressListPatchResponse200Normalizer.php index 6bc21e53..291a9c94 100644 --- a/src/Core/Normalizer/AddressListsAddressListPatchResponse200Normalizer.php +++ b/src/Core/Normalizer/AddressListsAddressListPatchResponse200Normalizer.php @@ -31,12 +31,12 @@ class AddressListsAddressListPatchResponse200Normalizer implements DenormalizerI public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListsAddressListPatchResponse200'; + return $type === \KatapultAPI\Core\Model\AddressListsAddressListPatchResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListsAddressListPatchResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListsAddressListPatchResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('address_list', $data)) { - $object->setAddressList($this->denormalizer->denormalize($data['address_list'], 'KatapultAPI\\Core\\Model\\AddressListsAddressListPatchResponse200AddressList', 'json', $context)); + $object->setAddressList($this->denormalizer->denormalize($data['address_list'], \KatapultAPI\Core\Model\AddressListsAddressListPatchResponse200AddressList::class, 'json', $context)); unset($data['address_list']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListsAddressListPatchResponse200' => false]; + return [\KatapultAPI\Core\Model\AddressListsAddressListPatchResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class AddressListsAddressListPatchResponse200Normalizer implements DenormalizerI public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListsAddressListPatchResponse200'; + return $type === \KatapultAPI\Core\Model\AddressListsAddressListPatchResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListsAddressListPatchResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListsAddressListPatchResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('address_list', $data)) { - $object->setAddressList($this->denormalizer->denormalize($data['address_list'], 'KatapultAPI\\Core\\Model\\AddressListsAddressListPatchResponse200AddressList', 'json', $context)); + $object->setAddressList($this->denormalizer->denormalize($data['address_list'], \KatapultAPI\Core\Model\AddressListsAddressListPatchResponse200AddressList::class, 'json', $context)); unset($data['address_list']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListsAddressListPatchResponse200' => false]; + return [\KatapultAPI\Core\Model\AddressListsAddressListPatchResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/AddressListsGetResponse200Normalizer.php b/src/Core/Normalizer/AddressListsGetResponse200Normalizer.php index d54be70e..41547ff2 100644 --- a/src/Core/Normalizer/AddressListsGetResponse200Normalizer.php +++ b/src/Core/Normalizer/AddressListsGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class AddressListsGetResponse200Normalizer implements DenormalizerInterface, Nor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListsGetResponse200'; + return $type === \KatapultAPI\Core\Model\AddressListsGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListsGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListsGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('address_lists', $data)) { $values = []; foreach ($data['address_lists'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetAddressLists200ResponseAddressLists', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetAddressLists200ResponseAddressLists::class, 'json', $context); } $object->setAddressLists($values); unset($data['address_lists']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListsGetResponse200' => false]; + return [\KatapultAPI\Core\Model\AddressListsGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class AddressListsGetResponse200Normalizer implements DenormalizerInterface, Nor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AddressListsGetResponse200'; + return $type === \KatapultAPI\Core\Model\AddressListsGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AddressListsGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AddressListsGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('address_lists', $data)) { $values = []; foreach ($data['address_lists'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetAddressLists200ResponseAddressLists', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetAddressLists200ResponseAddressLists::class, 'json', $context); } $object->setAddressLists($values); unset($data['address_lists']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AddressListsGetResponse200' => false]; + return [\KatapultAPI\Core\Model\AddressListsGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/ApiTokensApiTokenDeleteBodyNormalizer.php b/src/Core/Normalizer/ApiTokensApiTokenDeleteBodyNormalizer.php index e2c4f9ca..c75122bb 100644 --- a/src/Core/Normalizer/ApiTokensApiTokenDeleteBodyNormalizer.php +++ b/src/Core/Normalizer/ApiTokensApiTokenDeleteBodyNormalizer.php @@ -31,12 +31,12 @@ class ApiTokensApiTokenDeleteBodyNormalizer implements DenormalizerInterface, No public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenDeleteBody'; + return $type === \KatapultAPI\Core\Model\ApiTokensApiTokenDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ApiTokensApiTokenDeleteBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('api_token', $data)) { - $object->setApiToken($this->denormalizer->denormalize($data['api_token'], 'KatapultAPI\\Core\\Model\\APITokenLookup', 'json', $context)); + $object->setApiToken($this->denormalizer->denormalize($data['api_token'], \KatapultAPI\Core\Model\APITokenLookup::class, 'json', $context)); unset($data['api_token']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ApiTokensApiTokenDeleteBody' => false]; + return [\KatapultAPI\Core\Model\ApiTokensApiTokenDeleteBody::class => false]; } } } else { @@ -92,12 +92,12 @@ class ApiTokensApiTokenDeleteBodyNormalizer implements DenormalizerInterface, No public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenDeleteBody'; + return $type === \KatapultAPI\Core\Model\ApiTokensApiTokenDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ApiTokensApiTokenDeleteBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('api_token', $data)) { - $object->setApiToken($this->denormalizer->denormalize($data['api_token'], 'KatapultAPI\\Core\\Model\\APITokenLookup', 'json', $context)); + $object->setApiToken($this->denormalizer->denormalize($data['api_token'], \KatapultAPI\Core\Model\APITokenLookup::class, 'json', $context)); unset($data['api_token']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ApiTokensApiTokenDeleteBody' => false]; + return [\KatapultAPI\Core\Model\ApiTokensApiTokenDeleteBody::class => false]; } } } diff --git a/src/Core/Normalizer/ApiTokensApiTokenDeleteResponse200ApiTokenNormalizer.php b/src/Core/Normalizer/ApiTokensApiTokenDeleteResponse200ApiTokenNormalizer.php index 7402eb6d..3701c90e 100644 --- a/src/Core/Normalizer/ApiTokensApiTokenDeleteResponse200ApiTokenNormalizer.php +++ b/src/Core/Normalizer/ApiTokensApiTokenDeleteResponse200ApiTokenNormalizer.php @@ -31,12 +31,12 @@ class ApiTokensApiTokenDeleteResponse200ApiTokenNormalizer implements Denormaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenDeleteResponse200ApiToken'; + return $type === \KatapultAPI\Core\Model\ApiTokensApiTokenDeleteResponse200ApiToken::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenDeleteResponse200ApiToken'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ApiTokensApiTokenDeleteResponse200ApiToken::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ApiTokensApiTokenDeleteResponse200ApiToken' => false]; + return [\KatapultAPI\Core\Model\ApiTokensApiTokenDeleteResponse200ApiToken::class => false]; } } } else { @@ -101,12 +101,12 @@ class ApiTokensApiTokenDeleteResponse200ApiTokenNormalizer implements Denormaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenDeleteResponse200ApiToken'; + return $type === \KatapultAPI\Core\Model\ApiTokensApiTokenDeleteResponse200ApiToken::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenDeleteResponse200ApiToken'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ApiTokensApiTokenDeleteResponse200ApiToken::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ApiTokensApiTokenDeleteResponse200ApiToken' => false]; + return [\KatapultAPI\Core\Model\ApiTokensApiTokenDeleteResponse200ApiToken::class => false]; } } } diff --git a/src/Core/Normalizer/ApiTokensApiTokenDeleteResponse200Normalizer.php b/src/Core/Normalizer/ApiTokensApiTokenDeleteResponse200Normalizer.php index 1fdbf054..ceb8a37f 100644 --- a/src/Core/Normalizer/ApiTokensApiTokenDeleteResponse200Normalizer.php +++ b/src/Core/Normalizer/ApiTokensApiTokenDeleteResponse200Normalizer.php @@ -31,12 +31,12 @@ class ApiTokensApiTokenDeleteResponse200Normalizer implements DenormalizerInterf public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\ApiTokensApiTokenDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ApiTokensApiTokenDeleteResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('api_token', $data)) { - $object->setApiToken($this->denormalizer->denormalize($data['api_token'], 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenDeleteResponse200ApiToken', 'json', $context)); + $object->setApiToken($this->denormalizer->denormalize($data['api_token'], \KatapultAPI\Core\Model\ApiTokensApiTokenDeleteResponse200ApiToken::class, 'json', $context)); unset($data['api_token']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ApiTokensApiTokenDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\ApiTokensApiTokenDeleteResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class ApiTokensApiTokenDeleteResponse200Normalizer implements DenormalizerInterf public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\ApiTokensApiTokenDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ApiTokensApiTokenDeleteResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('api_token', $data)) { - $object->setApiToken($this->denormalizer->denormalize($data['api_token'], 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenDeleteResponse200ApiToken', 'json', $context)); + $object->setApiToken($this->denormalizer->denormalize($data['api_token'], \KatapultAPI\Core\Model\ApiTokensApiTokenDeleteResponse200ApiToken::class, 'json', $context)); unset($data['api_token']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ApiTokensApiTokenDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\ApiTokensApiTokenDeleteResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/ApiTokensApiTokenPatchBodyNormalizer.php b/src/Core/Normalizer/ApiTokensApiTokenPatchBodyNormalizer.php index 429b0111..b9758a76 100644 --- a/src/Core/Normalizer/ApiTokensApiTokenPatchBodyNormalizer.php +++ b/src/Core/Normalizer/ApiTokensApiTokenPatchBodyNormalizer.php @@ -31,12 +31,12 @@ class ApiTokensApiTokenPatchBodyNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenPatchBody'; + return $type === \KatapultAPI\Core\Model\ApiTokensApiTokenPatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenPatchBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ApiTokensApiTokenPatchBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,17 +52,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('api_token', $data)) { - $object->setApiToken($this->denormalizer->denormalize($data['api_token'], 'KatapultAPI\\Core\\Model\\APITokenLookup', 'json', $context)); + $object->setApiToken($this->denormalizer->denormalize($data['api_token'], \KatapultAPI\Core\Model\APITokenLookup::class, 'json', $context)); unset($data['api_token']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\APITokenArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\APITokenArguments::class, 'json', $context)); unset($data['properties']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -99,7 +99,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ApiTokensApiTokenPatchBody' => false]; + return [\KatapultAPI\Core\Model\ApiTokensApiTokenPatchBody::class => false]; } } } else { @@ -112,12 +112,12 @@ class ApiTokensApiTokenPatchBodyNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenPatchBody'; + return $type === \KatapultAPI\Core\Model\ApiTokensApiTokenPatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenPatchBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ApiTokensApiTokenPatchBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -133,17 +133,17 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('api_token', $data)) { - $object->setApiToken($this->denormalizer->denormalize($data['api_token'], 'KatapultAPI\\Core\\Model\\APITokenLookup', 'json', $context)); + $object->setApiToken($this->denormalizer->denormalize($data['api_token'], \KatapultAPI\Core\Model\APITokenLookup::class, 'json', $context)); unset($data['api_token']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\APITokenArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\APITokenArguments::class, 'json', $context)); unset($data['properties']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -183,7 +183,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ApiTokensApiTokenPatchBody' => false]; + return [\KatapultAPI\Core\Model\ApiTokensApiTokenPatchBody::class => false]; } } } diff --git a/src/Core/Normalizer/ApiTokensApiTokenPatchResponse200ApiTokenNormalizer.php b/src/Core/Normalizer/ApiTokensApiTokenPatchResponse200ApiTokenNormalizer.php index cf531873..72831026 100644 --- a/src/Core/Normalizer/ApiTokensApiTokenPatchResponse200ApiTokenNormalizer.php +++ b/src/Core/Normalizer/ApiTokensApiTokenPatchResponse200ApiTokenNormalizer.php @@ -31,12 +31,12 @@ class ApiTokensApiTokenPatchResponse200ApiTokenNormalizer implements Denormalize public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenPatchResponse200ApiToken'; + return $type === \KatapultAPI\Core\Model\ApiTokensApiTokenPatchResponse200ApiToken::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenPatchResponse200ApiToken'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ApiTokensApiTokenPatchResponse200ApiToken::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -152,7 +152,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ApiTokensApiTokenPatchResponse200ApiToken' => false]; + return [\KatapultAPI\Core\Model\ApiTokensApiTokenPatchResponse200ApiToken::class => false]; } } } else { @@ -165,12 +165,12 @@ class ApiTokensApiTokenPatchResponse200ApiTokenNormalizer implements Denormalize public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenPatchResponse200ApiToken'; + return $type === \KatapultAPI\Core\Model\ApiTokensApiTokenPatchResponse200ApiToken::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenPatchResponse200ApiToken'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ApiTokensApiTokenPatchResponse200ApiToken::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -289,7 +289,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ApiTokensApiTokenPatchResponse200ApiToken' => false]; + return [\KatapultAPI\Core\Model\ApiTokensApiTokenPatchResponse200ApiToken::class => false]; } } } diff --git a/src/Core/Normalizer/ApiTokensApiTokenPatchResponse200Normalizer.php b/src/Core/Normalizer/ApiTokensApiTokenPatchResponse200Normalizer.php index 25c834cc..3884e08a 100644 --- a/src/Core/Normalizer/ApiTokensApiTokenPatchResponse200Normalizer.php +++ b/src/Core/Normalizer/ApiTokensApiTokenPatchResponse200Normalizer.php @@ -31,12 +31,12 @@ class ApiTokensApiTokenPatchResponse200Normalizer implements DenormalizerInterfa public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenPatchResponse200'; + return $type === \KatapultAPI\Core\Model\ApiTokensApiTokenPatchResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenPatchResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ApiTokensApiTokenPatchResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('api_token', $data)) { - $object->setApiToken($this->denormalizer->denormalize($data['api_token'], 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenPatchResponse200ApiToken', 'json', $context)); + $object->setApiToken($this->denormalizer->denormalize($data['api_token'], \KatapultAPI\Core\Model\ApiTokensApiTokenPatchResponse200ApiToken::class, 'json', $context)); unset($data['api_token']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ApiTokensApiTokenPatchResponse200' => false]; + return [\KatapultAPI\Core\Model\ApiTokensApiTokenPatchResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class ApiTokensApiTokenPatchResponse200Normalizer implements DenormalizerInterfa public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenPatchResponse200'; + return $type === \KatapultAPI\Core\Model\ApiTokensApiTokenPatchResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenPatchResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ApiTokensApiTokenPatchResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('api_token', $data)) { - $object->setApiToken($this->denormalizer->denormalize($data['api_token'], 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenPatchResponse200ApiToken', 'json', $context)); + $object->setApiToken($this->denormalizer->denormalize($data['api_token'], \KatapultAPI\Core\Model\ApiTokensApiTokenPatchResponse200ApiToken::class, 'json', $context)); unset($data['api_token']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ApiTokensApiTokenPatchResponse200' => false]; + return [\KatapultAPI\Core\Model\ApiTokensApiTokenPatchResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/ApiTokensApiTokenRegenerateSecretPostBodyNormalizer.php b/src/Core/Normalizer/ApiTokensApiTokenRegenerateSecretPostBodyNormalizer.php index 6d6ae051..fd238210 100644 --- a/src/Core/Normalizer/ApiTokensApiTokenRegenerateSecretPostBodyNormalizer.php +++ b/src/Core/Normalizer/ApiTokensApiTokenRegenerateSecretPostBodyNormalizer.php @@ -31,12 +31,12 @@ class ApiTokensApiTokenRegenerateSecretPostBodyNormalizer implements Denormalize public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenRegenerateSecretPostBody'; + return $type === \KatapultAPI\Core\Model\ApiTokensApiTokenRegenerateSecretPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenRegenerateSecretPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ApiTokensApiTokenRegenerateSecretPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('api_token', $data)) { - $object->setApiToken($this->denormalizer->denormalize($data['api_token'], 'KatapultAPI\\Core\\Model\\APITokenLookup', 'json', $context)); + $object->setApiToken($this->denormalizer->denormalize($data['api_token'], \KatapultAPI\Core\Model\APITokenLookup::class, 'json', $context)); unset($data['api_token']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ApiTokensApiTokenRegenerateSecretPostBody' => false]; + return [\KatapultAPI\Core\Model\ApiTokensApiTokenRegenerateSecretPostBody::class => false]; } } } else { @@ -92,12 +92,12 @@ class ApiTokensApiTokenRegenerateSecretPostBodyNormalizer implements Denormalize public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenRegenerateSecretPostBody'; + return $type === \KatapultAPI\Core\Model\ApiTokensApiTokenRegenerateSecretPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenRegenerateSecretPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ApiTokensApiTokenRegenerateSecretPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('api_token', $data)) { - $object->setApiToken($this->denormalizer->denormalize($data['api_token'], 'KatapultAPI\\Core\\Model\\APITokenLookup', 'json', $context)); + $object->setApiToken($this->denormalizer->denormalize($data['api_token'], \KatapultAPI\Core\Model\APITokenLookup::class, 'json', $context)); unset($data['api_token']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ApiTokensApiTokenRegenerateSecretPostBody' => false]; + return [\KatapultAPI\Core\Model\ApiTokensApiTokenRegenerateSecretPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/ApiTokensApiTokenRegenerateSecretPostResponse200ApiTokenNormalizer.php b/src/Core/Normalizer/ApiTokensApiTokenRegenerateSecretPostResponse200ApiTokenNormalizer.php index d0e8d738..3f175613 100644 --- a/src/Core/Normalizer/ApiTokensApiTokenRegenerateSecretPostResponse200ApiTokenNormalizer.php +++ b/src/Core/Normalizer/ApiTokensApiTokenRegenerateSecretPostResponse200ApiTokenNormalizer.php @@ -31,12 +31,12 @@ class ApiTokensApiTokenRegenerateSecretPostResponse200ApiTokenNormalizer impleme public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenRegenerateSecretPostResponse200ApiToken'; + return $type === \KatapultAPI\Core\Model\ApiTokensApiTokenRegenerateSecretPostResponse200ApiToken::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenRegenerateSecretPostResponse200ApiToken'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ApiTokensApiTokenRegenerateSecretPostResponse200ApiToken::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -152,7 +152,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ApiTokensApiTokenRegenerateSecretPostResponse200ApiToken' => false]; + return [\KatapultAPI\Core\Model\ApiTokensApiTokenRegenerateSecretPostResponse200ApiToken::class => false]; } } } else { @@ -165,12 +165,12 @@ class ApiTokensApiTokenRegenerateSecretPostResponse200ApiTokenNormalizer impleme public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenRegenerateSecretPostResponse200ApiToken'; + return $type === \KatapultAPI\Core\Model\ApiTokensApiTokenRegenerateSecretPostResponse200ApiToken::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenRegenerateSecretPostResponse200ApiToken'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ApiTokensApiTokenRegenerateSecretPostResponse200ApiToken::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -289,7 +289,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ApiTokensApiTokenRegenerateSecretPostResponse200ApiToken' => false]; + return [\KatapultAPI\Core\Model\ApiTokensApiTokenRegenerateSecretPostResponse200ApiToken::class => false]; } } } diff --git a/src/Core/Normalizer/ApiTokensApiTokenRegenerateSecretPostResponse200Normalizer.php b/src/Core/Normalizer/ApiTokensApiTokenRegenerateSecretPostResponse200Normalizer.php index 6fb73590..023f7dea 100644 --- a/src/Core/Normalizer/ApiTokensApiTokenRegenerateSecretPostResponse200Normalizer.php +++ b/src/Core/Normalizer/ApiTokensApiTokenRegenerateSecretPostResponse200Normalizer.php @@ -31,12 +31,12 @@ class ApiTokensApiTokenRegenerateSecretPostResponse200Normalizer implements Deno public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenRegenerateSecretPostResponse200'; + return $type === \KatapultAPI\Core\Model\ApiTokensApiTokenRegenerateSecretPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenRegenerateSecretPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ApiTokensApiTokenRegenerateSecretPostResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('api_token', $data)) { - $object->setApiToken($this->denormalizer->denormalize($data['api_token'], 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenRegenerateSecretPostResponse200ApiToken', 'json', $context)); + $object->setApiToken($this->denormalizer->denormalize($data['api_token'], \KatapultAPI\Core\Model\ApiTokensApiTokenRegenerateSecretPostResponse200ApiToken::class, 'json', $context)); unset($data['api_token']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ApiTokensApiTokenRegenerateSecretPostResponse200' => false]; + return [\KatapultAPI\Core\Model\ApiTokensApiTokenRegenerateSecretPostResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class ApiTokensApiTokenRegenerateSecretPostResponse200Normalizer implements Deno public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenRegenerateSecretPostResponse200'; + return $type === \KatapultAPI\Core\Model\ApiTokensApiTokenRegenerateSecretPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenRegenerateSecretPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ApiTokensApiTokenRegenerateSecretPostResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('api_token', $data)) { - $object->setApiToken($this->denormalizer->denormalize($data['api_token'], 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenRegenerateSecretPostResponse200ApiToken', 'json', $context)); + $object->setApiToken($this->denormalizer->denormalize($data['api_token'], \KatapultAPI\Core\Model\ApiTokensApiTokenRegenerateSecretPostResponse200ApiToken::class, 'json', $context)); unset($data['api_token']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ApiTokensApiTokenRegenerateSecretPostResponse200' => false]; + return [\KatapultAPI\Core\Model\ApiTokensApiTokenRegenerateSecretPostResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/AttachmentNormalizer.php b/src/Core/Normalizer/AttachmentNormalizer.php index 330aa032..12b48292 100644 --- a/src/Core/Normalizer/AttachmentNormalizer.php +++ b/src/Core/Normalizer/AttachmentNormalizer.php @@ -31,12 +31,12 @@ class AttachmentNormalizer implements DenormalizerInterface, NormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\Attachment'; + return $type === \KatapultAPI\Core\Model\Attachment::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\Attachment'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\Attachment::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -116,7 +116,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\Attachment' => false]; + return [\KatapultAPI\Core\Model\Attachment::class => false]; } } } else { @@ -129,12 +129,12 @@ class AttachmentNormalizer implements DenormalizerInterface, NormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\Attachment'; + return $type === \KatapultAPI\Core\Model\Attachment::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\Attachment'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\Attachment::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -217,7 +217,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\Attachment' => false]; + return [\KatapultAPI\Core\Model\Attachment::class => false]; } } } diff --git a/src/Core/Normalizer/AuthSSHKeyLookupNormalizer.php b/src/Core/Normalizer/AuthSSHKeyLookupNormalizer.php index 7b037694..f64538d3 100644 --- a/src/Core/Normalizer/AuthSSHKeyLookupNormalizer.php +++ b/src/Core/Normalizer/AuthSSHKeyLookupNormalizer.php @@ -31,12 +31,12 @@ class AuthSSHKeyLookupNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AuthSSHKeyLookup'; + return $type === \KatapultAPI\Core\Model\AuthSSHKeyLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AuthSSHKeyLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AuthSSHKeyLookup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AuthSSHKeyLookup' => false]; + return [\KatapultAPI\Core\Model\AuthSSHKeyLookup::class => false]; } } } else { @@ -94,12 +94,12 @@ class AuthSSHKeyLookupNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AuthSSHKeyLookup'; + return $type === \KatapultAPI\Core\Model\AuthSSHKeyLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AuthSSHKeyLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AuthSSHKeyLookup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AuthSSHKeyLookup' => false]; + return [\KatapultAPI\Core\Model\AuthSSHKeyLookup::class => false]; } } } diff --git a/src/Core/Normalizer/AuthSSHKeyNormalizer.php b/src/Core/Normalizer/AuthSSHKeyNormalizer.php index 30eba762..16a04b24 100644 --- a/src/Core/Normalizer/AuthSSHKeyNormalizer.php +++ b/src/Core/Normalizer/AuthSSHKeyNormalizer.php @@ -31,12 +31,12 @@ class AuthSSHKeyNormalizer implements DenormalizerInterface, NormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AuthSSHKey'; + return $type === \KatapultAPI\Core\Model\AuthSSHKey::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AuthSSHKey'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AuthSSHKey::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AuthSSHKey' => false]; + return [\KatapultAPI\Core\Model\AuthSSHKey::class => false]; } } } else { @@ -108,12 +108,12 @@ class AuthSSHKeyNormalizer implements DenormalizerInterface, NormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AuthSSHKey'; + return $type === \KatapultAPI\Core\Model\AuthSSHKey::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AuthSSHKey'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AuthSSHKey::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AuthSSHKey' => false]; + return [\KatapultAPI\Core\Model\AuthSSHKey::class => false]; } } } diff --git a/src/Core/Normalizer/AuthSSHKeyPropertiesNormalizer.php b/src/Core/Normalizer/AuthSSHKeyPropertiesNormalizer.php index 310e6a5e..ee53af17 100644 --- a/src/Core/Normalizer/AuthSSHKeyPropertiesNormalizer.php +++ b/src/Core/Normalizer/AuthSSHKeyPropertiesNormalizer.php @@ -31,12 +31,12 @@ class AuthSSHKeyPropertiesNormalizer implements DenormalizerInterface, Normalize public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AuthSSHKeyProperties'; + return $type === \KatapultAPI\Core\Model\AuthSSHKeyProperties::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AuthSSHKeyProperties'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AuthSSHKeyProperties::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AuthSSHKeyProperties' => false]; + return [\KatapultAPI\Core\Model\AuthSSHKeyProperties::class => false]; } } } else { @@ -101,12 +101,12 @@ class AuthSSHKeyPropertiesNormalizer implements DenormalizerInterface, Normalize public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\AuthSSHKeyProperties'; + return $type === \KatapultAPI\Core\Model\AuthSSHKeyProperties::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\AuthSSHKeyProperties'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\AuthSSHKeyProperties::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\AuthSSHKeyProperties' => false]; + return [\KatapultAPI\Core\Model\AuthSSHKeyProperties::class => false]; } } } diff --git a/src/Core/Normalizer/CertificateLookupNormalizer.php b/src/Core/Normalizer/CertificateLookupNormalizer.php index 0e348395..9a3af8ec 100644 --- a/src/Core/Normalizer/CertificateLookupNormalizer.php +++ b/src/Core/Normalizer/CertificateLookupNormalizer.php @@ -31,12 +31,12 @@ class CertificateLookupNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\CertificateLookup'; + return $type === \KatapultAPI\Core\Model\CertificateLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\CertificateLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\CertificateLookup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\CertificateLookup' => false]; + return [\KatapultAPI\Core\Model\CertificateLookup::class => false]; } } } else { @@ -94,12 +94,12 @@ class CertificateLookupNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\CertificateLookup'; + return $type === \KatapultAPI\Core\Model\CertificateLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\CertificateLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\CertificateLookup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\CertificateLookup' => false]; + return [\KatapultAPI\Core\Model\CertificateLookup::class => false]; } } } diff --git a/src/Core/Normalizer/CertificateNormalizer.php b/src/Core/Normalizer/CertificateNormalizer.php index 9c6b1cc4..81d946d3 100644 --- a/src/Core/Normalizer/CertificateNormalizer.php +++ b/src/Core/Normalizer/CertificateNormalizer.php @@ -31,12 +31,12 @@ class CertificateNormalizer implements DenormalizerInterface, NormalizerInterfac public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\Certificate'; + return $type === \KatapultAPI\Core\Model\Certificate::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\Certificate'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\Certificate::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -196,7 +196,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\Certificate' => false]; + return [\KatapultAPI\Core\Model\Certificate::class => false]; } } } else { @@ -209,12 +209,12 @@ class CertificateNormalizer implements DenormalizerInterface, NormalizerInterfac public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\Certificate'; + return $type === \KatapultAPI\Core\Model\Certificate::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\Certificate'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\Certificate::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -377,7 +377,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\Certificate' => false]; + return [\KatapultAPI\Core\Model\Certificate::class => false]; } } } diff --git a/src/Core/Normalizer/CertificatesCertificateGetResponse200Normalizer.php b/src/Core/Normalizer/CertificatesCertificateGetResponse200Normalizer.php index 3bc1b8c5..ad30c9ee 100644 --- a/src/Core/Normalizer/CertificatesCertificateGetResponse200Normalizer.php +++ b/src/Core/Normalizer/CertificatesCertificateGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class CertificatesCertificateGetResponse200Normalizer implements DenormalizerInt public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\CertificatesCertificateGetResponse200'; + return $type === \KatapultAPI\Core\Model\CertificatesCertificateGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\CertificatesCertificateGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\CertificatesCertificateGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -54,7 +54,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('certificate', $data)) { $values = []; foreach ($data['certificate'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\Certificate', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\Certificate::class, 'json', $context); } $object->setCertificate($values); unset($data['certificate']); @@ -87,7 +87,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\CertificatesCertificateGetResponse200' => false]; + return [\KatapultAPI\Core\Model\CertificatesCertificateGetResponse200::class => false]; } } } else { @@ -100,12 +100,12 @@ class CertificatesCertificateGetResponse200Normalizer implements DenormalizerInt public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\CertificatesCertificateGetResponse200'; + return $type === \KatapultAPI\Core\Model\CertificatesCertificateGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\CertificatesCertificateGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\CertificatesCertificateGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -123,7 +123,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('certificate', $data)) { $values = []; foreach ($data['certificate'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\Certificate', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\Certificate::class, 'json', $context); } $object->setCertificate($values); unset($data['certificate']); @@ -159,7 +159,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\CertificatesCertificateGetResponse200' => false]; + return [\KatapultAPI\Core\Model\CertificatesCertificateGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/CountriesCountryCountryStatesGetResponse200Normalizer.php b/src/Core/Normalizer/CountriesCountryCountryStatesGetResponse200Normalizer.php index 9f419299..03683287 100644 --- a/src/Core/Normalizer/CountriesCountryCountryStatesGetResponse200Normalizer.php +++ b/src/Core/Normalizer/CountriesCountryCountryStatesGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class CountriesCountryCountryStatesGetResponse200Normalizer implements Denormali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\CountriesCountryCountryStatesGetResponse200'; + return $type === \KatapultAPI\Core\Model\CountriesCountryCountryStatesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\CountriesCountryCountryStatesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\CountriesCountryCountryStatesGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('country_states', $data)) { $values = []; foreach ($data['country_states'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetCountryCountryStates200ResponseCountryStates', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetCountryCountryStates200ResponseCountryStates::class, 'json', $context); } $object->setCountryStates($values); unset($data['country_states']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\CountriesCountryCountryStatesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\CountriesCountryCountryStatesGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class CountriesCountryCountryStatesGetResponse200Normalizer implements Denormali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\CountriesCountryCountryStatesGetResponse200'; + return $type === \KatapultAPI\Core\Model\CountriesCountryCountryStatesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\CountriesCountryCountryStatesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\CountriesCountryCountryStatesGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('country_states', $data)) { $values = []; foreach ($data['country_states'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetCountryCountryStates200ResponseCountryStates', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetCountryCountryStates200ResponseCountryStates::class, 'json', $context); } $object->setCountryStates($values); unset($data['country_states']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\CountriesCountryCountryStatesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\CountriesCountryCountryStatesGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/CountriesCountryGetResponse200CountryNormalizer.php b/src/Core/Normalizer/CountriesCountryGetResponse200CountryNormalizer.php index acf8337d..7ebe98a9 100644 --- a/src/Core/Normalizer/CountriesCountryGetResponse200CountryNormalizer.php +++ b/src/Core/Normalizer/CountriesCountryGetResponse200CountryNormalizer.php @@ -31,12 +31,12 @@ class CountriesCountryGetResponse200CountryNormalizer implements DenormalizerInt public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\CountriesCountryGetResponse200Country'; + return $type === \KatapultAPI\Core\Model\CountriesCountryGetResponse200Country::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\CountriesCountryGetResponse200Country'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\CountriesCountryGetResponse200Country::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -118,7 +118,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\CountriesCountryGetResponse200Country' => false]; + return [\KatapultAPI\Core\Model\CountriesCountryGetResponse200Country::class => false]; } } } else { @@ -131,12 +131,12 @@ class CountriesCountryGetResponse200CountryNormalizer implements DenormalizerInt public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\CountriesCountryGetResponse200Country'; + return $type === \KatapultAPI\Core\Model\CountriesCountryGetResponse200Country::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\CountriesCountryGetResponse200Country'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\CountriesCountryGetResponse200Country::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -221,7 +221,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\CountriesCountryGetResponse200Country' => false]; + return [\KatapultAPI\Core\Model\CountriesCountryGetResponse200Country::class => false]; } } } diff --git a/src/Core/Normalizer/CountriesCountryGetResponse200Normalizer.php b/src/Core/Normalizer/CountriesCountryGetResponse200Normalizer.php index a0c0f2d1..5f87b3d7 100644 --- a/src/Core/Normalizer/CountriesCountryGetResponse200Normalizer.php +++ b/src/Core/Normalizer/CountriesCountryGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class CountriesCountryGetResponse200Normalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\CountriesCountryGetResponse200'; + return $type === \KatapultAPI\Core\Model\CountriesCountryGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\CountriesCountryGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\CountriesCountryGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'KatapultAPI\\Core\\Model\\CountriesCountryGetResponse200Country', 'json', $context)); + $object->setCountry($this->denormalizer->denormalize($data['country'], \KatapultAPI\Core\Model\CountriesCountryGetResponse200Country::class, 'json', $context)); unset($data['country']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\CountriesCountryGetResponse200' => false]; + return [\KatapultAPI\Core\Model\CountriesCountryGetResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class CountriesCountryGetResponse200Normalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\CountriesCountryGetResponse200'; + return $type === \KatapultAPI\Core\Model\CountriesCountryGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\CountriesCountryGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\CountriesCountryGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'KatapultAPI\\Core\\Model\\CountriesCountryGetResponse200Country', 'json', $context)); + $object->setCountry($this->denormalizer->denormalize($data['country'], \KatapultAPI\Core\Model\CountriesCountryGetResponse200Country::class, 'json', $context)); unset($data['country']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\CountriesCountryGetResponse200' => false]; + return [\KatapultAPI\Core\Model\CountriesCountryGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/CountriesGetResponse200Normalizer.php b/src/Core/Normalizer/CountriesGetResponse200Normalizer.php index ff2fb835..ed8108f3 100644 --- a/src/Core/Normalizer/CountriesGetResponse200Normalizer.php +++ b/src/Core/Normalizer/CountriesGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class CountriesGetResponse200Normalizer implements DenormalizerInterface, Normal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\CountriesGetResponse200'; + return $type === \KatapultAPI\Core\Model\CountriesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\CountriesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\CountriesGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('countries', $data)) { $values = []; foreach ($data['countries'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetCountries200ResponseCountries', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetCountries200ResponseCountries::class, 'json', $context); } $object->setCountries($values); unset($data['countries']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\CountriesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\CountriesGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class CountriesGetResponse200Normalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\CountriesGetResponse200'; + return $type === \KatapultAPI\Core\Model\CountriesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\CountriesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\CountriesGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('countries', $data)) { $values = []; foreach ($data['countries'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetCountries200ResponseCountries', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetCountries200ResponseCountries::class, 'json', $context); } $object->setCountries($values); unset($data['countries']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\CountriesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\CountriesGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/CountryNormalizer.php b/src/Core/Normalizer/CountryNormalizer.php index e6df8009..39bdeb8e 100644 --- a/src/Core/Normalizer/CountryNormalizer.php +++ b/src/Core/Normalizer/CountryNormalizer.php @@ -31,12 +31,12 @@ class CountryNormalizer implements DenormalizerInterface, NormalizerInterface, D public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\Country'; + return $type === \KatapultAPI\Core\Model\Country::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\Country'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\Country::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -118,7 +118,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\Country' => false]; + return [\KatapultAPI\Core\Model\Country::class => false]; } } } else { @@ -131,12 +131,12 @@ class CountryNormalizer implements DenormalizerInterface, NormalizerInterface, D public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\Country'; + return $type === \KatapultAPI\Core\Model\Country::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\Country'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\Country::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -221,7 +221,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\Country' => false]; + return [\KatapultAPI\Core\Model\Country::class => false]; } } } diff --git a/src/Core/Normalizer/CountryStateNormalizer.php b/src/Core/Normalizer/CountryStateNormalizer.php index 4cb50699..a071e045 100644 --- a/src/Core/Normalizer/CountryStateNormalizer.php +++ b/src/Core/Normalizer/CountryStateNormalizer.php @@ -31,12 +31,12 @@ class CountryStateNormalizer implements DenormalizerInterface, NormalizerInterfa public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\CountryState'; + return $type === \KatapultAPI\Core\Model\CountryState::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\CountryState'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\CountryState::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -64,7 +64,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['code']); } if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'KatapultAPI\\Core\\Model\\Country', 'json', $context)); + $object->setCountry($this->denormalizer->denormalize($data['country'], \KatapultAPI\Core\Model\Country::class, 'json', $context)); unset($data['country']); } foreach ($data as $key => $value) { @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\CountryState' => false]; + return [\KatapultAPI\Core\Model\CountryState::class => false]; } } } else { @@ -115,12 +115,12 @@ class CountryStateNormalizer implements DenormalizerInterface, NormalizerInterfa public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\CountryState'; + return $type === \KatapultAPI\Core\Model\CountryState::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\CountryState'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\CountryState::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -148,7 +148,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['code']); } if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'KatapultAPI\\Core\\Model\\Country', 'json', $context)); + $object->setCountry($this->denormalizer->denormalize($data['country'], \KatapultAPI\Core\Model\Country::class, 'json', $context)); unset($data['country']); } foreach ($data as $key => $value) { @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\CountryState' => false]; + return [\KatapultAPI\Core\Model\CountryState::class => false]; } } } diff --git a/src/Core/Normalizer/CountryStatesCountryStateGetResponse200CountryStateNormalizer.php b/src/Core/Normalizer/CountryStatesCountryStateGetResponse200CountryStateNormalizer.php index 681b4068..a1e8343a 100644 --- a/src/Core/Normalizer/CountryStatesCountryStateGetResponse200CountryStateNormalizer.php +++ b/src/Core/Normalizer/CountryStatesCountryStateGetResponse200CountryStateNormalizer.php @@ -31,12 +31,12 @@ class CountryStatesCountryStateGetResponse200CountryStateNormalizer implements D public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\CountryStatesCountryStateGetResponse200CountryState'; + return $type === \KatapultAPI\Core\Model\CountryStatesCountryStateGetResponse200CountryState::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\CountryStatesCountryStateGetResponse200CountryState'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\CountryStatesCountryStateGetResponse200CountryState::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -64,7 +64,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['code']); } if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'KatapultAPI\\Core\\Model\\Country', 'json', $context)); + $object->setCountry($this->denormalizer->denormalize($data['country'], \KatapultAPI\Core\Model\Country::class, 'json', $context)); unset($data['country']); } foreach ($data as $key => $value) { @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\CountryStatesCountryStateGetResponse200CountryState' => false]; + return [\KatapultAPI\Core\Model\CountryStatesCountryStateGetResponse200CountryState::class => false]; } } } else { @@ -115,12 +115,12 @@ class CountryStatesCountryStateGetResponse200CountryStateNormalizer implements D public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\CountryStatesCountryStateGetResponse200CountryState'; + return $type === \KatapultAPI\Core\Model\CountryStatesCountryStateGetResponse200CountryState::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\CountryStatesCountryStateGetResponse200CountryState'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\CountryStatesCountryStateGetResponse200CountryState::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -148,7 +148,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['code']); } if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'KatapultAPI\\Core\\Model\\Country', 'json', $context)); + $object->setCountry($this->denormalizer->denormalize($data['country'], \KatapultAPI\Core\Model\Country::class, 'json', $context)); unset($data['country']); } foreach ($data as $key => $value) { @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\CountryStatesCountryStateGetResponse200CountryState' => false]; + return [\KatapultAPI\Core\Model\CountryStatesCountryStateGetResponse200CountryState::class => false]; } } } diff --git a/src/Core/Normalizer/CountryStatesCountryStateGetResponse200Normalizer.php b/src/Core/Normalizer/CountryStatesCountryStateGetResponse200Normalizer.php index 3e4dea2a..f8a7ef13 100644 --- a/src/Core/Normalizer/CountryStatesCountryStateGetResponse200Normalizer.php +++ b/src/Core/Normalizer/CountryStatesCountryStateGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class CountryStatesCountryStateGetResponse200Normalizer implements DenormalizerI public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\CountryStatesCountryStateGetResponse200'; + return $type === \KatapultAPI\Core\Model\CountryStatesCountryStateGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\CountryStatesCountryStateGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\CountryStatesCountryStateGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('country_state', $data)) { - $object->setCountryState($this->denormalizer->denormalize($data['country_state'], 'KatapultAPI\\Core\\Model\\CountryStatesCountryStateGetResponse200CountryState', 'json', $context)); + $object->setCountryState($this->denormalizer->denormalize($data['country_state'], \KatapultAPI\Core\Model\CountryStatesCountryStateGetResponse200CountryState::class, 'json', $context)); unset($data['country_state']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\CountryStatesCountryStateGetResponse200' => false]; + return [\KatapultAPI\Core\Model\CountryStatesCountryStateGetResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class CountryStatesCountryStateGetResponse200Normalizer implements DenormalizerI public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\CountryStatesCountryStateGetResponse200'; + return $type === \KatapultAPI\Core\Model\CountryStatesCountryStateGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\CountryStatesCountryStateGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\CountryStatesCountryStateGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('country_state', $data)) { - $object->setCountryState($this->denormalizer->denormalize($data['country_state'], 'KatapultAPI\\Core\\Model\\CountryStatesCountryStateGetResponse200CountryState', 'json', $context)); + $object->setCountryState($this->denormalizer->denormalize($data['country_state'], \KatapultAPI\Core\Model\CountryStatesCountryStateGetResponse200CountryState::class, 'json', $context)); unset($data['country_state']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\CountryStatesCountryStateGetResponse200' => false]; + return [\KatapultAPI\Core\Model\CountryStatesCountryStateGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/CurrenciesCurrencyGetResponse200CurrencyNormalizer.php b/src/Core/Normalizer/CurrenciesCurrencyGetResponse200CurrencyNormalizer.php index db08b444..24e51bcc 100644 --- a/src/Core/Normalizer/CurrenciesCurrencyGetResponse200CurrencyNormalizer.php +++ b/src/Core/Normalizer/CurrenciesCurrencyGetResponse200CurrencyNormalizer.php @@ -31,12 +31,12 @@ class CurrenciesCurrencyGetResponse200CurrencyNormalizer implements Denormalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\CurrenciesCurrencyGetResponse200Currency'; + return $type === \KatapultAPI\Core\Model\CurrenciesCurrencyGetResponse200Currency::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\CurrenciesCurrencyGetResponse200Currency'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\CurrenciesCurrencyGetResponse200Currency::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\CurrenciesCurrencyGetResponse200Currency' => false]; + return [\KatapultAPI\Core\Model\CurrenciesCurrencyGetResponse200Currency::class => false]; } } } else { @@ -115,12 +115,12 @@ class CurrenciesCurrencyGetResponse200CurrencyNormalizer implements Denormalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\CurrenciesCurrencyGetResponse200Currency'; + return $type === \KatapultAPI\Core\Model\CurrenciesCurrencyGetResponse200Currency::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\CurrenciesCurrencyGetResponse200Currency'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\CurrenciesCurrencyGetResponse200Currency::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\CurrenciesCurrencyGetResponse200Currency' => false]; + return [\KatapultAPI\Core\Model\CurrenciesCurrencyGetResponse200Currency::class => false]; } } } diff --git a/src/Core/Normalizer/CurrenciesCurrencyGetResponse200Normalizer.php b/src/Core/Normalizer/CurrenciesCurrencyGetResponse200Normalizer.php index d83a7ef5..33907440 100644 --- a/src/Core/Normalizer/CurrenciesCurrencyGetResponse200Normalizer.php +++ b/src/Core/Normalizer/CurrenciesCurrencyGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class CurrenciesCurrencyGetResponse200Normalizer implements DenormalizerInterfac public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\CurrenciesCurrencyGetResponse200'; + return $type === \KatapultAPI\Core\Model\CurrenciesCurrencyGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\CurrenciesCurrencyGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\CurrenciesCurrencyGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('currency', $data)) { - $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'KatapultAPI\\Core\\Model\\CurrenciesCurrencyGetResponse200Currency', 'json', $context)); + $object->setCurrency($this->denormalizer->denormalize($data['currency'], \KatapultAPI\Core\Model\CurrenciesCurrencyGetResponse200Currency::class, 'json', $context)); unset($data['currency']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\CurrenciesCurrencyGetResponse200' => false]; + return [\KatapultAPI\Core\Model\CurrenciesCurrencyGetResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class CurrenciesCurrencyGetResponse200Normalizer implements DenormalizerInterfac public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\CurrenciesCurrencyGetResponse200'; + return $type === \KatapultAPI\Core\Model\CurrenciesCurrencyGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\CurrenciesCurrencyGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\CurrenciesCurrencyGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('currency', $data)) { - $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'KatapultAPI\\Core\\Model\\CurrenciesCurrencyGetResponse200Currency', 'json', $context)); + $object->setCurrency($this->denormalizer->denormalize($data['currency'], \KatapultAPI\Core\Model\CurrenciesCurrencyGetResponse200Currency::class, 'json', $context)); unset($data['currency']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\CurrenciesCurrencyGetResponse200' => false]; + return [\KatapultAPI\Core\Model\CurrenciesCurrencyGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/CurrenciesGetResponse200Normalizer.php b/src/Core/Normalizer/CurrenciesGetResponse200Normalizer.php index 94f6f0fe..53cae261 100644 --- a/src/Core/Normalizer/CurrenciesGetResponse200Normalizer.php +++ b/src/Core/Normalizer/CurrenciesGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class CurrenciesGetResponse200Normalizer implements DenormalizerInterface, Norma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\CurrenciesGetResponse200'; + return $type === \KatapultAPI\Core\Model\CurrenciesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\CurrenciesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\CurrenciesGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('currencies', $data)) { $values = []; foreach ($data['currencies'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetCurrencies200ResponseCurrencies', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetCurrencies200ResponseCurrencies::class, 'json', $context); } $object->setCurrencies($values); unset($data['currencies']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\CurrenciesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\CurrenciesGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class CurrenciesGetResponse200Normalizer implements DenormalizerInterface, Norma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\CurrenciesGetResponse200'; + return $type === \KatapultAPI\Core\Model\CurrenciesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\CurrenciesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\CurrenciesGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('currencies', $data)) { $values = []; foreach ($data['currencies'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetCurrencies200ResponseCurrencies', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetCurrencies200ResponseCurrencies::class, 'json', $context); } $object->setCurrencies($values); unset($data['currencies']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\CurrenciesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\CurrenciesGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/CurrencyNormalizer.php b/src/Core/Normalizer/CurrencyNormalizer.php index 344c408e..908ec9b1 100644 --- a/src/Core/Normalizer/CurrencyNormalizer.php +++ b/src/Core/Normalizer/CurrencyNormalizer.php @@ -31,12 +31,12 @@ class CurrencyNormalizer implements DenormalizerInterface, NormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\Currency'; + return $type === \KatapultAPI\Core\Model\Currency::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\Currency'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\Currency::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\Currency' => false]; + return [\KatapultAPI\Core\Model\Currency::class => false]; } } } else { @@ -115,12 +115,12 @@ class CurrencyNormalizer implements DenormalizerInterface, NormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\Currency'; + return $type === \KatapultAPI\Core\Model\Currency::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\Currency'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\Currency::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\Currency' => false]; + return [\KatapultAPI\Core\Model\Currency::class => false]; } } } diff --git a/src/Core/Normalizer/DNSRecordArgumentsNormalizer.php b/src/Core/Normalizer/DNSRecordArgumentsNormalizer.php index b14ea8d1..fbc6de7a 100644 --- a/src/Core/Normalizer/DNSRecordArgumentsNormalizer.php +++ b/src/Core/Normalizer/DNSRecordArgumentsNormalizer.php @@ -31,12 +31,12 @@ class DNSRecordArgumentsNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordArguments'; + return $type === \KatapultAPI\Core\Model\DNSRecordArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordArguments::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -68,7 +68,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['priority']); } if (\array_key_exists('content', $data)) { - $object->setContent($this->denormalizer->denormalize($data['content'], 'KatapultAPI\\Core\\Model\\DNSRecordContentArguments', 'json', $context)); + $object->setContent($this->denormalizer->denormalize($data['content'], \KatapultAPI\Core\Model\DNSRecordContentArguments::class, 'json', $context)); unset($data['content']); } foreach ($data as $key => $value) { @@ -109,7 +109,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordArguments' => false]; + return [\KatapultAPI\Core\Model\DNSRecordArguments::class => false]; } } } else { @@ -122,12 +122,12 @@ class DNSRecordArgumentsNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordArguments'; + return $type === \KatapultAPI\Core\Model\DNSRecordArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordArguments::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -159,7 +159,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['priority']); } if (\array_key_exists('content', $data)) { - $object->setContent($this->denormalizer->denormalize($data['content'], 'KatapultAPI\\Core\\Model\\DNSRecordContentArguments', 'json', $context)); + $object->setContent($this->denormalizer->denormalize($data['content'], \KatapultAPI\Core\Model\DNSRecordContentArguments::class, 'json', $context)); unset($data['content']); } foreach ($data as $key => $value) { @@ -203,7 +203,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordArguments' => false]; + return [\KatapultAPI\Core\Model\DNSRecordArguments::class => false]; } } } diff --git a/src/Core/Normalizer/DNSRecordContentArgumentsForAAAANormalizer.php b/src/Core/Normalizer/DNSRecordContentArgumentsForAAAANormalizer.php index 22a97f59..9bd6537a 100644 --- a/src/Core/Normalizer/DNSRecordContentArgumentsForAAAANormalizer.php +++ b/src/Core/Normalizer/DNSRecordContentArgumentsForAAAANormalizer.php @@ -31,12 +31,12 @@ class DNSRecordContentArgumentsForAAAANormalizer implements DenormalizerInterfac public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForAAAA'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForAAAA::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForAAAA'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForAAAA::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForAAAA' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentArgumentsForAAAA::class => false]; } } } else { @@ -94,12 +94,12 @@ class DNSRecordContentArgumentsForAAAANormalizer implements DenormalizerInterfac public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForAAAA'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForAAAA::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForAAAA'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForAAAA::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForAAAA' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentArgumentsForAAAA::class => false]; } } } diff --git a/src/Core/Normalizer/DNSRecordContentArgumentsForALIASNormalizer.php b/src/Core/Normalizer/DNSRecordContentArgumentsForALIASNormalizer.php index d4d7f06b..8237b2ef 100644 --- a/src/Core/Normalizer/DNSRecordContentArgumentsForALIASNormalizer.php +++ b/src/Core/Normalizer/DNSRecordContentArgumentsForALIASNormalizer.php @@ -31,12 +31,12 @@ class DNSRecordContentArgumentsForALIASNormalizer implements DenormalizerInterfa public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForALIAS'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForALIAS::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForALIAS'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForALIAS::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForALIAS' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentArgumentsForALIAS::class => false]; } } } else { @@ -94,12 +94,12 @@ class DNSRecordContentArgumentsForALIASNormalizer implements DenormalizerInterfa public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForALIAS'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForALIAS::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForALIAS'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForALIAS::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForALIAS' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentArgumentsForALIAS::class => false]; } } } diff --git a/src/Core/Normalizer/DNSRecordContentArgumentsForANormalizer.php b/src/Core/Normalizer/DNSRecordContentArgumentsForANormalizer.php index a2cdb288..059a5698 100644 --- a/src/Core/Normalizer/DNSRecordContentArgumentsForANormalizer.php +++ b/src/Core/Normalizer/DNSRecordContentArgumentsForANormalizer.php @@ -31,12 +31,12 @@ class DNSRecordContentArgumentsForANormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForA'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForA::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForA'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForA::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForA' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentArgumentsForA::class => false]; } } } else { @@ -94,12 +94,12 @@ class DNSRecordContentArgumentsForANormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForA'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForA::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForA'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForA::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForA' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentArgumentsForA::class => false]; } } } diff --git a/src/Core/Normalizer/DNSRecordContentArgumentsForCAANormalizer.php b/src/Core/Normalizer/DNSRecordContentArgumentsForCAANormalizer.php index 04943be4..b6eaf04d 100644 --- a/src/Core/Normalizer/DNSRecordContentArgumentsForCAANormalizer.php +++ b/src/Core/Normalizer/DNSRecordContentArgumentsForCAANormalizer.php @@ -31,12 +31,12 @@ class DNSRecordContentArgumentsForCAANormalizer implements DenormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForCAA'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForCAA::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForCAA'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForCAA::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForCAA' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentArgumentsForCAA::class => false]; } } } else { @@ -108,12 +108,12 @@ class DNSRecordContentArgumentsForCAANormalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForCAA'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForCAA::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForCAA'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForCAA::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForCAA' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentArgumentsForCAA::class => false]; } } } diff --git a/src/Core/Normalizer/DNSRecordContentArgumentsForCNAMENormalizer.php b/src/Core/Normalizer/DNSRecordContentArgumentsForCNAMENormalizer.php index 837e5e55..ca86b180 100644 --- a/src/Core/Normalizer/DNSRecordContentArgumentsForCNAMENormalizer.php +++ b/src/Core/Normalizer/DNSRecordContentArgumentsForCNAMENormalizer.php @@ -31,12 +31,12 @@ class DNSRecordContentArgumentsForCNAMENormalizer implements DenormalizerInterfa public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForCNAME'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForCNAME::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForCNAME'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForCNAME::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForCNAME' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentArgumentsForCNAME::class => false]; } } } else { @@ -94,12 +94,12 @@ class DNSRecordContentArgumentsForCNAMENormalizer implements DenormalizerInterfa public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForCNAME'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForCNAME::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForCNAME'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForCNAME::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForCNAME' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentArgumentsForCNAME::class => false]; } } } diff --git a/src/Core/Normalizer/DNSRecordContentArgumentsForIPSNormalizer.php b/src/Core/Normalizer/DNSRecordContentArgumentsForIPSNormalizer.php index 147c16c6..93fe11e8 100644 --- a/src/Core/Normalizer/DNSRecordContentArgumentsForIPSNormalizer.php +++ b/src/Core/Normalizer/DNSRecordContentArgumentsForIPSNormalizer.php @@ -31,12 +31,12 @@ class DNSRecordContentArgumentsForIPSNormalizer implements DenormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForIPS'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForIPS::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForIPS'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForIPS::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForIPS' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentArgumentsForIPS::class => false]; } } } else { @@ -94,12 +94,12 @@ class DNSRecordContentArgumentsForIPSNormalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForIPS'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForIPS::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForIPS'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForIPS::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForIPS' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentArgumentsForIPS::class => false]; } } } diff --git a/src/Core/Normalizer/DNSRecordContentArgumentsForMXNormalizer.php b/src/Core/Normalizer/DNSRecordContentArgumentsForMXNormalizer.php index 87a1559a..4ad9695e 100644 --- a/src/Core/Normalizer/DNSRecordContentArgumentsForMXNormalizer.php +++ b/src/Core/Normalizer/DNSRecordContentArgumentsForMXNormalizer.php @@ -31,12 +31,12 @@ class DNSRecordContentArgumentsForMXNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForMX'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForMX::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForMX'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForMX::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForMX' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentArgumentsForMX::class => false]; } } } else { @@ -94,12 +94,12 @@ class DNSRecordContentArgumentsForMXNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForMX'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForMX::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForMX'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForMX::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForMX' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentArgumentsForMX::class => false]; } } } diff --git a/src/Core/Normalizer/DNSRecordContentArgumentsForNSNormalizer.php b/src/Core/Normalizer/DNSRecordContentArgumentsForNSNormalizer.php index 3b3d3f2a..189c097c 100644 --- a/src/Core/Normalizer/DNSRecordContentArgumentsForNSNormalizer.php +++ b/src/Core/Normalizer/DNSRecordContentArgumentsForNSNormalizer.php @@ -31,12 +31,12 @@ class DNSRecordContentArgumentsForNSNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForNS'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForNS::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForNS'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForNS::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForNS' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentArgumentsForNS::class => false]; } } } else { @@ -94,12 +94,12 @@ class DNSRecordContentArgumentsForNSNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForNS'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForNS::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForNS'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForNS::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForNS' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentArgumentsForNS::class => false]; } } } diff --git a/src/Core/Normalizer/DNSRecordContentArgumentsForPTRNormalizer.php b/src/Core/Normalizer/DNSRecordContentArgumentsForPTRNormalizer.php index 68603035..82265766 100644 --- a/src/Core/Normalizer/DNSRecordContentArgumentsForPTRNormalizer.php +++ b/src/Core/Normalizer/DNSRecordContentArgumentsForPTRNormalizer.php @@ -31,12 +31,12 @@ class DNSRecordContentArgumentsForPTRNormalizer implements DenormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForPTR'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForPTR::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForPTR'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForPTR::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForPTR' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentArgumentsForPTR::class => false]; } } } else { @@ -94,12 +94,12 @@ class DNSRecordContentArgumentsForPTRNormalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForPTR'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForPTR::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForPTR'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForPTR::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForPTR' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentArgumentsForPTR::class => false]; } } } diff --git a/src/Core/Normalizer/DNSRecordContentArgumentsForSRVNormalizer.php b/src/Core/Normalizer/DNSRecordContentArgumentsForSRVNormalizer.php index f7ddcd79..9fa09fae 100644 --- a/src/Core/Normalizer/DNSRecordContentArgumentsForSRVNormalizer.php +++ b/src/Core/Normalizer/DNSRecordContentArgumentsForSRVNormalizer.php @@ -31,12 +31,12 @@ class DNSRecordContentArgumentsForSRVNormalizer implements DenormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForSRV'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForSRV::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForSRV'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForSRV::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForSRV' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentArgumentsForSRV::class => false]; } } } else { @@ -108,12 +108,12 @@ class DNSRecordContentArgumentsForSRVNormalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForSRV'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForSRV::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForSRV'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForSRV::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForSRV' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentArgumentsForSRV::class => false]; } } } diff --git a/src/Core/Normalizer/DNSRecordContentArgumentsForSSHFPNormalizer.php b/src/Core/Normalizer/DNSRecordContentArgumentsForSSHFPNormalizer.php index c445010c..ba22cf60 100644 --- a/src/Core/Normalizer/DNSRecordContentArgumentsForSSHFPNormalizer.php +++ b/src/Core/Normalizer/DNSRecordContentArgumentsForSSHFPNormalizer.php @@ -31,12 +31,12 @@ class DNSRecordContentArgumentsForSSHFPNormalizer implements DenormalizerInterfa public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForSSHFP'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForSSHFP::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForSSHFP'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForSSHFP::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForSSHFP' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentArgumentsForSSHFP::class => false]; } } } else { @@ -108,12 +108,12 @@ class DNSRecordContentArgumentsForSSHFPNormalizer implements DenormalizerInterfa public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForSSHFP'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForSSHFP::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForSSHFP'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForSSHFP::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForSSHFP' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentArgumentsForSSHFP::class => false]; } } } diff --git a/src/Core/Normalizer/DNSRecordContentArgumentsForTXTNormalizer.php b/src/Core/Normalizer/DNSRecordContentArgumentsForTXTNormalizer.php index a1e638be..80b5c905 100644 --- a/src/Core/Normalizer/DNSRecordContentArgumentsForTXTNormalizer.php +++ b/src/Core/Normalizer/DNSRecordContentArgumentsForTXTNormalizer.php @@ -31,12 +31,12 @@ class DNSRecordContentArgumentsForTXTNormalizer implements DenormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForTXT'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForTXT::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForTXT'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForTXT::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForTXT' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentArgumentsForTXT::class => false]; } } } else { @@ -94,12 +94,12 @@ class DNSRecordContentArgumentsForTXTNormalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForTXT'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForTXT::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForTXT'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForTXT::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForTXT' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentArgumentsForTXT::class => false]; } } } diff --git a/src/Core/Normalizer/DNSRecordContentArgumentsForVirtualMachineNormalizer.php b/src/Core/Normalizer/DNSRecordContentArgumentsForVirtualMachineNormalizer.php index 87197bae..de9e56e9 100644 --- a/src/Core/Normalizer/DNSRecordContentArgumentsForVirtualMachineNormalizer.php +++ b/src/Core/Normalizer/DNSRecordContentArgumentsForVirtualMachineNormalizer.php @@ -31,12 +31,12 @@ class DNSRecordContentArgumentsForVirtualMachineNormalizer implements Denormaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForVirtualMachine'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForVirtualMachine::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentArgumentsForVirtualMachine::class => false]; } } } else { @@ -94,12 +94,12 @@ class DNSRecordContentArgumentsForVirtualMachineNormalizer implements Denormaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForVirtualMachine'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentArgumentsForVirtualMachine::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentArgumentsForVirtualMachine::class => false]; } } } diff --git a/src/Core/Normalizer/DNSRecordContentArgumentsNormalizer.php b/src/Core/Normalizer/DNSRecordContentArgumentsNormalizer.php index 7fc2d330..c4e92c25 100644 --- a/src/Core/Normalizer/DNSRecordContentArgumentsNormalizer.php +++ b/src/Core/Normalizer/DNSRecordContentArgumentsNormalizer.php @@ -31,12 +31,12 @@ class DNSRecordContentArgumentsNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentArguments'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentArguments::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,39 +52,39 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('A', $data)) { - $object->setA($this->denormalizer->denormalize($data['A'], 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForA', 'json', $context)); + $object->setA($this->denormalizer->denormalize($data['A'], \KatapultAPI\Core\Model\DNSRecordContentArgumentsForA::class, 'json', $context)); unset($data['A']); } if (\array_key_exists('AAAA', $data)) { - $object->setAAAA($this->denormalizer->denormalize($data['AAAA'], 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForAAAA', 'json', $context)); + $object->setAAAA($this->denormalizer->denormalize($data['AAAA'], \KatapultAPI\Core\Model\DNSRecordContentArgumentsForAAAA::class, 'json', $context)); unset($data['AAAA']); } if (\array_key_exists('ALIAS', $data)) { - $object->setALIAS($this->denormalizer->denormalize($data['ALIAS'], 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForALIAS', 'json', $context)); + $object->setALIAS($this->denormalizer->denormalize($data['ALIAS'], \KatapultAPI\Core\Model\DNSRecordContentArgumentsForALIAS::class, 'json', $context)); unset($data['ALIAS']); } if (\array_key_exists('CAA', $data)) { - $object->setCAA($this->denormalizer->denormalize($data['CAA'], 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForCAA', 'json', $context)); + $object->setCAA($this->denormalizer->denormalize($data['CAA'], \KatapultAPI\Core\Model\DNSRecordContentArgumentsForCAA::class, 'json', $context)); unset($data['CAA']); } if (\array_key_exists('CNAME', $data)) { - $object->setCNAME($this->denormalizer->denormalize($data['CNAME'], 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForCNAME', 'json', $context)); + $object->setCNAME($this->denormalizer->denormalize($data['CNAME'], \KatapultAPI\Core\Model\DNSRecordContentArgumentsForCNAME::class, 'json', $context)); unset($data['CNAME']); } if (\array_key_exists('IPS', $data)) { - $object->setIPS($this->denormalizer->denormalize($data['IPS'], 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForIPS', 'json', $context)); + $object->setIPS($this->denormalizer->denormalize($data['IPS'], \KatapultAPI\Core\Model\DNSRecordContentArgumentsForIPS::class, 'json', $context)); unset($data['IPS']); } if (\array_key_exists('MX', $data)) { - $object->setMX($this->denormalizer->denormalize($data['MX'], 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForMX', 'json', $context)); + $object->setMX($this->denormalizer->denormalize($data['MX'], \KatapultAPI\Core\Model\DNSRecordContentArgumentsForMX::class, 'json', $context)); unset($data['MX']); } if (\array_key_exists('NS', $data)) { - $object->setNS($this->denormalizer->denormalize($data['NS'], 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForNS', 'json', $context)); + $object->setNS($this->denormalizer->denormalize($data['NS'], \KatapultAPI\Core\Model\DNSRecordContentArgumentsForNS::class, 'json', $context)); unset($data['NS']); } if (\array_key_exists('PTR', $data)) { - $object->setPTR($this->denormalizer->denormalize($data['PTR'], 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForPTR', 'json', $context)); + $object->setPTR($this->denormalizer->denormalize($data['PTR'], \KatapultAPI\Core\Model\DNSRecordContentArgumentsForPTR::class, 'json', $context)); unset($data['PTR']); } if (\array_key_exists('SOA', $data)) { @@ -92,19 +92,19 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['SOA']); } if (\array_key_exists('SRV', $data)) { - $object->setSRV($this->denormalizer->denormalize($data['SRV'], 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForSRV', 'json', $context)); + $object->setSRV($this->denormalizer->denormalize($data['SRV'], \KatapultAPI\Core\Model\DNSRecordContentArgumentsForSRV::class, 'json', $context)); unset($data['SRV']); } if (\array_key_exists('SSHFP', $data)) { - $object->setSSHFP($this->denormalizer->denormalize($data['SSHFP'], 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForSSHFP', 'json', $context)); + $object->setSSHFP($this->denormalizer->denormalize($data['SSHFP'], \KatapultAPI\Core\Model\DNSRecordContentArgumentsForSSHFP::class, 'json', $context)); unset($data['SSHFP']); } if (\array_key_exists('TXT', $data)) { - $object->setTXT($this->denormalizer->denormalize($data['TXT'], 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForTXT', 'json', $context)); + $object->setTXT($this->denormalizer->denormalize($data['TXT'], \KatapultAPI\Core\Model\DNSRecordContentArgumentsForTXT::class, 'json', $context)); unset($data['TXT']); } if (\array_key_exists('VirtualMachine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['VirtualMachine'], 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['VirtualMachine'], \KatapultAPI\Core\Model\DNSRecordContentArgumentsForVirtualMachine::class, 'json', $context)); unset($data['VirtualMachine']); } foreach ($data as $key => $value) { @@ -172,7 +172,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentArguments' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentArguments::class => false]; } } } else { @@ -185,12 +185,12 @@ class DNSRecordContentArgumentsNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentArguments'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentArguments::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -206,39 +206,39 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('A', $data)) { - $object->setA($this->denormalizer->denormalize($data['A'], 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForA', 'json', $context)); + $object->setA($this->denormalizer->denormalize($data['A'], \KatapultAPI\Core\Model\DNSRecordContentArgumentsForA::class, 'json', $context)); unset($data['A']); } if (\array_key_exists('AAAA', $data)) { - $object->setAAAA($this->denormalizer->denormalize($data['AAAA'], 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForAAAA', 'json', $context)); + $object->setAAAA($this->denormalizer->denormalize($data['AAAA'], \KatapultAPI\Core\Model\DNSRecordContentArgumentsForAAAA::class, 'json', $context)); unset($data['AAAA']); } if (\array_key_exists('ALIAS', $data)) { - $object->setALIAS($this->denormalizer->denormalize($data['ALIAS'], 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForALIAS', 'json', $context)); + $object->setALIAS($this->denormalizer->denormalize($data['ALIAS'], \KatapultAPI\Core\Model\DNSRecordContentArgumentsForALIAS::class, 'json', $context)); unset($data['ALIAS']); } if (\array_key_exists('CAA', $data)) { - $object->setCAA($this->denormalizer->denormalize($data['CAA'], 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForCAA', 'json', $context)); + $object->setCAA($this->denormalizer->denormalize($data['CAA'], \KatapultAPI\Core\Model\DNSRecordContentArgumentsForCAA::class, 'json', $context)); unset($data['CAA']); } if (\array_key_exists('CNAME', $data)) { - $object->setCNAME($this->denormalizer->denormalize($data['CNAME'], 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForCNAME', 'json', $context)); + $object->setCNAME($this->denormalizer->denormalize($data['CNAME'], \KatapultAPI\Core\Model\DNSRecordContentArgumentsForCNAME::class, 'json', $context)); unset($data['CNAME']); } if (\array_key_exists('IPS', $data)) { - $object->setIPS($this->denormalizer->denormalize($data['IPS'], 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForIPS', 'json', $context)); + $object->setIPS($this->denormalizer->denormalize($data['IPS'], \KatapultAPI\Core\Model\DNSRecordContentArgumentsForIPS::class, 'json', $context)); unset($data['IPS']); } if (\array_key_exists('MX', $data)) { - $object->setMX($this->denormalizer->denormalize($data['MX'], 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForMX', 'json', $context)); + $object->setMX($this->denormalizer->denormalize($data['MX'], \KatapultAPI\Core\Model\DNSRecordContentArgumentsForMX::class, 'json', $context)); unset($data['MX']); } if (\array_key_exists('NS', $data)) { - $object->setNS($this->denormalizer->denormalize($data['NS'], 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForNS', 'json', $context)); + $object->setNS($this->denormalizer->denormalize($data['NS'], \KatapultAPI\Core\Model\DNSRecordContentArgumentsForNS::class, 'json', $context)); unset($data['NS']); } if (\array_key_exists('PTR', $data)) { - $object->setPTR($this->denormalizer->denormalize($data['PTR'], 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForPTR', 'json', $context)); + $object->setPTR($this->denormalizer->denormalize($data['PTR'], \KatapultAPI\Core\Model\DNSRecordContentArgumentsForPTR::class, 'json', $context)); unset($data['PTR']); } if (\array_key_exists('SOA', $data)) { @@ -246,19 +246,19 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['SOA']); } if (\array_key_exists('SRV', $data)) { - $object->setSRV($this->denormalizer->denormalize($data['SRV'], 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForSRV', 'json', $context)); + $object->setSRV($this->denormalizer->denormalize($data['SRV'], \KatapultAPI\Core\Model\DNSRecordContentArgumentsForSRV::class, 'json', $context)); unset($data['SRV']); } if (\array_key_exists('SSHFP', $data)) { - $object->setSSHFP($this->denormalizer->denormalize($data['SSHFP'], 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForSSHFP', 'json', $context)); + $object->setSSHFP($this->denormalizer->denormalize($data['SSHFP'], \KatapultAPI\Core\Model\DNSRecordContentArgumentsForSSHFP::class, 'json', $context)); unset($data['SSHFP']); } if (\array_key_exists('TXT', $data)) { - $object->setTXT($this->denormalizer->denormalize($data['TXT'], 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForTXT', 'json', $context)); + $object->setTXT($this->denormalizer->denormalize($data['TXT'], \KatapultAPI\Core\Model\DNSRecordContentArgumentsForTXT::class, 'json', $context)); unset($data['TXT']); } if (\array_key_exists('VirtualMachine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['VirtualMachine'], 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['VirtualMachine'], \KatapultAPI\Core\Model\DNSRecordContentArgumentsForVirtualMachine::class, 'json', $context)); unset($data['VirtualMachine']); } foreach ($data as $key => $value) { @@ -329,7 +329,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentArguments' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentArguments::class => false]; } } } diff --git a/src/Core/Normalizer/DNSRecordContentAttributesAAAANormalizer.php b/src/Core/Normalizer/DNSRecordContentAttributesAAAANormalizer.php index 93af85b2..c83bcdcd 100644 --- a/src/Core/Normalizer/DNSRecordContentAttributesAAAANormalizer.php +++ b/src/Core/Normalizer/DNSRecordContentAttributesAAAANormalizer.php @@ -31,12 +31,12 @@ class DNSRecordContentAttributesAAAANormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesAAAA'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentAttributesAAAA::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesAAAA'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentAttributesAAAA::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -83,7 +83,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentAttributesAAAA' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentAttributesAAAA::class => false]; } } } else { @@ -96,12 +96,12 @@ class DNSRecordContentAttributesAAAANormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesAAAA'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentAttributesAAAA::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesAAAA'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentAttributesAAAA::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -151,7 +151,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentAttributesAAAA' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentAttributesAAAA::class => false]; } } } diff --git a/src/Core/Normalizer/DNSRecordContentAttributesALIASNormalizer.php b/src/Core/Normalizer/DNSRecordContentAttributesALIASNormalizer.php index a1532781..d7d5ddf5 100644 --- a/src/Core/Normalizer/DNSRecordContentAttributesALIASNormalizer.php +++ b/src/Core/Normalizer/DNSRecordContentAttributesALIASNormalizer.php @@ -31,12 +31,12 @@ class DNSRecordContentAttributesALIASNormalizer implements DenormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesALIAS'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentAttributesALIAS::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesALIAS'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentAttributesALIAS::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -83,7 +83,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentAttributesALIAS' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentAttributesALIAS::class => false]; } } } else { @@ -96,12 +96,12 @@ class DNSRecordContentAttributesALIASNormalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesALIAS'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentAttributesALIAS::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesALIAS'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentAttributesALIAS::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -151,7 +151,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentAttributesALIAS' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentAttributesALIAS::class => false]; } } } diff --git a/src/Core/Normalizer/DNSRecordContentAttributesANormalizer.php b/src/Core/Normalizer/DNSRecordContentAttributesANormalizer.php index 90fb3692..f7dd54f6 100644 --- a/src/Core/Normalizer/DNSRecordContentAttributesANormalizer.php +++ b/src/Core/Normalizer/DNSRecordContentAttributesANormalizer.php @@ -31,12 +31,12 @@ class DNSRecordContentAttributesANormalizer implements DenormalizerInterface, No public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesA'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentAttributesA::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesA'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentAttributesA::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -83,7 +83,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentAttributesA' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentAttributesA::class => false]; } } } else { @@ -96,12 +96,12 @@ class DNSRecordContentAttributesANormalizer implements DenormalizerInterface, No public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesA'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentAttributesA::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesA'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentAttributesA::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -151,7 +151,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentAttributesA' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentAttributesA::class => false]; } } } diff --git a/src/Core/Normalizer/DNSRecordContentAttributesCAANormalizer.php b/src/Core/Normalizer/DNSRecordContentAttributesCAANormalizer.php index e60bcb7b..ff9546af 100644 --- a/src/Core/Normalizer/DNSRecordContentAttributesCAANormalizer.php +++ b/src/Core/Normalizer/DNSRecordContentAttributesCAANormalizer.php @@ -31,12 +31,12 @@ class DNSRecordContentAttributesCAANormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesCAA'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentAttributesCAA::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesCAA'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentAttributesCAA::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -101,7 +101,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentAttributesCAA' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentAttributesCAA::class => false]; } } } else { @@ -114,12 +114,12 @@ class DNSRecordContentAttributesCAANormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesCAA'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentAttributesCAA::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesCAA'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentAttributesCAA::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -187,7 +187,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentAttributesCAA' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentAttributesCAA::class => false]; } } } diff --git a/src/Core/Normalizer/DNSRecordContentAttributesCNAMENormalizer.php b/src/Core/Normalizer/DNSRecordContentAttributesCNAMENormalizer.php index 544b4b39..5a3dbcc9 100644 --- a/src/Core/Normalizer/DNSRecordContentAttributesCNAMENormalizer.php +++ b/src/Core/Normalizer/DNSRecordContentAttributesCNAMENormalizer.php @@ -31,12 +31,12 @@ class DNSRecordContentAttributesCNAMENormalizer implements DenormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesCNAME'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentAttributesCNAME::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesCNAME'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentAttributesCNAME::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -83,7 +83,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentAttributesCNAME' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentAttributesCNAME::class => false]; } } } else { @@ -96,12 +96,12 @@ class DNSRecordContentAttributesCNAMENormalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesCNAME'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentAttributesCNAME::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesCNAME'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentAttributesCNAME::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -151,7 +151,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentAttributesCNAME' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentAttributesCNAME::class => false]; } } } diff --git a/src/Core/Normalizer/DNSRecordContentAttributesIPSNormalizer.php b/src/Core/Normalizer/DNSRecordContentAttributesIPSNormalizer.php index b2d48630..001a6cbc 100644 --- a/src/Core/Normalizer/DNSRecordContentAttributesIPSNormalizer.php +++ b/src/Core/Normalizer/DNSRecordContentAttributesIPSNormalizer.php @@ -31,12 +31,12 @@ class DNSRecordContentAttributesIPSNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesIPS'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentAttributesIPS::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesIPS'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentAttributesIPS::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -83,7 +83,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentAttributesIPS' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentAttributesIPS::class => false]; } } } else { @@ -96,12 +96,12 @@ class DNSRecordContentAttributesIPSNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesIPS'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentAttributesIPS::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesIPS'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentAttributesIPS::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -151,7 +151,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentAttributesIPS' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentAttributesIPS::class => false]; } } } diff --git a/src/Core/Normalizer/DNSRecordContentAttributesMXNormalizer.php b/src/Core/Normalizer/DNSRecordContentAttributesMXNormalizer.php index 818d7777..7cb832d5 100644 --- a/src/Core/Normalizer/DNSRecordContentAttributesMXNormalizer.php +++ b/src/Core/Normalizer/DNSRecordContentAttributesMXNormalizer.php @@ -31,12 +31,12 @@ class DNSRecordContentAttributesMXNormalizer implements DenormalizerInterface, N public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesMX'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentAttributesMX::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesMX'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentAttributesMX::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -83,7 +83,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentAttributesMX' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentAttributesMX::class => false]; } } } else { @@ -96,12 +96,12 @@ class DNSRecordContentAttributesMXNormalizer implements DenormalizerInterface, N public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesMX'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentAttributesMX::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesMX'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentAttributesMX::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -151,7 +151,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentAttributesMX' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentAttributesMX::class => false]; } } } diff --git a/src/Core/Normalizer/DNSRecordContentAttributesNSNormalizer.php b/src/Core/Normalizer/DNSRecordContentAttributesNSNormalizer.php index a95cce4d..9dff4315 100644 --- a/src/Core/Normalizer/DNSRecordContentAttributesNSNormalizer.php +++ b/src/Core/Normalizer/DNSRecordContentAttributesNSNormalizer.php @@ -31,12 +31,12 @@ class DNSRecordContentAttributesNSNormalizer implements DenormalizerInterface, N public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesNS'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentAttributesNS::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesNS'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentAttributesNS::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -83,7 +83,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentAttributesNS' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentAttributesNS::class => false]; } } } else { @@ -96,12 +96,12 @@ class DNSRecordContentAttributesNSNormalizer implements DenormalizerInterface, N public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesNS'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentAttributesNS::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesNS'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentAttributesNS::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -151,7 +151,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentAttributesNS' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentAttributesNS::class => false]; } } } diff --git a/src/Core/Normalizer/DNSRecordContentAttributesNormalizer.php b/src/Core/Normalizer/DNSRecordContentAttributesNormalizer.php index ece0af1c..778eba81 100644 --- a/src/Core/Normalizer/DNSRecordContentAttributesNormalizer.php +++ b/src/Core/Normalizer/DNSRecordContentAttributesNormalizer.php @@ -31,12 +31,12 @@ class DNSRecordContentAttributesNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributes'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentAttributes::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributes'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentAttributes::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,55 +52,55 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('A', $data) && $data['A'] !== null) { - $object->setA($this->denormalizer->denormalize($data['A'], 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesA', 'json', $context)); + $object->setA($this->denormalizer->denormalize($data['A'], \KatapultAPI\Core\Model\DNSRecordContentAttributesA::class, 'json', $context)); unset($data['A']); } elseif (\array_key_exists('A', $data) && $data['A'] === null) { $object->setA(null); } if (\array_key_exists('AAAA', $data) && $data['AAAA'] !== null) { - $object->setAAAA($this->denormalizer->denormalize($data['AAAA'], 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesAAAA', 'json', $context)); + $object->setAAAA($this->denormalizer->denormalize($data['AAAA'], \KatapultAPI\Core\Model\DNSRecordContentAttributesAAAA::class, 'json', $context)); unset($data['AAAA']); } elseif (\array_key_exists('AAAA', $data) && $data['AAAA'] === null) { $object->setAAAA(null); } if (\array_key_exists('ALIAS', $data) && $data['ALIAS'] !== null) { - $object->setALIAS($this->denormalizer->denormalize($data['ALIAS'], 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesALIAS', 'json', $context)); + $object->setALIAS($this->denormalizer->denormalize($data['ALIAS'], \KatapultAPI\Core\Model\DNSRecordContentAttributesALIAS::class, 'json', $context)); unset($data['ALIAS']); } elseif (\array_key_exists('ALIAS', $data) && $data['ALIAS'] === null) { $object->setALIAS(null); } if (\array_key_exists('CAA', $data) && $data['CAA'] !== null) { - $object->setCAA($this->denormalizer->denormalize($data['CAA'], 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesCAA', 'json', $context)); + $object->setCAA($this->denormalizer->denormalize($data['CAA'], \KatapultAPI\Core\Model\DNSRecordContentAttributesCAA::class, 'json', $context)); unset($data['CAA']); } elseif (\array_key_exists('CAA', $data) && $data['CAA'] === null) { $object->setCAA(null); } if (\array_key_exists('CNAME', $data) && $data['CNAME'] !== null) { - $object->setCNAME($this->denormalizer->denormalize($data['CNAME'], 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesCNAME', 'json', $context)); + $object->setCNAME($this->denormalizer->denormalize($data['CNAME'], \KatapultAPI\Core\Model\DNSRecordContentAttributesCNAME::class, 'json', $context)); unset($data['CNAME']); } elseif (\array_key_exists('CNAME', $data) && $data['CNAME'] === null) { $object->setCNAME(null); } if (\array_key_exists('IPS', $data) && $data['IPS'] !== null) { - $object->setIPS($this->denormalizer->denormalize($data['IPS'], 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesIPS', 'json', $context)); + $object->setIPS($this->denormalizer->denormalize($data['IPS'], \KatapultAPI\Core\Model\DNSRecordContentAttributesIPS::class, 'json', $context)); unset($data['IPS']); } elseif (\array_key_exists('IPS', $data) && $data['IPS'] === null) { $object->setIPS(null); } if (\array_key_exists('MX', $data) && $data['MX'] !== null) { - $object->setMX($this->denormalizer->denormalize($data['MX'], 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesMX', 'json', $context)); + $object->setMX($this->denormalizer->denormalize($data['MX'], \KatapultAPI\Core\Model\DNSRecordContentAttributesMX::class, 'json', $context)); unset($data['MX']); } elseif (\array_key_exists('MX', $data) && $data['MX'] === null) { $object->setMX(null); } if (\array_key_exists('NS', $data) && $data['NS'] !== null) { - $object->setNS($this->denormalizer->denormalize($data['NS'], 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesNS', 'json', $context)); + $object->setNS($this->denormalizer->denormalize($data['NS'], \KatapultAPI\Core\Model\DNSRecordContentAttributesNS::class, 'json', $context)); unset($data['NS']); } elseif (\array_key_exists('NS', $data) && $data['NS'] === null) { $object->setNS(null); } if (\array_key_exists('PTR', $data) && $data['PTR'] !== null) { - $object->setPTR($this->denormalizer->denormalize($data['PTR'], 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesPTR', 'json', $context)); + $object->setPTR($this->denormalizer->denormalize($data['PTR'], \KatapultAPI\Core\Model\DNSRecordContentAttributesPTR::class, 'json', $context)); unset($data['PTR']); } elseif (\array_key_exists('PTR', $data) && $data['PTR'] === null) { $object->setPTR(null); @@ -116,25 +116,25 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setSOA(null); } if (\array_key_exists('SRV', $data) && $data['SRV'] !== null) { - $object->setSRV($this->denormalizer->denormalize($data['SRV'], 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesSRV', 'json', $context)); + $object->setSRV($this->denormalizer->denormalize($data['SRV'], \KatapultAPI\Core\Model\DNSRecordContentAttributesSRV::class, 'json', $context)); unset($data['SRV']); } elseif (\array_key_exists('SRV', $data) && $data['SRV'] === null) { $object->setSRV(null); } if (\array_key_exists('SSHFP', $data) && $data['SSHFP'] !== null) { - $object->setSSHFP($this->denormalizer->denormalize($data['SSHFP'], 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesSSHFP', 'json', $context)); + $object->setSSHFP($this->denormalizer->denormalize($data['SSHFP'], \KatapultAPI\Core\Model\DNSRecordContentAttributesSSHFP::class, 'json', $context)); unset($data['SSHFP']); } elseif (\array_key_exists('SSHFP', $data) && $data['SSHFP'] === null) { $object->setSSHFP(null); } if (\array_key_exists('TXT', $data) && $data['TXT'] !== null) { - $object->setTXT($this->denormalizer->denormalize($data['TXT'], 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesTXT', 'json', $context)); + $object->setTXT($this->denormalizer->denormalize($data['TXT'], \KatapultAPI\Core\Model\DNSRecordContentAttributesTXT::class, 'json', $context)); unset($data['TXT']); } elseif (\array_key_exists('TXT', $data) && $data['TXT'] === null) { $object->setTXT(null); } if (\array_key_exists('VirtualMachine', $data) && $data['VirtualMachine'] !== null) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['VirtualMachine'], 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['VirtualMachine'], \KatapultAPI\Core\Model\DNSRecordContentAttributesVirtualMachine::class, 'json', $context)); unset($data['VirtualMachine']); } elseif (\array_key_exists('VirtualMachine', $data) && $data['VirtualMachine'] === null) { $object->setVirtualMachine(null); @@ -208,7 +208,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentAttributes' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentAttributes::class => false]; } } } else { @@ -221,12 +221,12 @@ class DNSRecordContentAttributesNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributes'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentAttributes::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributes'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentAttributes::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -242,55 +242,55 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('A', $data) && $data['A'] !== null) { - $object->setA($this->denormalizer->denormalize($data['A'], 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesA', 'json', $context)); + $object->setA($this->denormalizer->denormalize($data['A'], \KatapultAPI\Core\Model\DNSRecordContentAttributesA::class, 'json', $context)); unset($data['A']); } elseif (\array_key_exists('A', $data) && $data['A'] === null) { $object->setA(null); } if (\array_key_exists('AAAA', $data) && $data['AAAA'] !== null) { - $object->setAAAA($this->denormalizer->denormalize($data['AAAA'], 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesAAAA', 'json', $context)); + $object->setAAAA($this->denormalizer->denormalize($data['AAAA'], \KatapultAPI\Core\Model\DNSRecordContentAttributesAAAA::class, 'json', $context)); unset($data['AAAA']); } elseif (\array_key_exists('AAAA', $data) && $data['AAAA'] === null) { $object->setAAAA(null); } if (\array_key_exists('ALIAS', $data) && $data['ALIAS'] !== null) { - $object->setALIAS($this->denormalizer->denormalize($data['ALIAS'], 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesALIAS', 'json', $context)); + $object->setALIAS($this->denormalizer->denormalize($data['ALIAS'], \KatapultAPI\Core\Model\DNSRecordContentAttributesALIAS::class, 'json', $context)); unset($data['ALIAS']); } elseif (\array_key_exists('ALIAS', $data) && $data['ALIAS'] === null) { $object->setALIAS(null); } if (\array_key_exists('CAA', $data) && $data['CAA'] !== null) { - $object->setCAA($this->denormalizer->denormalize($data['CAA'], 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesCAA', 'json', $context)); + $object->setCAA($this->denormalizer->denormalize($data['CAA'], \KatapultAPI\Core\Model\DNSRecordContentAttributesCAA::class, 'json', $context)); unset($data['CAA']); } elseif (\array_key_exists('CAA', $data) && $data['CAA'] === null) { $object->setCAA(null); } if (\array_key_exists('CNAME', $data) && $data['CNAME'] !== null) { - $object->setCNAME($this->denormalizer->denormalize($data['CNAME'], 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesCNAME', 'json', $context)); + $object->setCNAME($this->denormalizer->denormalize($data['CNAME'], \KatapultAPI\Core\Model\DNSRecordContentAttributesCNAME::class, 'json', $context)); unset($data['CNAME']); } elseif (\array_key_exists('CNAME', $data) && $data['CNAME'] === null) { $object->setCNAME(null); } if (\array_key_exists('IPS', $data) && $data['IPS'] !== null) { - $object->setIPS($this->denormalizer->denormalize($data['IPS'], 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesIPS', 'json', $context)); + $object->setIPS($this->denormalizer->denormalize($data['IPS'], \KatapultAPI\Core\Model\DNSRecordContentAttributesIPS::class, 'json', $context)); unset($data['IPS']); } elseif (\array_key_exists('IPS', $data) && $data['IPS'] === null) { $object->setIPS(null); } if (\array_key_exists('MX', $data) && $data['MX'] !== null) { - $object->setMX($this->denormalizer->denormalize($data['MX'], 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesMX', 'json', $context)); + $object->setMX($this->denormalizer->denormalize($data['MX'], \KatapultAPI\Core\Model\DNSRecordContentAttributesMX::class, 'json', $context)); unset($data['MX']); } elseif (\array_key_exists('MX', $data) && $data['MX'] === null) { $object->setMX(null); } if (\array_key_exists('NS', $data) && $data['NS'] !== null) { - $object->setNS($this->denormalizer->denormalize($data['NS'], 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesNS', 'json', $context)); + $object->setNS($this->denormalizer->denormalize($data['NS'], \KatapultAPI\Core\Model\DNSRecordContentAttributesNS::class, 'json', $context)); unset($data['NS']); } elseif (\array_key_exists('NS', $data) && $data['NS'] === null) { $object->setNS(null); } if (\array_key_exists('PTR', $data) && $data['PTR'] !== null) { - $object->setPTR($this->denormalizer->denormalize($data['PTR'], 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesPTR', 'json', $context)); + $object->setPTR($this->denormalizer->denormalize($data['PTR'], \KatapultAPI\Core\Model\DNSRecordContentAttributesPTR::class, 'json', $context)); unset($data['PTR']); } elseif (\array_key_exists('PTR', $data) && $data['PTR'] === null) { $object->setPTR(null); @@ -306,25 +306,25 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setSOA(null); } if (\array_key_exists('SRV', $data) && $data['SRV'] !== null) { - $object->setSRV($this->denormalizer->denormalize($data['SRV'], 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesSRV', 'json', $context)); + $object->setSRV($this->denormalizer->denormalize($data['SRV'], \KatapultAPI\Core\Model\DNSRecordContentAttributesSRV::class, 'json', $context)); unset($data['SRV']); } elseif (\array_key_exists('SRV', $data) && $data['SRV'] === null) { $object->setSRV(null); } if (\array_key_exists('SSHFP', $data) && $data['SSHFP'] !== null) { - $object->setSSHFP($this->denormalizer->denormalize($data['SSHFP'], 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesSSHFP', 'json', $context)); + $object->setSSHFP($this->denormalizer->denormalize($data['SSHFP'], \KatapultAPI\Core\Model\DNSRecordContentAttributesSSHFP::class, 'json', $context)); unset($data['SSHFP']); } elseif (\array_key_exists('SSHFP', $data) && $data['SSHFP'] === null) { $object->setSSHFP(null); } if (\array_key_exists('TXT', $data) && $data['TXT'] !== null) { - $object->setTXT($this->denormalizer->denormalize($data['TXT'], 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesTXT', 'json', $context)); + $object->setTXT($this->denormalizer->denormalize($data['TXT'], \KatapultAPI\Core\Model\DNSRecordContentAttributesTXT::class, 'json', $context)); unset($data['TXT']); } elseif (\array_key_exists('TXT', $data) && $data['TXT'] === null) { $object->setTXT(null); } if (\array_key_exists('VirtualMachine', $data) && $data['VirtualMachine'] !== null) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['VirtualMachine'], 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['VirtualMachine'], \KatapultAPI\Core\Model\DNSRecordContentAttributesVirtualMachine::class, 'json', $context)); unset($data['VirtualMachine']); } elseif (\array_key_exists('VirtualMachine', $data) && $data['VirtualMachine'] === null) { $object->setVirtualMachine(null); @@ -401,7 +401,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentAttributes' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentAttributes::class => false]; } } } diff --git a/src/Core/Normalizer/DNSRecordContentAttributesPTRNormalizer.php b/src/Core/Normalizer/DNSRecordContentAttributesPTRNormalizer.php index 1f251bdc..9a22a226 100644 --- a/src/Core/Normalizer/DNSRecordContentAttributesPTRNormalizer.php +++ b/src/Core/Normalizer/DNSRecordContentAttributesPTRNormalizer.php @@ -31,12 +31,12 @@ class DNSRecordContentAttributesPTRNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesPTR'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentAttributesPTR::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesPTR'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentAttributesPTR::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -83,7 +83,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentAttributesPTR' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentAttributesPTR::class => false]; } } } else { @@ -96,12 +96,12 @@ class DNSRecordContentAttributesPTRNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesPTR'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentAttributesPTR::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesPTR'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentAttributesPTR::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -151,7 +151,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentAttributesPTR' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentAttributesPTR::class => false]; } } } diff --git a/src/Core/Normalizer/DNSRecordContentAttributesSRVNormalizer.php b/src/Core/Normalizer/DNSRecordContentAttributesSRVNormalizer.php index 11825d84..6d86b409 100644 --- a/src/Core/Normalizer/DNSRecordContentAttributesSRVNormalizer.php +++ b/src/Core/Normalizer/DNSRecordContentAttributesSRVNormalizer.php @@ -31,12 +31,12 @@ class DNSRecordContentAttributesSRVNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesSRV'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentAttributesSRV::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesSRV'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentAttributesSRV::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -101,7 +101,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentAttributesSRV' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentAttributesSRV::class => false]; } } } else { @@ -114,12 +114,12 @@ class DNSRecordContentAttributesSRVNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesSRV'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentAttributesSRV::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesSRV'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentAttributesSRV::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -187,7 +187,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentAttributesSRV' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentAttributesSRV::class => false]; } } } diff --git a/src/Core/Normalizer/DNSRecordContentAttributesSSHFPNormalizer.php b/src/Core/Normalizer/DNSRecordContentAttributesSSHFPNormalizer.php index 3cd26e75..73ac977f 100644 --- a/src/Core/Normalizer/DNSRecordContentAttributesSSHFPNormalizer.php +++ b/src/Core/Normalizer/DNSRecordContentAttributesSSHFPNormalizer.php @@ -31,12 +31,12 @@ class DNSRecordContentAttributesSSHFPNormalizer implements DenormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesSSHFP'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentAttributesSSHFP::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesSSHFP'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentAttributesSSHFP::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -101,7 +101,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentAttributesSSHFP' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentAttributesSSHFP::class => false]; } } } else { @@ -114,12 +114,12 @@ class DNSRecordContentAttributesSSHFPNormalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesSSHFP'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentAttributesSSHFP::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesSSHFP'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentAttributesSSHFP::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -187,7 +187,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentAttributesSSHFP' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentAttributesSSHFP::class => false]; } } } diff --git a/src/Core/Normalizer/DNSRecordContentAttributesTXTNormalizer.php b/src/Core/Normalizer/DNSRecordContentAttributesTXTNormalizer.php index 09cae88f..6ec8670d 100644 --- a/src/Core/Normalizer/DNSRecordContentAttributesTXTNormalizer.php +++ b/src/Core/Normalizer/DNSRecordContentAttributesTXTNormalizer.php @@ -31,12 +31,12 @@ class DNSRecordContentAttributesTXTNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesTXT'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentAttributesTXT::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesTXT'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentAttributesTXT::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -83,7 +83,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentAttributesTXT' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentAttributesTXT::class => false]; } } } else { @@ -96,12 +96,12 @@ class DNSRecordContentAttributesTXTNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesTXT'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentAttributesTXT::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesTXT'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentAttributesTXT::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -151,7 +151,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentAttributesTXT' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentAttributesTXT::class => false]; } } } diff --git a/src/Core/Normalizer/DNSRecordContentAttributesVirtualMachineNormalizer.php b/src/Core/Normalizer/DNSRecordContentAttributesVirtualMachineNormalizer.php index d22d6e77..914314e2 100644 --- a/src/Core/Normalizer/DNSRecordContentAttributesVirtualMachineNormalizer.php +++ b/src/Core/Normalizer/DNSRecordContentAttributesVirtualMachineNormalizer.php @@ -31,12 +31,12 @@ class DNSRecordContentAttributesVirtualMachineNormalizer implements Denormalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesVirtualMachine'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentAttributesVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentAttributesVirtualMachine::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -83,7 +83,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentAttributesVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentAttributesVirtualMachine::class => false]; } } } else { @@ -96,12 +96,12 @@ class DNSRecordContentAttributesVirtualMachineNormalizer implements Denormalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesVirtualMachine'; + return $type === \KatapultAPI\Core\Model\DNSRecordContentAttributesVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordContentAttributesVirtualMachine::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -151,7 +151,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordContentAttributesVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\DNSRecordContentAttributesVirtualMachine::class => false]; } } } diff --git a/src/Core/Normalizer/DNSRecordLookupNormalizer.php b/src/Core/Normalizer/DNSRecordLookupNormalizer.php index 9424c3b5..115030b9 100644 --- a/src/Core/Normalizer/DNSRecordLookupNormalizer.php +++ b/src/Core/Normalizer/DNSRecordLookupNormalizer.php @@ -31,12 +31,12 @@ class DNSRecordLookupNormalizer implements DenormalizerInterface, NormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordLookup'; + return $type === \KatapultAPI\Core\Model\DNSRecordLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordLookup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordLookup' => false]; + return [\KatapultAPI\Core\Model\DNSRecordLookup::class => false]; } } } else { @@ -94,12 +94,12 @@ class DNSRecordLookupNormalizer implements DenormalizerInterface, NormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecordLookup'; + return $type === \KatapultAPI\Core\Model\DNSRecordLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecordLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecordLookup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecordLookup' => false]; + return [\KatapultAPI\Core\Model\DNSRecordLookup::class => false]; } } } diff --git a/src/Core/Normalizer/DNSRecordNormalizer.php b/src/Core/Normalizer/DNSRecordNormalizer.php index 25740f57..cca8e38b 100644 --- a/src/Core/Normalizer/DNSRecordNormalizer.php +++ b/src/Core/Normalizer/DNSRecordNormalizer.php @@ -31,12 +31,12 @@ class DNSRecordNormalizer implements DenormalizerInterface, NormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecord'; + return $type === \KatapultAPI\Core\Model\DNSRecord::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecord'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecord::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -86,7 +86,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['content']); } if (\array_key_exists('content_attributes', $data)) { - $object->setContentAttributes($this->denormalizer->denormalize($data['content_attributes'], 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributes', 'json', $context)); + $object->setContentAttributes($this->denormalizer->denormalize($data['content_attributes'], \KatapultAPI\Core\Model\DNSRecordContentAttributes::class, 'json', $context)); unset($data['content_attributes']); } foreach ($data as $key => $value) { @@ -136,7 +136,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecord' => false]; + return [\KatapultAPI\Core\Model\DNSRecord::class => false]; } } } else { @@ -149,12 +149,12 @@ class DNSRecordNormalizer implements DenormalizerInterface, NormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSRecord'; + return $type === \KatapultAPI\Core\Model\DNSRecord::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSRecord'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSRecord::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -204,7 +204,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['content']); } if (\array_key_exists('content_attributes', $data)) { - $object->setContentAttributes($this->denormalizer->denormalize($data['content_attributes'], 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributes', 'json', $context)); + $object->setContentAttributes($this->denormalizer->denormalize($data['content_attributes'], \KatapultAPI\Core\Model\DNSRecordContentAttributes::class, 'json', $context)); unset($data['content_attributes']); } foreach ($data as $key => $value) { @@ -257,7 +257,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSRecord' => false]; + return [\KatapultAPI\Core\Model\DNSRecord::class => false]; } } } diff --git a/src/Core/Normalizer/DNSZoneArgumentsNormalizer.php b/src/Core/Normalizer/DNSZoneArgumentsNormalizer.php index e5d836dc..352eb871 100644 --- a/src/Core/Normalizer/DNSZoneArgumentsNormalizer.php +++ b/src/Core/Normalizer/DNSZoneArgumentsNormalizer.php @@ -31,12 +31,12 @@ class DNSZoneArgumentsNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSZoneArguments'; + return $type === \KatapultAPI\Core\Model\DNSZoneArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSZoneArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSZoneArguments::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSZoneArguments' => false]; + return [\KatapultAPI\Core\Model\DNSZoneArguments::class => false]; } } } else { @@ -101,12 +101,12 @@ class DNSZoneArgumentsNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSZoneArguments'; + return $type === \KatapultAPI\Core\Model\DNSZoneArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSZoneArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSZoneArguments::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSZoneArguments' => false]; + return [\KatapultAPI\Core\Model\DNSZoneArguments::class => false]; } } } diff --git a/src/Core/Normalizer/DNSZoneLookupNormalizer.php b/src/Core/Normalizer/DNSZoneLookupNormalizer.php index 6b62df8b..5ac10715 100644 --- a/src/Core/Normalizer/DNSZoneLookupNormalizer.php +++ b/src/Core/Normalizer/DNSZoneLookupNormalizer.php @@ -31,12 +31,12 @@ class DNSZoneLookupNormalizer implements DenormalizerInterface, NormalizerInterf public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSZoneLookup'; + return $type === \KatapultAPI\Core\Model\DNSZoneLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSZoneLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSZoneLookup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSZoneLookup' => false]; + return [\KatapultAPI\Core\Model\DNSZoneLookup::class => false]; } } } else { @@ -101,12 +101,12 @@ class DNSZoneLookupNormalizer implements DenormalizerInterface, NormalizerInterf public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSZoneLookup'; + return $type === \KatapultAPI\Core\Model\DNSZoneLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSZoneLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSZoneLookup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSZoneLookup' => false]; + return [\KatapultAPI\Core\Model\DNSZoneLookup::class => false]; } } } diff --git a/src/Core/Normalizer/DNSZoneNormalizer.php b/src/Core/Normalizer/DNSZoneNormalizer.php index 60a8dc76..9bf799a1 100644 --- a/src/Core/Normalizer/DNSZoneNormalizer.php +++ b/src/Core/Normalizer/DNSZoneNormalizer.php @@ -31,12 +31,12 @@ class DNSZoneNormalizer implements DenormalizerInterface, NormalizerInterface, D public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSZone'; + return $type === \KatapultAPI\Core\Model\DNSZone::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSZone'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSZone::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSZone' => false]; + return [\KatapultAPI\Core\Model\DNSZone::class => false]; } } } else { @@ -115,12 +115,12 @@ class DNSZoneNormalizer implements DenormalizerInterface, NormalizerInterface, D public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DNSZone'; + return $type === \KatapultAPI\Core\Model\DNSZone::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DNSZone'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DNSZone::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DNSZone' => false]; + return [\KatapultAPI\Core\Model\DNSZone::class => false]; } } } diff --git a/src/Core/Normalizer/DataCenterLookupNormalizer.php b/src/Core/Normalizer/DataCenterLookupNormalizer.php index 80d467dc..bf0517b8 100644 --- a/src/Core/Normalizer/DataCenterLookupNormalizer.php +++ b/src/Core/Normalizer/DataCenterLookupNormalizer.php @@ -31,12 +31,12 @@ class DataCenterLookupNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DataCenterLookup'; + return $type === \KatapultAPI\Core\Model\DataCenterLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DataCenterLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DataCenterLookup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DataCenterLookup' => false]; + return [\KatapultAPI\Core\Model\DataCenterLookup::class => false]; } } } else { @@ -101,12 +101,12 @@ class DataCenterLookupNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DataCenterLookup'; + return $type === \KatapultAPI\Core\Model\DataCenterLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DataCenterLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DataCenterLookup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DataCenterLookup' => false]; + return [\KatapultAPI\Core\Model\DataCenterLookup::class => false]; } } } diff --git a/src/Core/Normalizer/DataCenterNormalizer.php b/src/Core/Normalizer/DataCenterNormalizer.php index 519e32ee..7e792d70 100644 --- a/src/Core/Normalizer/DataCenterNormalizer.php +++ b/src/Core/Normalizer/DataCenterNormalizer.php @@ -31,12 +31,12 @@ class DataCenterNormalizer implements DenormalizerInterface, NormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DataCenter'; + return $type === \KatapultAPI\Core\Model\DataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DataCenter::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -64,7 +64,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['permalink']); } if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'KatapultAPI\\Core\\Model\\Country', 'json', $context)); + $object->setCountry($this->denormalizer->denormalize($data['country'], \KatapultAPI\Core\Model\Country::class, 'json', $context)); unset($data['country']); } foreach ($data as $key => $value) { @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DataCenter' => false]; + return [\KatapultAPI\Core\Model\DataCenter::class => false]; } } } else { @@ -115,12 +115,12 @@ class DataCenterNormalizer implements DenormalizerInterface, NormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DataCenter'; + return $type === \KatapultAPI\Core\Model\DataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DataCenter::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -148,7 +148,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['permalink']); } if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'KatapultAPI\\Core\\Model\\Country', 'json', $context)); + $object->setCountry($this->denormalizer->denormalize($data['country'], \KatapultAPI\Core\Model\Country::class, 'json', $context)); unset($data['country']); } foreach ($data as $key => $value) { @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DataCenter' => false]; + return [\KatapultAPI\Core\Model\DataCenter::class => false]; } } } diff --git a/src/Core/Normalizer/DataCenterNotFoundSchemaNormalizer.php b/src/Core/Normalizer/DataCenterNotFoundSchemaNormalizer.php index 61abefe9..afb27b8a 100644 --- a/src/Core/Normalizer/DataCenterNotFoundSchemaNormalizer.php +++ b/src/Core/Normalizer/DataCenterNotFoundSchemaNormalizer.php @@ -31,12 +31,12 @@ class DataCenterNotFoundSchemaNormalizer implements DenormalizerInterface, Norma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DataCenterNotFoundSchema'; + return $type === \KatapultAPI\Core\Model\DataCenterNotFoundSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DataCenterNotFoundSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DataCenterNotFoundSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DataCenterNotFoundSchema' => false]; + return [\KatapultAPI\Core\Model\DataCenterNotFoundSchema::class => false]; } } } else { @@ -116,12 +116,12 @@ class DataCenterNotFoundSchemaNormalizer implements DenormalizerInterface, Norma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DataCenterNotFoundSchema'; + return $type === \KatapultAPI\Core\Model\DataCenterNotFoundSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DataCenterNotFoundSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DataCenterNotFoundSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DataCenterNotFoundSchema' => false]; + return [\KatapultAPI\Core\Model\DataCenterNotFoundSchema::class => false]; } } } diff --git a/src/Core/Normalizer/DataCentersDataCenterDefaultNetworkGetResponse200NetworkNormalizer.php b/src/Core/Normalizer/DataCentersDataCenterDefaultNetworkGetResponse200NetworkNormalizer.php index f0c57262..b45a7d04 100644 --- a/src/Core/Normalizer/DataCentersDataCenterDefaultNetworkGetResponse200NetworkNormalizer.php +++ b/src/Core/Normalizer/DataCentersDataCenterDefaultNetworkGetResponse200NetworkNormalizer.php @@ -31,12 +31,12 @@ class DataCentersDataCenterDefaultNetworkGetResponse200NetworkNormalizer impleme public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DataCentersDataCenterDefaultNetworkGetResponse200Network'; + return $type === \KatapultAPI\Core\Model\DataCentersDataCenterDefaultNetworkGetResponse200Network::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DataCentersDataCenterDefaultNetworkGetResponse200Network'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DataCentersDataCenterDefaultNetworkGetResponse200Network::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -66,7 +66,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setPermalink(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\GetDataCenterDefaultNetworkPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\GetDataCenterDefaultNetworkPartDataCenter::class, 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value) { @@ -104,7 +104,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DataCentersDataCenterDefaultNetworkGetResponse200Network' => false]; + return [\KatapultAPI\Core\Model\DataCentersDataCenterDefaultNetworkGetResponse200Network::class => false]; } } } else { @@ -117,12 +117,12 @@ class DataCentersDataCenterDefaultNetworkGetResponse200NetworkNormalizer impleme public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DataCentersDataCenterDefaultNetworkGetResponse200Network'; + return $type === \KatapultAPI\Core\Model\DataCentersDataCenterDefaultNetworkGetResponse200Network::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DataCentersDataCenterDefaultNetworkGetResponse200Network'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DataCentersDataCenterDefaultNetworkGetResponse200Network::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -152,7 +152,7 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setPermalink(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\GetDataCenterDefaultNetworkPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\GetDataCenterDefaultNetworkPartDataCenter::class, 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value) { @@ -193,7 +193,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DataCentersDataCenterDefaultNetworkGetResponse200Network' => false]; + return [\KatapultAPI\Core\Model\DataCentersDataCenterDefaultNetworkGetResponse200Network::class => false]; } } } diff --git a/src/Core/Normalizer/DataCentersDataCenterDefaultNetworkGetResponse200Normalizer.php b/src/Core/Normalizer/DataCentersDataCenterDefaultNetworkGetResponse200Normalizer.php index ac9e2746..3e8c3667 100644 --- a/src/Core/Normalizer/DataCentersDataCenterDefaultNetworkGetResponse200Normalizer.php +++ b/src/Core/Normalizer/DataCentersDataCenterDefaultNetworkGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class DataCentersDataCenterDefaultNetworkGetResponse200Normalizer implements Den public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DataCentersDataCenterDefaultNetworkGetResponse200'; + return $type === \KatapultAPI\Core\Model\DataCentersDataCenterDefaultNetworkGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DataCentersDataCenterDefaultNetworkGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DataCentersDataCenterDefaultNetworkGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'KatapultAPI\\Core\\Model\\DataCentersDataCenterDefaultNetworkGetResponse200Network', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], \KatapultAPI\Core\Model\DataCentersDataCenterDefaultNetworkGetResponse200Network::class, 'json', $context)); unset($data['network']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DataCentersDataCenterDefaultNetworkGetResponse200' => false]; + return [\KatapultAPI\Core\Model\DataCentersDataCenterDefaultNetworkGetResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class DataCentersDataCenterDefaultNetworkGetResponse200Normalizer implements Den public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DataCentersDataCenterDefaultNetworkGetResponse200'; + return $type === \KatapultAPI\Core\Model\DataCentersDataCenterDefaultNetworkGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DataCentersDataCenterDefaultNetworkGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DataCentersDataCenterDefaultNetworkGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'KatapultAPI\\Core\\Model\\DataCentersDataCenterDefaultNetworkGetResponse200Network', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], \KatapultAPI\Core\Model\DataCentersDataCenterDefaultNetworkGetResponse200Network::class, 'json', $context)); unset($data['network']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DataCentersDataCenterDefaultNetworkGetResponse200' => false]; + return [\KatapultAPI\Core\Model\DataCentersDataCenterDefaultNetworkGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/DataCentersDataCenterGetResponse200Normalizer.php b/src/Core/Normalizer/DataCentersDataCenterGetResponse200Normalizer.php index c3741eed..86f15def 100644 --- a/src/Core/Normalizer/DataCentersDataCenterGetResponse200Normalizer.php +++ b/src/Core/Normalizer/DataCentersDataCenterGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class DataCentersDataCenterGetResponse200Normalizer implements DenormalizerInter public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DataCentersDataCenterGetResponse200'; + return $type === \KatapultAPI\Core\Model\DataCentersDataCenterGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DataCentersDataCenterGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DataCentersDataCenterGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\GetDataCenter200ResponseDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\GetDataCenter200ResponseDataCenter::class, 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DataCentersDataCenterGetResponse200' => false]; + return [\KatapultAPI\Core\Model\DataCentersDataCenterGetResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class DataCentersDataCenterGetResponse200Normalizer implements DenormalizerInter public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DataCentersDataCenterGetResponse200'; + return $type === \KatapultAPI\Core\Model\DataCentersDataCenterGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DataCentersDataCenterGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DataCentersDataCenterGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\GetDataCenter200ResponseDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\GetDataCenter200ResponseDataCenter::class, 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DataCentersDataCenterGetResponse200' => false]; + return [\KatapultAPI\Core\Model\DataCentersDataCenterGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/DataCentersDataCenterGpuTypesGetResponse200Normalizer.php b/src/Core/Normalizer/DataCentersDataCenterGpuTypesGetResponse200Normalizer.php index bf65463a..1b1740fd 100644 --- a/src/Core/Normalizer/DataCentersDataCenterGpuTypesGetResponse200Normalizer.php +++ b/src/Core/Normalizer/DataCentersDataCenterGpuTypesGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class DataCentersDataCenterGpuTypesGetResponse200Normalizer implements Denormali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DataCentersDataCenterGpuTypesGetResponse200'; + return $type === \KatapultAPI\Core\Model\DataCentersDataCenterGpuTypesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DataCentersDataCenterGpuTypesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DataCentersDataCenterGpuTypesGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('gpu_types', $data)) { $values = []; foreach ($data['gpu_types'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetDataCenterGPUTypes200ResponseGPUTypes', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetDataCenterGPUTypes200ResponseGPUTypes::class, 'json', $context); } $object->setGpuTypes($values); unset($data['gpu_types']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DataCentersDataCenterGpuTypesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\DataCentersDataCenterGpuTypesGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class DataCentersDataCenterGpuTypesGetResponse200Normalizer implements Denormali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DataCentersDataCenterGpuTypesGetResponse200'; + return $type === \KatapultAPI\Core\Model\DataCentersDataCenterGpuTypesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DataCentersDataCenterGpuTypesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DataCentersDataCenterGpuTypesGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('gpu_types', $data)) { $values = []; foreach ($data['gpu_types'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetDataCenterGPUTypes200ResponseGPUTypes', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetDataCenterGPUTypes200ResponseGPUTypes::class, 'json', $context); } $object->setGpuTypes($values); unset($data['gpu_types']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DataCentersDataCenterGpuTypesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\DataCentersDataCenterGpuTypesGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/DataCentersGetResponse200Normalizer.php b/src/Core/Normalizer/DataCentersGetResponse200Normalizer.php index 7d68492b..efc505c3 100644 --- a/src/Core/Normalizer/DataCentersGetResponse200Normalizer.php +++ b/src/Core/Normalizer/DataCentersGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class DataCentersGetResponse200Normalizer implements DenormalizerInterface, Norm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DataCentersGetResponse200'; + return $type === \KatapultAPI\Core\Model\DataCentersGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DataCentersGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DataCentersGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -54,7 +54,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('data_centers', $data)) { $values = []; foreach ($data['data_centers'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetDataCenters200ResponseDataCenters', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetDataCenters200ResponseDataCenters::class, 'json', $context); } $object->setDataCenters($values); unset($data['data_centers']); @@ -87,7 +87,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DataCentersGetResponse200' => false]; + return [\KatapultAPI\Core\Model\DataCentersGetResponse200::class => false]; } } } else { @@ -100,12 +100,12 @@ class DataCentersGetResponse200Normalizer implements DenormalizerInterface, Norm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DataCentersGetResponse200'; + return $type === \KatapultAPI\Core\Model\DataCentersGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DataCentersGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DataCentersGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -123,7 +123,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('data_centers', $data)) { $values = []; foreach ($data['data_centers'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetDataCenters200ResponseDataCenters', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetDataCenters200ResponseDataCenters::class, 'json', $context); } $object->setDataCenters($values); unset($data['data_centers']); @@ -159,7 +159,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DataCentersGetResponse200' => false]; + return [\KatapultAPI\Core\Model\DataCentersGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/DecimalOrUnlimitedNormalizer.php b/src/Core/Normalizer/DecimalOrUnlimitedNormalizer.php index 6bcd2abe..d039f90e 100644 --- a/src/Core/Normalizer/DecimalOrUnlimitedNormalizer.php +++ b/src/Core/Normalizer/DecimalOrUnlimitedNormalizer.php @@ -31,12 +31,12 @@ class DecimalOrUnlimitedNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DecimalOrUnlimited'; + return $type === \KatapultAPI\Core\Model\DecimalOrUnlimited::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DecimalOrUnlimited'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DecimalOrUnlimited::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -93,7 +93,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DecimalOrUnlimited' => false]; + return [\KatapultAPI\Core\Model\DecimalOrUnlimited::class => false]; } } } else { @@ -106,12 +106,12 @@ class DecimalOrUnlimitedNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DecimalOrUnlimited'; + return $type === \KatapultAPI\Core\Model\DecimalOrUnlimited::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DecimalOrUnlimited'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DecimalOrUnlimited::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -171,7 +171,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DecimalOrUnlimited' => false]; + return [\KatapultAPI\Core\Model\DecimalOrUnlimited::class => false]; } } } diff --git a/src/Core/Normalizer/DeleteAPIToken200ResponseAPITokenNormalizer.php b/src/Core/Normalizer/DeleteAPIToken200ResponseAPITokenNormalizer.php index 28bf6986..ac3ae82c 100644 --- a/src/Core/Normalizer/DeleteAPIToken200ResponseAPITokenNormalizer.php +++ b/src/Core/Normalizer/DeleteAPIToken200ResponseAPITokenNormalizer.php @@ -31,12 +31,12 @@ class DeleteAPIToken200ResponseAPITokenNormalizer implements DenormalizerInterfa public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteAPIToken200ResponseAPIToken'; + return $type === \KatapultAPI\Core\Model\DeleteAPIToken200ResponseAPIToken::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteAPIToken200ResponseAPIToken'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteAPIToken200ResponseAPIToken::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteAPIToken200ResponseAPIToken' => false]; + return [\KatapultAPI\Core\Model\DeleteAPIToken200ResponseAPIToken::class => false]; } } } else { @@ -101,12 +101,12 @@ class DeleteAPIToken200ResponseAPITokenNormalizer implements DenormalizerInterfa public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteAPIToken200ResponseAPIToken'; + return $type === \KatapultAPI\Core\Model\DeleteAPIToken200ResponseAPIToken::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteAPIToken200ResponseAPIToken'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteAPIToken200ResponseAPIToken::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteAPIToken200ResponseAPIToken' => false]; + return [\KatapultAPI\Core\Model\DeleteAPIToken200ResponseAPIToken::class => false]; } } } diff --git a/src/Core/Normalizer/DeleteDisk200ResponseDiskInstallationNormalizer.php b/src/Core/Normalizer/DeleteDisk200ResponseDiskInstallationNormalizer.php index 5c6b7cc0..a72e829e 100644 --- a/src/Core/Normalizer/DeleteDisk200ResponseDiskInstallationNormalizer.php +++ b/src/Core/Normalizer/DeleteDisk200ResponseDiskInstallationNormalizer.php @@ -31,12 +31,12 @@ class DeleteDisk200ResponseDiskInstallationNormalizer implements DenormalizerInt public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskInstallation'; + return $type === \KatapultAPI\Core\Model\DeleteDisk200ResponseDiskInstallation::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskInstallation'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteDisk200ResponseDiskInstallation::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -56,13 +56,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['id']); } if (\array_key_exists('disk_template_version', $data)) { - $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], 'KatapultAPI\\Core\\Model\\DiskTemplateVersion', 'json', $context)); + $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], \KatapultAPI\Core\Model\DiskTemplateVersion::class, 'json', $context)); unset($data['disk_template_version']); } if (\array_key_exists('attributes', $data)) { $values = []; foreach ($data['attributes'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\DiskInstallationAttribute', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\DiskInstallationAttribute::class, 'json', $context); } $object->setAttributes($values); unset($data['attributes']); @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskInstallation' => false]; + return [\KatapultAPI\Core\Model\DeleteDisk200ResponseDiskInstallation::class => false]; } } } else { @@ -116,12 +116,12 @@ class DeleteDisk200ResponseDiskInstallationNormalizer implements DenormalizerInt public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskInstallation'; + return $type === \KatapultAPI\Core\Model\DeleteDisk200ResponseDiskInstallation::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskInstallation'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteDisk200ResponseDiskInstallation::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -141,13 +141,13 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('disk_template_version', $data)) { - $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], 'KatapultAPI\\Core\\Model\\DiskTemplateVersion', 'json', $context)); + $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], \KatapultAPI\Core\Model\DiskTemplateVersion::class, 'json', $context)); unset($data['disk_template_version']); } if (\array_key_exists('attributes', $data)) { $values = []; foreach ($data['attributes'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\DiskInstallationAttribute', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\DiskInstallationAttribute::class, 'json', $context); } $object->setAttributes($values); unset($data['attributes']); @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskInstallation' => false]; + return [\KatapultAPI\Core\Model\DeleteDisk200ResponseDiskInstallation::class => false]; } } } diff --git a/src/Core/Normalizer/DeleteDisk200ResponseDiskIoProfileNormalizer.php b/src/Core/Normalizer/DeleteDisk200ResponseDiskIoProfileNormalizer.php index 536fca99..3355eab6 100644 --- a/src/Core/Normalizer/DeleteDisk200ResponseDiskIoProfileNormalizer.php +++ b/src/Core/Normalizer/DeleteDisk200ResponseDiskIoProfileNormalizer.php @@ -31,12 +31,12 @@ class DeleteDisk200ResponseDiskIoProfileNormalizer implements DenormalizerInterf public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskIoProfile'; + return $type === \KatapultAPI\Core\Model\DeleteDisk200ResponseDiskIoProfile::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskIoProfile'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteDisk200ResponseDiskIoProfile::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -113,7 +113,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskIoProfile' => false]; + return [\KatapultAPI\Core\Model\DeleteDisk200ResponseDiskIoProfile::class => false]; } } } else { @@ -126,12 +126,12 @@ class DeleteDisk200ResponseDiskIoProfileNormalizer implements DenormalizerInterf public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskIoProfile'; + return $type === \KatapultAPI\Core\Model\DeleteDisk200ResponseDiskIoProfile::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskIoProfile'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteDisk200ResponseDiskIoProfile::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -211,7 +211,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskIoProfile' => false]; + return [\KatapultAPI\Core\Model\DeleteDisk200ResponseDiskIoProfile::class => false]; } } } diff --git a/src/Core/Normalizer/DeleteDisk200ResponseDiskNormalizer.php b/src/Core/Normalizer/DeleteDisk200ResponseDiskNormalizer.php index fbcdbfab..0d3138e5 100644 --- a/src/Core/Normalizer/DeleteDisk200ResponseDiskNormalizer.php +++ b/src/Core/Normalizer/DeleteDisk200ResponseDiskNormalizer.php @@ -31,12 +31,12 @@ class DeleteDisk200ResponseDiskNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDisk'; + return $type === \KatapultAPI\Core\Model\DeleteDisk200ResponseDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteDisk200ResponseDisk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -80,7 +80,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\DeleteDisk200ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -92,17 +92,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\DeleteDiskPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\DeleteDiskPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\DeleteDisk200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\DeleteDisk200ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -166,7 +166,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDisk' => false]; + return [\KatapultAPI\Core\Model\DeleteDisk200ResponseDisk::class => false]; } } } else { @@ -179,12 +179,12 @@ class DeleteDisk200ResponseDiskNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDisk'; + return $type === \KatapultAPI\Core\Model\DeleteDisk200ResponseDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteDisk200ResponseDisk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -228,7 +228,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\DeleteDisk200ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -240,17 +240,17 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\DeleteDiskPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\DeleteDiskPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\DeleteDisk200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\DeleteDisk200ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -317,7 +317,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDisk' => false]; + return [\KatapultAPI\Core\Model\DeleteDisk200ResponseDisk::class => false]; } } } diff --git a/src/Core/Normalizer/DeleteDisk200ResponseDiskVirtualMachineDiskNormalizer.php b/src/Core/Normalizer/DeleteDisk200ResponseDiskVirtualMachineDiskNormalizer.php index 71df820c..683a29ba 100644 --- a/src/Core/Normalizer/DeleteDisk200ResponseDiskVirtualMachineDiskNormalizer.php +++ b/src/Core/Normalizer/DeleteDisk200ResponseDiskVirtualMachineDiskNormalizer.php @@ -31,12 +31,12 @@ class DeleteDisk200ResponseDiskVirtualMachineDiskNormalizer implements Denormali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\DeleteDisk200ResponseDiskVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteDisk200ResponseDiskVirtualMachineDisk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\DeleteDiskPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\DeleteDiskPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\DeleteDisk200ResponseDiskVirtualMachineDisk::class => false]; } } } else { @@ -115,12 +115,12 @@ class DeleteDisk200ResponseDiskVirtualMachineDiskNormalizer implements Denormali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\DeleteDisk200ResponseDiskVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteDisk200ResponseDiskVirtualMachineDisk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -136,7 +136,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\DeleteDiskPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\DeleteDiskPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\DeleteDisk200ResponseDiskVirtualMachineDisk::class => false]; } } } diff --git a/src/Core/Normalizer/DeleteDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer.php b/src/Core/Normalizer/DeleteDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer.php index ca417f0a..c39c36dc 100644 --- a/src/Core/Normalizer/DeleteDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer.php +++ b/src/Core/Normalizer/DeleteDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer.php @@ -31,12 +31,12 @@ class DeleteDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer implements Den public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteDiskBackupPolicy200ResponseDiskBackupPolicy'; + return $type === \KatapultAPI\Core\Model\DeleteDiskBackupPolicy200ResponseDiskBackupPolicy::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteDiskBackupPolicy200ResponseDiskBackupPolicy'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteDiskBackupPolicy200ResponseDiskBackupPolicy::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteDiskBackupPolicy200ResponseDiskBackupPolicy' => false]; + return [\KatapultAPI\Core\Model\DeleteDiskBackupPolicy200ResponseDiskBackupPolicy::class => false]; } } } else { @@ -94,12 +94,12 @@ class DeleteDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer implements Den public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteDiskBackupPolicy200ResponseDiskBackupPolicy'; + return $type === \KatapultAPI\Core\Model\DeleteDiskBackupPolicy200ResponseDiskBackupPolicy::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteDiskBackupPolicy200ResponseDiskBackupPolicy'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteDiskBackupPolicy200ResponseDiskBackupPolicy::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteDiskBackupPolicy200ResponseDiskBackupPolicy' => false]; + return [\KatapultAPI\Core\Model\DeleteDiskBackupPolicy200ResponseDiskBackupPolicy::class => false]; } } } diff --git a/src/Core/Normalizer/DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicyNormalizer.php b/src/Core/Normalizer/DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicyNormalizer.php index 749fcea3..c654ecd8 100644 --- a/src/Core/Normalizer/DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicyNormalizer.php +++ b/src/Core/Normalizer/DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicyNormalizer.php @@ -31,12 +31,12 @@ class DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicyNormalizer implem public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicy'; + return $type === \KatapultAPI\Core\Model\DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicy::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicy'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicy::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -56,7 +56,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['id']); } if (\array_key_exists('target', $data)) { - $object->setTarget($this->denormalizer->denormalize($data['target'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyTarget', 'json', $context)); + $object->setTarget($this->denormalizer->denormalize($data['target'], \KatapultAPI\Core\Model\DiskBackupPolicyTarget::class, 'json', $context)); unset($data['target']); } if (\array_key_exists('auto_move_to_trash_at', $data) && $data['auto_move_to_trash_at'] !== null) { @@ -97,7 +97,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicy' => false]; + return [\KatapultAPI\Core\Model\DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicy::class => false]; } } } else { @@ -110,12 +110,12 @@ class DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicyNormalizer implem public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicy'; + return $type === \KatapultAPI\Core\Model\DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicy::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicy'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicy::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -135,7 +135,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('target', $data)) { - $object->setTarget($this->denormalizer->denormalize($data['target'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyTarget', 'json', $context)); + $object->setTarget($this->denormalizer->denormalize($data['target'], \KatapultAPI\Core\Model\DiskBackupPolicyTarget::class, 'json', $context)); unset($data['target']); } if (\array_key_exists('auto_move_to_trash_at', $data) && $data['auto_move_to_trash_at'] !== null) { @@ -179,7 +179,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicy' => false]; + return [\KatapultAPI\Core\Model\DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicy::class => false]; } } } diff --git a/src/Core/Normalizer/DeleteDiskPartDataCenterNormalizer.php b/src/Core/Normalizer/DeleteDiskPartDataCenterNormalizer.php index 5cc3fd20..18e88b5c 100644 --- a/src/Core/Normalizer/DeleteDiskPartDataCenterNormalizer.php +++ b/src/Core/Normalizer/DeleteDiskPartDataCenterNormalizer.php @@ -31,12 +31,12 @@ class DeleteDiskPartDataCenterNormalizer implements DenormalizerInterface, Norma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteDiskPartDataCenter'; + return $type === \KatapultAPI\Core\Model\DeleteDiskPartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteDiskPartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteDiskPartDataCenter::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteDiskPartDataCenter' => false]; + return [\KatapultAPI\Core\Model\DeleteDiskPartDataCenter::class => false]; } } } else { @@ -108,12 +108,12 @@ class DeleteDiskPartDataCenterNormalizer implements DenormalizerInterface, Norma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteDiskPartDataCenter'; + return $type === \KatapultAPI\Core\Model\DeleteDiskPartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteDiskPartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteDiskPartDataCenter::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteDiskPartDataCenter' => false]; + return [\KatapultAPI\Core\Model\DeleteDiskPartDataCenter::class => false]; } } } diff --git a/src/Core/Normalizer/DeleteDiskPartVirtualMachineDiskNormalizer.php b/src/Core/Normalizer/DeleteDiskPartVirtualMachineDiskNormalizer.php index ab78a14d..02c0de83 100644 --- a/src/Core/Normalizer/DeleteDiskPartVirtualMachineDiskNormalizer.php +++ b/src/Core/Normalizer/DeleteDiskPartVirtualMachineDiskNormalizer.php @@ -31,12 +31,12 @@ class DeleteDiskPartVirtualMachineDiskNormalizer implements DenormalizerInterfac public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteDiskPartVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\DeleteDiskPartVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteDiskPartVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteDiskPartVirtualMachineDisk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\DeleteDiskPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\DeleteDiskPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteDiskPartVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\DeleteDiskPartVirtualMachineDisk::class => false]; } } } else { @@ -115,12 +115,12 @@ class DeleteDiskPartVirtualMachineDiskNormalizer implements DenormalizerInterfac public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteDiskPartVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\DeleteDiskPartVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteDiskPartVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteDiskPartVirtualMachineDisk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -136,7 +136,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\DeleteDiskPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\DeleteDiskPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteDiskPartVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\DeleteDiskPartVirtualMachineDisk::class => false]; } } } diff --git a/src/Core/Normalizer/DeleteDiskPartVirtualMachineNormalizer.php b/src/Core/Normalizer/DeleteDiskPartVirtualMachineNormalizer.php index 92056650..effd1498 100644 --- a/src/Core/Normalizer/DeleteDiskPartVirtualMachineNormalizer.php +++ b/src/Core/Normalizer/DeleteDiskPartVirtualMachineNormalizer.php @@ -31,12 +31,12 @@ class DeleteDiskPartVirtualMachineNormalizer implements DenormalizerInterface, N public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteDiskPartVirtualMachine'; + return $type === \KatapultAPI\Core\Model\DeleteDiskPartVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteDiskPartVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteDiskPartVirtualMachine::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteDiskPartVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\DeleteDiskPartVirtualMachine::class => false]; } } } else { @@ -101,12 +101,12 @@ class DeleteDiskPartVirtualMachineNormalizer implements DenormalizerInterface, N public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteDiskPartVirtualMachine'; + return $type === \KatapultAPI\Core\Model\DeleteDiskPartVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteDiskPartVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteDiskPartVirtualMachine::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteDiskPartVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\DeleteDiskPartVirtualMachine::class => false]; } } } diff --git a/src/Core/Normalizer/DeleteFileStorageVolume200ResponseFileStorageVolumeNormalizer.php b/src/Core/Normalizer/DeleteFileStorageVolume200ResponseFileStorageVolumeNormalizer.php index 6b6403f1..7622b0f3 100644 --- a/src/Core/Normalizer/DeleteFileStorageVolume200ResponseFileStorageVolumeNormalizer.php +++ b/src/Core/Normalizer/DeleteFileStorageVolume200ResponseFileStorageVolumeNormalizer.php @@ -31,12 +31,12 @@ class DeleteFileStorageVolume200ResponseFileStorageVolumeNormalizer implements D public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteFileStorageVolume200ResponseFileStorageVolume'; + return $type === \KatapultAPI\Core\Model\DeleteFileStorageVolume200ResponseFileStorageVolume::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteFileStorageVolume200ResponseFileStorageVolume'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteFileStorageVolume200ResponseFileStorageVolume::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['name']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\DeleteFileStorageVolumePartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\DeleteFileStorageVolumePartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('associations', $data)) { @@ -135,7 +135,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteFileStorageVolume200ResponseFileStorageVolume' => false]; + return [\KatapultAPI\Core\Model\DeleteFileStorageVolume200ResponseFileStorageVolume::class => false]; } } } else { @@ -148,12 +148,12 @@ class DeleteFileStorageVolume200ResponseFileStorageVolumeNormalizer implements D public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteFileStorageVolume200ResponseFileStorageVolume'; + return $type === \KatapultAPI\Core\Model\DeleteFileStorageVolume200ResponseFileStorageVolume::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteFileStorageVolume200ResponseFileStorageVolume'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteFileStorageVolume200ResponseFileStorageVolume::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -177,7 +177,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\DeleteFileStorageVolumePartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\DeleteFileStorageVolumePartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('associations', $data)) { @@ -255,7 +255,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteFileStorageVolume200ResponseFileStorageVolume' => false]; + return [\KatapultAPI\Core\Model\DeleteFileStorageVolume200ResponseFileStorageVolume::class => false]; } } } diff --git a/src/Core/Normalizer/DeleteFileStorageVolumePartDataCenterNormalizer.php b/src/Core/Normalizer/DeleteFileStorageVolumePartDataCenterNormalizer.php index 968f700e..b5e5cf06 100644 --- a/src/Core/Normalizer/DeleteFileStorageVolumePartDataCenterNormalizer.php +++ b/src/Core/Normalizer/DeleteFileStorageVolumePartDataCenterNormalizer.php @@ -31,12 +31,12 @@ class DeleteFileStorageVolumePartDataCenterNormalizer implements DenormalizerInt public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteFileStorageVolumePartDataCenter'; + return $type === \KatapultAPI\Core\Model\DeleteFileStorageVolumePartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteFileStorageVolumePartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteFileStorageVolumePartDataCenter::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteFileStorageVolumePartDataCenter' => false]; + return [\KatapultAPI\Core\Model\DeleteFileStorageVolumePartDataCenter::class => false]; } } } else { @@ -108,12 +108,12 @@ class DeleteFileStorageVolumePartDataCenterNormalizer implements DenormalizerInt public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteFileStorageVolumePartDataCenter'; + return $type === \KatapultAPI\Core\Model\DeleteFileStorageVolumePartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteFileStorageVolumePartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteFileStorageVolumePartDataCenter::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteFileStorageVolumePartDataCenter' => false]; + return [\KatapultAPI\Core\Model\DeleteFileStorageVolumePartDataCenter::class => false]; } } } diff --git a/src/Core/Normalizer/DeleteLoadBalancer200ResponseLoadBalancerNormalizer.php b/src/Core/Normalizer/DeleteLoadBalancer200ResponseLoadBalancerNormalizer.php index 8b0d6e89..70e5b11d 100644 --- a/src/Core/Normalizer/DeleteLoadBalancer200ResponseLoadBalancerNormalizer.php +++ b/src/Core/Normalizer/DeleteLoadBalancer200ResponseLoadBalancerNormalizer.php @@ -31,12 +31,12 @@ class DeleteLoadBalancer200ResponseLoadBalancerNormalizer implements Denormalize public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteLoadBalancer200ResponseLoadBalancer'; + return $type === \KatapultAPI\Core\Model\DeleteLoadBalancer200ResponseLoadBalancer::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteLoadBalancer200ResponseLoadBalancer'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteLoadBalancer200ResponseLoadBalancer::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -97,7 +97,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteLoadBalancer200ResponseLoadBalancer' => false]; + return [\KatapultAPI\Core\Model\DeleteLoadBalancer200ResponseLoadBalancer::class => false]; } } } else { @@ -110,12 +110,12 @@ class DeleteLoadBalancer200ResponseLoadBalancerNormalizer implements Denormalize public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteLoadBalancer200ResponseLoadBalancer'; + return $type === \KatapultAPI\Core\Model\DeleteLoadBalancer200ResponseLoadBalancer::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteLoadBalancer200ResponseLoadBalancer'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteLoadBalancer200ResponseLoadBalancer::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -179,7 +179,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteLoadBalancer200ResponseLoadBalancer' => false]; + return [\KatapultAPI\Core\Model\DeleteLoadBalancer200ResponseLoadBalancer::class => false]; } } } diff --git a/src/Core/Normalizer/DeleteLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer.php b/src/Core/Normalizer/DeleteLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer.php index 18025752..26bdbac6 100644 --- a/src/Core/Normalizer/DeleteLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer.php +++ b/src/Core/Normalizer/DeleteLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer.php @@ -31,12 +31,12 @@ class DeleteLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule'; + return $type === \KatapultAPI\Core\Model\DeleteLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule' => false]; + return [\KatapultAPI\Core\Model\DeleteLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule::class => false]; } } } else { @@ -94,12 +94,12 @@ class DeleteLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule'; + return $type === \KatapultAPI\Core\Model\DeleteLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule' => false]; + return [\KatapultAPI\Core\Model\DeleteLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule::class => false]; } } } diff --git a/src/Core/Normalizer/DeleteSecurityGroup200ResponseSecurityGroupNormalizer.php b/src/Core/Normalizer/DeleteSecurityGroup200ResponseSecurityGroupNormalizer.php index 3b5305c0..e62faa78 100644 --- a/src/Core/Normalizer/DeleteSecurityGroup200ResponseSecurityGroupNormalizer.php +++ b/src/Core/Normalizer/DeleteSecurityGroup200ResponseSecurityGroupNormalizer.php @@ -31,12 +31,12 @@ class DeleteSecurityGroup200ResponseSecurityGroupNormalizer implements Denormali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteSecurityGroup200ResponseSecurityGroup'; + return $type === \KatapultAPI\Core\Model\DeleteSecurityGroup200ResponseSecurityGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteSecurityGroup200ResponseSecurityGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteSecurityGroup200ResponseSecurityGroup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteSecurityGroup200ResponseSecurityGroup' => false]; + return [\KatapultAPI\Core\Model\DeleteSecurityGroup200ResponseSecurityGroup::class => false]; } } } else { @@ -101,12 +101,12 @@ class DeleteSecurityGroup200ResponseSecurityGroupNormalizer implements Denormali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteSecurityGroup200ResponseSecurityGroup'; + return $type === \KatapultAPI\Core\Model\DeleteSecurityGroup200ResponseSecurityGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteSecurityGroup200ResponseSecurityGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteSecurityGroup200ResponseSecurityGroup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteSecurityGroup200ResponseSecurityGroup' => false]; + return [\KatapultAPI\Core\Model\DeleteSecurityGroup200ResponseSecurityGroup::class => false]; } } } diff --git a/src/Core/Normalizer/DeleteSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer.php b/src/Core/Normalizer/DeleteSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer.php index 9f06c606..08954ed7 100644 --- a/src/Core/Normalizer/DeleteSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer.php +++ b/src/Core/Normalizer/DeleteSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer.php @@ -31,12 +31,12 @@ class DeleteSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNorm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule'; + return $type === \KatapultAPI\Core\Model\DeleteSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule' => false]; + return [\KatapultAPI\Core\Model\DeleteSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule::class => false]; } } } else { @@ -94,12 +94,12 @@ class DeleteSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNorm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule'; + return $type === \KatapultAPI\Core\Model\DeleteSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule' => false]; + return [\KatapultAPI\Core\Model\DeleteSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule::class => false]; } } } diff --git a/src/Core/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer.php b/src/Core/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer.php index d84ce5ff..bc5be0aa 100644 --- a/src/Core/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer.php +++ b/src/Core/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer.php @@ -31,12 +31,12 @@ class DeleteVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer impleme public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineAttachedIso'; + return $type === \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineAttachedIso::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineAttachedIso'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineAttachedIso::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['name']); } if (\array_key_exists('operating_system', $data) && $data['operating_system'] !== null) { - $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'KatapultAPI\\Core\\Model\\ISOOperatingSystem', 'json', $context)); + $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], \KatapultAPI\Core\Model\ISOOperatingSystem::class, 'json', $context)); unset($data['operating_system']); } elseif (\array_key_exists('operating_system', $data) && $data['operating_system'] === null) { $object->setOperatingSystem(null); @@ -97,7 +97,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineAttachedIso' => false]; + return [\KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineAttachedIso::class => false]; } } } else { @@ -110,12 +110,12 @@ class DeleteVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer impleme public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineAttachedIso'; + return $type === \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineAttachedIso::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineAttachedIso'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineAttachedIso::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -139,7 +139,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('operating_system', $data) && $data['operating_system'] !== null) { - $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'KatapultAPI\\Core\\Model\\ISOOperatingSystem', 'json', $context)); + $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], \KatapultAPI\Core\Model\ISOOperatingSystem::class, 'json', $context)); unset($data['operating_system']); } elseif (\array_key_exists('operating_system', $data) && $data['operating_system'] === null) { $object->setOperatingSystem(null); @@ -179,7 +179,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineAttachedIso' => false]; + return [\KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineAttachedIso::class => false]; } } } diff --git a/src/Core/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer.php b/src/Core/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer.php index a3945eec..e5c60cde 100644 --- a/src/Core/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer.php +++ b/src/Core/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer.php @@ -31,12 +31,12 @@ class DeleteVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGpuType'; + return $type === \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineGpuType::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGpuType'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineGpuType::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -116,7 +116,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGpuType' => false]; + return [\KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineGpuType::class => false]; } } } else { @@ -129,12 +129,12 @@ class DeleteVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGpuType'; + return $type === \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineGpuType::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGpuType'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineGpuType::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -217,7 +217,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGpuType' => false]; + return [\KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineGpuType::class => false]; } } } diff --git a/src/Core/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineGroupNormalizer.php b/src/Core/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineGroupNormalizer.php index 58161ce3..b86a50b2 100644 --- a/src/Core/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineGroupNormalizer.php +++ b/src/Core/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineGroupNormalizer.php @@ -31,12 +31,12 @@ class DeleteVirtualMachine200ResponseVirtualMachineGroupNormalizer implements De public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGroup'; + return $type === \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineGroup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -109,7 +109,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGroup' => false]; + return [\KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineGroup::class => false]; } } } else { @@ -122,12 +122,12 @@ class DeleteVirtualMachine200ResponseVirtualMachineGroupNormalizer implements De public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGroup'; + return $type === \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineGroup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -203,7 +203,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGroup' => false]; + return [\KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineGroup::class => false]; } } } diff --git a/src/Core/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineHypervisorNormalizer.php b/src/Core/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineHypervisorNormalizer.php index d2144b0e..0eb8ad7e 100644 --- a/src/Core/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineHypervisorNormalizer.php +++ b/src/Core/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineHypervisorNormalizer.php @@ -31,12 +31,12 @@ class DeleteVirtualMachine200ResponseVirtualMachineHypervisorNormalizer implemen public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineHypervisor'; + return $type === \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineHypervisor::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineHypervisor'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineHypervisor::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineHypervisor' => false]; + return [\KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineHypervisor::class => false]; } } } else { @@ -108,12 +108,12 @@ class DeleteVirtualMachine200ResponseVirtualMachineHypervisorNormalizer implemen public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineHypervisor'; + return $type === \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineHypervisor::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineHypervisor'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineHypervisor::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineHypervisor' => false]; + return [\KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineHypervisor::class => false]; } } } diff --git a/src/Core/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineNormalizer.php b/src/Core/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineNormalizer.php index 1ef497f7..4ff37ed6 100644 --- a/src/Core/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineNormalizer.php +++ b/src/Core/Normalizer/DeleteVirtualMachine200ResponseVirtualMachineNormalizer.php @@ -31,12 +31,12 @@ class DeleteVirtualMachine200ResponseVirtualMachineNormalizer implements Denorma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachine'; + return $type === \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachine::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,27 +88,27 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['state']); } if (\array_key_exists('zone', $data)) { - $object->setZone($this->denormalizer->denormalize($data['zone'], 'KatapultAPI\\Core\\Model\\Zone', 'json', $context)); + $object->setZone($this->denormalizer->denormalize($data['zone'], \KatapultAPI\Core\Model\Zone::class, 'json', $context)); unset($data['zone']); } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\Organization', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\Organization::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('group', $data) && $data['group'] !== null) { - $object->setGroup($this->denormalizer->denormalize($data['group'], 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGroup', 'json', $context)); + $object->setGroup($this->denormalizer->denormalize($data['group'], \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineGroup::class, 'json', $context)); unset($data['group']); } elseif (\array_key_exists('group', $data) && $data['group'] === null) { $object->setGroup(null); } if (\array_key_exists('package', $data) && $data['package'] !== null) { - $object->setPackage($this->denormalizer->denormalize($data['package'], 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachinePackage', 'json', $context)); + $object->setPackage($this->denormalizer->denormalize($data['package'], \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachinePackage::class, 'json', $context)); unset($data['package']); } elseif (\array_key_exists('package', $data) && $data['package'] === null) { $object->setPackage(null); } if (\array_key_exists('attached_iso', $data) && $data['attached_iso'] !== null) { - $object->setAttachedIso($this->denormalizer->denormalize($data['attached_iso'], 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineAttachedIso', 'json', $context)); + $object->setAttachedIso($this->denormalizer->denormalize($data['attached_iso'], \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineAttachedIso::class, 'json', $context)); unset($data['attached_iso']); } elseif (\array_key_exists('attached_iso', $data) && $data['attached_iso'] === null) { $object->setAttachedIso(null); @@ -132,7 +132,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setUseDedicatedCpus(null); } if (\array_key_exists('gpu_type', $data) && $data['gpu_type'] !== null) { - $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGpuType', 'json', $context)); + $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineGpuType::class, 'json', $context)); unset($data['gpu_type']); } elseif (\array_key_exists('gpu_type', $data) && $data['gpu_type'] === null) { $object->setGpuType(null); @@ -140,7 +140,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('gpus', $data)) { $values = []; foreach ($data['gpus'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\VirtualMachineGPU', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\VirtualMachineGPU::class, 'json', $context); } $object->setGpus($values); unset($data['gpus']); @@ -148,7 +148,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('tags', $data)) { $values_1 = []; foreach ($data['tags'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'KatapultAPI\\Core\\Model\\Tag', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, \KatapultAPI\Core\Model\Tag::class, 'json', $context); } $object->setTags($values_1); unset($data['tags']); @@ -164,13 +164,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('ip_addresses', $data)) { $values_3 = []; foreach ($data['ip_addresses'] as $value_3) { - $values_3[] = $this->denormalizer->denormalize($value_3, 'KatapultAPI\\Core\\Model\\IPAddress', 'json', $context); + $values_3[] = $this->denormalizer->denormalize($value_3, \KatapultAPI\Core\Model\IPAddress::class, 'json', $context); } $object->setIpAddresses($values_3); unset($data['ip_addresses']); } if (\array_key_exists('hypervisor', $data) && $data['hypervisor'] !== null) { - $object->setHypervisor($this->denormalizer->denormalize($data['hypervisor'], 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineHypervisor', 'json', $context)); + $object->setHypervisor($this->denormalizer->denormalize($data['hypervisor'], \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineHypervisor::class, 'json', $context)); unset($data['hypervisor']); } elseif (\array_key_exists('hypervisor', $data) && $data['hypervisor'] === null) { $object->setHypervisor(null); @@ -280,7 +280,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachine::class => false]; } } } else { @@ -293,12 +293,12 @@ class DeleteVirtualMachine200ResponseVirtualMachineNormalizer implements Denorma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachine'; + return $type === \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachine::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -350,27 +350,27 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['state']); } if (\array_key_exists('zone', $data)) { - $object->setZone($this->denormalizer->denormalize($data['zone'], 'KatapultAPI\\Core\\Model\\Zone', 'json', $context)); + $object->setZone($this->denormalizer->denormalize($data['zone'], \KatapultAPI\Core\Model\Zone::class, 'json', $context)); unset($data['zone']); } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\Organization', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\Organization::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('group', $data) && $data['group'] !== null) { - $object->setGroup($this->denormalizer->denormalize($data['group'], 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGroup', 'json', $context)); + $object->setGroup($this->denormalizer->denormalize($data['group'], \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineGroup::class, 'json', $context)); unset($data['group']); } elseif (\array_key_exists('group', $data) && $data['group'] === null) { $object->setGroup(null); } if (\array_key_exists('package', $data) && $data['package'] !== null) { - $object->setPackage($this->denormalizer->denormalize($data['package'], 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachinePackage', 'json', $context)); + $object->setPackage($this->denormalizer->denormalize($data['package'], \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachinePackage::class, 'json', $context)); unset($data['package']); } elseif (\array_key_exists('package', $data) && $data['package'] === null) { $object->setPackage(null); } if (\array_key_exists('attached_iso', $data) && $data['attached_iso'] !== null) { - $object->setAttachedIso($this->denormalizer->denormalize($data['attached_iso'], 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineAttachedIso', 'json', $context)); + $object->setAttachedIso($this->denormalizer->denormalize($data['attached_iso'], \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineAttachedIso::class, 'json', $context)); unset($data['attached_iso']); } elseif (\array_key_exists('attached_iso', $data) && $data['attached_iso'] === null) { $object->setAttachedIso(null); @@ -394,7 +394,7 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setUseDedicatedCpus(null); } if (\array_key_exists('gpu_type', $data) && $data['gpu_type'] !== null) { - $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGpuType', 'json', $context)); + $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineGpuType::class, 'json', $context)); unset($data['gpu_type']); } elseif (\array_key_exists('gpu_type', $data) && $data['gpu_type'] === null) { $object->setGpuType(null); @@ -402,7 +402,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('gpus', $data)) { $values = []; foreach ($data['gpus'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\VirtualMachineGPU', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\VirtualMachineGPU::class, 'json', $context); } $object->setGpus($values); unset($data['gpus']); @@ -410,7 +410,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('tags', $data)) { $values_1 = []; foreach ($data['tags'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'KatapultAPI\\Core\\Model\\Tag', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, \KatapultAPI\Core\Model\Tag::class, 'json', $context); } $object->setTags($values_1); unset($data['tags']); @@ -426,13 +426,13 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('ip_addresses', $data)) { $values_3 = []; foreach ($data['ip_addresses'] as $value_3) { - $values_3[] = $this->denormalizer->denormalize($value_3, 'KatapultAPI\\Core\\Model\\IPAddress', 'json', $context); + $values_3[] = $this->denormalizer->denormalize($value_3, \KatapultAPI\Core\Model\IPAddress::class, 'json', $context); } $object->setIpAddresses($values_3); unset($data['ip_addresses']); } if (\array_key_exists('hypervisor', $data) && $data['hypervisor'] !== null) { - $object->setHypervisor($this->denormalizer->denormalize($data['hypervisor'], 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineHypervisor', 'json', $context)); + $object->setHypervisor($this->denormalizer->denormalize($data['hypervisor'], \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineHypervisor::class, 'json', $context)); unset($data['hypervisor']); } elseif (\array_key_exists('hypervisor', $data) && $data['hypervisor'] === null) { $object->setHypervisor(null); @@ -545,7 +545,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachine::class => false]; } } } diff --git a/src/Core/Normalizer/DeleteVirtualMachine200ResponseVirtualMachinePackageNormalizer.php b/src/Core/Normalizer/DeleteVirtualMachine200ResponseVirtualMachinePackageNormalizer.php index 432d4932..45e9084e 100644 --- a/src/Core/Normalizer/DeleteVirtualMachine200ResponseVirtualMachinePackageNormalizer.php +++ b/src/Core/Normalizer/DeleteVirtualMachine200ResponseVirtualMachinePackageNormalizer.php @@ -31,12 +31,12 @@ class DeleteVirtualMachine200ResponseVirtualMachinePackageNormalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachinePackage'; + return $type === \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachinePackage::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachinePackage'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachinePackage::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -90,7 +90,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['privacy']); } if (\array_key_exists('icon', $data) && $data['icon'] !== null) { - $object->setIcon($this->denormalizer->denormalize($data['icon'], 'KatapultAPI\\Core\\Model\\VirtualMachinePackageIcon', 'json', $context)); + $object->setIcon($this->denormalizer->denormalize($data['icon'], \KatapultAPI\Core\Model\VirtualMachinePackageIcon::class, 'json', $context)); unset($data['icon']); } elseif (\array_key_exists('icon', $data) && $data['icon'] === null) { $object->setIcon(null); @@ -100,7 +100,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['use_dedicated_cpus']); } if (\array_key_exists('group', $data)) { - $object->setGroup($this->denormalizer->denormalize($data['group'], 'KatapultAPI\\Core\\Model\\VirtualMachinePackageGroup', 'json', $context)); + $object->setGroup($this->denormalizer->denormalize($data['group'], \KatapultAPI\Core\Model\VirtualMachinePackageGroup::class, 'json', $context)); unset($data['group']); } foreach ($data as $key => $value) { @@ -162,7 +162,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachinePackage' => false]; + return [\KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachinePackage::class => false]; } } } else { @@ -175,12 +175,12 @@ class DeleteVirtualMachine200ResponseVirtualMachinePackageNormalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachinePackage'; + return $type === \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachinePackage::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachinePackage'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachinePackage::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -234,7 +234,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['privacy']); } if (\array_key_exists('icon', $data) && $data['icon'] !== null) { - $object->setIcon($this->denormalizer->denormalize($data['icon'], 'KatapultAPI\\Core\\Model\\VirtualMachinePackageIcon', 'json', $context)); + $object->setIcon($this->denormalizer->denormalize($data['icon'], \KatapultAPI\Core\Model\VirtualMachinePackageIcon::class, 'json', $context)); unset($data['icon']); } elseif (\array_key_exists('icon', $data) && $data['icon'] === null) { $object->setIcon(null); @@ -244,7 +244,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['use_dedicated_cpus']); } if (\array_key_exists('group', $data)) { - $object->setGroup($this->denormalizer->denormalize($data['group'], 'KatapultAPI\\Core\\Model\\VirtualMachinePackageGroup', 'json', $context)); + $object->setGroup($this->denormalizer->denormalize($data['group'], \KatapultAPI\Core\Model\VirtualMachinePackageGroup::class, 'json', $context)); unset($data['group']); } foreach ($data as $key => $value) { @@ -309,7 +309,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachinePackage' => false]; + return [\KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachinePackage::class => false]; } } } diff --git a/src/Core/Normalizer/DeleteVirtualMachinePartGPUTypeNormalizer.php b/src/Core/Normalizer/DeleteVirtualMachinePartGPUTypeNormalizer.php index dac578e2..fa6b80a1 100644 --- a/src/Core/Normalizer/DeleteVirtualMachinePartGPUTypeNormalizer.php +++ b/src/Core/Normalizer/DeleteVirtualMachinePartGPUTypeNormalizer.php @@ -31,12 +31,12 @@ class DeleteVirtualMachinePartGPUTypeNormalizer implements DenormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteVirtualMachinePartGPUType'; + return $type === \KatapultAPI\Core\Model\DeleteVirtualMachinePartGPUType::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteVirtualMachinePartGPUType'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteVirtualMachinePartGPUType::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -116,7 +116,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteVirtualMachinePartGPUType' => false]; + return [\KatapultAPI\Core\Model\DeleteVirtualMachinePartGPUType::class => false]; } } } else { @@ -129,12 +129,12 @@ class DeleteVirtualMachinePartGPUTypeNormalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeleteVirtualMachinePartGPUType'; + return $type === \KatapultAPI\Core\Model\DeleteVirtualMachinePartGPUType::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeleteVirtualMachinePartGPUType'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeleteVirtualMachinePartGPUType::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -217,7 +217,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeleteVirtualMachinePartGPUType' => false]; + return [\KatapultAPI\Core\Model\DeleteVirtualMachinePartGPUType::class => false]; } } } diff --git a/src/Core/Normalizer/DeletionRestrictedNormalizer.php b/src/Core/Normalizer/DeletionRestrictedNormalizer.php index 7242eaf6..a504c597 100644 --- a/src/Core/Normalizer/DeletionRestrictedNormalizer.php +++ b/src/Core/Normalizer/DeletionRestrictedNormalizer.php @@ -31,12 +31,12 @@ class DeletionRestrictedNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeletionRestricted'; + return $type === \KatapultAPI\Core\Model\DeletionRestricted::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeletionRestricted'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeletionRestricted::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -89,7 +89,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeletionRestricted' => false]; + return [\KatapultAPI\Core\Model\DeletionRestricted::class => false]; } } } else { @@ -102,12 +102,12 @@ class DeletionRestrictedNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DeletionRestricted'; + return $type === \KatapultAPI\Core\Model\DeletionRestricted::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DeletionRestricted'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DeletionRestricted::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -163,7 +163,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DeletionRestricted' => false]; + return [\KatapultAPI\Core\Model\DeletionRestricted::class => false]; } } } diff --git a/src/Core/Normalizer/DiskArgumentsNormalizer.php b/src/Core/Normalizer/DiskArgumentsNormalizer.php index 0f022acd..f564a025 100644 --- a/src/Core/Normalizer/DiskArgumentsNormalizer.php +++ b/src/Core/Normalizer/DiskArgumentsNormalizer.php @@ -31,12 +31,12 @@ class DiskArgumentsNormalizer implements DenormalizerInterface, NormalizerInterf public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskArguments'; + return $type === \KatapultAPI\Core\Model\DiskArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskArguments::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['bus_type']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\DataCenterLookup', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\DataCenterLookup::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('size_in_gb', $data)) { @@ -68,7 +68,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['size_in_gb']); } if (\array_key_exists('io_profile', $data)) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\DiskIOProfileLookup', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\DiskIOProfileLookup::class, 'json', $context)); unset($data['io_profile']); } if (\array_key_exists('initial_file_system', $data)) { @@ -80,7 +80,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['storage_speed']); } if (\array_key_exists('virtual_machine_disk', $data)) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\VirtualMachineDiskArguments', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\VirtualMachineDiskArguments::class, 'json', $context)); unset($data['virtual_machine_disk']); } foreach ($data as $key => $value) { @@ -130,7 +130,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskArguments' => false]; + return [\KatapultAPI\Core\Model\DiskArguments::class => false]; } } } else { @@ -143,12 +143,12 @@ class DiskArgumentsNormalizer implements DenormalizerInterface, NormalizerInterf public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskArguments'; + return $type === \KatapultAPI\Core\Model\DiskArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskArguments::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -172,7 +172,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['bus_type']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\DataCenterLookup', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\DataCenterLookup::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('size_in_gb', $data)) { @@ -180,7 +180,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['size_in_gb']); } if (\array_key_exists('io_profile', $data)) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\DiskIOProfileLookup', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\DiskIOProfileLookup::class, 'json', $context)); unset($data['io_profile']); } if (\array_key_exists('initial_file_system', $data)) { @@ -192,7 +192,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['storage_speed']); } if (\array_key_exists('virtual_machine_disk', $data)) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\VirtualMachineDiskArguments', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\VirtualMachineDiskArguments::class, 'json', $context)); unset($data['virtual_machine_disk']); } foreach ($data as $key => $value) { @@ -245,7 +245,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskArguments' => false]; + return [\KatapultAPI\Core\Model\DiskArguments::class => false]; } } } diff --git a/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyDeleteBodyNormalizer.php b/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyDeleteBodyNormalizer.php index 3a2a994e..9bf67595 100644 --- a/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyDeleteBodyNormalizer.php +++ b/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyDeleteBodyNormalizer.php @@ -31,12 +31,12 @@ class DiskBackupPoliciesDiskBackupPolicyDeleteBodyNormalizer implements Denormal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteBody'; + return $type === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyDeleteBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('disk_backup_policy', $data)) { - $object->setDiskBackupPolicy($this->denormalizer->denormalize($data['disk_backup_policy'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyLookup', 'json', $context)); + $object->setDiskBackupPolicy($this->denormalizer->denormalize($data['disk_backup_policy'], \KatapultAPI\Core\Model\DiskBackupPolicyLookup::class, 'json', $context)); unset($data['disk_backup_policy']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteBody' => false]; + return [\KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyDeleteBody::class => false]; } } } else { @@ -92,12 +92,12 @@ class DiskBackupPoliciesDiskBackupPolicyDeleteBodyNormalizer implements Denormal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteBody'; + return $type === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyDeleteBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('disk_backup_policy', $data)) { - $object->setDiskBackupPolicy($this->denormalizer->denormalize($data['disk_backup_policy'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyLookup', 'json', $context)); + $object->setDiskBackupPolicy($this->denormalizer->denormalize($data['disk_backup_policy'], \KatapultAPI\Core\Model\DiskBackupPolicyLookup::class, 'json', $context)); unset($data['disk_backup_policy']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteBody' => false]; + return [\KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyDeleteBody::class => false]; } } } diff --git a/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicyNormalizer.php b/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicyNormalizer.php index 9761b073..70b506a8 100644 --- a/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicyNormalizer.php +++ b/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicyNormalizer.php @@ -31,12 +31,12 @@ class DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicyNormali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicy'; + return $type === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicy::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicy'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicy::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicy' => false]; + return [\KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicy::class => false]; } } } else { @@ -94,12 +94,12 @@ class DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicyNormali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicy'; + return $type === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicy::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicy'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicy::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicy' => false]; + return [\KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicy::class => false]; } } } diff --git a/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyDeleteResponse200Normalizer.php b/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyDeleteResponse200Normalizer.php index 544d7a44..6d6944cd 100644 --- a/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyDeleteResponse200Normalizer.php +++ b/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyDeleteResponse200Normalizer.php @@ -31,12 +31,12 @@ class DiskBackupPoliciesDiskBackupPolicyDeleteResponse200Normalizer implements D public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('disk_backup_policy', $data)) { - $object->setDiskBackupPolicy($this->denormalizer->denormalize($data['disk_backup_policy'], 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicy', 'json', $context)); + $object->setDiskBackupPolicy($this->denormalizer->denormalize($data['disk_backup_policy'], \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicy::class, 'json', $context)); unset($data['disk_backup_policy']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class DiskBackupPoliciesDiskBackupPolicyDeleteResponse200Normalizer implements D public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('disk_backup_policy', $data)) { - $object->setDiskBackupPolicy($this->denormalizer->denormalize($data['disk_backup_policy'], 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicy', 'json', $context)); + $object->setDiskBackupPolicy($this->denormalizer->denormalize($data['disk_backup_policy'], \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicy::class, 'json', $context)); unset($data['disk_backup_policy']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicyNormalizer.php b/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicyNormalizer.php index a3006c70..82101baa 100644 --- a/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicyNormalizer.php +++ b/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicyNormalizer.php @@ -31,12 +31,12 @@ class DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicyNormalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicy'; + return $type === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicy::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicy'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicy::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -67,11 +67,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['total_size']); } if (\array_key_exists('target', $data)) { - $object->setTarget($this->denormalizer->denormalize($data['target'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyTarget', 'json', $context)); + $object->setTarget($this->denormalizer->denormalize($data['target'], \KatapultAPI\Core\Model\DiskBackupPolicyTarget::class, 'json', $context)); unset($data['target']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'KatapultAPI\\Core\\Model\\Schedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], \KatapultAPI\Core\Model\Schedule::class, 'json', $context)); unset($data['schedule']); } if (\array_key_exists('auto_move_to_trash_at', $data) && $data['auto_move_to_trash_at'] !== null) { @@ -121,7 +121,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicy' => false]; + return [\KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicy::class => false]; } } } else { @@ -134,12 +134,12 @@ class DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicyNormalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicy'; + return $type === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicy::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicy'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicy::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -170,11 +170,11 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['total_size']); } if (\array_key_exists('target', $data)) { - $object->setTarget($this->denormalizer->denormalize($data['target'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyTarget', 'json', $context)); + $object->setTarget($this->denormalizer->denormalize($data['target'], \KatapultAPI\Core\Model\DiskBackupPolicyTarget::class, 'json', $context)); unset($data['target']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'KatapultAPI\\Core\\Model\\Schedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], \KatapultAPI\Core\Model\Schedule::class, 'json', $context)); unset($data['schedule']); } if (\array_key_exists('auto_move_to_trash_at', $data) && $data['auto_move_to_trash_at'] !== null) { @@ -227,7 +227,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicy' => false]; + return [\KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicy::class => false]; } } } diff --git a/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyGetResponse200Normalizer.php b/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyGetResponse200Normalizer.php index 47c77248..1c43944b 100644 --- a/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyGetResponse200Normalizer.php +++ b/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class DiskBackupPoliciesDiskBackupPolicyGetResponse200Normalizer implements Deno public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyGetResponse200'; + return $type === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('disk_backup_policy', $data)) { - $object->setDiskBackupPolicy($this->denormalizer->denormalize($data['disk_backup_policy'], 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicy', 'json', $context)); + $object->setDiskBackupPolicy($this->denormalizer->denormalize($data['disk_backup_policy'], \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicy::class, 'json', $context)); unset($data['disk_backup_policy']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyGetResponse200' => false]; + return [\KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyGetResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class DiskBackupPoliciesDiskBackupPolicyGetResponse200Normalizer implements Deno public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyGetResponse200'; + return $type === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('disk_backup_policy', $data)) { - $object->setDiskBackupPolicy($this->denormalizer->denormalize($data['disk_backup_policy'], 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicy', 'json', $context)); + $object->setDiskBackupPolicy($this->denormalizer->denormalize($data['disk_backup_policy'], \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicy::class, 'json', $context)); unset($data['disk_backup_policy']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyGetResponse200' => false]; + return [\KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyPatchBodyNormalizer.php b/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyPatchBodyNormalizer.php index 5ca37145..4aa59982 100644 --- a/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyPatchBodyNormalizer.php +++ b/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyPatchBodyNormalizer.php @@ -31,12 +31,12 @@ class DiskBackupPoliciesDiskBackupPolicyPatchBodyNormalizer implements Denormali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchBody'; + return $type === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyPatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyPatchBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('disk_backup_policy', $data)) { - $object->setDiskBackupPolicy($this->denormalizer->denormalize($data['disk_backup_policy'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyLookup', 'json', $context)); + $object->setDiskBackupPolicy($this->denormalizer->denormalize($data['disk_backup_policy'], \KatapultAPI\Core\Model\DiskBackupPolicyLookup::class, 'json', $context)); unset($data['disk_backup_policy']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\DiskBackupPolicyArguments::class, 'json', $context)); unset($data['properties']); } foreach ($data as $key => $value) { @@ -84,7 +84,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchBody' => false]; + return [\KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyPatchBody::class => false]; } } } else { @@ -97,12 +97,12 @@ class DiskBackupPoliciesDiskBackupPolicyPatchBodyNormalizer implements Denormali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchBody'; + return $type === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyPatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyPatchBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -118,11 +118,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('disk_backup_policy', $data)) { - $object->setDiskBackupPolicy($this->denormalizer->denormalize($data['disk_backup_policy'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyLookup', 'json', $context)); + $object->setDiskBackupPolicy($this->denormalizer->denormalize($data['disk_backup_policy'], \KatapultAPI\Core\Model\DiskBackupPolicyLookup::class, 'json', $context)); unset($data['disk_backup_policy']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\DiskBackupPolicyArguments::class, 'json', $context)); unset($data['properties']); } foreach ($data as $key => $value) { @@ -153,7 +153,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchBody' => false]; + return [\KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyPatchBody::class => false]; } } } diff --git a/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicyNormalizer.php b/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicyNormalizer.php index cc15723a..264d549a 100644 --- a/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicyNormalizer.php +++ b/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicyNormalizer.php @@ -31,12 +31,12 @@ class DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicyNormaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicy'; + return $type === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicy::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicy'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicy::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['retention']); } if (\array_key_exists('target', $data)) { - $object->setTarget($this->denormalizer->denormalize($data['target'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyTarget', 'json', $context)); + $object->setTarget($this->denormalizer->denormalize($data['target'], \KatapultAPI\Core\Model\DiskBackupPolicyTarget::class, 'json', $context)); unset($data['target']); } if (\array_key_exists('schedule', $data)) { @@ -110,7 +110,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicy' => false]; + return [\KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicy::class => false]; } } } else { @@ -123,12 +123,12 @@ class DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicyNormaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicy'; + return $type === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicy::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicy'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicy::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -152,7 +152,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['retention']); } if (\array_key_exists('target', $data)) { - $object->setTarget($this->denormalizer->denormalize($data['target'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyTarget', 'json', $context)); + $object->setTarget($this->denormalizer->denormalize($data['target'], \KatapultAPI\Core\Model\DiskBackupPolicyTarget::class, 'json', $context)); unset($data['target']); } if (\array_key_exists('schedule', $data)) { @@ -205,7 +205,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicy' => false]; + return [\KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicy::class => false]; } } } diff --git a/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyPatchResponse200Normalizer.php b/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyPatchResponse200Normalizer.php index e871424a..abd11d3a 100644 --- a/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyPatchResponse200Normalizer.php +++ b/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyPatchResponse200Normalizer.php @@ -31,12 +31,12 @@ class DiskBackupPoliciesDiskBackupPolicyPatchResponse200Normalizer implements De public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200'; + return $type === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyPatchResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyPatchResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('disk_backup_policy', $data)) { - $object->setDiskBackupPolicy($this->denormalizer->denormalize($data['disk_backup_policy'], 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicy', 'json', $context)); + $object->setDiskBackupPolicy($this->denormalizer->denormalize($data['disk_backup_policy'], \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicy::class, 'json', $context)); unset($data['disk_backup_policy']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200' => false]; + return [\KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyPatchResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class DiskBackupPoliciesDiskBackupPolicyPatchResponse200Normalizer implements De public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200'; + return $type === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyPatchResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyPatchResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('disk_backup_policy', $data)) { - $object->setDiskBackupPolicy($this->denormalizer->denormalize($data['disk_backup_policy'], 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicy', 'json', $context)); + $object->setDiskBackupPolicy($this->denormalizer->denormalize($data['disk_backup_policy'], \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicy::class, 'json', $context)); unset($data['disk_backup_policy']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200' => false]; + return [\KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyPatchResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyScheduleDeleteBodyNormalizer.php b/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyScheduleDeleteBodyNormalizer.php index 73922165..ec95ca21 100644 --- a/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyScheduleDeleteBodyNormalizer.php +++ b/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyScheduleDeleteBodyNormalizer.php @@ -31,12 +31,12 @@ class DiskBackupPoliciesDiskBackupPolicyScheduleDeleteBodyNormalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteBody'; + return $type === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('disk_backup_policy', $data)) { - $object->setDiskBackupPolicy($this->denormalizer->denormalize($data['disk_backup_policy'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyLookup', 'json', $context)); + $object->setDiskBackupPolicy($this->denormalizer->denormalize($data['disk_backup_policy'], \KatapultAPI\Core\Model\DiskBackupPolicyLookup::class, 'json', $context)); unset($data['disk_backup_policy']); } if (\array_key_exists('timestamp', $data)) { @@ -84,7 +84,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteBody' => false]; + return [\KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteBody::class => false]; } } } else { @@ -97,12 +97,12 @@ class DiskBackupPoliciesDiskBackupPolicyScheduleDeleteBodyNormalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteBody'; + return $type === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -118,7 +118,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('disk_backup_policy', $data)) { - $object->setDiskBackupPolicy($this->denormalizer->denormalize($data['disk_backup_policy'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyLookup', 'json', $context)); + $object->setDiskBackupPolicy($this->denormalizer->denormalize($data['disk_backup_policy'], \KatapultAPI\Core\Model\DiskBackupPolicyLookup::class, 'json', $context)); unset($data['disk_backup_policy']); } if (\array_key_exists('timestamp', $data)) { @@ -153,7 +153,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteBody' => false]; + return [\KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteBody::class => false]; } } } diff --git a/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicyNormalizer.php b/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicyNormalizer.php index 9296dd74..686c94fc 100644 --- a/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicyNormalizer.php +++ b/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicyNormalizer.php @@ -31,12 +31,12 @@ class DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolic public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicy'; + return $type === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicy::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicy'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicy::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -56,7 +56,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['id']); } if (\array_key_exists('target', $data)) { - $object->setTarget($this->denormalizer->denormalize($data['target'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyTarget', 'json', $context)); + $object->setTarget($this->denormalizer->denormalize($data['target'], \KatapultAPI\Core\Model\DiskBackupPolicyTarget::class, 'json', $context)); unset($data['target']); } if (\array_key_exists('auto_move_to_trash_at', $data) && $data['auto_move_to_trash_at'] !== null) { @@ -97,7 +97,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicy' => false]; + return [\KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicy::class => false]; } } } else { @@ -110,12 +110,12 @@ class DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolic public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicy'; + return $type === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicy::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicy'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicy::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -135,7 +135,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('target', $data)) { - $object->setTarget($this->denormalizer->denormalize($data['target'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyTarget', 'json', $context)); + $object->setTarget($this->denormalizer->denormalize($data['target'], \KatapultAPI\Core\Model\DiskBackupPolicyTarget::class, 'json', $context)); unset($data['target']); } if (\array_key_exists('auto_move_to_trash_at', $data) && $data['auto_move_to_trash_at'] !== null) { @@ -179,7 +179,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicy' => false]; + return [\KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicy::class => false]; } } } diff --git a/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200Normalizer.php b/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200Normalizer.php index b96a11e4..5dfebec1 100644 --- a/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200Normalizer.php +++ b/src/Core/Normalizer/DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200Normalizer.php @@ -31,12 +31,12 @@ class DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200Normalizer impl public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('disk_backup_policy', $data)) { - $object->setDiskBackupPolicy($this->denormalizer->denormalize($data['disk_backup_policy'], 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicy', 'json', $context)); + $object->setDiskBackupPolicy($this->denormalizer->denormalize($data['disk_backup_policy'], \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicy::class, 'json', $context)); unset($data['disk_backup_policy']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200Normalizer impl public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('disk_backup_policy', $data)) { - $object->setDiskBackupPolicy($this->denormalizer->denormalize($data['disk_backup_policy'], 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicy', 'json', $context)); + $object->setDiskBackupPolicy($this->denormalizer->denormalize($data['disk_backup_policy'], \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicy::class, 'json', $context)); unset($data['disk_backup_policy']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/DiskBackupPolicyArgumentsNormalizer.php b/src/Core/Normalizer/DiskBackupPolicyArgumentsNormalizer.php index 502c40a2..09594e61 100644 --- a/src/Core/Normalizer/DiskBackupPolicyArgumentsNormalizer.php +++ b/src/Core/Normalizer/DiskBackupPolicyArgumentsNormalizer.php @@ -31,12 +31,12 @@ class DiskBackupPolicyArgumentsNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskBackupPolicyArguments'; + return $type === \KatapultAPI\Core\Model\DiskBackupPolicyArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskBackupPolicyArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskBackupPolicyArguments::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -56,7 +56,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['retention']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'KatapultAPI\\Core\\Model\\ScheduleArguments', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], \KatapultAPI\Core\Model\ScheduleArguments::class, 'json', $context)); unset($data['schedule']); } foreach ($data as $key => $value) { @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskBackupPolicyArguments' => false]; + return [\KatapultAPI\Core\Model\DiskBackupPolicyArguments::class => false]; } } } else { @@ -101,12 +101,12 @@ class DiskBackupPolicyArgumentsNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskBackupPolicyArguments'; + return $type === \KatapultAPI\Core\Model\DiskBackupPolicyArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskBackupPolicyArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskBackupPolicyArguments::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,7 +126,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['retention']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'KatapultAPI\\Core\\Model\\ScheduleArguments', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], \KatapultAPI\Core\Model\ScheduleArguments::class, 'json', $context)); unset($data['schedule']); } foreach ($data as $key => $value) { @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskBackupPolicyArguments' => false]; + return [\KatapultAPI\Core\Model\DiskBackupPolicyArguments::class => false]; } } } diff --git a/src/Core/Normalizer/DiskBackupPolicyLookupNormalizer.php b/src/Core/Normalizer/DiskBackupPolicyLookupNormalizer.php index 29ab9785..b8f17dc3 100644 --- a/src/Core/Normalizer/DiskBackupPolicyLookupNormalizer.php +++ b/src/Core/Normalizer/DiskBackupPolicyLookupNormalizer.php @@ -31,12 +31,12 @@ class DiskBackupPolicyLookupNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskBackupPolicyLookup'; + return $type === \KatapultAPI\Core\Model\DiskBackupPolicyLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskBackupPolicyLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskBackupPolicyLookup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskBackupPolicyLookup' => false]; + return [\KatapultAPI\Core\Model\DiskBackupPolicyLookup::class => false]; } } } else { @@ -94,12 +94,12 @@ class DiskBackupPolicyLookupNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskBackupPolicyLookup'; + return $type === \KatapultAPI\Core\Model\DiskBackupPolicyLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskBackupPolicyLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskBackupPolicyLookup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskBackupPolicyLookup' => false]; + return [\KatapultAPI\Core\Model\DiskBackupPolicyLookup::class => false]; } } } diff --git a/src/Core/Normalizer/DiskBackupPolicyTargetNormalizer.php b/src/Core/Normalizer/DiskBackupPolicyTargetNormalizer.php index 2d3fb4a0..c7535d02 100644 --- a/src/Core/Normalizer/DiskBackupPolicyTargetNormalizer.php +++ b/src/Core/Normalizer/DiskBackupPolicyTargetNormalizer.php @@ -31,12 +31,12 @@ class DiskBackupPolicyTargetNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskBackupPolicyTarget'; + return $type === \KatapultAPI\Core\Model\DiskBackupPolicyTarget::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskBackupPolicyTarget'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskBackupPolicyTarget::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskBackupPolicyTarget' => false]; + return [\KatapultAPI\Core\Model\DiskBackupPolicyTarget::class => false]; } } } else { @@ -94,12 +94,12 @@ class DiskBackupPolicyTargetNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskBackupPolicyTarget'; + return $type === \KatapultAPI\Core\Model\DiskBackupPolicyTarget::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskBackupPolicyTarget'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskBackupPolicyTarget::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskBackupPolicyTarget' => false]; + return [\KatapultAPI\Core\Model\DiskBackupPolicyTarget::class => false]; } } } diff --git a/src/Core/Normalizer/DiskIOProfileLookupNormalizer.php b/src/Core/Normalizer/DiskIOProfileLookupNormalizer.php index 35d50ae8..8db757b7 100644 --- a/src/Core/Normalizer/DiskIOProfileLookupNormalizer.php +++ b/src/Core/Normalizer/DiskIOProfileLookupNormalizer.php @@ -31,12 +31,12 @@ class DiskIOProfileLookupNormalizer implements DenormalizerInterface, Normalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskIOProfileLookup'; + return $type === \KatapultAPI\Core\Model\DiskIOProfileLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskIOProfileLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskIOProfileLookup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskIOProfileLookup' => false]; + return [\KatapultAPI\Core\Model\DiskIOProfileLookup::class => false]; } } } else { @@ -101,12 +101,12 @@ class DiskIOProfileLookupNormalizer implements DenormalizerInterface, Normalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskIOProfileLookup'; + return $type === \KatapultAPI\Core\Model\DiskIOProfileLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskIOProfileLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskIOProfileLookup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskIOProfileLookup' => false]; + return [\KatapultAPI\Core\Model\DiskIOProfileLookup::class => false]; } } } diff --git a/src/Core/Normalizer/DiskIOProfileNormalizer.php b/src/Core/Normalizer/DiskIOProfileNormalizer.php index 18fcafcd..d105e1e6 100644 --- a/src/Core/Normalizer/DiskIOProfileNormalizer.php +++ b/src/Core/Normalizer/DiskIOProfileNormalizer.php @@ -31,12 +31,12 @@ class DiskIOProfileNormalizer implements DenormalizerInterface, NormalizerInterf public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskIOProfile'; + return $type === \KatapultAPI\Core\Model\DiskIOProfile::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskIOProfile'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskIOProfile::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -113,7 +113,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskIOProfile' => false]; + return [\KatapultAPI\Core\Model\DiskIOProfile::class => false]; } } } else { @@ -126,12 +126,12 @@ class DiskIOProfileNormalizer implements DenormalizerInterface, NormalizerInterf public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskIOProfile'; + return $type === \KatapultAPI\Core\Model\DiskIOProfile::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskIOProfile'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskIOProfile::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -211,7 +211,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskIOProfile' => false]; + return [\KatapultAPI\Core\Model\DiskIOProfile::class => false]; } } } diff --git a/src/Core/Normalizer/DiskIOProfileNotFoundSchemaNormalizer.php b/src/Core/Normalizer/DiskIOProfileNotFoundSchemaNormalizer.php index 20eb9450..9e8a236a 100644 --- a/src/Core/Normalizer/DiskIOProfileNotFoundSchemaNormalizer.php +++ b/src/Core/Normalizer/DiskIOProfileNotFoundSchemaNormalizer.php @@ -31,12 +31,12 @@ class DiskIOProfileNotFoundSchemaNormalizer implements DenormalizerInterface, No public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskIOProfileNotFoundSchema'; + return $type === \KatapultAPI\Core\Model\DiskIOProfileNotFoundSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskIOProfileNotFoundSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskIOProfileNotFoundSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskIOProfileNotFoundSchema' => false]; + return [\KatapultAPI\Core\Model\DiskIOProfileNotFoundSchema::class => false]; } } } else { @@ -116,12 +116,12 @@ class DiskIOProfileNotFoundSchemaNormalizer implements DenormalizerInterface, No public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskIOProfileNotFoundSchema'; + return $type === \KatapultAPI\Core\Model\DiskIOProfileNotFoundSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskIOProfileNotFoundSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskIOProfileNotFoundSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskIOProfileNotFoundSchema' => false]; + return [\KatapultAPI\Core\Model\DiskIOProfileNotFoundSchema::class => false]; } } } diff --git a/src/Core/Normalizer/DiskInstallationAttributeNormalizer.php b/src/Core/Normalizer/DiskInstallationAttributeNormalizer.php index 09627d18..846a66d3 100644 --- a/src/Core/Normalizer/DiskInstallationAttributeNormalizer.php +++ b/src/Core/Normalizer/DiskInstallationAttributeNormalizer.php @@ -31,12 +31,12 @@ class DiskInstallationAttributeNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskInstallationAttribute'; + return $type === \KatapultAPI\Core\Model\DiskInstallationAttribute::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskInstallationAttribute'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskInstallationAttribute::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -113,7 +113,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskInstallationAttribute' => false]; + return [\KatapultAPI\Core\Model\DiskInstallationAttribute::class => false]; } } } else { @@ -126,12 +126,12 @@ class DiskInstallationAttributeNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskInstallationAttribute'; + return $type === \KatapultAPI\Core\Model\DiskInstallationAttribute::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskInstallationAttribute'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskInstallationAttribute::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -211,7 +211,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskInstallationAttribute' => false]; + return [\KatapultAPI\Core\Model\DiskInstallationAttribute::class => false]; } } } diff --git a/src/Core/Normalizer/DiskInstallationNormalizer.php b/src/Core/Normalizer/DiskInstallationNormalizer.php index ba71c760..cf90141e 100644 --- a/src/Core/Normalizer/DiskInstallationNormalizer.php +++ b/src/Core/Normalizer/DiskInstallationNormalizer.php @@ -31,12 +31,12 @@ class DiskInstallationNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskInstallation'; + return $type === \KatapultAPI\Core\Model\DiskInstallation::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskInstallation'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskInstallation::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -56,13 +56,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['id']); } if (\array_key_exists('disk_template_version', $data)) { - $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], 'KatapultAPI\\Core\\Model\\DiskTemplateVersion', 'json', $context)); + $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], \KatapultAPI\Core\Model\DiskTemplateVersion::class, 'json', $context)); unset($data['disk_template_version']); } if (\array_key_exists('attributes', $data)) { $values = []; foreach ($data['attributes'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\DiskInstallationAttribute', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\DiskInstallationAttribute::class, 'json', $context); } $object->setAttributes($values); unset($data['attributes']); @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskInstallation' => false]; + return [\KatapultAPI\Core\Model\DiskInstallation::class => false]; } } } else { @@ -116,12 +116,12 @@ class DiskInstallationNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskInstallation'; + return $type === \KatapultAPI\Core\Model\DiskInstallation::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskInstallation'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskInstallation::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -141,13 +141,13 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('disk_template_version', $data)) { - $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], 'KatapultAPI\\Core\\Model\\DiskTemplateVersion', 'json', $context)); + $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], \KatapultAPI\Core\Model\DiskTemplateVersion::class, 'json', $context)); unset($data['disk_template_version']); } if (\array_key_exists('attributes', $data)) { $values = []; foreach ($data['attributes'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\DiskInstallationAttribute', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\DiskInstallationAttribute::class, 'json', $context); } $object->setAttributes($values); unset($data['attributes']); @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskInstallation' => false]; + return [\KatapultAPI\Core\Model\DiskInstallation::class => false]; } } } diff --git a/src/Core/Normalizer/DiskIoProfileNormalizer.php b/src/Core/Normalizer/DiskIoProfileNormalizer.php index f4dc3847..b5e1f880 100644 --- a/src/Core/Normalizer/DiskIoProfileNormalizer.php +++ b/src/Core/Normalizer/DiskIoProfileNormalizer.php @@ -31,12 +31,12 @@ class DiskIoProfileNormalizer implements DenormalizerInterface, NormalizerInterf public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskIoProfile'; + return $type === \KatapultAPI\Core\Model\DiskIoProfile::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskIoProfile'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskIoProfile::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -113,7 +113,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskIoProfile' => false]; + return [\KatapultAPI\Core\Model\DiskIoProfile::class => false]; } } } else { @@ -126,12 +126,12 @@ class DiskIoProfileNormalizer implements DenormalizerInterface, NormalizerInterf public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskIoProfile'; + return $type === \KatapultAPI\Core\Model\DiskIoProfile::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskIoProfile'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskIoProfile::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -211,7 +211,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskIoProfile' => false]; + return [\KatapultAPI\Core\Model\DiskIoProfile::class => false]; } } } diff --git a/src/Core/Normalizer/DiskLookupNormalizer.php b/src/Core/Normalizer/DiskLookupNormalizer.php index 05754295..30bb95cb 100644 --- a/src/Core/Normalizer/DiskLookupNormalizer.php +++ b/src/Core/Normalizer/DiskLookupNormalizer.php @@ -31,12 +31,12 @@ class DiskLookupNormalizer implements DenormalizerInterface, NormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskLookup'; + return $type === \KatapultAPI\Core\Model\DiskLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskLookup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskLookup' => false]; + return [\KatapultAPI\Core\Model\DiskLookup::class => false]; } } } else { @@ -94,12 +94,12 @@ class DiskLookupNormalizer implements DenormalizerInterface, NormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskLookup'; + return $type === \KatapultAPI\Core\Model\DiskLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskLookup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskLookup' => false]; + return [\KatapultAPI\Core\Model\DiskLookup::class => false]; } } } diff --git a/src/Core/Normalizer/DiskNormalizer.php b/src/Core/Normalizer/DiskNormalizer.php index bbc99531..f802c1d8 100644 --- a/src/Core/Normalizer/DiskNormalizer.php +++ b/src/Core/Normalizer/DiskNormalizer.php @@ -31,12 +31,12 @@ class DiskNormalizer implements DenormalizerInterface, NormalizerInterface, Deno public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\Disk'; + return $type === \KatapultAPI\Core\Model\Disk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\Disk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\Disk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -80,7 +80,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\DiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\DiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -92,17 +92,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\DataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\DataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\DiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\DiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\DiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\DiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -166,7 +166,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\Disk' => false]; + return [\KatapultAPI\Core\Model\Disk::class => false]; } } } else { @@ -179,12 +179,12 @@ class DiskNormalizer implements DenormalizerInterface, NormalizerInterface, Deno public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\Disk'; + return $type === \KatapultAPI\Core\Model\Disk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\Disk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\Disk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -228,7 +228,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\DiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\DiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -240,17 +240,17 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\DataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\DataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\DiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\DiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\DiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\DiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -317,7 +317,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\Disk' => false]; + return [\KatapultAPI\Core\Model\Disk::class => false]; } } } diff --git a/src/Core/Normalizer/DiskNotFoundSchemaNormalizer.php b/src/Core/Normalizer/DiskNotFoundSchemaNormalizer.php index 9c1e49c4..c1815ec7 100644 --- a/src/Core/Normalizer/DiskNotFoundSchemaNormalizer.php +++ b/src/Core/Normalizer/DiskNotFoundSchemaNormalizer.php @@ -31,12 +31,12 @@ class DiskNotFoundSchemaNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskNotFoundSchema'; + return $type === \KatapultAPI\Core\Model\DiskNotFoundSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskNotFoundSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskNotFoundSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskNotFoundSchema' => false]; + return [\KatapultAPI\Core\Model\DiskNotFoundSchema::class => false]; } } } else { @@ -116,12 +116,12 @@ class DiskNotFoundSchemaNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskNotFoundSchema'; + return $type === \KatapultAPI\Core\Model\DiskNotFoundSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskNotFoundSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskNotFoundSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskNotFoundSchema' => false]; + return [\KatapultAPI\Core\Model\DiskNotFoundSchema::class => false]; } } } diff --git a/src/Core/Normalizer/DiskTemplateLatestVersionNormalizer.php b/src/Core/Normalizer/DiskTemplateLatestVersionNormalizer.php index c13a6cd9..66916c86 100644 --- a/src/Core/Normalizer/DiskTemplateLatestVersionNormalizer.php +++ b/src/Core/Normalizer/DiskTemplateLatestVersionNormalizer.php @@ -31,12 +31,12 @@ class DiskTemplateLatestVersionNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskTemplateLatestVersion'; + return $type === \KatapultAPI\Core\Model\DiskTemplateLatestVersion::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskTemplateLatestVersion'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskTemplateLatestVersion::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -68,7 +68,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['size_in_gb']); } if (\array_key_exists('disk_template', $data)) { - $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], 'KatapultAPI\\Core\\Model\\DiskTemplate', 'json', $context)); + $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], \KatapultAPI\Core\Model\DiskTemplate::class, 'json', $context)); unset($data['disk_template']); } foreach ($data as $key => $value) { @@ -109,7 +109,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskTemplateLatestVersion' => false]; + return [\KatapultAPI\Core\Model\DiskTemplateLatestVersion::class => false]; } } } else { @@ -122,12 +122,12 @@ class DiskTemplateLatestVersionNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskTemplateLatestVersion'; + return $type === \KatapultAPI\Core\Model\DiskTemplateLatestVersion::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskTemplateLatestVersion'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskTemplateLatestVersion::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -159,7 +159,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['size_in_gb']); } if (\array_key_exists('disk_template', $data)) { - $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], 'KatapultAPI\\Core\\Model\\DiskTemplate', 'json', $context)); + $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], \KatapultAPI\Core\Model\DiskTemplate::class, 'json', $context)); unset($data['disk_template']); } foreach ($data as $key => $value) { @@ -203,7 +203,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskTemplateLatestVersion' => false]; + return [\KatapultAPI\Core\Model\DiskTemplateLatestVersion::class => false]; } } } diff --git a/src/Core/Normalizer/DiskTemplateLookupNormalizer.php b/src/Core/Normalizer/DiskTemplateLookupNormalizer.php index 93d79263..f13a848c 100644 --- a/src/Core/Normalizer/DiskTemplateLookupNormalizer.php +++ b/src/Core/Normalizer/DiskTemplateLookupNormalizer.php @@ -31,12 +31,12 @@ class DiskTemplateLookupNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskTemplateLookup'; + return $type === \KatapultAPI\Core\Model\DiskTemplateLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskTemplateLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskTemplateLookup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskTemplateLookup' => false]; + return [\KatapultAPI\Core\Model\DiskTemplateLookup::class => false]; } } } else { @@ -101,12 +101,12 @@ class DiskTemplateLookupNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskTemplateLookup'; + return $type === \KatapultAPI\Core\Model\DiskTemplateLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskTemplateLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskTemplateLookup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskTemplateLookup' => false]; + return [\KatapultAPI\Core\Model\DiskTemplateLookup::class => false]; } } } diff --git a/src/Core/Normalizer/DiskTemplateNormalizer.php b/src/Core/Normalizer/DiskTemplateNormalizer.php index a350405e..0db8c20a 100644 --- a/src/Core/Normalizer/DiskTemplateNormalizer.php +++ b/src/Core/Normalizer/DiskTemplateNormalizer.php @@ -31,12 +31,12 @@ class DiskTemplateNormalizer implements DenormalizerInterface, NormalizerInterfa public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskTemplate'; + return $type === \KatapultAPI\Core\Model\DiskTemplate::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskTemplate'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskTemplate::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -80,13 +80,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setSizeInGb(null); } if (\array_key_exists('latest_version', $data) && $data['latest_version'] !== null) { - $object->setLatestVersion($this->denormalizer->denormalize($data['latest_version'], 'KatapultAPI\\Core\\Model\\DiskTemplateLatestVersion', 'json', $context)); + $object->setLatestVersion($this->denormalizer->denormalize($data['latest_version'], \KatapultAPI\Core\Model\DiskTemplateLatestVersion::class, 'json', $context)); unset($data['latest_version']); } elseif (\array_key_exists('latest_version', $data) && $data['latest_version'] === null) { $object->setLatestVersion(null); } if (\array_key_exists('operating_system', $data) && $data['operating_system'] !== null) { - $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'KatapultAPI\\Core\\Model\\DiskTemplateOperatingSystem', 'json', $context)); + $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], \KatapultAPI\Core\Model\DiskTemplateOperatingSystem::class, 'json', $context)); unset($data['operating_system']); } elseif (\array_key_exists('operating_system', $data) && $data['operating_system'] === null) { $object->setOperatingSystem(null); @@ -138,7 +138,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskTemplate' => false]; + return [\KatapultAPI\Core\Model\DiskTemplate::class => false]; } } } else { @@ -151,12 +151,12 @@ class DiskTemplateNormalizer implements DenormalizerInterface, NormalizerInterfa public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskTemplate'; + return $type === \KatapultAPI\Core\Model\DiskTemplate::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskTemplate'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskTemplate::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -200,13 +200,13 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setSizeInGb(null); } if (\array_key_exists('latest_version', $data) && $data['latest_version'] !== null) { - $object->setLatestVersion($this->denormalizer->denormalize($data['latest_version'], 'KatapultAPI\\Core\\Model\\DiskTemplateLatestVersion', 'json', $context)); + $object->setLatestVersion($this->denormalizer->denormalize($data['latest_version'], \KatapultAPI\Core\Model\DiskTemplateLatestVersion::class, 'json', $context)); unset($data['latest_version']); } elseif (\array_key_exists('latest_version', $data) && $data['latest_version'] === null) { $object->setLatestVersion(null); } if (\array_key_exists('operating_system', $data) && $data['operating_system'] !== null) { - $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'KatapultAPI\\Core\\Model\\DiskTemplateOperatingSystem', 'json', $context)); + $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], \KatapultAPI\Core\Model\DiskTemplateOperatingSystem::class, 'json', $context)); unset($data['operating_system']); } elseif (\array_key_exists('operating_system', $data) && $data['operating_system'] === null) { $object->setOperatingSystem(null); @@ -261,7 +261,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskTemplate' => false]; + return [\KatapultAPI\Core\Model\DiskTemplate::class => false]; } } } diff --git a/src/Core/Normalizer/DiskTemplateNotFoundSchemaNormalizer.php b/src/Core/Normalizer/DiskTemplateNotFoundSchemaNormalizer.php index db8f8b4a..f32aa48f 100644 --- a/src/Core/Normalizer/DiskTemplateNotFoundSchemaNormalizer.php +++ b/src/Core/Normalizer/DiskTemplateNotFoundSchemaNormalizer.php @@ -31,12 +31,12 @@ class DiskTemplateNotFoundSchemaNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskTemplateNotFoundSchema'; + return $type === \KatapultAPI\Core\Model\DiskTemplateNotFoundSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskTemplateNotFoundSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskTemplateNotFoundSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskTemplateNotFoundSchema' => false]; + return [\KatapultAPI\Core\Model\DiskTemplateNotFoundSchema::class => false]; } } } else { @@ -116,12 +116,12 @@ class DiskTemplateNotFoundSchemaNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskTemplateNotFoundSchema'; + return $type === \KatapultAPI\Core\Model\DiskTemplateNotFoundSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskTemplateNotFoundSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskTemplateNotFoundSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskTemplateNotFoundSchema' => false]; + return [\KatapultAPI\Core\Model\DiskTemplateNotFoundSchema::class => false]; } } } diff --git a/src/Core/Normalizer/DiskTemplateOperatingSystemNormalizer.php b/src/Core/Normalizer/DiskTemplateOperatingSystemNormalizer.php index 984739de..dfded072 100644 --- a/src/Core/Normalizer/DiskTemplateOperatingSystemNormalizer.php +++ b/src/Core/Normalizer/DiskTemplateOperatingSystemNormalizer.php @@ -31,12 +31,12 @@ class DiskTemplateOperatingSystemNormalizer implements DenormalizerInterface, No public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskTemplateOperatingSystem'; + return $type === \KatapultAPI\Core\Model\DiskTemplateOperatingSystem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskTemplateOperatingSystem'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskTemplateOperatingSystem::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['name']); } if (\array_key_exists('badge', $data) && $data['badge'] !== null) { - $object->setBadge($this->denormalizer->denormalize($data['badge'], 'KatapultAPI\\Core\\Model\\OperatingSystemBadge', 'json', $context)); + $object->setBadge($this->denormalizer->denormalize($data['badge'], \KatapultAPI\Core\Model\OperatingSystemBadge::class, 'json', $context)); unset($data['badge']); } elseif (\array_key_exists('badge', $data) && $data['badge'] === null) { $object->setBadge(null); @@ -97,7 +97,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskTemplateOperatingSystem' => false]; + return [\KatapultAPI\Core\Model\DiskTemplateOperatingSystem::class => false]; } } } else { @@ -110,12 +110,12 @@ class DiskTemplateOperatingSystemNormalizer implements DenormalizerInterface, No public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskTemplateOperatingSystem'; + return $type === \KatapultAPI\Core\Model\DiskTemplateOperatingSystem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskTemplateOperatingSystem'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskTemplateOperatingSystem::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -139,7 +139,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('badge', $data) && $data['badge'] !== null) { - $object->setBadge($this->denormalizer->denormalize($data['badge'], 'KatapultAPI\\Core\\Model\\OperatingSystemBadge', 'json', $context)); + $object->setBadge($this->denormalizer->denormalize($data['badge'], \KatapultAPI\Core\Model\OperatingSystemBadge::class, 'json', $context)); unset($data['badge']); } elseif (\array_key_exists('badge', $data) && $data['badge'] === null) { $object->setBadge(null); @@ -179,7 +179,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskTemplateOperatingSystem' => false]; + return [\KatapultAPI\Core\Model\DiskTemplateOperatingSystem::class => false]; } } } diff --git a/src/Core/Normalizer/DiskTemplateVersionNormalizer.php b/src/Core/Normalizer/DiskTemplateVersionNormalizer.php index 7ef72256..222e18c6 100644 --- a/src/Core/Normalizer/DiskTemplateVersionNormalizer.php +++ b/src/Core/Normalizer/DiskTemplateVersionNormalizer.php @@ -31,12 +31,12 @@ class DiskTemplateVersionNormalizer implements DenormalizerInterface, Normalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskTemplateVersion'; + return $type === \KatapultAPI\Core\Model\DiskTemplateVersion::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskTemplateVersion'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskTemplateVersion::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -68,7 +68,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['size_in_gb']); } if (\array_key_exists('disk_template', $data)) { - $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], 'KatapultAPI\\Core\\Model\\DiskTemplate', 'json', $context)); + $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], \KatapultAPI\Core\Model\DiskTemplate::class, 'json', $context)); unset($data['disk_template']); } foreach ($data as $key => $value) { @@ -109,7 +109,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskTemplateVersion' => false]; + return [\KatapultAPI\Core\Model\DiskTemplateVersion::class => false]; } } } else { @@ -122,12 +122,12 @@ class DiskTemplateVersionNormalizer implements DenormalizerInterface, Normalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskTemplateVersion'; + return $type === \KatapultAPI\Core\Model\DiskTemplateVersion::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskTemplateVersion'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskTemplateVersion::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -159,7 +159,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['size_in_gb']); } if (\array_key_exists('disk_template', $data)) { - $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], 'KatapultAPI\\Core\\Model\\DiskTemplate', 'json', $context)); + $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], \KatapultAPI\Core\Model\DiskTemplate::class, 'json', $context)); unset($data['disk_template']); } foreach ($data as $key => $value) { @@ -203,7 +203,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskTemplateVersion' => false]; + return [\KatapultAPI\Core\Model\DiskTemplateVersion::class => false]; } } } diff --git a/src/Core/Normalizer/DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersionNormalizer.php b/src/Core/Normalizer/DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersionNormalizer.php index 79d7df1e..60442d4d 100644 --- a/src/Core/Normalizer/DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersionNormalizer.php +++ b/src/Core/Normalizer/DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersionNormalizer.php @@ -31,12 +31,12 @@ class DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersionNo public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersion'; + return $type === \KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersion::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersion'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersion::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -68,7 +68,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['size_in_gb']); } if (\array_key_exists('disk_template', $data)) { - $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersionPartDiskTemplate', 'json', $context)); + $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], \KatapultAPI\Core\Model\GetDiskTemplateVersionPartDiskTemplate::class, 'json', $context)); unset($data['disk_template']); } foreach ($data as $key => $value) { @@ -109,7 +109,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersion' => false]; + return [\KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersion::class => false]; } } } else { @@ -122,12 +122,12 @@ class DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersionNo public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersion'; + return $type === \KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersion::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersion'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersion::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -159,7 +159,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['size_in_gb']); } if (\array_key_exists('disk_template', $data)) { - $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersionPartDiskTemplate', 'json', $context)); + $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], \KatapultAPI\Core\Model\GetDiskTemplateVersionPartDiskTemplate::class, 'json', $context)); unset($data['disk_template']); } foreach ($data as $key => $value) { @@ -203,7 +203,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersion' => false]; + return [\KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersion::class => false]; } } } diff --git a/src/Core/Normalizer/DiskTemplateVersionsDiskTemplateVersionGetResponse200Normalizer.php b/src/Core/Normalizer/DiskTemplateVersionsDiskTemplateVersionGetResponse200Normalizer.php index aa5f3bda..88fc7f95 100644 --- a/src/Core/Normalizer/DiskTemplateVersionsDiskTemplateVersionGetResponse200Normalizer.php +++ b/src/Core/Normalizer/DiskTemplateVersionsDiskTemplateVersionGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class DiskTemplateVersionsDiskTemplateVersionGetResponse200Normalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionGetResponse200'; + return $type === \KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('disk_template_version', $data)) { - $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersion', 'json', $context)); + $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], \KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersion::class, 'json', $context)); unset($data['disk_template_version']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionGetResponse200' => false]; + return [\KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionGetResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class DiskTemplateVersionsDiskTemplateVersionGetResponse200Normalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionGetResponse200'; + return $type === \KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('disk_template_version', $data)) { - $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersion', 'json', $context)); + $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], \KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersion::class, 'json', $context)); unset($data['disk_template_version']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionGetResponse200' => false]; + return [\KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersionNormalizer.php b/src/Core/Normalizer/DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersionNormalizer.php index c8c2aece..80ea20c0 100644 --- a/src/Core/Normalizer/DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersionNormalizer.php +++ b/src/Core/Normalizer/DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersionNormalizer.php @@ -31,12 +31,12 @@ class DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersi public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersion'; + return $type === \KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersion::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersion'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersion::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -68,7 +68,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['size_in_gb']); } if (\array_key_exists('disk_template', $data)) { - $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersionSpecPartDiskTemplate', 'json', $context)); + $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], \KatapultAPI\Core\Model\GetDiskTemplateVersionSpecPartDiskTemplate::class, 'json', $context)); unset($data['disk_template']); } foreach ($data as $key => $value) { @@ -109,7 +109,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersion' => false]; + return [\KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersion::class => false]; } } } else { @@ -122,12 +122,12 @@ class DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersi public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersion'; + return $type === \KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersion::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersion'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersion::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -159,7 +159,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['size_in_gb']); } if (\array_key_exists('disk_template', $data)) { - $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersionSpecPartDiskTemplate', 'json', $context)); + $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], \KatapultAPI\Core\Model\GetDiskTemplateVersionSpecPartDiskTemplate::class, 'json', $context)); unset($data['disk_template']); } foreach ($data as $key => $value) { @@ -203,7 +203,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersion' => false]; + return [\KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersion::class => false]; } } } diff --git a/src/Core/Normalizer/DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200Normalizer.php b/src/Core/Normalizer/DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200Normalizer.php index 5724b94d..410fb805 100644 --- a/src/Core/Normalizer/DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200Normalizer.php +++ b/src/Core/Normalizer/DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200Normalizer implem public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200'; + return $type === \KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('disk_template_version', $data)) { - $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersion', 'json', $context)); + $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], \KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersion::class, 'json', $context)); unset($data['disk_template_version']); } if (\array_key_exists('spec', $data)) { - $object->setSpec($this->denormalizer->denormalize($data['spec'], 'KatapultAPI\\Core\\Model\\TemplateSpec', 'json', $context)); + $object->setSpec($this->denormalizer->denormalize($data['spec'], \KatapultAPI\Core\Model\TemplateSpec::class, 'json', $context)); unset($data['spec']); } foreach ($data as $key => $value) { @@ -84,7 +84,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200' => false]; + return [\KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200::class => false]; } } } else { @@ -97,12 +97,12 @@ class DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200Normalizer implem public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200'; + return $type === \KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -118,11 +118,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('disk_template_version', $data)) { - $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersion', 'json', $context)); + $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], \KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersion::class, 'json', $context)); unset($data['disk_template_version']); } if (\array_key_exists('spec', $data)) { - $object->setSpec($this->denormalizer->denormalize($data['spec'], 'KatapultAPI\\Core\\Model\\TemplateSpec', 'json', $context)); + $object->setSpec($this->denormalizer->denormalize($data['spec'], \KatapultAPI\Core\Model\TemplateSpec::class, 'json', $context)); unset($data['spec']); } foreach ($data as $key => $value) { @@ -153,7 +153,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200' => false]; + return [\KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/DiskTemplatesDiskTemplateGetResponse200DiskTemplateNormalizer.php b/src/Core/Normalizer/DiskTemplatesDiskTemplateGetResponse200DiskTemplateNormalizer.php index efd6f63a..09b10d59 100644 --- a/src/Core/Normalizer/DiskTemplatesDiskTemplateGetResponse200DiskTemplateNormalizer.php +++ b/src/Core/Normalizer/DiskTemplatesDiskTemplateGetResponse200DiskTemplateNormalizer.php @@ -31,12 +31,12 @@ class DiskTemplatesDiskTemplateGetResponse200DiskTemplateNormalizer implements D public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskTemplatesDiskTemplateGetResponse200DiskTemplate'; + return $type === \KatapultAPI\Core\Model\DiskTemplatesDiskTemplateGetResponse200DiskTemplate::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskTemplatesDiskTemplateGetResponse200DiskTemplate'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskTemplatesDiskTemplateGetResponse200DiskTemplate::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -80,13 +80,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setSizeInGb(null); } if (\array_key_exists('latest_version', $data) && $data['latest_version'] !== null) { - $object->setLatestVersion($this->denormalizer->denormalize($data['latest_version'], 'KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplateLatestVersion', 'json', $context)); + $object->setLatestVersion($this->denormalizer->denormalize($data['latest_version'], \KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplateLatestVersion::class, 'json', $context)); unset($data['latest_version']); } elseif (\array_key_exists('latest_version', $data) && $data['latest_version'] === null) { $object->setLatestVersion(null); } if (\array_key_exists('operating_system', $data) && $data['operating_system'] !== null) { - $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplateOperatingSystem', 'json', $context)); + $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], \KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplateOperatingSystem::class, 'json', $context)); unset($data['operating_system']); } elseif (\array_key_exists('operating_system', $data) && $data['operating_system'] === null) { $object->setOperatingSystem(null); @@ -138,7 +138,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskTemplatesDiskTemplateGetResponse200DiskTemplate' => false]; + return [\KatapultAPI\Core\Model\DiskTemplatesDiskTemplateGetResponse200DiskTemplate::class => false]; } } } else { @@ -151,12 +151,12 @@ class DiskTemplatesDiskTemplateGetResponse200DiskTemplateNormalizer implements D public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskTemplatesDiskTemplateGetResponse200DiskTemplate'; + return $type === \KatapultAPI\Core\Model\DiskTemplatesDiskTemplateGetResponse200DiskTemplate::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskTemplatesDiskTemplateGetResponse200DiskTemplate'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskTemplatesDiskTemplateGetResponse200DiskTemplate::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -200,13 +200,13 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setSizeInGb(null); } if (\array_key_exists('latest_version', $data) && $data['latest_version'] !== null) { - $object->setLatestVersion($this->denormalizer->denormalize($data['latest_version'], 'KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplateLatestVersion', 'json', $context)); + $object->setLatestVersion($this->denormalizer->denormalize($data['latest_version'], \KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplateLatestVersion::class, 'json', $context)); unset($data['latest_version']); } elseif (\array_key_exists('latest_version', $data) && $data['latest_version'] === null) { $object->setLatestVersion(null); } if (\array_key_exists('operating_system', $data) && $data['operating_system'] !== null) { - $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplateOperatingSystem', 'json', $context)); + $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], \KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplateOperatingSystem::class, 'json', $context)); unset($data['operating_system']); } elseif (\array_key_exists('operating_system', $data) && $data['operating_system'] === null) { $object->setOperatingSystem(null); @@ -261,7 +261,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskTemplatesDiskTemplateGetResponse200DiskTemplate' => false]; + return [\KatapultAPI\Core\Model\DiskTemplatesDiskTemplateGetResponse200DiskTemplate::class => false]; } } } diff --git a/src/Core/Normalizer/DiskTemplatesDiskTemplateGetResponse200Normalizer.php b/src/Core/Normalizer/DiskTemplatesDiskTemplateGetResponse200Normalizer.php index c42cb87d..2ccf7555 100644 --- a/src/Core/Normalizer/DiskTemplatesDiskTemplateGetResponse200Normalizer.php +++ b/src/Core/Normalizer/DiskTemplatesDiskTemplateGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class DiskTemplatesDiskTemplateGetResponse200Normalizer implements DenormalizerI public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskTemplatesDiskTemplateGetResponse200'; + return $type === \KatapultAPI\Core\Model\DiskTemplatesDiskTemplateGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskTemplatesDiskTemplateGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskTemplatesDiskTemplateGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('disk_template', $data)) { - $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], 'KatapultAPI\\Core\\Model\\DiskTemplatesDiskTemplateGetResponse200DiskTemplate', 'json', $context)); + $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], \KatapultAPI\Core\Model\DiskTemplatesDiskTemplateGetResponse200DiskTemplate::class, 'json', $context)); unset($data['disk_template']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskTemplatesDiskTemplateGetResponse200' => false]; + return [\KatapultAPI\Core\Model\DiskTemplatesDiskTemplateGetResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class DiskTemplatesDiskTemplateGetResponse200Normalizer implements DenormalizerI public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskTemplatesDiskTemplateGetResponse200'; + return $type === \KatapultAPI\Core\Model\DiskTemplatesDiskTemplateGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskTemplatesDiskTemplateGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskTemplatesDiskTemplateGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('disk_template', $data)) { - $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], 'KatapultAPI\\Core\\Model\\DiskTemplatesDiskTemplateGetResponse200DiskTemplate', 'json', $context)); + $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], \KatapultAPI\Core\Model\DiskTemplatesDiskTemplateGetResponse200DiskTemplate::class, 'json', $context)); unset($data['disk_template']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskTemplatesDiskTemplateGetResponse200' => false]; + return [\KatapultAPI\Core\Model\DiskTemplatesDiskTemplateGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/DiskTemplatesDiskTemplateVersionsGetResponse200Normalizer.php b/src/Core/Normalizer/DiskTemplatesDiskTemplateVersionsGetResponse200Normalizer.php index b9086696..5f6bdde1 100644 --- a/src/Core/Normalizer/DiskTemplatesDiskTemplateVersionsGetResponse200Normalizer.php +++ b/src/Core/Normalizer/DiskTemplatesDiskTemplateVersionsGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class DiskTemplatesDiskTemplateVersionsGetResponse200Normalizer implements Denor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskTemplatesDiskTemplateVersionsGetResponse200'; + return $type === \KatapultAPI\Core\Model\DiskTemplatesDiskTemplateVersionsGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskTemplatesDiskTemplateVersionsGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskTemplatesDiskTemplateVersionsGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,17 +52,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('disk_template', $data)) { - $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersions200ResponseDiskTemplate', 'json', $context)); + $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], \KatapultAPI\Core\Model\GetDiskTemplateVersions200ResponseDiskTemplate::class, 'json', $context)); unset($data['disk_template']); } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('disk_template_versions', $data)) { $values = []; foreach ($data['disk_template_versions'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersions200ResponseDiskTemplateVersions', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetDiskTemplateVersions200ResponseDiskTemplateVersions::class, 'json', $context); } $object->setDiskTemplateVersions($values); unset($data['disk_template_versions']); @@ -97,7 +97,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskTemplatesDiskTemplateVersionsGetResponse200' => false]; + return [\KatapultAPI\Core\Model\DiskTemplatesDiskTemplateVersionsGetResponse200::class => false]; } } } else { @@ -110,12 +110,12 @@ class DiskTemplatesDiskTemplateVersionsGetResponse200Normalizer implements Denor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskTemplatesDiskTemplateVersionsGetResponse200'; + return $type === \KatapultAPI\Core\Model\DiskTemplatesDiskTemplateVersionsGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskTemplatesDiskTemplateVersionsGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskTemplatesDiskTemplateVersionsGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -131,17 +131,17 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('disk_template', $data)) { - $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersions200ResponseDiskTemplate', 'json', $context)); + $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], \KatapultAPI\Core\Model\GetDiskTemplateVersions200ResponseDiskTemplate::class, 'json', $context)); unset($data['disk_template']); } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('disk_template_versions', $data)) { $values = []; foreach ($data['disk_template_versions'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersions200ResponseDiskTemplateVersions', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetDiskTemplateVersions200ResponseDiskTemplateVersions::class, 'json', $context); } $object->setDiskTemplateVersions($values); unset($data['disk_template_versions']); @@ -179,7 +179,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskTemplatesDiskTemplateVersionsGetResponse200' => false]; + return [\KatapultAPI\Core\Model\DiskTemplatesDiskTemplateVersionsGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/DiskVirtualMachineDiskNormalizer.php b/src/Core/Normalizer/DiskVirtualMachineDiskNormalizer.php index c49d2112..75ab320f 100644 --- a/src/Core/Normalizer/DiskVirtualMachineDiskNormalizer.php +++ b/src/Core/Normalizer/DiskVirtualMachineDiskNormalizer.php @@ -31,12 +31,12 @@ class DiskVirtualMachineDiskNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\DiskVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskVirtualMachineDisk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\VirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\VirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\Disk', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\Disk::class, 'json', $context)); unset($data['disk']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -109,7 +109,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\DiskVirtualMachineDisk::class => false]; } } } else { @@ -122,12 +122,12 @@ class DiskVirtualMachineDiskNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DiskVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\DiskVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DiskVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DiskVirtualMachineDisk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -143,11 +143,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\VirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\VirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\Disk', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\Disk::class, 'json', $context)); unset($data['disk']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -203,7 +203,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DiskVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\DiskVirtualMachineDisk::class => false]; } } } diff --git a/src/Core/Normalizer/DisksDiskAssignPostBodyNormalizer.php b/src/Core/Normalizer/DisksDiskAssignPostBodyNormalizer.php index ef6ebd3b..51f33262 100644 --- a/src/Core/Normalizer/DisksDiskAssignPostBodyNormalizer.php +++ b/src/Core/Normalizer/DisksDiskAssignPostBodyNormalizer.php @@ -31,12 +31,12 @@ class DisksDiskAssignPostBodyNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskAssignPostBody'; + return $type === \KatapultAPI\Core\Model\DisksDiskAssignPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskAssignPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskAssignPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\DiskLookup', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\DiskLookup::class, 'json', $context)); unset($data['disk']); } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\VirtualMachineLookup', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\VirtualMachineLookup::class, 'json', $context)); unset($data['virtual_machine']); } foreach ($data as $key => $value) { @@ -84,7 +84,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskAssignPostBody' => false]; + return [\KatapultAPI\Core\Model\DisksDiskAssignPostBody::class => false]; } } } else { @@ -97,12 +97,12 @@ class DisksDiskAssignPostBodyNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskAssignPostBody'; + return $type === \KatapultAPI\Core\Model\DisksDiskAssignPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskAssignPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskAssignPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -118,11 +118,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\DiskLookup', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\DiskLookup::class, 'json', $context)); unset($data['disk']); } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\VirtualMachineLookup', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\VirtualMachineLookup::class, 'json', $context)); unset($data['virtual_machine']); } foreach ($data as $key => $value) { @@ -153,7 +153,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskAssignPostBody' => false]; + return [\KatapultAPI\Core\Model\DisksDiskAssignPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/DisksDiskAssignPostResponse200DiskNormalizer.php b/src/Core/Normalizer/DisksDiskAssignPostResponse200DiskNormalizer.php index fac4314a..f365c2af 100644 --- a/src/Core/Normalizer/DisksDiskAssignPostResponse200DiskNormalizer.php +++ b/src/Core/Normalizer/DisksDiskAssignPostResponse200DiskNormalizer.php @@ -31,12 +31,12 @@ class DisksDiskAssignPostResponse200DiskNormalizer implements DenormalizerInterf public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskAssignPostResponse200Disk'; + return $type === \KatapultAPI\Core\Model\DisksDiskAssignPostResponse200Disk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskAssignPostResponse200Disk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskAssignPostResponse200Disk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -80,7 +80,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -92,17 +92,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PostDiskAssignPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PostDiskAssignPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -166,7 +166,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskAssignPostResponse200Disk' => false]; + return [\KatapultAPI\Core\Model\DisksDiskAssignPostResponse200Disk::class => false]; } } } else { @@ -179,12 +179,12 @@ class DisksDiskAssignPostResponse200DiskNormalizer implements DenormalizerInterf public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskAssignPostResponse200Disk'; + return $type === \KatapultAPI\Core\Model\DisksDiskAssignPostResponse200Disk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskAssignPostResponse200Disk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskAssignPostResponse200Disk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -228,7 +228,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -240,17 +240,17 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PostDiskAssignPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PostDiskAssignPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -317,7 +317,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskAssignPostResponse200Disk' => false]; + return [\KatapultAPI\Core\Model\DisksDiskAssignPostResponse200Disk::class => false]; } } } diff --git a/src/Core/Normalizer/DisksDiskAssignPostResponse200Normalizer.php b/src/Core/Normalizer/DisksDiskAssignPostResponse200Normalizer.php index 05bc5889..60d76c60 100644 --- a/src/Core/Normalizer/DisksDiskAssignPostResponse200Normalizer.php +++ b/src/Core/Normalizer/DisksDiskAssignPostResponse200Normalizer.php @@ -31,12 +31,12 @@ class DisksDiskAssignPostResponse200Normalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskAssignPostResponse200'; + return $type === \KatapultAPI\Core\Model\DisksDiskAssignPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskAssignPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskAssignPostResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\DisksDiskAssignPostResponse200Disk', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\DisksDiskAssignPostResponse200Disk::class, 'json', $context)); unset($data['disk']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskAssignPostResponse200' => false]; + return [\KatapultAPI\Core\Model\DisksDiskAssignPostResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class DisksDiskAssignPostResponse200Normalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskAssignPostResponse200'; + return $type === \KatapultAPI\Core\Model\DisksDiskAssignPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskAssignPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskAssignPostResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\DisksDiskAssignPostResponse200Disk', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\DisksDiskAssignPostResponse200Disk::class, 'json', $context)); unset($data['disk']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskAssignPostResponse200' => false]; + return [\KatapultAPI\Core\Model\DisksDiskAssignPostResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/DisksDiskAttachPostBodyNormalizer.php b/src/Core/Normalizer/DisksDiskAttachPostBodyNormalizer.php index 3bbcc220..2a2550d3 100644 --- a/src/Core/Normalizer/DisksDiskAttachPostBodyNormalizer.php +++ b/src/Core/Normalizer/DisksDiskAttachPostBodyNormalizer.php @@ -31,12 +31,12 @@ class DisksDiskAttachPostBodyNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskAttachPostBody'; + return $type === \KatapultAPI\Core\Model\DisksDiskAttachPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskAttachPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskAttachPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\DiskLookup', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\DiskLookup::class, 'json', $context)); unset($data['disk']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskAttachPostBody' => false]; + return [\KatapultAPI\Core\Model\DisksDiskAttachPostBody::class => false]; } } } else { @@ -92,12 +92,12 @@ class DisksDiskAttachPostBodyNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskAttachPostBody'; + return $type === \KatapultAPI\Core\Model\DisksDiskAttachPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskAttachPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskAttachPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\DiskLookup', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\DiskLookup::class, 'json', $context)); unset($data['disk']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskAttachPostBody' => false]; + return [\KatapultAPI\Core\Model\DisksDiskAttachPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/DisksDiskAttachPostResponse200DiskNormalizer.php b/src/Core/Normalizer/DisksDiskAttachPostResponse200DiskNormalizer.php index 681960ac..1817866a 100644 --- a/src/Core/Normalizer/DisksDiskAttachPostResponse200DiskNormalizer.php +++ b/src/Core/Normalizer/DisksDiskAttachPostResponse200DiskNormalizer.php @@ -31,12 +31,12 @@ class DisksDiskAttachPostResponse200DiskNormalizer implements DenormalizerInterf public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskAttachPostResponse200Disk'; + return $type === \KatapultAPI\Core\Model\DisksDiskAttachPostResponse200Disk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskAttachPostResponse200Disk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskAttachPostResponse200Disk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -80,7 +80,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -92,17 +92,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PostDiskAttachPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PostDiskAttachPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -166,7 +166,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskAttachPostResponse200Disk' => false]; + return [\KatapultAPI\Core\Model\DisksDiskAttachPostResponse200Disk::class => false]; } } } else { @@ -179,12 +179,12 @@ class DisksDiskAttachPostResponse200DiskNormalizer implements DenormalizerInterf public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskAttachPostResponse200Disk'; + return $type === \KatapultAPI\Core\Model\DisksDiskAttachPostResponse200Disk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskAttachPostResponse200Disk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskAttachPostResponse200Disk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -228,7 +228,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -240,17 +240,17 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PostDiskAttachPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PostDiskAttachPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -317,7 +317,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskAttachPostResponse200Disk' => false]; + return [\KatapultAPI\Core\Model\DisksDiskAttachPostResponse200Disk::class => false]; } } } diff --git a/src/Core/Normalizer/DisksDiskAttachPostResponse200Normalizer.php b/src/Core/Normalizer/DisksDiskAttachPostResponse200Normalizer.php index 21a0e955..bcb7480d 100644 --- a/src/Core/Normalizer/DisksDiskAttachPostResponse200Normalizer.php +++ b/src/Core/Normalizer/DisksDiskAttachPostResponse200Normalizer.php @@ -31,12 +31,12 @@ class DisksDiskAttachPostResponse200Normalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskAttachPostResponse200'; + return $type === \KatapultAPI\Core\Model\DisksDiskAttachPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskAttachPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskAttachPostResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\DisksDiskAttachPostResponse200Disk', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\DisksDiskAttachPostResponse200Disk::class, 'json', $context)); unset($data['disk']); } if (\array_key_exists('task', $data)) { - $object->setTask($this->denormalizer->denormalize($data['task'], 'KatapultAPI\\Core\\Model\\Task', 'json', $context)); + $object->setTask($this->denormalizer->denormalize($data['task'], \KatapultAPI\Core\Model\Task::class, 'json', $context)); unset($data['task']); } foreach ($data as $key => $value) { @@ -84,7 +84,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskAttachPostResponse200' => false]; + return [\KatapultAPI\Core\Model\DisksDiskAttachPostResponse200::class => false]; } } } else { @@ -97,12 +97,12 @@ class DisksDiskAttachPostResponse200Normalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskAttachPostResponse200'; + return $type === \KatapultAPI\Core\Model\DisksDiskAttachPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskAttachPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskAttachPostResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -118,11 +118,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\DisksDiskAttachPostResponse200Disk', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\DisksDiskAttachPostResponse200Disk::class, 'json', $context)); unset($data['disk']); } if (\array_key_exists('task', $data)) { - $object->setTask($this->denormalizer->denormalize($data['task'], 'KatapultAPI\\Core\\Model\\Task', 'json', $context)); + $object->setTask($this->denormalizer->denormalize($data['task'], \KatapultAPI\Core\Model\Task::class, 'json', $context)); unset($data['task']); } foreach ($data as $key => $value) { @@ -153,7 +153,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskAttachPostResponse200' => false]; + return [\KatapultAPI\Core\Model\DisksDiskAttachPostResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/DisksDiskDeleteBodyNormalizer.php b/src/Core/Normalizer/DisksDiskDeleteBodyNormalizer.php index 45df637d..6b49ba3a 100644 --- a/src/Core/Normalizer/DisksDiskDeleteBodyNormalizer.php +++ b/src/Core/Normalizer/DisksDiskDeleteBodyNormalizer.php @@ -31,12 +31,12 @@ class DisksDiskDeleteBodyNormalizer implements DenormalizerInterface, Normalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskDeleteBody'; + return $type === \KatapultAPI\Core\Model\DisksDiskDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskDeleteBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\DiskLookup', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\DiskLookup::class, 'json', $context)); unset($data['disk']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskDeleteBody' => false]; + return [\KatapultAPI\Core\Model\DisksDiskDeleteBody::class => false]; } } } else { @@ -92,12 +92,12 @@ class DisksDiskDeleteBodyNormalizer implements DenormalizerInterface, Normalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskDeleteBody'; + return $type === \KatapultAPI\Core\Model\DisksDiskDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskDeleteBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\DiskLookup', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\DiskLookup::class, 'json', $context)); unset($data['disk']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskDeleteBody' => false]; + return [\KatapultAPI\Core\Model\DisksDiskDeleteBody::class => false]; } } } diff --git a/src/Core/Normalizer/DisksDiskDeleteResponse200DiskNormalizer.php b/src/Core/Normalizer/DisksDiskDeleteResponse200DiskNormalizer.php index d4193992..0fdfad13 100644 --- a/src/Core/Normalizer/DisksDiskDeleteResponse200DiskNormalizer.php +++ b/src/Core/Normalizer/DisksDiskDeleteResponse200DiskNormalizer.php @@ -31,12 +31,12 @@ class DisksDiskDeleteResponse200DiskNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskDeleteResponse200Disk'; + return $type === \KatapultAPI\Core\Model\DisksDiskDeleteResponse200Disk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskDeleteResponse200Disk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskDeleteResponse200Disk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -80,7 +80,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\DeleteDisk200ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -92,17 +92,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\DeleteDiskPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\DeleteDiskPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\DeleteDisk200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\DeleteDisk200ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -166,7 +166,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskDeleteResponse200Disk' => false]; + return [\KatapultAPI\Core\Model\DisksDiskDeleteResponse200Disk::class => false]; } } } else { @@ -179,12 +179,12 @@ class DisksDiskDeleteResponse200DiskNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskDeleteResponse200Disk'; + return $type === \KatapultAPI\Core\Model\DisksDiskDeleteResponse200Disk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskDeleteResponse200Disk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskDeleteResponse200Disk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -228,7 +228,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\DeleteDisk200ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -240,17 +240,17 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\DeleteDiskPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\DeleteDiskPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\DeleteDisk200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\DeleteDisk200ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -317,7 +317,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskDeleteResponse200Disk' => false]; + return [\KatapultAPI\Core\Model\DisksDiskDeleteResponse200Disk::class => false]; } } } diff --git a/src/Core/Normalizer/DisksDiskDeleteResponse200Normalizer.php b/src/Core/Normalizer/DisksDiskDeleteResponse200Normalizer.php index 1ca64d8d..e25d29ab 100644 --- a/src/Core/Normalizer/DisksDiskDeleteResponse200Normalizer.php +++ b/src/Core/Normalizer/DisksDiskDeleteResponse200Normalizer.php @@ -31,12 +31,12 @@ class DisksDiskDeleteResponse200Normalizer implements DenormalizerInterface, Nor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\DisksDiskDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskDeleteResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\DisksDiskDeleteResponse200Disk', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\DisksDiskDeleteResponse200Disk::class, 'json', $context)); unset($data['disk']); } if (\array_key_exists('trash_object', $data)) { - $object->setTrashObject($this->denormalizer->denormalize($data['trash_object'], 'KatapultAPI\\Core\\Model\\TrashObject', 'json', $context)); + $object->setTrashObject($this->denormalizer->denormalize($data['trash_object'], \KatapultAPI\Core\Model\TrashObject::class, 'json', $context)); unset($data['trash_object']); } foreach ($data as $key => $value) { @@ -84,7 +84,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\DisksDiskDeleteResponse200::class => false]; } } } else { @@ -97,12 +97,12 @@ class DisksDiskDeleteResponse200Normalizer implements DenormalizerInterface, Nor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\DisksDiskDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskDeleteResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -118,11 +118,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\DisksDiskDeleteResponse200Disk', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\DisksDiskDeleteResponse200Disk::class, 'json', $context)); unset($data['disk']); } if (\array_key_exists('trash_object', $data)) { - $object->setTrashObject($this->denormalizer->denormalize($data['trash_object'], 'KatapultAPI\\Core\\Model\\TrashObject', 'json', $context)); + $object->setTrashObject($this->denormalizer->denormalize($data['trash_object'], \KatapultAPI\Core\Model\TrashObject::class, 'json', $context)); unset($data['trash_object']); } foreach ($data as $key => $value) { @@ -153,7 +153,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\DisksDiskDeleteResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/DisksDiskDetachPostBodyNormalizer.php b/src/Core/Normalizer/DisksDiskDetachPostBodyNormalizer.php index caff738d..df622d60 100644 --- a/src/Core/Normalizer/DisksDiskDetachPostBodyNormalizer.php +++ b/src/Core/Normalizer/DisksDiskDetachPostBodyNormalizer.php @@ -31,12 +31,12 @@ class DisksDiskDetachPostBodyNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskDetachPostBody'; + return $type === \KatapultAPI\Core\Model\DisksDiskDetachPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskDetachPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskDetachPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\DiskLookup', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\DiskLookup::class, 'json', $context)); unset($data['disk']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskDetachPostBody' => false]; + return [\KatapultAPI\Core\Model\DisksDiskDetachPostBody::class => false]; } } } else { @@ -92,12 +92,12 @@ class DisksDiskDetachPostBodyNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskDetachPostBody'; + return $type === \KatapultAPI\Core\Model\DisksDiskDetachPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskDetachPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskDetachPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\DiskLookup', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\DiskLookup::class, 'json', $context)); unset($data['disk']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskDetachPostBody' => false]; + return [\KatapultAPI\Core\Model\DisksDiskDetachPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/DisksDiskDetachPostResponse200DiskNormalizer.php b/src/Core/Normalizer/DisksDiskDetachPostResponse200DiskNormalizer.php index b869d772..fb34a1ea 100644 --- a/src/Core/Normalizer/DisksDiskDetachPostResponse200DiskNormalizer.php +++ b/src/Core/Normalizer/DisksDiskDetachPostResponse200DiskNormalizer.php @@ -31,12 +31,12 @@ class DisksDiskDetachPostResponse200DiskNormalizer implements DenormalizerInterf public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskDetachPostResponse200Disk'; + return $type === \KatapultAPI\Core\Model\DisksDiskDetachPostResponse200Disk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskDetachPostResponse200Disk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskDetachPostResponse200Disk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -80,7 +80,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -92,17 +92,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PostDiskDetachPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PostDiskDetachPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -166,7 +166,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskDetachPostResponse200Disk' => false]; + return [\KatapultAPI\Core\Model\DisksDiskDetachPostResponse200Disk::class => false]; } } } else { @@ -179,12 +179,12 @@ class DisksDiskDetachPostResponse200DiskNormalizer implements DenormalizerInterf public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskDetachPostResponse200Disk'; + return $type === \KatapultAPI\Core\Model\DisksDiskDetachPostResponse200Disk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskDetachPostResponse200Disk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskDetachPostResponse200Disk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -228,7 +228,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -240,17 +240,17 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PostDiskDetachPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PostDiskDetachPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -317,7 +317,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskDetachPostResponse200Disk' => false]; + return [\KatapultAPI\Core\Model\DisksDiskDetachPostResponse200Disk::class => false]; } } } diff --git a/src/Core/Normalizer/DisksDiskDetachPostResponse200Normalizer.php b/src/Core/Normalizer/DisksDiskDetachPostResponse200Normalizer.php index f4ed0b44..66e5a94b 100644 --- a/src/Core/Normalizer/DisksDiskDetachPostResponse200Normalizer.php +++ b/src/Core/Normalizer/DisksDiskDetachPostResponse200Normalizer.php @@ -31,12 +31,12 @@ class DisksDiskDetachPostResponse200Normalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskDetachPostResponse200'; + return $type === \KatapultAPI\Core\Model\DisksDiskDetachPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskDetachPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskDetachPostResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\DisksDiskDetachPostResponse200Disk', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\DisksDiskDetachPostResponse200Disk::class, 'json', $context)); unset($data['disk']); } if (\array_key_exists('task', $data)) { - $object->setTask($this->denormalizer->denormalize($data['task'], 'KatapultAPI\\Core\\Model\\Task', 'json', $context)); + $object->setTask($this->denormalizer->denormalize($data['task'], \KatapultAPI\Core\Model\Task::class, 'json', $context)); unset($data['task']); } foreach ($data as $key => $value) { @@ -84,7 +84,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskDetachPostResponse200' => false]; + return [\KatapultAPI\Core\Model\DisksDiskDetachPostResponse200::class => false]; } } } else { @@ -97,12 +97,12 @@ class DisksDiskDetachPostResponse200Normalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskDetachPostResponse200'; + return $type === \KatapultAPI\Core\Model\DisksDiskDetachPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskDetachPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskDetachPostResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -118,11 +118,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\DisksDiskDetachPostResponse200Disk', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\DisksDiskDetachPostResponse200Disk::class, 'json', $context)); unset($data['disk']); } if (\array_key_exists('task', $data)) { - $object->setTask($this->denormalizer->denormalize($data['task'], 'KatapultAPI\\Core\\Model\\Task', 'json', $context)); + $object->setTask($this->denormalizer->denormalize($data['task'], \KatapultAPI\Core\Model\Task::class, 'json', $context)); unset($data['task']); } foreach ($data as $key => $value) { @@ -153,7 +153,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskDetachPostResponse200' => false]; + return [\KatapultAPI\Core\Model\DisksDiskDetachPostResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/DisksDiskDiskBackupPoliciesGetResponse200Normalizer.php b/src/Core/Normalizer/DisksDiskDiskBackupPoliciesGetResponse200Normalizer.php index d576c50a..394b0ac4 100644 --- a/src/Core/Normalizer/DisksDiskDiskBackupPoliciesGetResponse200Normalizer.php +++ b/src/Core/Normalizer/DisksDiskDiskBackupPoliciesGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class DisksDiskDiskBackupPoliciesGetResponse200Normalizer implements Denormalize public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesGetResponse200'; + return $type === \KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('disk_backup_policies', $data)) { $values = []; foreach ($data['disk_backup_policies'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetDiskDiskBackupPolicies200ResponseDiskBackupPolicies', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetDiskDiskBackupPolicies200ResponseDiskBackupPolicies::class, 'json', $context); } $object->setDiskBackupPolicies($values); unset($data['disk_backup_policies']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class DisksDiskDiskBackupPoliciesGetResponse200Normalizer implements Denormalize public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesGetResponse200'; + return $type === \KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('disk_backup_policies', $data)) { $values = []; foreach ($data['disk_backup_policies'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetDiskDiskBackupPolicies200ResponseDiskBackupPolicies', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetDiskDiskBackupPolicies200ResponseDiskBackupPolicies::class, 'json', $context); } $object->setDiskBackupPolicies($values); unset($data['disk_backup_policies']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/DisksDiskDiskBackupPoliciesPostBodyNormalizer.php b/src/Core/Normalizer/DisksDiskDiskBackupPoliciesPostBodyNormalizer.php index e45aadac..ee8637ad 100644 --- a/src/Core/Normalizer/DisksDiskDiskBackupPoliciesPostBodyNormalizer.php +++ b/src/Core/Normalizer/DisksDiskDiskBackupPoliciesPostBodyNormalizer.php @@ -31,12 +31,12 @@ class DisksDiskDiskBackupPoliciesPostBodyNormalizer implements DenormalizerInter public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesPostBody'; + return $type === \KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\DiskLookup', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\DiskLookup::class, 'json', $context)); unset($data['disk']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\DiskBackupPolicyArguments::class, 'json', $context)); unset($data['properties']); } foreach ($data as $key => $value) { @@ -84,7 +84,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesPostBody' => false]; + return [\KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesPostBody::class => false]; } } } else { @@ -97,12 +97,12 @@ class DisksDiskDiskBackupPoliciesPostBodyNormalizer implements DenormalizerInter public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesPostBody'; + return $type === \KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -118,11 +118,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\DiskLookup', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\DiskLookup::class, 'json', $context)); unset($data['disk']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\DiskBackupPolicyArguments::class, 'json', $context)); unset($data['properties']); } foreach ($data as $key => $value) { @@ -153,7 +153,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesPostBody' => false]; + return [\KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicyNormalizer.php b/src/Core/Normalizer/DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicyNormalizer.php index 44442e14..77e788ed 100644 --- a/src/Core/Normalizer/DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicyNormalizer.php +++ b/src/Core/Normalizer/DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicyNormalizer.php @@ -31,12 +31,12 @@ class DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicyNormalizer imple public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicy'; + return $type === \KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicy::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicy'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicy::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -67,11 +67,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['total_size']); } if (\array_key_exists('target', $data)) { - $object->setTarget($this->denormalizer->denormalize($data['target'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyTarget', 'json', $context)); + $object->setTarget($this->denormalizer->denormalize($data['target'], \KatapultAPI\Core\Model\DiskBackupPolicyTarget::class, 'json', $context)); unset($data['target']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'KatapultAPI\\Core\\Model\\Schedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], \KatapultAPI\Core\Model\Schedule::class, 'json', $context)); unset($data['schedule']); } if (\array_key_exists('auto_move_to_trash_at', $data) && $data['auto_move_to_trash_at'] !== null) { @@ -121,7 +121,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicy' => false]; + return [\KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicy::class => false]; } } } else { @@ -134,12 +134,12 @@ class DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicyNormalizer imple public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicy'; + return $type === \KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicy::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicy'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicy::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -170,11 +170,11 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['total_size']); } if (\array_key_exists('target', $data)) { - $object->setTarget($this->denormalizer->denormalize($data['target'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyTarget', 'json', $context)); + $object->setTarget($this->denormalizer->denormalize($data['target'], \KatapultAPI\Core\Model\DiskBackupPolicyTarget::class, 'json', $context)); unset($data['target']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'KatapultAPI\\Core\\Model\\Schedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], \KatapultAPI\Core\Model\Schedule::class, 'json', $context)); unset($data['schedule']); } if (\array_key_exists('auto_move_to_trash_at', $data) && $data['auto_move_to_trash_at'] !== null) { @@ -227,7 +227,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicy' => false]; + return [\KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicy::class => false]; } } } diff --git a/src/Core/Normalizer/DisksDiskDiskBackupPoliciesPostResponse200Normalizer.php b/src/Core/Normalizer/DisksDiskDiskBackupPoliciesPostResponse200Normalizer.php index caeda6e1..483e4f95 100644 --- a/src/Core/Normalizer/DisksDiskDiskBackupPoliciesPostResponse200Normalizer.php +++ b/src/Core/Normalizer/DisksDiskDiskBackupPoliciesPostResponse200Normalizer.php @@ -31,12 +31,12 @@ class DisksDiskDiskBackupPoliciesPostResponse200Normalizer implements Denormaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesPostResponse200'; + return $type === \KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesPostResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('disk_backup_policy', $data)) { - $object->setDiskBackupPolicy($this->denormalizer->denormalize($data['disk_backup_policy'], 'KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicy', 'json', $context)); + $object->setDiskBackupPolicy($this->denormalizer->denormalize($data['disk_backup_policy'], \KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicy::class, 'json', $context)); unset($data['disk_backup_policy']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesPostResponse200' => false]; + return [\KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesPostResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class DisksDiskDiskBackupPoliciesPostResponse200Normalizer implements Denormaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesPostResponse200'; + return $type === \KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesPostResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('disk_backup_policy', $data)) { - $object->setDiskBackupPolicy($this->denormalizer->denormalize($data['disk_backup_policy'], 'KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicy', 'json', $context)); + $object->setDiskBackupPolicy($this->denormalizer->denormalize($data['disk_backup_policy'], \KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicy::class, 'json', $context)); unset($data['disk_backup_policy']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesPostResponse200' => false]; + return [\KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesPostResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/DisksDiskGetResponse200DiskNormalizer.php b/src/Core/Normalizer/DisksDiskGetResponse200DiskNormalizer.php index 49cfb74a..913bae5b 100644 --- a/src/Core/Normalizer/DisksDiskGetResponse200DiskNormalizer.php +++ b/src/Core/Normalizer/DisksDiskGetResponse200DiskNormalizer.php @@ -31,12 +31,12 @@ class DisksDiskGetResponse200DiskNormalizer implements DenormalizerInterface, No public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskGetResponse200Disk'; + return $type === \KatapultAPI\Core\Model\DisksDiskGetResponse200Disk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskGetResponse200Disk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskGetResponse200Disk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -80,7 +80,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\GetDisk200ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -92,17 +92,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\GetDiskPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\GetDiskPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\GetDisk200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\GetDisk200ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -166,7 +166,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskGetResponse200Disk' => false]; + return [\KatapultAPI\Core\Model\DisksDiskGetResponse200Disk::class => false]; } } } else { @@ -179,12 +179,12 @@ class DisksDiskGetResponse200DiskNormalizer implements DenormalizerInterface, No public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskGetResponse200Disk'; + return $type === \KatapultAPI\Core\Model\DisksDiskGetResponse200Disk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskGetResponse200Disk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskGetResponse200Disk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -228,7 +228,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\GetDisk200ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -240,17 +240,17 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\GetDiskPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\GetDiskPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\GetDisk200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\GetDisk200ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -317,7 +317,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskGetResponse200Disk' => false]; + return [\KatapultAPI\Core\Model\DisksDiskGetResponse200Disk::class => false]; } } } diff --git a/src/Core/Normalizer/DisksDiskGetResponse200Normalizer.php b/src/Core/Normalizer/DisksDiskGetResponse200Normalizer.php index a40bb2fd..e7ea5452 100644 --- a/src/Core/Normalizer/DisksDiskGetResponse200Normalizer.php +++ b/src/Core/Normalizer/DisksDiskGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class DisksDiskGetResponse200Normalizer implements DenormalizerInterface, Normal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskGetResponse200'; + return $type === \KatapultAPI\Core\Model\DisksDiskGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\DisksDiskGetResponse200Disk', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\DisksDiskGetResponse200Disk::class, 'json', $context)); unset($data['disk']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskGetResponse200' => false]; + return [\KatapultAPI\Core\Model\DisksDiskGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class DisksDiskGetResponse200Normalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskGetResponse200'; + return $type === \KatapultAPI\Core\Model\DisksDiskGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\DisksDiskGetResponse200Disk', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\DisksDiskGetResponse200Disk::class, 'json', $context)); unset($data['disk']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskGetResponse200' => false]; + return [\KatapultAPI\Core\Model\DisksDiskGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/DisksDiskIoProfilePutBodyNormalizer.php b/src/Core/Normalizer/DisksDiskIoProfilePutBodyNormalizer.php index a2200086..62dfeb2b 100644 --- a/src/Core/Normalizer/DisksDiskIoProfilePutBodyNormalizer.php +++ b/src/Core/Normalizer/DisksDiskIoProfilePutBodyNormalizer.php @@ -31,12 +31,12 @@ class DisksDiskIoProfilePutBodyNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskIoProfilePutBody'; + return $type === \KatapultAPI\Core\Model\DisksDiskIoProfilePutBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskIoProfilePutBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskIoProfilePutBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\DiskLookup', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\DiskLookup::class, 'json', $context)); unset($data['disk']); } if (\array_key_exists('io_profile', $data)) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\DiskIOProfileLookup', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\DiskIOProfileLookup::class, 'json', $context)); unset($data['io_profile']); } foreach ($data as $key => $value) { @@ -84,7 +84,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskIoProfilePutBody' => false]; + return [\KatapultAPI\Core\Model\DisksDiskIoProfilePutBody::class => false]; } } } else { @@ -97,12 +97,12 @@ class DisksDiskIoProfilePutBodyNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskIoProfilePutBody'; + return $type === \KatapultAPI\Core\Model\DisksDiskIoProfilePutBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskIoProfilePutBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskIoProfilePutBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -118,11 +118,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\DiskLookup', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\DiskLookup::class, 'json', $context)); unset($data['disk']); } if (\array_key_exists('io_profile', $data)) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\DiskIOProfileLookup', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\DiskIOProfileLookup::class, 'json', $context)); unset($data['io_profile']); } foreach ($data as $key => $value) { @@ -153,7 +153,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskIoProfilePutBody' => false]; + return [\KatapultAPI\Core\Model\DisksDiskIoProfilePutBody::class => false]; } } } diff --git a/src/Core/Normalizer/DisksDiskIoProfilePutResponse200DiskNormalizer.php b/src/Core/Normalizer/DisksDiskIoProfilePutResponse200DiskNormalizer.php index 8962cced..5080d8b8 100644 --- a/src/Core/Normalizer/DisksDiskIoProfilePutResponse200DiskNormalizer.php +++ b/src/Core/Normalizer/DisksDiskIoProfilePutResponse200DiskNormalizer.php @@ -31,12 +31,12 @@ class DisksDiskIoProfilePutResponse200DiskNormalizer implements DenormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskIoProfilePutResponse200Disk'; + return $type === \KatapultAPI\Core\Model\DisksDiskIoProfilePutResponse200Disk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskIoProfilePutResponse200Disk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskIoProfilePutResponse200Disk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -80,7 +80,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -92,17 +92,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PutDiskIOProfilePartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PutDiskIOProfilePartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -166,7 +166,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskIoProfilePutResponse200Disk' => false]; + return [\KatapultAPI\Core\Model\DisksDiskIoProfilePutResponse200Disk::class => false]; } } } else { @@ -179,12 +179,12 @@ class DisksDiskIoProfilePutResponse200DiskNormalizer implements DenormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskIoProfilePutResponse200Disk'; + return $type === \KatapultAPI\Core\Model\DisksDiskIoProfilePutResponse200Disk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskIoProfilePutResponse200Disk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskIoProfilePutResponse200Disk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -228,7 +228,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -240,17 +240,17 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PutDiskIOProfilePartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PutDiskIOProfilePartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -317,7 +317,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskIoProfilePutResponse200Disk' => false]; + return [\KatapultAPI\Core\Model\DisksDiskIoProfilePutResponse200Disk::class => false]; } } } diff --git a/src/Core/Normalizer/DisksDiskIoProfilePutResponse200Normalizer.php b/src/Core/Normalizer/DisksDiskIoProfilePutResponse200Normalizer.php index 057a4123..a884999f 100644 --- a/src/Core/Normalizer/DisksDiskIoProfilePutResponse200Normalizer.php +++ b/src/Core/Normalizer/DisksDiskIoProfilePutResponse200Normalizer.php @@ -31,12 +31,12 @@ class DisksDiskIoProfilePutResponse200Normalizer implements DenormalizerInterfac public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskIoProfilePutResponse200'; + return $type === \KatapultAPI\Core\Model\DisksDiskIoProfilePutResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskIoProfilePutResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskIoProfilePutResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\DisksDiskIoProfilePutResponse200Disk', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\DisksDiskIoProfilePutResponse200Disk::class, 'json', $context)); unset($data['disk']); } if (\array_key_exists('task', $data)) { - $object->setTask($this->denormalizer->denormalize($data['task'], 'KatapultAPI\\Core\\Model\\Task', 'json', $context)); + $object->setTask($this->denormalizer->denormalize($data['task'], \KatapultAPI\Core\Model\Task::class, 'json', $context)); unset($data['task']); } foreach ($data as $key => $value) { @@ -84,7 +84,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskIoProfilePutResponse200' => false]; + return [\KatapultAPI\Core\Model\DisksDiskIoProfilePutResponse200::class => false]; } } } else { @@ -97,12 +97,12 @@ class DisksDiskIoProfilePutResponse200Normalizer implements DenormalizerInterfac public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskIoProfilePutResponse200'; + return $type === \KatapultAPI\Core\Model\DisksDiskIoProfilePutResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskIoProfilePutResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskIoProfilePutResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -118,11 +118,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\DisksDiskIoProfilePutResponse200Disk', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\DisksDiskIoProfilePutResponse200Disk::class, 'json', $context)); unset($data['disk']); } if (\array_key_exists('task', $data)) { - $object->setTask($this->denormalizer->denormalize($data['task'], 'KatapultAPI\\Core\\Model\\Task', 'json', $context)); + $object->setTask($this->denormalizer->denormalize($data['task'], \KatapultAPI\Core\Model\Task::class, 'json', $context)); unset($data['task']); } foreach ($data as $key => $value) { @@ -153,7 +153,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskIoProfilePutResponse200' => false]; + return [\KatapultAPI\Core\Model\DisksDiskIoProfilePutResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/DisksDiskPatchBodyNormalizer.php b/src/Core/Normalizer/DisksDiskPatchBodyNormalizer.php index 7a08ea7e..91c61f01 100644 --- a/src/Core/Normalizer/DisksDiskPatchBodyNormalizer.php +++ b/src/Core/Normalizer/DisksDiskPatchBodyNormalizer.php @@ -31,12 +31,12 @@ class DisksDiskPatchBodyNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskPatchBody'; + return $type === \KatapultAPI\Core\Model\DisksDiskPatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskPatchBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskPatchBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,17 +52,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\DiskLookup', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\DiskLookup::class, 'json', $context)); unset($data['disk']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\DiskArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\DiskArguments::class, 'json', $context)); unset($data['properties']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -99,7 +99,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskPatchBody' => false]; + return [\KatapultAPI\Core\Model\DisksDiskPatchBody::class => false]; } } } else { @@ -112,12 +112,12 @@ class DisksDiskPatchBodyNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskPatchBody'; + return $type === \KatapultAPI\Core\Model\DisksDiskPatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskPatchBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskPatchBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -133,17 +133,17 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\DiskLookup', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\DiskLookup::class, 'json', $context)); unset($data['disk']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\DiskArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\DiskArguments::class, 'json', $context)); unset($data['properties']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -183,7 +183,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskPatchBody' => false]; + return [\KatapultAPI\Core\Model\DisksDiskPatchBody::class => false]; } } } diff --git a/src/Core/Normalizer/DisksDiskPatchResponse200DiskNormalizer.php b/src/Core/Normalizer/DisksDiskPatchResponse200DiskNormalizer.php index fde41266..96765d40 100644 --- a/src/Core/Normalizer/DisksDiskPatchResponse200DiskNormalizer.php +++ b/src/Core/Normalizer/DisksDiskPatchResponse200DiskNormalizer.php @@ -31,12 +31,12 @@ class DisksDiskPatchResponse200DiskNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskPatchResponse200Disk'; + return $type === \KatapultAPI\Core\Model\DisksDiskPatchResponse200Disk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskPatchResponse200Disk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskPatchResponse200Disk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -80,7 +80,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\PatchDisk200ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -92,17 +92,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PatchDiskPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PatchDiskPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\PatchDisk200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\PatchDisk200ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -166,7 +166,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskPatchResponse200Disk' => false]; + return [\KatapultAPI\Core\Model\DisksDiskPatchResponse200Disk::class => false]; } } } else { @@ -179,12 +179,12 @@ class DisksDiskPatchResponse200DiskNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskPatchResponse200Disk'; + return $type === \KatapultAPI\Core\Model\DisksDiskPatchResponse200Disk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskPatchResponse200Disk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskPatchResponse200Disk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -228,7 +228,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\PatchDisk200ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -240,17 +240,17 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PatchDiskPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PatchDiskPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\PatchDisk200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\PatchDisk200ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -317,7 +317,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskPatchResponse200Disk' => false]; + return [\KatapultAPI\Core\Model\DisksDiskPatchResponse200Disk::class => false]; } } } diff --git a/src/Core/Normalizer/DisksDiskPatchResponse200Normalizer.php b/src/Core/Normalizer/DisksDiskPatchResponse200Normalizer.php index 773e4e5d..69a946e9 100644 --- a/src/Core/Normalizer/DisksDiskPatchResponse200Normalizer.php +++ b/src/Core/Normalizer/DisksDiskPatchResponse200Normalizer.php @@ -31,12 +31,12 @@ class DisksDiskPatchResponse200Normalizer implements DenormalizerInterface, Norm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskPatchResponse200'; + return $type === \KatapultAPI\Core\Model\DisksDiskPatchResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskPatchResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskPatchResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\DisksDiskPatchResponse200Disk', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\DisksDiskPatchResponse200Disk::class, 'json', $context)); unset($data['disk']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskPatchResponse200' => false]; + return [\KatapultAPI\Core\Model\DisksDiskPatchResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class DisksDiskPatchResponse200Normalizer implements DenormalizerInterface, Norm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskPatchResponse200'; + return $type === \KatapultAPI\Core\Model\DisksDiskPatchResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskPatchResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskPatchResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\DisksDiskPatchResponse200Disk', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\DisksDiskPatchResponse200Disk::class, 'json', $context)); unset($data['disk']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskPatchResponse200' => false]; + return [\KatapultAPI\Core\Model\DisksDiskPatchResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/DisksDiskResizePutBodyNormalizer.php b/src/Core/Normalizer/DisksDiskResizePutBodyNormalizer.php index 5de2b8ed..c9cc06ff 100644 --- a/src/Core/Normalizer/DisksDiskResizePutBodyNormalizer.php +++ b/src/Core/Normalizer/DisksDiskResizePutBodyNormalizer.php @@ -31,12 +31,12 @@ class DisksDiskResizePutBodyNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskResizePutBody'; + return $type === \KatapultAPI\Core\Model\DisksDiskResizePutBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskResizePutBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskResizePutBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\DiskLookup', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\DiskLookup::class, 'json', $context)); unset($data['disk']); } if (\array_key_exists('size_in_gb', $data)) { @@ -91,7 +91,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskResizePutBody' => false]; + return [\KatapultAPI\Core\Model\DisksDiskResizePutBody::class => false]; } } } else { @@ -104,12 +104,12 @@ class DisksDiskResizePutBodyNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskResizePutBody'; + return $type === \KatapultAPI\Core\Model\DisksDiskResizePutBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskResizePutBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskResizePutBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -125,7 +125,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\DiskLookup', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\DiskLookup::class, 'json', $context)); unset($data['disk']); } if (\array_key_exists('size_in_gb', $data)) { @@ -167,7 +167,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskResizePutBody' => false]; + return [\KatapultAPI\Core\Model\DisksDiskResizePutBody::class => false]; } } } diff --git a/src/Core/Normalizer/DisksDiskResizePutResponse200DiskNormalizer.php b/src/Core/Normalizer/DisksDiskResizePutResponse200DiskNormalizer.php index 2770316c..fe31ebad 100644 --- a/src/Core/Normalizer/DisksDiskResizePutResponse200DiskNormalizer.php +++ b/src/Core/Normalizer/DisksDiskResizePutResponse200DiskNormalizer.php @@ -31,12 +31,12 @@ class DisksDiskResizePutResponse200DiskNormalizer implements DenormalizerInterfa public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskResizePutResponse200Disk'; + return $type === \KatapultAPI\Core\Model\DisksDiskResizePutResponse200Disk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskResizePutResponse200Disk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskResizePutResponse200Disk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -80,7 +80,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\PutDiskResize200ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -92,17 +92,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PutDiskResizePartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PutDiskResizePartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\PutDiskResize200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\PutDiskResize200ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -166,7 +166,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskResizePutResponse200Disk' => false]; + return [\KatapultAPI\Core\Model\DisksDiskResizePutResponse200Disk::class => false]; } } } else { @@ -179,12 +179,12 @@ class DisksDiskResizePutResponse200DiskNormalizer implements DenormalizerInterfa public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskResizePutResponse200Disk'; + return $type === \KatapultAPI\Core\Model\DisksDiskResizePutResponse200Disk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskResizePutResponse200Disk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskResizePutResponse200Disk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -228,7 +228,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\PutDiskResize200ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -240,17 +240,17 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PutDiskResizePartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PutDiskResizePartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\PutDiskResize200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\PutDiskResize200ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -317,7 +317,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskResizePutResponse200Disk' => false]; + return [\KatapultAPI\Core\Model\DisksDiskResizePutResponse200Disk::class => false]; } } } diff --git a/src/Core/Normalizer/DisksDiskResizePutResponse200Normalizer.php b/src/Core/Normalizer/DisksDiskResizePutResponse200Normalizer.php index efc9d8a6..be337c7d 100644 --- a/src/Core/Normalizer/DisksDiskResizePutResponse200Normalizer.php +++ b/src/Core/Normalizer/DisksDiskResizePutResponse200Normalizer.php @@ -31,12 +31,12 @@ class DisksDiskResizePutResponse200Normalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskResizePutResponse200'; + return $type === \KatapultAPI\Core\Model\DisksDiskResizePutResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskResizePutResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskResizePutResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\DisksDiskResizePutResponse200Disk', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\DisksDiskResizePutResponse200Disk::class, 'json', $context)); unset($data['disk']); } if (\array_key_exists('task', $data)) { - $object->setTask($this->denormalizer->denormalize($data['task'], 'KatapultAPI\\Core\\Model\\Task', 'json', $context)); + $object->setTask($this->denormalizer->denormalize($data['task'], \KatapultAPI\Core\Model\Task::class, 'json', $context)); unset($data['task']); } foreach ($data as $key => $value) { @@ -84,7 +84,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskResizePutResponse200' => false]; + return [\KatapultAPI\Core\Model\DisksDiskResizePutResponse200::class => false]; } } } else { @@ -97,12 +97,12 @@ class DisksDiskResizePutResponse200Normalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskResizePutResponse200'; + return $type === \KatapultAPI\Core\Model\DisksDiskResizePutResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskResizePutResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskResizePutResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -118,11 +118,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\DisksDiskResizePutResponse200Disk', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\DisksDiskResizePutResponse200Disk::class, 'json', $context)); unset($data['disk']); } if (\array_key_exists('task', $data)) { - $object->setTask($this->denormalizer->denormalize($data['task'], 'KatapultAPI\\Core\\Model\\Task', 'json', $context)); + $object->setTask($this->denormalizer->denormalize($data['task'], \KatapultAPI\Core\Model\Task::class, 'json', $context)); unset($data['task']); } foreach ($data as $key => $value) { @@ -153,7 +153,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskResizePutResponse200' => false]; + return [\KatapultAPI\Core\Model\DisksDiskResizePutResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/DisksDiskUnassignPostBodyNormalizer.php b/src/Core/Normalizer/DisksDiskUnassignPostBodyNormalizer.php index cf6c07a9..4098114d 100644 --- a/src/Core/Normalizer/DisksDiskUnassignPostBodyNormalizer.php +++ b/src/Core/Normalizer/DisksDiskUnassignPostBodyNormalizer.php @@ -31,12 +31,12 @@ class DisksDiskUnassignPostBodyNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskUnassignPostBody'; + return $type === \KatapultAPI\Core\Model\DisksDiskUnassignPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskUnassignPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskUnassignPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\DiskLookup', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\DiskLookup::class, 'json', $context)); unset($data['disk']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskUnassignPostBody' => false]; + return [\KatapultAPI\Core\Model\DisksDiskUnassignPostBody::class => false]; } } } else { @@ -92,12 +92,12 @@ class DisksDiskUnassignPostBodyNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskUnassignPostBody'; + return $type === \KatapultAPI\Core\Model\DisksDiskUnassignPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskUnassignPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskUnassignPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\DiskLookup', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\DiskLookup::class, 'json', $context)); unset($data['disk']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskUnassignPostBody' => false]; + return [\KatapultAPI\Core\Model\DisksDiskUnassignPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/DisksDiskUnassignPostResponse200DiskNormalizer.php b/src/Core/Normalizer/DisksDiskUnassignPostResponse200DiskNormalizer.php index 260f15e0..33299fb4 100644 --- a/src/Core/Normalizer/DisksDiskUnassignPostResponse200DiskNormalizer.php +++ b/src/Core/Normalizer/DisksDiskUnassignPostResponse200DiskNormalizer.php @@ -31,12 +31,12 @@ class DisksDiskUnassignPostResponse200DiskNormalizer implements DenormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskUnassignPostResponse200Disk'; + return $type === \KatapultAPI\Core\Model\DisksDiskUnassignPostResponse200Disk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskUnassignPostResponse200Disk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskUnassignPostResponse200Disk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -80,7 +80,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -92,17 +92,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PostDiskUnassignPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PostDiskUnassignPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -166,7 +166,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskUnassignPostResponse200Disk' => false]; + return [\KatapultAPI\Core\Model\DisksDiskUnassignPostResponse200Disk::class => false]; } } } else { @@ -179,12 +179,12 @@ class DisksDiskUnassignPostResponse200DiskNormalizer implements DenormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskUnassignPostResponse200Disk'; + return $type === \KatapultAPI\Core\Model\DisksDiskUnassignPostResponse200Disk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskUnassignPostResponse200Disk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskUnassignPostResponse200Disk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -228,7 +228,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -240,17 +240,17 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PostDiskUnassignPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PostDiskUnassignPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -317,7 +317,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskUnassignPostResponse200Disk' => false]; + return [\KatapultAPI\Core\Model\DisksDiskUnassignPostResponse200Disk::class => false]; } } } diff --git a/src/Core/Normalizer/DisksDiskUnassignPostResponse200Normalizer.php b/src/Core/Normalizer/DisksDiskUnassignPostResponse200Normalizer.php index a41b0c68..6b76f146 100644 --- a/src/Core/Normalizer/DisksDiskUnassignPostResponse200Normalizer.php +++ b/src/Core/Normalizer/DisksDiskUnassignPostResponse200Normalizer.php @@ -31,12 +31,12 @@ class DisksDiskUnassignPostResponse200Normalizer implements DenormalizerInterfac public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskUnassignPostResponse200'; + return $type === \KatapultAPI\Core\Model\DisksDiskUnassignPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskUnassignPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskUnassignPostResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\DisksDiskUnassignPostResponse200Disk', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\DisksDiskUnassignPostResponse200Disk::class, 'json', $context)); unset($data['disk']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskUnassignPostResponse200' => false]; + return [\KatapultAPI\Core\Model\DisksDiskUnassignPostResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class DisksDiskUnassignPostResponse200Normalizer implements DenormalizerInterfac public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DisksDiskUnassignPostResponse200'; + return $type === \KatapultAPI\Core\Model\DisksDiskUnassignPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DisksDiskUnassignPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DisksDiskUnassignPostResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\DisksDiskUnassignPostResponse200Disk', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\DisksDiskUnassignPostResponse200Disk::class, 'json', $context)); unset($data['disk']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DisksDiskUnassignPostResponse200' => false]; + return [\KatapultAPI\Core\Model\DisksDiskUnassignPostResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/DnsRecordsDnsRecordDeleteBodyNormalizer.php b/src/Core/Normalizer/DnsRecordsDnsRecordDeleteBodyNormalizer.php index 0e0c2cf1..7cd3af78 100644 --- a/src/Core/Normalizer/DnsRecordsDnsRecordDeleteBodyNormalizer.php +++ b/src/Core/Normalizer/DnsRecordsDnsRecordDeleteBodyNormalizer.php @@ -31,12 +31,12 @@ class DnsRecordsDnsRecordDeleteBodyNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordDeleteBody'; + return $type === \KatapultAPI\Core\Model\DnsRecordsDnsRecordDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsRecordsDnsRecordDeleteBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('dns_record', $data)) { - $object->setDnsRecord($this->denormalizer->denormalize($data['dns_record'], 'KatapultAPI\\Core\\Model\\DNSRecordLookup', 'json', $context)); + $object->setDnsRecord($this->denormalizer->denormalize($data['dns_record'], \KatapultAPI\Core\Model\DNSRecordLookup::class, 'json', $context)); unset($data['dns_record']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordDeleteBody' => false]; + return [\KatapultAPI\Core\Model\DnsRecordsDnsRecordDeleteBody::class => false]; } } } else { @@ -92,12 +92,12 @@ class DnsRecordsDnsRecordDeleteBodyNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordDeleteBody'; + return $type === \KatapultAPI\Core\Model\DnsRecordsDnsRecordDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsRecordsDnsRecordDeleteBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('dns_record', $data)) { - $object->setDnsRecord($this->denormalizer->denormalize($data['dns_record'], 'KatapultAPI\\Core\\Model\\DNSRecordLookup', 'json', $context)); + $object->setDnsRecord($this->denormalizer->denormalize($data['dns_record'], \KatapultAPI\Core\Model\DNSRecordLookup::class, 'json', $context)); unset($data['dns_record']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordDeleteBody' => false]; + return [\KatapultAPI\Core\Model\DnsRecordsDnsRecordDeleteBody::class => false]; } } } diff --git a/src/Core/Normalizer/DnsRecordsDnsRecordDeleteResponse200Normalizer.php b/src/Core/Normalizer/DnsRecordsDnsRecordDeleteResponse200Normalizer.php index 9a757c3e..431a4f3d 100644 --- a/src/Core/Normalizer/DnsRecordsDnsRecordDeleteResponse200Normalizer.php +++ b/src/Core/Normalizer/DnsRecordsDnsRecordDeleteResponse200Normalizer.php @@ -31,12 +31,12 @@ class DnsRecordsDnsRecordDeleteResponse200Normalizer implements DenormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\DnsRecordsDnsRecordDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsRecordsDnsRecordDeleteResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\DnsRecordsDnsRecordDeleteResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class DnsRecordsDnsRecordDeleteResponse200Normalizer implements DenormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\DnsRecordsDnsRecordDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsRecordsDnsRecordDeleteResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\DnsRecordsDnsRecordDeleteResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/DnsRecordsDnsRecordGetResponse200DnsRecordNormalizer.php b/src/Core/Normalizer/DnsRecordsDnsRecordGetResponse200DnsRecordNormalizer.php index 791afdd8..284c4075 100644 --- a/src/Core/Normalizer/DnsRecordsDnsRecordGetResponse200DnsRecordNormalizer.php +++ b/src/Core/Normalizer/DnsRecordsDnsRecordGetResponse200DnsRecordNormalizer.php @@ -31,12 +31,12 @@ class DnsRecordsDnsRecordGetResponse200DnsRecordNormalizer implements Denormaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordGetResponse200DnsRecord'; + return $type === \KatapultAPI\Core\Model\DnsRecordsDnsRecordGetResponse200DnsRecord::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordGetResponse200DnsRecord'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsRecordsDnsRecordGetResponse200DnsRecord::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -86,7 +86,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['content']); } if (\array_key_exists('content_attributes', $data)) { - $object->setContentAttributes($this->denormalizer->denormalize($data['content_attributes'], 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributes', 'json', $context)); + $object->setContentAttributes($this->denormalizer->denormalize($data['content_attributes'], \KatapultAPI\Core\Model\DNSRecordContentAttributes::class, 'json', $context)); unset($data['content_attributes']); } foreach ($data as $key => $value) { @@ -136,7 +136,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordGetResponse200DnsRecord' => false]; + return [\KatapultAPI\Core\Model\DnsRecordsDnsRecordGetResponse200DnsRecord::class => false]; } } } else { @@ -149,12 +149,12 @@ class DnsRecordsDnsRecordGetResponse200DnsRecordNormalizer implements Denormaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordGetResponse200DnsRecord'; + return $type === \KatapultAPI\Core\Model\DnsRecordsDnsRecordGetResponse200DnsRecord::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordGetResponse200DnsRecord'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsRecordsDnsRecordGetResponse200DnsRecord::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -204,7 +204,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['content']); } if (\array_key_exists('content_attributes', $data)) { - $object->setContentAttributes($this->denormalizer->denormalize($data['content_attributes'], 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributes', 'json', $context)); + $object->setContentAttributes($this->denormalizer->denormalize($data['content_attributes'], \KatapultAPI\Core\Model\DNSRecordContentAttributes::class, 'json', $context)); unset($data['content_attributes']); } foreach ($data as $key => $value) { @@ -257,7 +257,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordGetResponse200DnsRecord' => false]; + return [\KatapultAPI\Core\Model\DnsRecordsDnsRecordGetResponse200DnsRecord::class => false]; } } } diff --git a/src/Core/Normalizer/DnsRecordsDnsRecordGetResponse200Normalizer.php b/src/Core/Normalizer/DnsRecordsDnsRecordGetResponse200Normalizer.php index f65e52b1..c28defa7 100644 --- a/src/Core/Normalizer/DnsRecordsDnsRecordGetResponse200Normalizer.php +++ b/src/Core/Normalizer/DnsRecordsDnsRecordGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class DnsRecordsDnsRecordGetResponse200Normalizer implements DenormalizerInterfa public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordGetResponse200'; + return $type === \KatapultAPI\Core\Model\DnsRecordsDnsRecordGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsRecordsDnsRecordGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('dns_record', $data)) { - $object->setDnsRecord($this->denormalizer->denormalize($data['dns_record'], 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordGetResponse200DnsRecord', 'json', $context)); + $object->setDnsRecord($this->denormalizer->denormalize($data['dns_record'], \KatapultAPI\Core\Model\DnsRecordsDnsRecordGetResponse200DnsRecord::class, 'json', $context)); unset($data['dns_record']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordGetResponse200' => false]; + return [\KatapultAPI\Core\Model\DnsRecordsDnsRecordGetResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class DnsRecordsDnsRecordGetResponse200Normalizer implements DenormalizerInterfa public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordGetResponse200'; + return $type === \KatapultAPI\Core\Model\DnsRecordsDnsRecordGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsRecordsDnsRecordGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('dns_record', $data)) { - $object->setDnsRecord($this->denormalizer->denormalize($data['dns_record'], 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordGetResponse200DnsRecord', 'json', $context)); + $object->setDnsRecord($this->denormalizer->denormalize($data['dns_record'], \KatapultAPI\Core\Model\DnsRecordsDnsRecordGetResponse200DnsRecord::class, 'json', $context)); unset($data['dns_record']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordGetResponse200' => false]; + return [\KatapultAPI\Core\Model\DnsRecordsDnsRecordGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/DnsRecordsDnsRecordPatchBodyNormalizer.php b/src/Core/Normalizer/DnsRecordsDnsRecordPatchBodyNormalizer.php index b5124688..1c5d4a63 100644 --- a/src/Core/Normalizer/DnsRecordsDnsRecordPatchBodyNormalizer.php +++ b/src/Core/Normalizer/DnsRecordsDnsRecordPatchBodyNormalizer.php @@ -31,12 +31,12 @@ class DnsRecordsDnsRecordPatchBodyNormalizer implements DenormalizerInterface, N public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordPatchBody'; + return $type === \KatapultAPI\Core\Model\DnsRecordsDnsRecordPatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordPatchBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsRecordsDnsRecordPatchBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('dns_record', $data)) { - $object->setDnsRecord($this->denormalizer->denormalize($data['dns_record'], 'KatapultAPI\\Core\\Model\\DNSRecordLookup', 'json', $context)); + $object->setDnsRecord($this->denormalizer->denormalize($data['dns_record'], \KatapultAPI\Core\Model\DNSRecordLookup::class, 'json', $context)); unset($data['dns_record']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\DNSRecordArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\DNSRecordArguments::class, 'json', $context)); unset($data['properties']); } foreach ($data as $key => $value) { @@ -84,7 +84,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordPatchBody' => false]; + return [\KatapultAPI\Core\Model\DnsRecordsDnsRecordPatchBody::class => false]; } } } else { @@ -97,12 +97,12 @@ class DnsRecordsDnsRecordPatchBodyNormalizer implements DenormalizerInterface, N public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordPatchBody'; + return $type === \KatapultAPI\Core\Model\DnsRecordsDnsRecordPatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordPatchBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsRecordsDnsRecordPatchBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -118,11 +118,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('dns_record', $data)) { - $object->setDnsRecord($this->denormalizer->denormalize($data['dns_record'], 'KatapultAPI\\Core\\Model\\DNSRecordLookup', 'json', $context)); + $object->setDnsRecord($this->denormalizer->denormalize($data['dns_record'], \KatapultAPI\Core\Model\DNSRecordLookup::class, 'json', $context)); unset($data['dns_record']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\DNSRecordArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\DNSRecordArguments::class, 'json', $context)); unset($data['properties']); } foreach ($data as $key => $value) { @@ -153,7 +153,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordPatchBody' => false]; + return [\KatapultAPI\Core\Model\DnsRecordsDnsRecordPatchBody::class => false]; } } } diff --git a/src/Core/Normalizer/DnsRecordsDnsRecordPatchResponse200DnsRecordNormalizer.php b/src/Core/Normalizer/DnsRecordsDnsRecordPatchResponse200DnsRecordNormalizer.php index 70f3bb1a..471c1df1 100644 --- a/src/Core/Normalizer/DnsRecordsDnsRecordPatchResponse200DnsRecordNormalizer.php +++ b/src/Core/Normalizer/DnsRecordsDnsRecordPatchResponse200DnsRecordNormalizer.php @@ -31,12 +31,12 @@ class DnsRecordsDnsRecordPatchResponse200DnsRecordNormalizer implements Denormal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordPatchResponse200DnsRecord'; + return $type === \KatapultAPI\Core\Model\DnsRecordsDnsRecordPatchResponse200DnsRecord::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordPatchResponse200DnsRecord'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsRecordsDnsRecordPatchResponse200DnsRecord::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -86,7 +86,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['content']); } if (\array_key_exists('content_attributes', $data)) { - $object->setContentAttributes($this->denormalizer->denormalize($data['content_attributes'], 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributes', 'json', $context)); + $object->setContentAttributes($this->denormalizer->denormalize($data['content_attributes'], \KatapultAPI\Core\Model\DNSRecordContentAttributes::class, 'json', $context)); unset($data['content_attributes']); } foreach ($data as $key => $value) { @@ -136,7 +136,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordPatchResponse200DnsRecord' => false]; + return [\KatapultAPI\Core\Model\DnsRecordsDnsRecordPatchResponse200DnsRecord::class => false]; } } } else { @@ -149,12 +149,12 @@ class DnsRecordsDnsRecordPatchResponse200DnsRecordNormalizer implements Denormal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordPatchResponse200DnsRecord'; + return $type === \KatapultAPI\Core\Model\DnsRecordsDnsRecordPatchResponse200DnsRecord::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordPatchResponse200DnsRecord'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsRecordsDnsRecordPatchResponse200DnsRecord::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -204,7 +204,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['content']); } if (\array_key_exists('content_attributes', $data)) { - $object->setContentAttributes($this->denormalizer->denormalize($data['content_attributes'], 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributes', 'json', $context)); + $object->setContentAttributes($this->denormalizer->denormalize($data['content_attributes'], \KatapultAPI\Core\Model\DNSRecordContentAttributes::class, 'json', $context)); unset($data['content_attributes']); } foreach ($data as $key => $value) { @@ -257,7 +257,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordPatchResponse200DnsRecord' => false]; + return [\KatapultAPI\Core\Model\DnsRecordsDnsRecordPatchResponse200DnsRecord::class => false]; } } } diff --git a/src/Core/Normalizer/DnsRecordsDnsRecordPatchResponse200Normalizer.php b/src/Core/Normalizer/DnsRecordsDnsRecordPatchResponse200Normalizer.php index 02c35f5a..4745a61c 100644 --- a/src/Core/Normalizer/DnsRecordsDnsRecordPatchResponse200Normalizer.php +++ b/src/Core/Normalizer/DnsRecordsDnsRecordPatchResponse200Normalizer.php @@ -31,12 +31,12 @@ class DnsRecordsDnsRecordPatchResponse200Normalizer implements DenormalizerInter public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordPatchResponse200'; + return $type === \KatapultAPI\Core\Model\DnsRecordsDnsRecordPatchResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordPatchResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsRecordsDnsRecordPatchResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('dns_record', $data)) { - $object->setDnsRecord($this->denormalizer->denormalize($data['dns_record'], 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordPatchResponse200DnsRecord', 'json', $context)); + $object->setDnsRecord($this->denormalizer->denormalize($data['dns_record'], \KatapultAPI\Core\Model\DnsRecordsDnsRecordPatchResponse200DnsRecord::class, 'json', $context)); unset($data['dns_record']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordPatchResponse200' => false]; + return [\KatapultAPI\Core\Model\DnsRecordsDnsRecordPatchResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class DnsRecordsDnsRecordPatchResponse200Normalizer implements DenormalizerInter public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordPatchResponse200'; + return $type === \KatapultAPI\Core\Model\DnsRecordsDnsRecordPatchResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordPatchResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsRecordsDnsRecordPatchResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('dns_record', $data)) { - $object->setDnsRecord($this->denormalizer->denormalize($data['dns_record'], 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordPatchResponse200DnsRecord', 'json', $context)); + $object->setDnsRecord($this->denormalizer->denormalize($data['dns_record'], \KatapultAPI\Core\Model\DnsRecordsDnsRecordPatchResponse200DnsRecord::class, 'json', $context)); unset($data['dns_record']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordPatchResponse200' => false]; + return [\KatapultAPI\Core\Model\DnsRecordsDnsRecordPatchResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/DnsZonesDnsZoneDeleteBodyNormalizer.php b/src/Core/Normalizer/DnsZonesDnsZoneDeleteBodyNormalizer.php index 0318ac49..a50037fc 100644 --- a/src/Core/Normalizer/DnsZonesDnsZoneDeleteBodyNormalizer.php +++ b/src/Core/Normalizer/DnsZonesDnsZoneDeleteBodyNormalizer.php @@ -31,12 +31,12 @@ class DnsZonesDnsZoneDeleteBodyNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneDeleteBody'; + return $type === \KatapultAPI\Core\Model\DnsZonesDnsZoneDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsZonesDnsZoneDeleteBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('dns_zone', $data)) { - $object->setDnsZone($this->denormalizer->denormalize($data['dns_zone'], 'KatapultAPI\\Core\\Model\\DNSZoneLookup', 'json', $context)); + $object->setDnsZone($this->denormalizer->denormalize($data['dns_zone'], \KatapultAPI\Core\Model\DNSZoneLookup::class, 'json', $context)); unset($data['dns_zone']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsZonesDnsZoneDeleteBody' => false]; + return [\KatapultAPI\Core\Model\DnsZonesDnsZoneDeleteBody::class => false]; } } } else { @@ -92,12 +92,12 @@ class DnsZonesDnsZoneDeleteBodyNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneDeleteBody'; + return $type === \KatapultAPI\Core\Model\DnsZonesDnsZoneDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsZonesDnsZoneDeleteBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('dns_zone', $data)) { - $object->setDnsZone($this->denormalizer->denormalize($data['dns_zone'], 'KatapultAPI\\Core\\Model\\DNSZoneLookup', 'json', $context)); + $object->setDnsZone($this->denormalizer->denormalize($data['dns_zone'], \KatapultAPI\Core\Model\DNSZoneLookup::class, 'json', $context)); unset($data['dns_zone']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsZonesDnsZoneDeleteBody' => false]; + return [\KatapultAPI\Core\Model\DnsZonesDnsZoneDeleteBody::class => false]; } } } diff --git a/src/Core/Normalizer/DnsZonesDnsZoneDeleteResponse200Normalizer.php b/src/Core/Normalizer/DnsZonesDnsZoneDeleteResponse200Normalizer.php index 86edc3ef..ca7a3d47 100644 --- a/src/Core/Normalizer/DnsZonesDnsZoneDeleteResponse200Normalizer.php +++ b/src/Core/Normalizer/DnsZonesDnsZoneDeleteResponse200Normalizer.php @@ -31,12 +31,12 @@ class DnsZonesDnsZoneDeleteResponse200Normalizer implements DenormalizerInterfac public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\DnsZonesDnsZoneDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsZonesDnsZoneDeleteResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsZonesDnsZoneDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\DnsZonesDnsZoneDeleteResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class DnsZonesDnsZoneDeleteResponse200Normalizer implements DenormalizerInterfac public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\DnsZonesDnsZoneDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsZonesDnsZoneDeleteResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsZonesDnsZoneDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\DnsZonesDnsZoneDeleteResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/DnsZonesDnsZoneGetResponse200DnsZoneNormalizer.php b/src/Core/Normalizer/DnsZonesDnsZoneGetResponse200DnsZoneNormalizer.php index a252e719..bde80172 100644 --- a/src/Core/Normalizer/DnsZonesDnsZoneGetResponse200DnsZoneNormalizer.php +++ b/src/Core/Normalizer/DnsZonesDnsZoneGetResponse200DnsZoneNormalizer.php @@ -31,12 +31,12 @@ class DnsZonesDnsZoneGetResponse200DnsZoneNormalizer implements DenormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneGetResponse200DnsZone'; + return $type === \KatapultAPI\Core\Model\DnsZonesDnsZoneGetResponse200DnsZone::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneGetResponse200DnsZone'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsZonesDnsZoneGetResponse200DnsZone::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsZonesDnsZoneGetResponse200DnsZone' => false]; + return [\KatapultAPI\Core\Model\DnsZonesDnsZoneGetResponse200DnsZone::class => false]; } } } else { @@ -115,12 +115,12 @@ class DnsZonesDnsZoneGetResponse200DnsZoneNormalizer implements DenormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneGetResponse200DnsZone'; + return $type === \KatapultAPI\Core\Model\DnsZonesDnsZoneGetResponse200DnsZone::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneGetResponse200DnsZone'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsZonesDnsZoneGetResponse200DnsZone::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsZonesDnsZoneGetResponse200DnsZone' => false]; + return [\KatapultAPI\Core\Model\DnsZonesDnsZoneGetResponse200DnsZone::class => false]; } } } diff --git a/src/Core/Normalizer/DnsZonesDnsZoneGetResponse200Normalizer.php b/src/Core/Normalizer/DnsZonesDnsZoneGetResponse200Normalizer.php index 60605ae8..3a751786 100644 --- a/src/Core/Normalizer/DnsZonesDnsZoneGetResponse200Normalizer.php +++ b/src/Core/Normalizer/DnsZonesDnsZoneGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class DnsZonesDnsZoneGetResponse200Normalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneGetResponse200'; + return $type === \KatapultAPI\Core\Model\DnsZonesDnsZoneGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsZonesDnsZoneGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('dns_zone', $data)) { - $object->setDnsZone($this->denormalizer->denormalize($data['dns_zone'], 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneGetResponse200DnsZone', 'json', $context)); + $object->setDnsZone($this->denormalizer->denormalize($data['dns_zone'], \KatapultAPI\Core\Model\DnsZonesDnsZoneGetResponse200DnsZone::class, 'json', $context)); unset($data['dns_zone']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsZonesDnsZoneGetResponse200' => false]; + return [\KatapultAPI\Core\Model\DnsZonesDnsZoneGetResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class DnsZonesDnsZoneGetResponse200Normalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneGetResponse200'; + return $type === \KatapultAPI\Core\Model\DnsZonesDnsZoneGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsZonesDnsZoneGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('dns_zone', $data)) { - $object->setDnsZone($this->denormalizer->denormalize($data['dns_zone'], 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneGetResponse200DnsZone', 'json', $context)); + $object->setDnsZone($this->denormalizer->denormalize($data['dns_zone'], \KatapultAPI\Core\Model\DnsZonesDnsZoneGetResponse200DnsZone::class, 'json', $context)); unset($data['dns_zone']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsZonesDnsZoneGetResponse200' => false]; + return [\KatapultAPI\Core\Model\DnsZonesDnsZoneGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/DnsZonesDnsZonePatchBodyNormalizer.php b/src/Core/Normalizer/DnsZonesDnsZonePatchBodyNormalizer.php index 4432a0c3..501d10f4 100644 --- a/src/Core/Normalizer/DnsZonesDnsZonePatchBodyNormalizer.php +++ b/src/Core/Normalizer/DnsZonesDnsZonePatchBodyNormalizer.php @@ -31,12 +31,12 @@ class DnsZonesDnsZonePatchBodyNormalizer implements DenormalizerInterface, Norma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZonePatchBody'; + return $type === \KatapultAPI\Core\Model\DnsZonesDnsZonePatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZonePatchBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsZonesDnsZonePatchBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('dns_zone', $data)) { - $object->setDnsZone($this->denormalizer->denormalize($data['dns_zone'], 'KatapultAPI\\Core\\Model\\DNSZoneLookup', 'json', $context)); + $object->setDnsZone($this->denormalizer->denormalize($data['dns_zone'], \KatapultAPI\Core\Model\DNSZoneLookup::class, 'json', $context)); unset($data['dns_zone']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\DNSZoneArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\DNSZoneArguments::class, 'json', $context)); unset($data['properties']); } foreach ($data as $key => $value) { @@ -84,7 +84,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsZonesDnsZonePatchBody' => false]; + return [\KatapultAPI\Core\Model\DnsZonesDnsZonePatchBody::class => false]; } } } else { @@ -97,12 +97,12 @@ class DnsZonesDnsZonePatchBodyNormalizer implements DenormalizerInterface, Norma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZonePatchBody'; + return $type === \KatapultAPI\Core\Model\DnsZonesDnsZonePatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZonePatchBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsZonesDnsZonePatchBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -118,11 +118,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('dns_zone', $data)) { - $object->setDnsZone($this->denormalizer->denormalize($data['dns_zone'], 'KatapultAPI\\Core\\Model\\DNSZoneLookup', 'json', $context)); + $object->setDnsZone($this->denormalizer->denormalize($data['dns_zone'], \KatapultAPI\Core\Model\DNSZoneLookup::class, 'json', $context)); unset($data['dns_zone']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\DNSZoneArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\DNSZoneArguments::class, 'json', $context)); unset($data['properties']); } foreach ($data as $key => $value) { @@ -153,7 +153,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsZonesDnsZonePatchBody' => false]; + return [\KatapultAPI\Core\Model\DnsZonesDnsZonePatchBody::class => false]; } } } diff --git a/src/Core/Normalizer/DnsZonesDnsZonePatchResponse200DnsZoneNormalizer.php b/src/Core/Normalizer/DnsZonesDnsZonePatchResponse200DnsZoneNormalizer.php index 3638ce44..e001e538 100644 --- a/src/Core/Normalizer/DnsZonesDnsZonePatchResponse200DnsZoneNormalizer.php +++ b/src/Core/Normalizer/DnsZonesDnsZonePatchResponse200DnsZoneNormalizer.php @@ -31,12 +31,12 @@ class DnsZonesDnsZonePatchResponse200DnsZoneNormalizer implements DenormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZonePatchResponse200DnsZone'; + return $type === \KatapultAPI\Core\Model\DnsZonesDnsZonePatchResponse200DnsZone::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZonePatchResponse200DnsZone'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsZonesDnsZonePatchResponse200DnsZone::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsZonesDnsZonePatchResponse200DnsZone' => false]; + return [\KatapultAPI\Core\Model\DnsZonesDnsZonePatchResponse200DnsZone::class => false]; } } } else { @@ -115,12 +115,12 @@ class DnsZonesDnsZonePatchResponse200DnsZoneNormalizer implements DenormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZonePatchResponse200DnsZone'; + return $type === \KatapultAPI\Core\Model\DnsZonesDnsZonePatchResponse200DnsZone::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZonePatchResponse200DnsZone'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsZonesDnsZonePatchResponse200DnsZone::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsZonesDnsZonePatchResponse200DnsZone' => false]; + return [\KatapultAPI\Core\Model\DnsZonesDnsZonePatchResponse200DnsZone::class => false]; } } } diff --git a/src/Core/Normalizer/DnsZonesDnsZonePatchResponse200Normalizer.php b/src/Core/Normalizer/DnsZonesDnsZonePatchResponse200Normalizer.php index c7136009..952bd7d7 100644 --- a/src/Core/Normalizer/DnsZonesDnsZonePatchResponse200Normalizer.php +++ b/src/Core/Normalizer/DnsZonesDnsZonePatchResponse200Normalizer.php @@ -31,12 +31,12 @@ class DnsZonesDnsZonePatchResponse200Normalizer implements DenormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZonePatchResponse200'; + return $type === \KatapultAPI\Core\Model\DnsZonesDnsZonePatchResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZonePatchResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsZonesDnsZonePatchResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('dns_zone', $data)) { - $object->setDnsZone($this->denormalizer->denormalize($data['dns_zone'], 'KatapultAPI\\Core\\Model\\DnsZonesDnsZonePatchResponse200DnsZone', 'json', $context)); + $object->setDnsZone($this->denormalizer->denormalize($data['dns_zone'], \KatapultAPI\Core\Model\DnsZonesDnsZonePatchResponse200DnsZone::class, 'json', $context)); unset($data['dns_zone']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsZonesDnsZonePatchResponse200' => false]; + return [\KatapultAPI\Core\Model\DnsZonesDnsZonePatchResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class DnsZonesDnsZonePatchResponse200Normalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZonePatchResponse200'; + return $type === \KatapultAPI\Core\Model\DnsZonesDnsZonePatchResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZonePatchResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsZonesDnsZonePatchResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('dns_zone', $data)) { - $object->setDnsZone($this->denormalizer->denormalize($data['dns_zone'], 'KatapultAPI\\Core\\Model\\DnsZonesDnsZonePatchResponse200DnsZone', 'json', $context)); + $object->setDnsZone($this->denormalizer->denormalize($data['dns_zone'], \KatapultAPI\Core\Model\DnsZonesDnsZonePatchResponse200DnsZone::class, 'json', $context)); unset($data['dns_zone']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsZonesDnsZonePatchResponse200' => false]; + return [\KatapultAPI\Core\Model\DnsZonesDnsZonePatchResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/DnsZonesDnsZoneRecordsGetResponse200Normalizer.php b/src/Core/Normalizer/DnsZonesDnsZoneRecordsGetResponse200Normalizer.php index fdd7ffab..42c6f9c3 100644 --- a/src/Core/Normalizer/DnsZonesDnsZoneRecordsGetResponse200Normalizer.php +++ b/src/Core/Normalizer/DnsZonesDnsZoneRecordsGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class DnsZonesDnsZoneRecordsGetResponse200Normalizer implements DenormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneRecordsGetResponse200'; + return $type === \KatapultAPI\Core\Model\DnsZonesDnsZoneRecordsGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneRecordsGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsZonesDnsZoneRecordsGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -54,7 +54,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('dns_records', $data)) { $values = []; foreach ($data['dns_records'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\DNSRecord', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\DNSRecord::class, 'json', $context); } $object->setDnsRecords($values); unset($data['dns_records']); @@ -87,7 +87,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsZonesDnsZoneRecordsGetResponse200' => false]; + return [\KatapultAPI\Core\Model\DnsZonesDnsZoneRecordsGetResponse200::class => false]; } } } else { @@ -100,12 +100,12 @@ class DnsZonesDnsZoneRecordsGetResponse200Normalizer implements DenormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneRecordsGetResponse200'; + return $type === \KatapultAPI\Core\Model\DnsZonesDnsZoneRecordsGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneRecordsGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsZonesDnsZoneRecordsGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -123,7 +123,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('dns_records', $data)) { $values = []; foreach ($data['dns_records'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\DNSRecord', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\DNSRecord::class, 'json', $context); } $object->setDnsRecords($values); unset($data['dns_records']); @@ -159,7 +159,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsZonesDnsZoneRecordsGetResponse200' => false]; + return [\KatapultAPI\Core\Model\DnsZonesDnsZoneRecordsGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/DnsZonesDnsZoneRecordsPostBodyNormalizer.php b/src/Core/Normalizer/DnsZonesDnsZoneRecordsPostBodyNormalizer.php index 72cb0cac..220c5f73 100644 --- a/src/Core/Normalizer/DnsZonesDnsZoneRecordsPostBodyNormalizer.php +++ b/src/Core/Normalizer/DnsZonesDnsZoneRecordsPostBodyNormalizer.php @@ -31,12 +31,12 @@ class DnsZonesDnsZoneRecordsPostBodyNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneRecordsPostBody'; + return $type === \KatapultAPI\Core\Model\DnsZonesDnsZoneRecordsPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneRecordsPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsZonesDnsZoneRecordsPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('dns_zone', $data)) { - $object->setDnsZone($this->denormalizer->denormalize($data['dns_zone'], 'KatapultAPI\\Core\\Model\\DNSZoneLookup', 'json', $context)); + $object->setDnsZone($this->denormalizer->denormalize($data['dns_zone'], \KatapultAPI\Core\Model\DNSZoneLookup::class, 'json', $context)); unset($data['dns_zone']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\DNSRecordArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\DNSRecordArguments::class, 'json', $context)); unset($data['properties']); } foreach ($data as $key => $value) { @@ -84,7 +84,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsZonesDnsZoneRecordsPostBody' => false]; + return [\KatapultAPI\Core\Model\DnsZonesDnsZoneRecordsPostBody::class => false]; } } } else { @@ -97,12 +97,12 @@ class DnsZonesDnsZoneRecordsPostBodyNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneRecordsPostBody'; + return $type === \KatapultAPI\Core\Model\DnsZonesDnsZoneRecordsPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneRecordsPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsZonesDnsZoneRecordsPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -118,11 +118,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('dns_zone', $data)) { - $object->setDnsZone($this->denormalizer->denormalize($data['dns_zone'], 'KatapultAPI\\Core\\Model\\DNSZoneLookup', 'json', $context)); + $object->setDnsZone($this->denormalizer->denormalize($data['dns_zone'], \KatapultAPI\Core\Model\DNSZoneLookup::class, 'json', $context)); unset($data['dns_zone']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\DNSRecordArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\DNSRecordArguments::class, 'json', $context)); unset($data['properties']); } foreach ($data as $key => $value) { @@ -153,7 +153,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsZonesDnsZoneRecordsPostBody' => false]; + return [\KatapultAPI\Core\Model\DnsZonesDnsZoneRecordsPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/DnsZonesDnsZoneRecordsPostResponse200Normalizer.php b/src/Core/Normalizer/DnsZonesDnsZoneRecordsPostResponse200Normalizer.php index 579ca790..b5954e4b 100644 --- a/src/Core/Normalizer/DnsZonesDnsZoneRecordsPostResponse200Normalizer.php +++ b/src/Core/Normalizer/DnsZonesDnsZoneRecordsPostResponse200Normalizer.php @@ -31,12 +31,12 @@ class DnsZonesDnsZoneRecordsPostResponse200Normalizer implements DenormalizerInt public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneRecordsPostResponse200'; + return $type === \KatapultAPI\Core\Model\DnsZonesDnsZoneRecordsPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneRecordsPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsZonesDnsZoneRecordsPostResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('dns_record', $data)) { - $object->setDnsRecord($this->denormalizer->denormalize($data['dns_record'], 'KatapultAPI\\Core\\Model\\DNSRecord', 'json', $context)); + $object->setDnsRecord($this->denormalizer->denormalize($data['dns_record'], \KatapultAPI\Core\Model\DNSRecord::class, 'json', $context)); unset($data['dns_record']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsZonesDnsZoneRecordsPostResponse200' => false]; + return [\KatapultAPI\Core\Model\DnsZonesDnsZoneRecordsPostResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class DnsZonesDnsZoneRecordsPostResponse200Normalizer implements DenormalizerInt public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneRecordsPostResponse200'; + return $type === \KatapultAPI\Core\Model\DnsZonesDnsZoneRecordsPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneRecordsPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsZonesDnsZoneRecordsPostResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('dns_record', $data)) { - $object->setDnsRecord($this->denormalizer->denormalize($data['dns_record'], 'KatapultAPI\\Core\\Model\\DNSRecord', 'json', $context)); + $object->setDnsRecord($this->denormalizer->denormalize($data['dns_record'], \KatapultAPI\Core\Model\DNSRecord::class, 'json', $context)); unset($data['dns_record']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsZonesDnsZoneRecordsPostResponse200' => false]; + return [\KatapultAPI\Core\Model\DnsZonesDnsZoneRecordsPostResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/DnsZonesDnsZoneVerifyPostBodyNormalizer.php b/src/Core/Normalizer/DnsZonesDnsZoneVerifyPostBodyNormalizer.php index 6251713f..761dda47 100644 --- a/src/Core/Normalizer/DnsZonesDnsZoneVerifyPostBodyNormalizer.php +++ b/src/Core/Normalizer/DnsZonesDnsZoneVerifyPostBodyNormalizer.php @@ -31,12 +31,12 @@ class DnsZonesDnsZoneVerifyPostBodyNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneVerifyPostBody'; + return $type === \KatapultAPI\Core\Model\DnsZonesDnsZoneVerifyPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneVerifyPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsZonesDnsZoneVerifyPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('dns_zone', $data)) { - $object->setDnsZone($this->denormalizer->denormalize($data['dns_zone'], 'KatapultAPI\\Core\\Model\\DNSZoneLookup', 'json', $context)); + $object->setDnsZone($this->denormalizer->denormalize($data['dns_zone'], \KatapultAPI\Core\Model\DNSZoneLookup::class, 'json', $context)); unset($data['dns_zone']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsZonesDnsZoneVerifyPostBody' => false]; + return [\KatapultAPI\Core\Model\DnsZonesDnsZoneVerifyPostBody::class => false]; } } } else { @@ -92,12 +92,12 @@ class DnsZonesDnsZoneVerifyPostBodyNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneVerifyPostBody'; + return $type === \KatapultAPI\Core\Model\DnsZonesDnsZoneVerifyPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneVerifyPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsZonesDnsZoneVerifyPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('dns_zone', $data)) { - $object->setDnsZone($this->denormalizer->denormalize($data['dns_zone'], 'KatapultAPI\\Core\\Model\\DNSZoneLookup', 'json', $context)); + $object->setDnsZone($this->denormalizer->denormalize($data['dns_zone'], \KatapultAPI\Core\Model\DNSZoneLookup::class, 'json', $context)); unset($data['dns_zone']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsZonesDnsZoneVerifyPostBody' => false]; + return [\KatapultAPI\Core\Model\DnsZonesDnsZoneVerifyPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/DnsZonesDnsZoneVerifyPostResponse200DnsZoneNormalizer.php b/src/Core/Normalizer/DnsZonesDnsZoneVerifyPostResponse200DnsZoneNormalizer.php index 8693dbf5..870c7cc8 100644 --- a/src/Core/Normalizer/DnsZonesDnsZoneVerifyPostResponse200DnsZoneNormalizer.php +++ b/src/Core/Normalizer/DnsZonesDnsZoneVerifyPostResponse200DnsZoneNormalizer.php @@ -31,12 +31,12 @@ class DnsZonesDnsZoneVerifyPostResponse200DnsZoneNormalizer implements Denormali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneVerifyPostResponse200DnsZone'; + return $type === \KatapultAPI\Core\Model\DnsZonesDnsZoneVerifyPostResponse200DnsZone::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneVerifyPostResponse200DnsZone'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsZonesDnsZoneVerifyPostResponse200DnsZone::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsZonesDnsZoneVerifyPostResponse200DnsZone' => false]; + return [\KatapultAPI\Core\Model\DnsZonesDnsZoneVerifyPostResponse200DnsZone::class => false]; } } } else { @@ -115,12 +115,12 @@ class DnsZonesDnsZoneVerifyPostResponse200DnsZoneNormalizer implements Denormali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneVerifyPostResponse200DnsZone'; + return $type === \KatapultAPI\Core\Model\DnsZonesDnsZoneVerifyPostResponse200DnsZone::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneVerifyPostResponse200DnsZone'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsZonesDnsZoneVerifyPostResponse200DnsZone::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsZonesDnsZoneVerifyPostResponse200DnsZone' => false]; + return [\KatapultAPI\Core\Model\DnsZonesDnsZoneVerifyPostResponse200DnsZone::class => false]; } } } diff --git a/src/Core/Normalizer/DnsZonesDnsZoneVerifyPostResponse200Normalizer.php b/src/Core/Normalizer/DnsZonesDnsZoneVerifyPostResponse200Normalizer.php index 0d4f7390..18a35577 100644 --- a/src/Core/Normalizer/DnsZonesDnsZoneVerifyPostResponse200Normalizer.php +++ b/src/Core/Normalizer/DnsZonesDnsZoneVerifyPostResponse200Normalizer.php @@ -31,12 +31,12 @@ class DnsZonesDnsZoneVerifyPostResponse200Normalizer implements DenormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneVerifyPostResponse200'; + return $type === \KatapultAPI\Core\Model\DnsZonesDnsZoneVerifyPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneVerifyPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsZonesDnsZoneVerifyPostResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('dns_zone', $data)) { - $object->setDnsZone($this->denormalizer->denormalize($data['dns_zone'], 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneVerifyPostResponse200DnsZone', 'json', $context)); + $object->setDnsZone($this->denormalizer->denormalize($data['dns_zone'], \KatapultAPI\Core\Model\DnsZonesDnsZoneVerifyPostResponse200DnsZone::class, 'json', $context)); unset($data['dns_zone']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsZonesDnsZoneVerifyPostResponse200' => false]; + return [\KatapultAPI\Core\Model\DnsZonesDnsZoneVerifyPostResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class DnsZonesDnsZoneVerifyPostResponse200Normalizer implements DenormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneVerifyPostResponse200'; + return $type === \KatapultAPI\Core\Model\DnsZonesDnsZoneVerifyPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneVerifyPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\DnsZonesDnsZoneVerifyPostResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('dns_zone', $data)) { - $object->setDnsZone($this->denormalizer->denormalize($data['dns_zone'], 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneVerifyPostResponse200DnsZone', 'json', $context)); + $object->setDnsZone($this->denormalizer->denormalize($data['dns_zone'], \KatapultAPI\Core\Model\DnsZonesDnsZoneVerifyPostResponse200DnsZone::class, 'json', $context)); unset($data['dns_zone']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\DnsZonesDnsZoneVerifyPostResponse200' => false]; + return [\KatapultAPI\Core\Model\DnsZonesDnsZoneVerifyPostResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/FileStorageVolumeArgumentsNormalizer.php b/src/Core/Normalizer/FileStorageVolumeArgumentsNormalizer.php index d1279268..d39010e3 100644 --- a/src/Core/Normalizer/FileStorageVolumeArgumentsNormalizer.php +++ b/src/Core/Normalizer/FileStorageVolumeArgumentsNormalizer.php @@ -31,12 +31,12 @@ class FileStorageVolumeArgumentsNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\FileStorageVolumeArguments'; + return $type === \KatapultAPI\Core\Model\FileStorageVolumeArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\FileStorageVolumeArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\FileStorageVolumeArguments::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -56,7 +56,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['name']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\DataCenterLookup', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\DataCenterLookup::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('associations', $data)) { @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\FileStorageVolumeArguments' => false]; + return [\KatapultAPI\Core\Model\FileStorageVolumeArguments::class => false]; } } } else { @@ -116,12 +116,12 @@ class FileStorageVolumeArgumentsNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\FileStorageVolumeArguments'; + return $type === \KatapultAPI\Core\Model\FileStorageVolumeArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\FileStorageVolumeArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\FileStorageVolumeArguments::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -141,7 +141,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\DataCenterLookup', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\DataCenterLookup::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('associations', $data)) { @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\FileStorageVolumeArguments' => false]; + return [\KatapultAPI\Core\Model\FileStorageVolumeArguments::class => false]; } } } diff --git a/src/Core/Normalizer/FileStorageVolumeLookupNormalizer.php b/src/Core/Normalizer/FileStorageVolumeLookupNormalizer.php index e8de9670..7fb16e03 100644 --- a/src/Core/Normalizer/FileStorageVolumeLookupNormalizer.php +++ b/src/Core/Normalizer/FileStorageVolumeLookupNormalizer.php @@ -31,12 +31,12 @@ class FileStorageVolumeLookupNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\FileStorageVolumeLookup'; + return $type === \KatapultAPI\Core\Model\FileStorageVolumeLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\FileStorageVolumeLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\FileStorageVolumeLookup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\FileStorageVolumeLookup' => false]; + return [\KatapultAPI\Core\Model\FileStorageVolumeLookup::class => false]; } } } else { @@ -94,12 +94,12 @@ class FileStorageVolumeLookupNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\FileStorageVolumeLookup'; + return $type === \KatapultAPI\Core\Model\FileStorageVolumeLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\FileStorageVolumeLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\FileStorageVolumeLookup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\FileStorageVolumeLookup' => false]; + return [\KatapultAPI\Core\Model\FileStorageVolumeLookup::class => false]; } } } diff --git a/src/Core/Normalizer/FileStorageVolumesFileStorageVolumeDeleteBodyNormalizer.php b/src/Core/Normalizer/FileStorageVolumesFileStorageVolumeDeleteBodyNormalizer.php index c42b1683..75c6e036 100644 --- a/src/Core/Normalizer/FileStorageVolumesFileStorageVolumeDeleteBodyNormalizer.php +++ b/src/Core/Normalizer/FileStorageVolumesFileStorageVolumeDeleteBodyNormalizer.php @@ -31,12 +31,12 @@ class FileStorageVolumesFileStorageVolumeDeleteBodyNormalizer implements Denorma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeDeleteBody'; + return $type === \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeDeleteBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('file_storage_volume', $data)) { - $object->setFileStorageVolume($this->denormalizer->denormalize($data['file_storage_volume'], 'KatapultAPI\\Core\\Model\\FileStorageVolumeLookup', 'json', $context)); + $object->setFileStorageVolume($this->denormalizer->denormalize($data['file_storage_volume'], \KatapultAPI\Core\Model\FileStorageVolumeLookup::class, 'json', $context)); unset($data['file_storage_volume']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeDeleteBody' => false]; + return [\KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeDeleteBody::class => false]; } } } else { @@ -92,12 +92,12 @@ class FileStorageVolumesFileStorageVolumeDeleteBodyNormalizer implements Denorma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeDeleteBody'; + return $type === \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeDeleteBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('file_storage_volume', $data)) { - $object->setFileStorageVolume($this->denormalizer->denormalize($data['file_storage_volume'], 'KatapultAPI\\Core\\Model\\FileStorageVolumeLookup', 'json', $context)); + $object->setFileStorageVolume($this->denormalizer->denormalize($data['file_storage_volume'], \KatapultAPI\Core\Model\FileStorageVolumeLookup::class, 'json', $context)); unset($data['file_storage_volume']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeDeleteBody' => false]; + return [\KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeDeleteBody::class => false]; } } } diff --git a/src/Core/Normalizer/FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolumeNormalizer.php b/src/Core/Normalizer/FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolumeNormalizer.php index 99c43124..c5a15862 100644 --- a/src/Core/Normalizer/FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolumeNormalizer.php +++ b/src/Core/Normalizer/FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolumeNormalizer.php @@ -31,12 +31,12 @@ class FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolumeNorma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolume'; + return $type === \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolume::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolume'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolume::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['name']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\DeleteFileStorageVolumePartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\DeleteFileStorageVolumePartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('associations', $data)) { @@ -135,7 +135,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolume' => false]; + return [\KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolume::class => false]; } } } else { @@ -148,12 +148,12 @@ class FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolumeNorma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolume'; + return $type === \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolume::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolume'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolume::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -177,7 +177,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\DeleteFileStorageVolumePartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\DeleteFileStorageVolumePartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('associations', $data)) { @@ -255,7 +255,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolume' => false]; + return [\KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolume::class => false]; } } } diff --git a/src/Core/Normalizer/FileStorageVolumesFileStorageVolumeDeleteResponse200Normalizer.php b/src/Core/Normalizer/FileStorageVolumesFileStorageVolumeDeleteResponse200Normalizer.php index 55c8933b..3508bf27 100644 --- a/src/Core/Normalizer/FileStorageVolumesFileStorageVolumeDeleteResponse200Normalizer.php +++ b/src/Core/Normalizer/FileStorageVolumesFileStorageVolumeDeleteResponse200Normalizer.php @@ -31,12 +31,12 @@ class FileStorageVolumesFileStorageVolumeDeleteResponse200Normalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeDeleteResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('trash_object', $data)) { - $object->setTrashObject($this->denormalizer->denormalize($data['trash_object'], 'KatapultAPI\\Core\\Model\\TrashObject', 'json', $context)); + $object->setTrashObject($this->denormalizer->denormalize($data['trash_object'], \KatapultAPI\Core\Model\TrashObject::class, 'json', $context)); unset($data['trash_object']); } if (\array_key_exists('file_storage_volume', $data)) { - $object->setFileStorageVolume($this->denormalizer->denormalize($data['file_storage_volume'], 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolume', 'json', $context)); + $object->setFileStorageVolume($this->denormalizer->denormalize($data['file_storage_volume'], \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolume::class, 'json', $context)); unset($data['file_storage_volume']); } foreach ($data as $key => $value) { @@ -84,7 +84,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeDeleteResponse200::class => false]; } } } else { @@ -97,12 +97,12 @@ class FileStorageVolumesFileStorageVolumeDeleteResponse200Normalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeDeleteResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -118,11 +118,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('trash_object', $data)) { - $object->setTrashObject($this->denormalizer->denormalize($data['trash_object'], 'KatapultAPI\\Core\\Model\\TrashObject', 'json', $context)); + $object->setTrashObject($this->denormalizer->denormalize($data['trash_object'], \KatapultAPI\Core\Model\TrashObject::class, 'json', $context)); unset($data['trash_object']); } if (\array_key_exists('file_storage_volume', $data)) { - $object->setFileStorageVolume($this->denormalizer->denormalize($data['file_storage_volume'], 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolume', 'json', $context)); + $object->setFileStorageVolume($this->denormalizer->denormalize($data['file_storage_volume'], \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolume::class, 'json', $context)); unset($data['file_storage_volume']); } foreach ($data as $key => $value) { @@ -153,7 +153,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeDeleteResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolumeNormalizer.php b/src/Core/Normalizer/FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolumeNormalizer.php index e779fa72..af94a37f 100644 --- a/src/Core/Normalizer/FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolumeNormalizer.php +++ b/src/Core/Normalizer/FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolumeNormalizer.php @@ -31,12 +31,12 @@ class FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolumeNormaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolume'; + return $type === \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolume::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolume'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolume::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['name']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\GetFileStorageVolumePartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\GetFileStorageVolumePartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('associations', $data)) { @@ -135,7 +135,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolume' => false]; + return [\KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolume::class => false]; } } } else { @@ -148,12 +148,12 @@ class FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolumeNormaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolume'; + return $type === \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolume::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolume'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolume::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -177,7 +177,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\GetFileStorageVolumePartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\GetFileStorageVolumePartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('associations', $data)) { @@ -255,7 +255,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolume' => false]; + return [\KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolume::class => false]; } } } diff --git a/src/Core/Normalizer/FileStorageVolumesFileStorageVolumeGetResponse200Normalizer.php b/src/Core/Normalizer/FileStorageVolumesFileStorageVolumeGetResponse200Normalizer.php index 3de0eaba..6ffb66a5 100644 --- a/src/Core/Normalizer/FileStorageVolumesFileStorageVolumeGetResponse200Normalizer.php +++ b/src/Core/Normalizer/FileStorageVolumesFileStorageVolumeGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class FileStorageVolumesFileStorageVolumeGetResponse200Normalizer implements Den public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeGetResponse200'; + return $type === \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('file_storage_volume', $data)) { - $object->setFileStorageVolume($this->denormalizer->denormalize($data['file_storage_volume'], 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolume', 'json', $context)); + $object->setFileStorageVolume($this->denormalizer->denormalize($data['file_storage_volume'], \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolume::class, 'json', $context)); unset($data['file_storage_volume']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeGetResponse200' => false]; + return [\KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class FileStorageVolumesFileStorageVolumeGetResponse200Normalizer implements Den public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeGetResponse200'; + return $type === \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('file_storage_volume', $data)) { - $object->setFileStorageVolume($this->denormalizer->denormalize($data['file_storage_volume'], 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolume', 'json', $context)); + $object->setFileStorageVolume($this->denormalizer->denormalize($data['file_storage_volume'], \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolume::class, 'json', $context)); unset($data['file_storage_volume']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeGetResponse200' => false]; + return [\KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/FileStorageVolumesFileStorageVolumePatchBodyNormalizer.php b/src/Core/Normalizer/FileStorageVolumesFileStorageVolumePatchBodyNormalizer.php index 899e2b91..ab5ce968 100644 --- a/src/Core/Normalizer/FileStorageVolumesFileStorageVolumePatchBodyNormalizer.php +++ b/src/Core/Normalizer/FileStorageVolumesFileStorageVolumePatchBodyNormalizer.php @@ -31,12 +31,12 @@ class FileStorageVolumesFileStorageVolumePatchBodyNormalizer implements Denormal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumePatchBody'; + return $type === \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumePatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumePatchBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumePatchBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,17 +52,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('file_storage_volume', $data)) { - $object->setFileStorageVolume($this->denormalizer->denormalize($data['file_storage_volume'], 'KatapultAPI\\Core\\Model\\FileStorageVolumeLookup', 'json', $context)); + $object->setFileStorageVolume($this->denormalizer->denormalize($data['file_storage_volume'], \KatapultAPI\Core\Model\FileStorageVolumeLookup::class, 'json', $context)); unset($data['file_storage_volume']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\FileStorageVolumeArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\FileStorageVolumeArguments::class, 'json', $context)); unset($data['properties']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -99,7 +99,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumePatchBody' => false]; + return [\KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumePatchBody::class => false]; } } } else { @@ -112,12 +112,12 @@ class FileStorageVolumesFileStorageVolumePatchBodyNormalizer implements Denormal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumePatchBody'; + return $type === \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumePatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumePatchBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumePatchBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -133,17 +133,17 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('file_storage_volume', $data)) { - $object->setFileStorageVolume($this->denormalizer->denormalize($data['file_storage_volume'], 'KatapultAPI\\Core\\Model\\FileStorageVolumeLookup', 'json', $context)); + $object->setFileStorageVolume($this->denormalizer->denormalize($data['file_storage_volume'], \KatapultAPI\Core\Model\FileStorageVolumeLookup::class, 'json', $context)); unset($data['file_storage_volume']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\FileStorageVolumeArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\FileStorageVolumeArguments::class, 'json', $context)); unset($data['properties']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -183,7 +183,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumePatchBody' => false]; + return [\KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumePatchBody::class => false]; } } } diff --git a/src/Core/Normalizer/FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolumeNormalizer.php b/src/Core/Normalizer/FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolumeNormalizer.php index 16f8ccb8..e5c9669f 100644 --- a/src/Core/Normalizer/FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolumeNormalizer.php +++ b/src/Core/Normalizer/FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolumeNormalizer.php @@ -31,12 +31,12 @@ class FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolumeNormal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolume'; + return $type === \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolume::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolume'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolume::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['name']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PatchFileStorageVolumePartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PatchFileStorageVolumePartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('associations', $data)) { @@ -135,7 +135,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolume' => false]; + return [\KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolume::class => false]; } } } else { @@ -148,12 +148,12 @@ class FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolumeNormal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolume'; + return $type === \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolume::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolume'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolume::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -177,7 +177,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PatchFileStorageVolumePartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PatchFileStorageVolumePartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('associations', $data)) { @@ -255,7 +255,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolume' => false]; + return [\KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolume::class => false]; } } } diff --git a/src/Core/Normalizer/FileStorageVolumesFileStorageVolumePatchResponse200Normalizer.php b/src/Core/Normalizer/FileStorageVolumesFileStorageVolumePatchResponse200Normalizer.php index 678888a5..5b5a839f 100644 --- a/src/Core/Normalizer/FileStorageVolumesFileStorageVolumePatchResponse200Normalizer.php +++ b/src/Core/Normalizer/FileStorageVolumesFileStorageVolumePatchResponse200Normalizer.php @@ -31,12 +31,12 @@ class FileStorageVolumesFileStorageVolumePatchResponse200Normalizer implements D public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumePatchResponse200'; + return $type === \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumePatchResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumePatchResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumePatchResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('file_storage_volume', $data)) { - $object->setFileStorageVolume($this->denormalizer->denormalize($data['file_storage_volume'], 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolume', 'json', $context)); + $object->setFileStorageVolume($this->denormalizer->denormalize($data['file_storage_volume'], \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolume::class, 'json', $context)); unset($data['file_storage_volume']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumePatchResponse200' => false]; + return [\KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumePatchResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class FileStorageVolumesFileStorageVolumePatchResponse200Normalizer implements D public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumePatchResponse200'; + return $type === \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumePatchResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumePatchResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumePatchResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('file_storage_volume', $data)) { - $object->setFileStorageVolume($this->denormalizer->denormalize($data['file_storage_volume'], 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolume', 'json', $context)); + $object->setFileStorageVolume($this->denormalizer->denormalize($data['file_storage_volume'], \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolume::class, 'json', $context)); unset($data['file_storage_volume']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumePatchResponse200' => false]; + return [\KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumePatchResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/FinancialPolicyLimitNormalizer.php b/src/Core/Normalizer/FinancialPolicyLimitNormalizer.php index 17bef9d8..3de1be06 100644 --- a/src/Core/Normalizer/FinancialPolicyLimitNormalizer.php +++ b/src/Core/Normalizer/FinancialPolicyLimitNormalizer.php @@ -31,12 +31,12 @@ class FinancialPolicyLimitNormalizer implements DenormalizerInterface, Normalize public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\FinancialPolicyLimit'; + return $type === \KatapultAPI\Core\Model\FinancialPolicyLimit::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\FinancialPolicyLimit'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\FinancialPolicyLimit::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -66,7 +66,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['current']); } if (\array_key_exists('currency', $data)) { - $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'KatapultAPI\\Core\\Model\\Currency', 'json', $context)); + $object->setCurrency($this->denormalizer->denormalize($data['currency'], \KatapultAPI\Core\Model\Currency::class, 'json', $context)); unset($data['currency']); } foreach ($data as $key => $value) { @@ -101,7 +101,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\FinancialPolicyLimit' => false]; + return [\KatapultAPI\Core\Model\FinancialPolicyLimit::class => false]; } } } else { @@ -114,12 +114,12 @@ class FinancialPolicyLimitNormalizer implements DenormalizerInterface, Normalize public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\FinancialPolicyLimit'; + return $type === \KatapultAPI\Core\Model\FinancialPolicyLimit::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\FinancialPolicyLimit'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\FinancialPolicyLimit::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -149,7 +149,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['current']); } if (\array_key_exists('currency', $data)) { - $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'KatapultAPI\\Core\\Model\\Currency', 'json', $context)); + $object->setCurrency($this->denormalizer->denormalize($data['currency'], \KatapultAPI\Core\Model\Currency::class, 'json', $context)); unset($data['currency']); } foreach ($data as $key => $value) { @@ -187,7 +187,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\FinancialPolicyLimit' => false]; + return [\KatapultAPI\Core\Model\FinancialPolicyLimit::class => false]; } } } diff --git a/src/Core/Normalizer/FlexibleResourcesUnavailableToOrganizationSchemaNormalizer.php b/src/Core/Normalizer/FlexibleResourcesUnavailableToOrganizationSchemaNormalizer.php index 0d059249..353a022b 100644 --- a/src/Core/Normalizer/FlexibleResourcesUnavailableToOrganizationSchemaNormalizer.php +++ b/src/Core/Normalizer/FlexibleResourcesUnavailableToOrganizationSchemaNormalizer.php @@ -31,12 +31,12 @@ class FlexibleResourcesUnavailableToOrganizationSchemaNormalizer implements Deno public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\FlexibleResourcesUnavailableToOrganizationSchema'; + return $type === \KatapultAPI\Core\Model\FlexibleResourcesUnavailableToOrganizationSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\FlexibleResourcesUnavailableToOrganizationSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\FlexibleResourcesUnavailableToOrganizationSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\FlexibleResourcesUnavailableToOrganizationSchema' => false]; + return [\KatapultAPI\Core\Model\FlexibleResourcesUnavailableToOrganizationSchema::class => false]; } } } else { @@ -116,12 +116,12 @@ class FlexibleResourcesUnavailableToOrganizationSchemaNormalizer implements Deno public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\FlexibleResourcesUnavailableToOrganizationSchema'; + return $type === \KatapultAPI\Core\Model\FlexibleResourcesUnavailableToOrganizationSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\FlexibleResourcesUnavailableToOrganizationSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\FlexibleResourcesUnavailableToOrganizationSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\FlexibleResourcesUnavailableToOrganizationSchema' => false]; + return [\KatapultAPI\Core\Model\FlexibleResourcesUnavailableToOrganizationSchema::class => false]; } } } diff --git a/src/Core/Normalizer/GPUTypeDataCentersItemNormalizer.php b/src/Core/Normalizer/GPUTypeDataCentersItemNormalizer.php index 3d725a3e..986e520f 100644 --- a/src/Core/Normalizer/GPUTypeDataCentersItemNormalizer.php +++ b/src/Core/Normalizer/GPUTypeDataCentersItemNormalizer.php @@ -31,12 +31,12 @@ class GPUTypeDataCentersItemNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GPUTypeDataCentersItem'; + return $type === \KatapultAPI\Core\Model\GPUTypeDataCentersItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GPUTypeDataCentersItem'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GPUTypeDataCentersItem::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -64,7 +64,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['permalink']); } if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'KatapultAPI\\Core\\Model\\Country', 'json', $context)); + $object->setCountry($this->denormalizer->denormalize($data['country'], \KatapultAPI\Core\Model\Country::class, 'json', $context)); unset($data['country']); } foreach ($data as $key => $value) { @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GPUTypeDataCentersItem' => false]; + return [\KatapultAPI\Core\Model\GPUTypeDataCentersItem::class => false]; } } } else { @@ -115,12 +115,12 @@ class GPUTypeDataCentersItemNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GPUTypeDataCentersItem'; + return $type === \KatapultAPI\Core\Model\GPUTypeDataCentersItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GPUTypeDataCentersItem'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GPUTypeDataCentersItem::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -148,7 +148,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['permalink']); } if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'KatapultAPI\\Core\\Model\\Country', 'json', $context)); + $object->setCountry($this->denormalizer->denormalize($data['country'], \KatapultAPI\Core\Model\Country::class, 'json', $context)); unset($data['country']); } foreach ($data as $key => $value) { @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GPUTypeDataCentersItem' => false]; + return [\KatapultAPI\Core\Model\GPUTypeDataCentersItem::class => false]; } } } diff --git a/src/Core/Normalizer/GPUTypeLookupNormalizer.php b/src/Core/Normalizer/GPUTypeLookupNormalizer.php index b7c0ed61..c48e76d2 100644 --- a/src/Core/Normalizer/GPUTypeLookupNormalizer.php +++ b/src/Core/Normalizer/GPUTypeLookupNormalizer.php @@ -31,12 +31,12 @@ class GPUTypeLookupNormalizer implements DenormalizerInterface, NormalizerInterf public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GPUTypeLookup'; + return $type === \KatapultAPI\Core\Model\GPUTypeLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GPUTypeLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GPUTypeLookup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GPUTypeLookup' => false]; + return [\KatapultAPI\Core\Model\GPUTypeLookup::class => false]; } } } else { @@ -101,12 +101,12 @@ class GPUTypeLookupNormalizer implements DenormalizerInterface, NormalizerInterf public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GPUTypeLookup'; + return $type === \KatapultAPI\Core\Model\GPUTypeLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GPUTypeLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GPUTypeLookup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GPUTypeLookup' => false]; + return [\KatapultAPI\Core\Model\GPUTypeLookup::class => false]; } } } diff --git a/src/Core/Normalizer/GPUTypeNormalizer.php b/src/Core/Normalizer/GPUTypeNormalizer.php index 3a6c52c9..2463f1c3 100644 --- a/src/Core/Normalizer/GPUTypeNormalizer.php +++ b/src/Core/Normalizer/GPUTypeNormalizer.php @@ -31,12 +31,12 @@ class GPUTypeNormalizer implements DenormalizerInterface, NormalizerInterface, D public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GPUType'; + return $type === \KatapultAPI\Core\Model\GPUType::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GPUType'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GPUType::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -78,7 +78,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('data_centers', $data)) { $values = []; foreach ($data['data_centers'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GPUTypeDataCentersItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GPUTypeDataCentersItem::class, 'json', $context); } $object->setDataCenters($values); unset($data['data_centers']); @@ -131,7 +131,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GPUType' => false]; + return [\KatapultAPI\Core\Model\GPUType::class => false]; } } } else { @@ -144,12 +144,12 @@ class GPUTypeNormalizer implements DenormalizerInterface, NormalizerInterface, D public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GPUType'; + return $type === \KatapultAPI\Core\Model\GPUType::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GPUType'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GPUType::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('data_centers', $data)) { $values = []; foreach ($data['data_centers'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GPUTypeDataCentersItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GPUTypeDataCentersItem::class, 'json', $context); } $object->setDataCenters($values); unset($data['data_centers']); @@ -247,7 +247,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GPUType' => false]; + return [\KatapultAPI\Core\Model\GPUType::class => false]; } } } diff --git a/src/Core/Normalizer/GetAddressLists200ResponseAddressListsNormalizer.php b/src/Core/Normalizer/GetAddressLists200ResponseAddressListsNormalizer.php index c2685483..98e0d348 100644 --- a/src/Core/Normalizer/GetAddressLists200ResponseAddressListsNormalizer.php +++ b/src/Core/Normalizer/GetAddressLists200ResponseAddressListsNormalizer.php @@ -31,12 +31,12 @@ class GetAddressLists200ResponseAddressListsNormalizer implements DenormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetAddressLists200ResponseAddressLists'; + return $type === \KatapultAPI\Core\Model\GetAddressLists200ResponseAddressLists::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetAddressLists200ResponseAddressLists'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetAddressLists200ResponseAddressLists::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetAddressLists200ResponseAddressLists' => false]; + return [\KatapultAPI\Core\Model\GetAddressLists200ResponseAddressLists::class => false]; } } } else { @@ -108,12 +108,12 @@ class GetAddressLists200ResponseAddressListsNormalizer implements DenormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetAddressLists200ResponseAddressLists'; + return $type === \KatapultAPI\Core\Model\GetAddressLists200ResponseAddressLists::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetAddressLists200ResponseAddressLists'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetAddressLists200ResponseAddressLists::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetAddressLists200ResponseAddressLists' => false]; + return [\KatapultAPI\Core\Model\GetAddressLists200ResponseAddressLists::class => false]; } } } diff --git a/src/Core/Normalizer/GetCountries200ResponseCountriesNormalizer.php b/src/Core/Normalizer/GetCountries200ResponseCountriesNormalizer.php index b1230b5c..8f2c2bd8 100644 --- a/src/Core/Normalizer/GetCountries200ResponseCountriesNormalizer.php +++ b/src/Core/Normalizer/GetCountries200ResponseCountriesNormalizer.php @@ -31,12 +31,12 @@ class GetCountries200ResponseCountriesNormalizer implements DenormalizerInterfac public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetCountries200ResponseCountries'; + return $type === \KatapultAPI\Core\Model\GetCountries200ResponseCountries::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetCountries200ResponseCountries'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetCountries200ResponseCountries::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetCountries200ResponseCountries' => false]; + return [\KatapultAPI\Core\Model\GetCountries200ResponseCountries::class => false]; } } } else { @@ -101,12 +101,12 @@ class GetCountries200ResponseCountriesNormalizer implements DenormalizerInterfac public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetCountries200ResponseCountries'; + return $type === \KatapultAPI\Core\Model\GetCountries200ResponseCountries::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetCountries200ResponseCountries'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetCountries200ResponseCountries::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetCountries200ResponseCountries' => false]; + return [\KatapultAPI\Core\Model\GetCountries200ResponseCountries::class => false]; } } } diff --git a/src/Core/Normalizer/GetCountryCountryStates200ResponseCountryStatesNormalizer.php b/src/Core/Normalizer/GetCountryCountryStates200ResponseCountryStatesNormalizer.php index 73a1a35b..e0e581ef 100644 --- a/src/Core/Normalizer/GetCountryCountryStates200ResponseCountryStatesNormalizer.php +++ b/src/Core/Normalizer/GetCountryCountryStates200ResponseCountryStatesNormalizer.php @@ -31,12 +31,12 @@ class GetCountryCountryStates200ResponseCountryStatesNormalizer implements Denor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetCountryCountryStates200ResponseCountryStates'; + return $type === \KatapultAPI\Core\Model\GetCountryCountryStates200ResponseCountryStates::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetCountryCountryStates200ResponseCountryStates'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetCountryCountryStates200ResponseCountryStates::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetCountryCountryStates200ResponseCountryStates' => false]; + return [\KatapultAPI\Core\Model\GetCountryCountryStates200ResponseCountryStates::class => false]; } } } else { @@ -101,12 +101,12 @@ class GetCountryCountryStates200ResponseCountryStatesNormalizer implements Denor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetCountryCountryStates200ResponseCountryStates'; + return $type === \KatapultAPI\Core\Model\GetCountryCountryStates200ResponseCountryStates::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetCountryCountryStates200ResponseCountryStates'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetCountryCountryStates200ResponseCountryStates::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetCountryCountryStates200ResponseCountryStates' => false]; + return [\KatapultAPI\Core\Model\GetCountryCountryStates200ResponseCountryStates::class => false]; } } } diff --git a/src/Core/Normalizer/GetCurrencies200ResponseCurrenciesNormalizer.php b/src/Core/Normalizer/GetCurrencies200ResponseCurrenciesNormalizer.php index 00b563f5..9109fa03 100644 --- a/src/Core/Normalizer/GetCurrencies200ResponseCurrenciesNormalizer.php +++ b/src/Core/Normalizer/GetCurrencies200ResponseCurrenciesNormalizer.php @@ -31,12 +31,12 @@ class GetCurrencies200ResponseCurrenciesNormalizer implements DenormalizerInterf public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetCurrencies200ResponseCurrencies'; + return $type === \KatapultAPI\Core\Model\GetCurrencies200ResponseCurrencies::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetCurrencies200ResponseCurrencies'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetCurrencies200ResponseCurrencies::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetCurrencies200ResponseCurrencies' => false]; + return [\KatapultAPI\Core\Model\GetCurrencies200ResponseCurrencies::class => false]; } } } else { @@ -101,12 +101,12 @@ class GetCurrencies200ResponseCurrenciesNormalizer implements DenormalizerInterf public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetCurrencies200ResponseCurrencies'; + return $type === \KatapultAPI\Core\Model\GetCurrencies200ResponseCurrencies::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetCurrencies200ResponseCurrencies'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetCurrencies200ResponseCurrencies::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetCurrencies200ResponseCurrencies' => false]; + return [\KatapultAPI\Core\Model\GetCurrencies200ResponseCurrencies::class => false]; } } } diff --git a/src/Core/Normalizer/GetDataCenter200ResponseDataCenterNormalizer.php b/src/Core/Normalizer/GetDataCenter200ResponseDataCenterNormalizer.php index 4ac7a5ba..ab3ad9a5 100644 --- a/src/Core/Normalizer/GetDataCenter200ResponseDataCenterNormalizer.php +++ b/src/Core/Normalizer/GetDataCenter200ResponseDataCenterNormalizer.php @@ -31,12 +31,12 @@ class GetDataCenter200ResponseDataCenterNormalizer implements DenormalizerInterf public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDataCenter200ResponseDataCenter'; + return $type === \KatapultAPI\Core\Model\GetDataCenter200ResponseDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDataCenter200ResponseDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDataCenter200ResponseDataCenter::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -64,7 +64,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['permalink']); } if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'KatapultAPI\\Core\\Model\\GetDataCenterPartCountry', 'json', $context)); + $object->setCountry($this->denormalizer->denormalize($data['country'], \KatapultAPI\Core\Model\GetDataCenterPartCountry::class, 'json', $context)); unset($data['country']); } foreach ($data as $key => $value) { @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDataCenter200ResponseDataCenter' => false]; + return [\KatapultAPI\Core\Model\GetDataCenter200ResponseDataCenter::class => false]; } } } else { @@ -115,12 +115,12 @@ class GetDataCenter200ResponseDataCenterNormalizer implements DenormalizerInterf public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDataCenter200ResponseDataCenter'; + return $type === \KatapultAPI\Core\Model\GetDataCenter200ResponseDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDataCenter200ResponseDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDataCenter200ResponseDataCenter::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -148,7 +148,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['permalink']); } if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'KatapultAPI\\Core\\Model\\GetDataCenterPartCountry', 'json', $context)); + $object->setCountry($this->denormalizer->denormalize($data['country'], \KatapultAPI\Core\Model\GetDataCenterPartCountry::class, 'json', $context)); unset($data['country']); } foreach ($data as $key => $value) { @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDataCenter200ResponseDataCenter' => false]; + return [\KatapultAPI\Core\Model\GetDataCenter200ResponseDataCenter::class => false]; } } } diff --git a/src/Core/Normalizer/GetDataCenterDefaultNetwork200ResponseNetworkNormalizer.php b/src/Core/Normalizer/GetDataCenterDefaultNetwork200ResponseNetworkNormalizer.php index ace44940..bc7faf33 100644 --- a/src/Core/Normalizer/GetDataCenterDefaultNetwork200ResponseNetworkNormalizer.php +++ b/src/Core/Normalizer/GetDataCenterDefaultNetwork200ResponseNetworkNormalizer.php @@ -31,12 +31,12 @@ class GetDataCenterDefaultNetwork200ResponseNetworkNormalizer implements Denorma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDataCenterDefaultNetwork200ResponseNetwork'; + return $type === \KatapultAPI\Core\Model\GetDataCenterDefaultNetwork200ResponseNetwork::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDataCenterDefaultNetwork200ResponseNetwork'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDataCenterDefaultNetwork200ResponseNetwork::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -66,7 +66,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setPermalink(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\GetDataCenterDefaultNetworkPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\GetDataCenterDefaultNetworkPartDataCenter::class, 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value) { @@ -104,7 +104,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDataCenterDefaultNetwork200ResponseNetwork' => false]; + return [\KatapultAPI\Core\Model\GetDataCenterDefaultNetwork200ResponseNetwork::class => false]; } } } else { @@ -117,12 +117,12 @@ class GetDataCenterDefaultNetwork200ResponseNetworkNormalizer implements Denorma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDataCenterDefaultNetwork200ResponseNetwork'; + return $type === \KatapultAPI\Core\Model\GetDataCenterDefaultNetwork200ResponseNetwork::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDataCenterDefaultNetwork200ResponseNetwork'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDataCenterDefaultNetwork200ResponseNetwork::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -152,7 +152,7 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setPermalink(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\GetDataCenterDefaultNetworkPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\GetDataCenterDefaultNetworkPartDataCenter::class, 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value) { @@ -193,7 +193,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDataCenterDefaultNetwork200ResponseNetwork' => false]; + return [\KatapultAPI\Core\Model\GetDataCenterDefaultNetwork200ResponseNetwork::class => false]; } } } diff --git a/src/Core/Normalizer/GetDataCenterDefaultNetworkPartDataCenterNormalizer.php b/src/Core/Normalizer/GetDataCenterDefaultNetworkPartDataCenterNormalizer.php index 080f1252..c7edc36b 100644 --- a/src/Core/Normalizer/GetDataCenterDefaultNetworkPartDataCenterNormalizer.php +++ b/src/Core/Normalizer/GetDataCenterDefaultNetworkPartDataCenterNormalizer.php @@ -31,12 +31,12 @@ class GetDataCenterDefaultNetworkPartDataCenterNormalizer implements Denormalize public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDataCenterDefaultNetworkPartDataCenter'; + return $type === \KatapultAPI\Core\Model\GetDataCenterDefaultNetworkPartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDataCenterDefaultNetworkPartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDataCenterDefaultNetworkPartDataCenter::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDataCenterDefaultNetworkPartDataCenter' => false]; + return [\KatapultAPI\Core\Model\GetDataCenterDefaultNetworkPartDataCenter::class => false]; } } } else { @@ -108,12 +108,12 @@ class GetDataCenterDefaultNetworkPartDataCenterNormalizer implements Denormalize public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDataCenterDefaultNetworkPartDataCenter'; + return $type === \KatapultAPI\Core\Model\GetDataCenterDefaultNetworkPartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDataCenterDefaultNetworkPartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDataCenterDefaultNetworkPartDataCenter::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDataCenterDefaultNetworkPartDataCenter' => false]; + return [\KatapultAPI\Core\Model\GetDataCenterDefaultNetworkPartDataCenter::class => false]; } } } diff --git a/src/Core/Normalizer/GetDataCenterGPUTypes200ResponseGPUTypesNormalizer.php b/src/Core/Normalizer/GetDataCenterGPUTypes200ResponseGPUTypesNormalizer.php index 5c823af2..d44e5885 100644 --- a/src/Core/Normalizer/GetDataCenterGPUTypes200ResponseGPUTypesNormalizer.php +++ b/src/Core/Normalizer/GetDataCenterGPUTypes200ResponseGPUTypesNormalizer.php @@ -31,12 +31,12 @@ class GetDataCenterGPUTypes200ResponseGPUTypesNormalizer implements Denormalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDataCenterGPUTypes200ResponseGPUTypes'; + return $type === \KatapultAPI\Core\Model\GetDataCenterGPUTypes200ResponseGPUTypes::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDataCenterGPUTypes200ResponseGPUTypes'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDataCenterGPUTypes200ResponseGPUTypes::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -116,7 +116,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDataCenterGPUTypes200ResponseGPUTypes' => false]; + return [\KatapultAPI\Core\Model\GetDataCenterGPUTypes200ResponseGPUTypes::class => false]; } } } else { @@ -129,12 +129,12 @@ class GetDataCenterGPUTypes200ResponseGPUTypesNormalizer implements Denormalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDataCenterGPUTypes200ResponseGPUTypes'; + return $type === \KatapultAPI\Core\Model\GetDataCenterGPUTypes200ResponseGPUTypes::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDataCenterGPUTypes200ResponseGPUTypes'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDataCenterGPUTypes200ResponseGPUTypes::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -217,7 +217,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDataCenterGPUTypes200ResponseGPUTypes' => false]; + return [\KatapultAPI\Core\Model\GetDataCenterGPUTypes200ResponseGPUTypes::class => false]; } } } diff --git a/src/Core/Normalizer/GetDataCenterPartCountryNormalizer.php b/src/Core/Normalizer/GetDataCenterPartCountryNormalizer.php index 6b6ebc15..270c037e 100644 --- a/src/Core/Normalizer/GetDataCenterPartCountryNormalizer.php +++ b/src/Core/Normalizer/GetDataCenterPartCountryNormalizer.php @@ -31,12 +31,12 @@ class GetDataCenterPartCountryNormalizer implements DenormalizerInterface, Norma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDataCenterPartCountry'; + return $type === \KatapultAPI\Core\Model\GetDataCenterPartCountry::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDataCenterPartCountry'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDataCenterPartCountry::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDataCenterPartCountry' => false]; + return [\KatapultAPI\Core\Model\GetDataCenterPartCountry::class => false]; } } } else { @@ -101,12 +101,12 @@ class GetDataCenterPartCountryNormalizer implements DenormalizerInterface, Norma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDataCenterPartCountry'; + return $type === \KatapultAPI\Core\Model\GetDataCenterPartCountry::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDataCenterPartCountry'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDataCenterPartCountry::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDataCenterPartCountry' => false]; + return [\KatapultAPI\Core\Model\GetDataCenterPartCountry::class => false]; } } } diff --git a/src/Core/Normalizer/GetDataCenters200ResponseDataCentersNormalizer.php b/src/Core/Normalizer/GetDataCenters200ResponseDataCentersNormalizer.php index 0cc461f3..e4369ca8 100644 --- a/src/Core/Normalizer/GetDataCenters200ResponseDataCentersNormalizer.php +++ b/src/Core/Normalizer/GetDataCenters200ResponseDataCentersNormalizer.php @@ -31,12 +31,12 @@ class GetDataCenters200ResponseDataCentersNormalizer implements DenormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDataCenters200ResponseDataCenters'; + return $type === \KatapultAPI\Core\Model\GetDataCenters200ResponseDataCenters::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDataCenters200ResponseDataCenters'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDataCenters200ResponseDataCenters::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -64,7 +64,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['permalink']); } if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'KatapultAPI\\Core\\Model\\GetDataCentersPartCountry', 'json', $context)); + $object->setCountry($this->denormalizer->denormalize($data['country'], \KatapultAPI\Core\Model\GetDataCentersPartCountry::class, 'json', $context)); unset($data['country']); } foreach ($data as $key => $value) { @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDataCenters200ResponseDataCenters' => false]; + return [\KatapultAPI\Core\Model\GetDataCenters200ResponseDataCenters::class => false]; } } } else { @@ -115,12 +115,12 @@ class GetDataCenters200ResponseDataCentersNormalizer implements DenormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDataCenters200ResponseDataCenters'; + return $type === \KatapultAPI\Core\Model\GetDataCenters200ResponseDataCenters::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDataCenters200ResponseDataCenters'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDataCenters200ResponseDataCenters::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -148,7 +148,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['permalink']); } if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'KatapultAPI\\Core\\Model\\GetDataCentersPartCountry', 'json', $context)); + $object->setCountry($this->denormalizer->denormalize($data['country'], \KatapultAPI\Core\Model\GetDataCentersPartCountry::class, 'json', $context)); unset($data['country']); } foreach ($data as $key => $value) { @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDataCenters200ResponseDataCenters' => false]; + return [\KatapultAPI\Core\Model\GetDataCenters200ResponseDataCenters::class => false]; } } } diff --git a/src/Core/Normalizer/GetDataCentersPartCountryNormalizer.php b/src/Core/Normalizer/GetDataCentersPartCountryNormalizer.php index 92064ba4..140a9ddd 100644 --- a/src/Core/Normalizer/GetDataCentersPartCountryNormalizer.php +++ b/src/Core/Normalizer/GetDataCentersPartCountryNormalizer.php @@ -31,12 +31,12 @@ class GetDataCentersPartCountryNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDataCentersPartCountry'; + return $type === \KatapultAPI\Core\Model\GetDataCentersPartCountry::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDataCentersPartCountry'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDataCentersPartCountry::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDataCentersPartCountry' => false]; + return [\KatapultAPI\Core\Model\GetDataCentersPartCountry::class => false]; } } } else { @@ -101,12 +101,12 @@ class GetDataCentersPartCountryNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDataCentersPartCountry'; + return $type === \KatapultAPI\Core\Model\GetDataCentersPartCountry::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDataCentersPartCountry'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDataCentersPartCountry::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDataCentersPartCountry' => false]; + return [\KatapultAPI\Core\Model\GetDataCentersPartCountry::class => false]; } } } diff --git a/src/Core/Normalizer/GetDisk200ResponseDiskInstallationNormalizer.php b/src/Core/Normalizer/GetDisk200ResponseDiskInstallationNormalizer.php index b4389a87..f65cc307 100644 --- a/src/Core/Normalizer/GetDisk200ResponseDiskInstallationNormalizer.php +++ b/src/Core/Normalizer/GetDisk200ResponseDiskInstallationNormalizer.php @@ -31,12 +31,12 @@ class GetDisk200ResponseDiskInstallationNormalizer implements DenormalizerInterf public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskInstallation'; + return $type === \KatapultAPI\Core\Model\GetDisk200ResponseDiskInstallation::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskInstallation'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDisk200ResponseDiskInstallation::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -56,13 +56,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['id']); } if (\array_key_exists('disk_template_version', $data)) { - $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], 'KatapultAPI\\Core\\Model\\DiskTemplateVersion', 'json', $context)); + $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], \KatapultAPI\Core\Model\DiskTemplateVersion::class, 'json', $context)); unset($data['disk_template_version']); } if (\array_key_exists('attributes', $data)) { $values = []; foreach ($data['attributes'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\DiskInstallationAttribute', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\DiskInstallationAttribute::class, 'json', $context); } $object->setAttributes($values); unset($data['attributes']); @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskInstallation' => false]; + return [\KatapultAPI\Core\Model\GetDisk200ResponseDiskInstallation::class => false]; } } } else { @@ -116,12 +116,12 @@ class GetDisk200ResponseDiskInstallationNormalizer implements DenormalizerInterf public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskInstallation'; + return $type === \KatapultAPI\Core\Model\GetDisk200ResponseDiskInstallation::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskInstallation'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDisk200ResponseDiskInstallation::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -141,13 +141,13 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('disk_template_version', $data)) { - $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], 'KatapultAPI\\Core\\Model\\DiskTemplateVersion', 'json', $context)); + $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], \KatapultAPI\Core\Model\DiskTemplateVersion::class, 'json', $context)); unset($data['disk_template_version']); } if (\array_key_exists('attributes', $data)) { $values = []; foreach ($data['attributes'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\DiskInstallationAttribute', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\DiskInstallationAttribute::class, 'json', $context); } $object->setAttributes($values); unset($data['attributes']); @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskInstallation' => false]; + return [\KatapultAPI\Core\Model\GetDisk200ResponseDiskInstallation::class => false]; } } } diff --git a/src/Core/Normalizer/GetDisk200ResponseDiskIoProfileNormalizer.php b/src/Core/Normalizer/GetDisk200ResponseDiskIoProfileNormalizer.php index 745d9a53..c8931b53 100644 --- a/src/Core/Normalizer/GetDisk200ResponseDiskIoProfileNormalizer.php +++ b/src/Core/Normalizer/GetDisk200ResponseDiskIoProfileNormalizer.php @@ -31,12 +31,12 @@ class GetDisk200ResponseDiskIoProfileNormalizer implements DenormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskIoProfile'; + return $type === \KatapultAPI\Core\Model\GetDisk200ResponseDiskIoProfile::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskIoProfile'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDisk200ResponseDiskIoProfile::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -113,7 +113,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskIoProfile' => false]; + return [\KatapultAPI\Core\Model\GetDisk200ResponseDiskIoProfile::class => false]; } } } else { @@ -126,12 +126,12 @@ class GetDisk200ResponseDiskIoProfileNormalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskIoProfile'; + return $type === \KatapultAPI\Core\Model\GetDisk200ResponseDiskIoProfile::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskIoProfile'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDisk200ResponseDiskIoProfile::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -211,7 +211,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskIoProfile' => false]; + return [\KatapultAPI\Core\Model\GetDisk200ResponseDiskIoProfile::class => false]; } } } diff --git a/src/Core/Normalizer/GetDisk200ResponseDiskNormalizer.php b/src/Core/Normalizer/GetDisk200ResponseDiskNormalizer.php index 859082f3..9da4bd25 100644 --- a/src/Core/Normalizer/GetDisk200ResponseDiskNormalizer.php +++ b/src/Core/Normalizer/GetDisk200ResponseDiskNormalizer.php @@ -31,12 +31,12 @@ class GetDisk200ResponseDiskNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDisk'; + return $type === \KatapultAPI\Core\Model\GetDisk200ResponseDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDisk200ResponseDisk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -80,7 +80,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\GetDisk200ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -92,17 +92,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\GetDiskPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\GetDiskPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\GetDisk200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\GetDisk200ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -166,7 +166,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDisk200ResponseDisk' => false]; + return [\KatapultAPI\Core\Model\GetDisk200ResponseDisk::class => false]; } } } else { @@ -179,12 +179,12 @@ class GetDisk200ResponseDiskNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDisk'; + return $type === \KatapultAPI\Core\Model\GetDisk200ResponseDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDisk200ResponseDisk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -228,7 +228,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\GetDisk200ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -240,17 +240,17 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\GetDiskPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\GetDiskPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\GetDisk200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\GetDisk200ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -317,7 +317,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDisk200ResponseDisk' => false]; + return [\KatapultAPI\Core\Model\GetDisk200ResponseDisk::class => false]; } } } diff --git a/src/Core/Normalizer/GetDisk200ResponseDiskVirtualMachineDiskNormalizer.php b/src/Core/Normalizer/GetDisk200ResponseDiskVirtualMachineDiskNormalizer.php index 17a09dff..e226b2af 100644 --- a/src/Core/Normalizer/GetDisk200ResponseDiskVirtualMachineDiskNormalizer.php +++ b/src/Core/Normalizer/GetDisk200ResponseDiskVirtualMachineDiskNormalizer.php @@ -31,12 +31,12 @@ class GetDisk200ResponseDiskVirtualMachineDiskNormalizer implements Denormalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\GetDisk200ResponseDiskVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDisk200ResponseDiskVirtualMachineDisk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\GetDiskPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\GetDiskPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\GetDisk200ResponseDiskVirtualMachineDisk::class => false]; } } } else { @@ -115,12 +115,12 @@ class GetDisk200ResponseDiskVirtualMachineDiskNormalizer implements Denormalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\GetDisk200ResponseDiskVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDisk200ResponseDiskVirtualMachineDisk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -136,7 +136,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\GetDiskPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\GetDiskPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\GetDisk200ResponseDiskVirtualMachineDisk::class => false]; } } } diff --git a/src/Core/Normalizer/GetDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer.php b/src/Core/Normalizer/GetDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer.php index 7fc70d6c..f9d61cf0 100644 --- a/src/Core/Normalizer/GetDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer.php +++ b/src/Core/Normalizer/GetDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer.php @@ -31,12 +31,12 @@ class GetDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer implements Denorm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDiskBackupPolicy200ResponseDiskBackupPolicy'; + return $type === \KatapultAPI\Core\Model\GetDiskBackupPolicy200ResponseDiskBackupPolicy::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDiskBackupPolicy200ResponseDiskBackupPolicy'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDiskBackupPolicy200ResponseDiskBackupPolicy::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -67,11 +67,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['total_size']); } if (\array_key_exists('target', $data)) { - $object->setTarget($this->denormalizer->denormalize($data['target'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyTarget', 'json', $context)); + $object->setTarget($this->denormalizer->denormalize($data['target'], \KatapultAPI\Core\Model\DiskBackupPolicyTarget::class, 'json', $context)); unset($data['target']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'KatapultAPI\\Core\\Model\\Schedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], \KatapultAPI\Core\Model\Schedule::class, 'json', $context)); unset($data['schedule']); } if (\array_key_exists('auto_move_to_trash_at', $data) && $data['auto_move_to_trash_at'] !== null) { @@ -121,7 +121,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDiskBackupPolicy200ResponseDiskBackupPolicy' => false]; + return [\KatapultAPI\Core\Model\GetDiskBackupPolicy200ResponseDiskBackupPolicy::class => false]; } } } else { @@ -134,12 +134,12 @@ class GetDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer implements Denorm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDiskBackupPolicy200ResponseDiskBackupPolicy'; + return $type === \KatapultAPI\Core\Model\GetDiskBackupPolicy200ResponseDiskBackupPolicy::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDiskBackupPolicy200ResponseDiskBackupPolicy'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDiskBackupPolicy200ResponseDiskBackupPolicy::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -170,11 +170,11 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['total_size']); } if (\array_key_exists('target', $data)) { - $object->setTarget($this->denormalizer->denormalize($data['target'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyTarget', 'json', $context)); + $object->setTarget($this->denormalizer->denormalize($data['target'], \KatapultAPI\Core\Model\DiskBackupPolicyTarget::class, 'json', $context)); unset($data['target']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'KatapultAPI\\Core\\Model\\Schedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], \KatapultAPI\Core\Model\Schedule::class, 'json', $context)); unset($data['schedule']); } if (\array_key_exists('auto_move_to_trash_at', $data) && $data['auto_move_to_trash_at'] !== null) { @@ -227,7 +227,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDiskBackupPolicy200ResponseDiskBackupPolicy' => false]; + return [\KatapultAPI\Core\Model\GetDiskBackupPolicy200ResponseDiskBackupPolicy::class => false]; } } } diff --git a/src/Core/Normalizer/GetDiskDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer.php b/src/Core/Normalizer/GetDiskDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer.php index 63150df5..78a4187a 100644 --- a/src/Core/Normalizer/GetDiskDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer.php +++ b/src/Core/Normalizer/GetDiskDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer.php @@ -31,12 +31,12 @@ class GetDiskDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer implement public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDiskDiskBackupPolicies200ResponseDiskBackupPolicies'; + return $type === \KatapultAPI\Core\Model\GetDiskDiskBackupPolicies200ResponseDiskBackupPolicies::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDiskDiskBackupPolicies200ResponseDiskBackupPolicies'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDiskDiskBackupPolicies200ResponseDiskBackupPolicies::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -67,11 +67,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['total_size']); } if (\array_key_exists('target', $data)) { - $object->setTarget($this->denormalizer->denormalize($data['target'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyTarget', 'json', $context)); + $object->setTarget($this->denormalizer->denormalize($data['target'], \KatapultAPI\Core\Model\DiskBackupPolicyTarget::class, 'json', $context)); unset($data['target']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'KatapultAPI\\Core\\Model\\GetDiskDiskBackupPoliciesPartSchedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], \KatapultAPI\Core\Model\GetDiskDiskBackupPoliciesPartSchedule::class, 'json', $context)); unset($data['schedule']); } foreach ($data as $key => $value) { @@ -112,7 +112,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDiskDiskBackupPolicies200ResponseDiskBackupPolicies' => false]; + return [\KatapultAPI\Core\Model\GetDiskDiskBackupPolicies200ResponseDiskBackupPolicies::class => false]; } } } else { @@ -125,12 +125,12 @@ class GetDiskDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer implement public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDiskDiskBackupPolicies200ResponseDiskBackupPolicies'; + return $type === \KatapultAPI\Core\Model\GetDiskDiskBackupPolicies200ResponseDiskBackupPolicies::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDiskDiskBackupPolicies200ResponseDiskBackupPolicies'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDiskDiskBackupPolicies200ResponseDiskBackupPolicies::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,11 +161,11 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['total_size']); } if (\array_key_exists('target', $data)) { - $object->setTarget($this->denormalizer->denormalize($data['target'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyTarget', 'json', $context)); + $object->setTarget($this->denormalizer->denormalize($data['target'], \KatapultAPI\Core\Model\DiskBackupPolicyTarget::class, 'json', $context)); unset($data['target']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'KatapultAPI\\Core\\Model\\GetDiskDiskBackupPoliciesPartSchedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], \KatapultAPI\Core\Model\GetDiskDiskBackupPoliciesPartSchedule::class, 'json', $context)); unset($data['schedule']); } foreach ($data as $key => $value) { @@ -209,7 +209,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDiskDiskBackupPolicies200ResponseDiskBackupPolicies' => false]; + return [\KatapultAPI\Core\Model\GetDiskDiskBackupPolicies200ResponseDiskBackupPolicies::class => false]; } } } diff --git a/src/Core/Normalizer/GetDiskDiskBackupPoliciesPartScheduleNormalizer.php b/src/Core/Normalizer/GetDiskDiskBackupPoliciesPartScheduleNormalizer.php index e065bdcc..1ce87848 100644 --- a/src/Core/Normalizer/GetDiskDiskBackupPoliciesPartScheduleNormalizer.php +++ b/src/Core/Normalizer/GetDiskDiskBackupPoliciesPartScheduleNormalizer.php @@ -31,12 +31,12 @@ class GetDiskDiskBackupPoliciesPartScheduleNormalizer implements DenormalizerInt public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDiskDiskBackupPoliciesPartSchedule'; + return $type === \KatapultAPI\Core\Model\GetDiskDiskBackupPoliciesPartSchedule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDiskDiskBackupPoliciesPartSchedule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDiskDiskBackupPoliciesPartSchedule::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDiskDiskBackupPoliciesPartSchedule' => false]; + return [\KatapultAPI\Core\Model\GetDiskDiskBackupPoliciesPartSchedule::class => false]; } } } else { @@ -101,12 +101,12 @@ class GetDiskDiskBackupPoliciesPartScheduleNormalizer implements DenormalizerInt public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDiskDiskBackupPoliciesPartSchedule'; + return $type === \KatapultAPI\Core\Model\GetDiskDiskBackupPoliciesPartSchedule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDiskDiskBackupPoliciesPartSchedule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDiskDiskBackupPoliciesPartSchedule::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDiskDiskBackupPoliciesPartSchedule' => false]; + return [\KatapultAPI\Core\Model\GetDiskDiskBackupPoliciesPartSchedule::class => false]; } } } diff --git a/src/Core/Normalizer/GetDiskPartDataCenterNormalizer.php b/src/Core/Normalizer/GetDiskPartDataCenterNormalizer.php index d0b59b71..dd4a1952 100644 --- a/src/Core/Normalizer/GetDiskPartDataCenterNormalizer.php +++ b/src/Core/Normalizer/GetDiskPartDataCenterNormalizer.php @@ -31,12 +31,12 @@ class GetDiskPartDataCenterNormalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDiskPartDataCenter'; + return $type === \KatapultAPI\Core\Model\GetDiskPartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDiskPartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDiskPartDataCenter::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDiskPartDataCenter' => false]; + return [\KatapultAPI\Core\Model\GetDiskPartDataCenter::class => false]; } } } else { @@ -108,12 +108,12 @@ class GetDiskPartDataCenterNormalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDiskPartDataCenter'; + return $type === \KatapultAPI\Core\Model\GetDiskPartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDiskPartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDiskPartDataCenter::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDiskPartDataCenter' => false]; + return [\KatapultAPI\Core\Model\GetDiskPartDataCenter::class => false]; } } } diff --git a/src/Core/Normalizer/GetDiskPartVirtualMachineDiskNormalizer.php b/src/Core/Normalizer/GetDiskPartVirtualMachineDiskNormalizer.php index 47bcc5c7..34fe1971 100644 --- a/src/Core/Normalizer/GetDiskPartVirtualMachineDiskNormalizer.php +++ b/src/Core/Normalizer/GetDiskPartVirtualMachineDiskNormalizer.php @@ -31,12 +31,12 @@ class GetDiskPartVirtualMachineDiskNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDiskPartVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\GetDiskPartVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDiskPartVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDiskPartVirtualMachineDisk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\GetDiskPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\GetDiskPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDiskPartVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\GetDiskPartVirtualMachineDisk::class => false]; } } } else { @@ -115,12 +115,12 @@ class GetDiskPartVirtualMachineDiskNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDiskPartVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\GetDiskPartVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDiskPartVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDiskPartVirtualMachineDisk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -136,7 +136,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\GetDiskPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\GetDiskPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDiskPartVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\GetDiskPartVirtualMachineDisk::class => false]; } } } diff --git a/src/Core/Normalizer/GetDiskPartVirtualMachineNormalizer.php b/src/Core/Normalizer/GetDiskPartVirtualMachineNormalizer.php index 97b3e070..13acb283 100644 --- a/src/Core/Normalizer/GetDiskPartVirtualMachineNormalizer.php +++ b/src/Core/Normalizer/GetDiskPartVirtualMachineNormalizer.php @@ -31,12 +31,12 @@ class GetDiskPartVirtualMachineNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDiskPartVirtualMachine'; + return $type === \KatapultAPI\Core\Model\GetDiskPartVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDiskPartVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDiskPartVirtualMachine::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDiskPartVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\GetDiskPartVirtualMachine::class => false]; } } } else { @@ -101,12 +101,12 @@ class GetDiskPartVirtualMachineNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDiskPartVirtualMachine'; + return $type === \KatapultAPI\Core\Model\GetDiskPartVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDiskPartVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDiskPartVirtualMachine::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDiskPartVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\GetDiskPartVirtualMachine::class => false]; } } } diff --git a/src/Core/Normalizer/GetDiskTemplate200ResponseDiskTemplateLatestVersionNormalizer.php b/src/Core/Normalizer/GetDiskTemplate200ResponseDiskTemplateLatestVersionNormalizer.php index d707658e..fe4bfcd7 100644 --- a/src/Core/Normalizer/GetDiskTemplate200ResponseDiskTemplateLatestVersionNormalizer.php +++ b/src/Core/Normalizer/GetDiskTemplate200ResponseDiskTemplateLatestVersionNormalizer.php @@ -31,12 +31,12 @@ class GetDiskTemplate200ResponseDiskTemplateLatestVersionNormalizer implements D public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplateLatestVersion'; + return $type === \KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplateLatestVersion::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplateLatestVersion'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplateLatestVersion::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplateLatestVersion' => false]; + return [\KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplateLatestVersion::class => false]; } } } else { @@ -94,12 +94,12 @@ class GetDiskTemplate200ResponseDiskTemplateLatestVersionNormalizer implements D public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplateLatestVersion'; + return $type === \KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplateLatestVersion::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplateLatestVersion'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplateLatestVersion::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplateLatestVersion' => false]; + return [\KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplateLatestVersion::class => false]; } } } diff --git a/src/Core/Normalizer/GetDiskTemplate200ResponseDiskTemplateNormalizer.php b/src/Core/Normalizer/GetDiskTemplate200ResponseDiskTemplateNormalizer.php index 51552507..fee03bf3 100644 --- a/src/Core/Normalizer/GetDiskTemplate200ResponseDiskTemplateNormalizer.php +++ b/src/Core/Normalizer/GetDiskTemplate200ResponseDiskTemplateNormalizer.php @@ -31,12 +31,12 @@ class GetDiskTemplate200ResponseDiskTemplateNormalizer implements DenormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplate'; + return $type === \KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplate::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplate'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplate::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -80,13 +80,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setSizeInGb(null); } if (\array_key_exists('latest_version', $data) && $data['latest_version'] !== null) { - $object->setLatestVersion($this->denormalizer->denormalize($data['latest_version'], 'KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplateLatestVersion', 'json', $context)); + $object->setLatestVersion($this->denormalizer->denormalize($data['latest_version'], \KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplateLatestVersion::class, 'json', $context)); unset($data['latest_version']); } elseif (\array_key_exists('latest_version', $data) && $data['latest_version'] === null) { $object->setLatestVersion(null); } if (\array_key_exists('operating_system', $data) && $data['operating_system'] !== null) { - $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplateOperatingSystem', 'json', $context)); + $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], \KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplateOperatingSystem::class, 'json', $context)); unset($data['operating_system']); } elseif (\array_key_exists('operating_system', $data) && $data['operating_system'] === null) { $object->setOperatingSystem(null); @@ -138,7 +138,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplate' => false]; + return [\KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplate::class => false]; } } } else { @@ -151,12 +151,12 @@ class GetDiskTemplate200ResponseDiskTemplateNormalizer implements DenormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplate'; + return $type === \KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplate::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplate'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplate::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -200,13 +200,13 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setSizeInGb(null); } if (\array_key_exists('latest_version', $data) && $data['latest_version'] !== null) { - $object->setLatestVersion($this->denormalizer->denormalize($data['latest_version'], 'KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplateLatestVersion', 'json', $context)); + $object->setLatestVersion($this->denormalizer->denormalize($data['latest_version'], \KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplateLatestVersion::class, 'json', $context)); unset($data['latest_version']); } elseif (\array_key_exists('latest_version', $data) && $data['latest_version'] === null) { $object->setLatestVersion(null); } if (\array_key_exists('operating_system', $data) && $data['operating_system'] !== null) { - $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplateOperatingSystem', 'json', $context)); + $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], \KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplateOperatingSystem::class, 'json', $context)); unset($data['operating_system']); } elseif (\array_key_exists('operating_system', $data) && $data['operating_system'] === null) { $object->setOperatingSystem(null); @@ -261,7 +261,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplate' => false]; + return [\KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplate::class => false]; } } } diff --git a/src/Core/Normalizer/GetDiskTemplate200ResponseDiskTemplateOperatingSystemNormalizer.php b/src/Core/Normalizer/GetDiskTemplate200ResponseDiskTemplateOperatingSystemNormalizer.php index a6ca568c..eecc6670 100644 --- a/src/Core/Normalizer/GetDiskTemplate200ResponseDiskTemplateOperatingSystemNormalizer.php +++ b/src/Core/Normalizer/GetDiskTemplate200ResponseDiskTemplateOperatingSystemNormalizer.php @@ -31,12 +31,12 @@ class GetDiskTemplate200ResponseDiskTemplateOperatingSystemNormalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplateOperatingSystem'; + return $type === \KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplateOperatingSystem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplateOperatingSystem'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplateOperatingSystem::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['name']); } if (\array_key_exists('badge', $data) && $data['badge'] !== null) { - $object->setBadge($this->denormalizer->denormalize($data['badge'], 'KatapultAPI\\Core\\Model\\OperatingSystemBadge', 'json', $context)); + $object->setBadge($this->denormalizer->denormalize($data['badge'], \KatapultAPI\Core\Model\OperatingSystemBadge::class, 'json', $context)); unset($data['badge']); } elseif (\array_key_exists('badge', $data) && $data['badge'] === null) { $object->setBadge(null); @@ -97,7 +97,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplateOperatingSystem' => false]; + return [\KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplateOperatingSystem::class => false]; } } } else { @@ -110,12 +110,12 @@ class GetDiskTemplate200ResponseDiskTemplateOperatingSystemNormalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplateOperatingSystem'; + return $type === \KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplateOperatingSystem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplateOperatingSystem'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplateOperatingSystem::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -139,7 +139,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('badge', $data) && $data['badge'] !== null) { - $object->setBadge($this->denormalizer->denormalize($data['badge'], 'KatapultAPI\\Core\\Model\\OperatingSystemBadge', 'json', $context)); + $object->setBadge($this->denormalizer->denormalize($data['badge'], \KatapultAPI\Core\Model\OperatingSystemBadge::class, 'json', $context)); unset($data['badge']); } elseif (\array_key_exists('badge', $data) && $data['badge'] === null) { $object->setBadge(null); @@ -179,7 +179,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplateOperatingSystem' => false]; + return [\KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplateOperatingSystem::class => false]; } } } diff --git a/src/Core/Normalizer/GetDiskTemplatePartLatestVersionNormalizer.php b/src/Core/Normalizer/GetDiskTemplatePartLatestVersionNormalizer.php index 7cf0f54b..e6af12a1 100644 --- a/src/Core/Normalizer/GetDiskTemplatePartLatestVersionNormalizer.php +++ b/src/Core/Normalizer/GetDiskTemplatePartLatestVersionNormalizer.php @@ -31,12 +31,12 @@ class GetDiskTemplatePartLatestVersionNormalizer implements DenormalizerInterfac public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDiskTemplatePartLatestVersion'; + return $type === \KatapultAPI\Core\Model\GetDiskTemplatePartLatestVersion::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDiskTemplatePartLatestVersion'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDiskTemplatePartLatestVersion::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDiskTemplatePartLatestVersion' => false]; + return [\KatapultAPI\Core\Model\GetDiskTemplatePartLatestVersion::class => false]; } } } else { @@ -94,12 +94,12 @@ class GetDiskTemplatePartLatestVersionNormalizer implements DenormalizerInterfac public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDiskTemplatePartLatestVersion'; + return $type === \KatapultAPI\Core\Model\GetDiskTemplatePartLatestVersion::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDiskTemplatePartLatestVersion'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDiskTemplatePartLatestVersion::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDiskTemplatePartLatestVersion' => false]; + return [\KatapultAPI\Core\Model\GetDiskTemplatePartLatestVersion::class => false]; } } } diff --git a/src/Core/Normalizer/GetDiskTemplateVersion200ResponseDiskTemplateVersionNormalizer.php b/src/Core/Normalizer/GetDiskTemplateVersion200ResponseDiskTemplateVersionNormalizer.php index a90b0414..bcf11635 100644 --- a/src/Core/Normalizer/GetDiskTemplateVersion200ResponseDiskTemplateVersionNormalizer.php +++ b/src/Core/Normalizer/GetDiskTemplateVersion200ResponseDiskTemplateVersionNormalizer.php @@ -31,12 +31,12 @@ class GetDiskTemplateVersion200ResponseDiskTemplateVersionNormalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersion200ResponseDiskTemplateVersion'; + return $type === \KatapultAPI\Core\Model\GetDiskTemplateVersion200ResponseDiskTemplateVersion::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersion200ResponseDiskTemplateVersion'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDiskTemplateVersion200ResponseDiskTemplateVersion::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -68,7 +68,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['size_in_gb']); } if (\array_key_exists('disk_template', $data)) { - $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersionPartDiskTemplate', 'json', $context)); + $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], \KatapultAPI\Core\Model\GetDiskTemplateVersionPartDiskTemplate::class, 'json', $context)); unset($data['disk_template']); } foreach ($data as $key => $value) { @@ -109,7 +109,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDiskTemplateVersion200ResponseDiskTemplateVersion' => false]; + return [\KatapultAPI\Core\Model\GetDiskTemplateVersion200ResponseDiskTemplateVersion::class => false]; } } } else { @@ -122,12 +122,12 @@ class GetDiskTemplateVersion200ResponseDiskTemplateVersionNormalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersion200ResponseDiskTemplateVersion'; + return $type === \KatapultAPI\Core\Model\GetDiskTemplateVersion200ResponseDiskTemplateVersion::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersion200ResponseDiskTemplateVersion'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDiskTemplateVersion200ResponseDiskTemplateVersion::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -159,7 +159,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['size_in_gb']); } if (\array_key_exists('disk_template', $data)) { - $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersionPartDiskTemplate', 'json', $context)); + $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], \KatapultAPI\Core\Model\GetDiskTemplateVersionPartDiskTemplate::class, 'json', $context)); unset($data['disk_template']); } foreach ($data as $key => $value) { @@ -203,7 +203,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDiskTemplateVersion200ResponseDiskTemplateVersion' => false]; + return [\KatapultAPI\Core\Model\GetDiskTemplateVersion200ResponseDiskTemplateVersion::class => false]; } } } diff --git a/src/Core/Normalizer/GetDiskTemplateVersionPartDiskTemplateNormalizer.php b/src/Core/Normalizer/GetDiskTemplateVersionPartDiskTemplateNormalizer.php index 619b815d..eff86e0a 100644 --- a/src/Core/Normalizer/GetDiskTemplateVersionPartDiskTemplateNormalizer.php +++ b/src/Core/Normalizer/GetDiskTemplateVersionPartDiskTemplateNormalizer.php @@ -31,12 +31,12 @@ class GetDiskTemplateVersionPartDiskTemplateNormalizer implements DenormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersionPartDiskTemplate'; + return $type === \KatapultAPI\Core\Model\GetDiskTemplateVersionPartDiskTemplate::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersionPartDiskTemplate'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDiskTemplateVersionPartDiskTemplate::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDiskTemplateVersionPartDiskTemplate' => false]; + return [\KatapultAPI\Core\Model\GetDiskTemplateVersionPartDiskTemplate::class => false]; } } } else { @@ -108,12 +108,12 @@ class GetDiskTemplateVersionPartDiskTemplateNormalizer implements DenormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersionPartDiskTemplate'; + return $type === \KatapultAPI\Core\Model\GetDiskTemplateVersionPartDiskTemplate::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersionPartDiskTemplate'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDiskTemplateVersionPartDiskTemplate::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDiskTemplateVersionPartDiskTemplate' => false]; + return [\KatapultAPI\Core\Model\GetDiskTemplateVersionPartDiskTemplate::class => false]; } } } diff --git a/src/Core/Normalizer/GetDiskTemplateVersionSpec200ResponseDiskTemplateVersionNormalizer.php b/src/Core/Normalizer/GetDiskTemplateVersionSpec200ResponseDiskTemplateVersionNormalizer.php index 2f71bbe6..62a96672 100644 --- a/src/Core/Normalizer/GetDiskTemplateVersionSpec200ResponseDiskTemplateVersionNormalizer.php +++ b/src/Core/Normalizer/GetDiskTemplateVersionSpec200ResponseDiskTemplateVersionNormalizer.php @@ -31,12 +31,12 @@ class GetDiskTemplateVersionSpec200ResponseDiskTemplateVersionNormalizer impleme public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersionSpec200ResponseDiskTemplateVersion'; + return $type === \KatapultAPI\Core\Model\GetDiskTemplateVersionSpec200ResponseDiskTemplateVersion::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersionSpec200ResponseDiskTemplateVersion'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDiskTemplateVersionSpec200ResponseDiskTemplateVersion::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -68,7 +68,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['size_in_gb']); } if (\array_key_exists('disk_template', $data)) { - $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersionSpecPartDiskTemplate', 'json', $context)); + $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], \KatapultAPI\Core\Model\GetDiskTemplateVersionSpecPartDiskTemplate::class, 'json', $context)); unset($data['disk_template']); } foreach ($data as $key => $value) { @@ -109,7 +109,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDiskTemplateVersionSpec200ResponseDiskTemplateVersion' => false]; + return [\KatapultAPI\Core\Model\GetDiskTemplateVersionSpec200ResponseDiskTemplateVersion::class => false]; } } } else { @@ -122,12 +122,12 @@ class GetDiskTemplateVersionSpec200ResponseDiskTemplateVersionNormalizer impleme public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersionSpec200ResponseDiskTemplateVersion'; + return $type === \KatapultAPI\Core\Model\GetDiskTemplateVersionSpec200ResponseDiskTemplateVersion::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersionSpec200ResponseDiskTemplateVersion'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDiskTemplateVersionSpec200ResponseDiskTemplateVersion::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -159,7 +159,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['size_in_gb']); } if (\array_key_exists('disk_template', $data)) { - $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersionSpecPartDiskTemplate', 'json', $context)); + $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], \KatapultAPI\Core\Model\GetDiskTemplateVersionSpecPartDiskTemplate::class, 'json', $context)); unset($data['disk_template']); } foreach ($data as $key => $value) { @@ -203,7 +203,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDiskTemplateVersionSpec200ResponseDiskTemplateVersion' => false]; + return [\KatapultAPI\Core\Model\GetDiskTemplateVersionSpec200ResponseDiskTemplateVersion::class => false]; } } } diff --git a/src/Core/Normalizer/GetDiskTemplateVersionSpecPartDiskTemplateNormalizer.php b/src/Core/Normalizer/GetDiskTemplateVersionSpecPartDiskTemplateNormalizer.php index 19130e1b..2f657aa2 100644 --- a/src/Core/Normalizer/GetDiskTemplateVersionSpecPartDiskTemplateNormalizer.php +++ b/src/Core/Normalizer/GetDiskTemplateVersionSpecPartDiskTemplateNormalizer.php @@ -31,12 +31,12 @@ class GetDiskTemplateVersionSpecPartDiskTemplateNormalizer implements Denormaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersionSpecPartDiskTemplate'; + return $type === \KatapultAPI\Core\Model\GetDiskTemplateVersionSpecPartDiskTemplate::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersionSpecPartDiskTemplate'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDiskTemplateVersionSpecPartDiskTemplate::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDiskTemplateVersionSpecPartDiskTemplate' => false]; + return [\KatapultAPI\Core\Model\GetDiskTemplateVersionSpecPartDiskTemplate::class => false]; } } } else { @@ -108,12 +108,12 @@ class GetDiskTemplateVersionSpecPartDiskTemplateNormalizer implements Denormaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersionSpecPartDiskTemplate'; + return $type === \KatapultAPI\Core\Model\GetDiskTemplateVersionSpecPartDiskTemplate::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersionSpecPartDiskTemplate'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDiskTemplateVersionSpecPartDiskTemplate::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDiskTemplateVersionSpecPartDiskTemplate' => false]; + return [\KatapultAPI\Core\Model\GetDiskTemplateVersionSpecPartDiskTemplate::class => false]; } } } diff --git a/src/Core/Normalizer/GetDiskTemplateVersions200ResponseDiskTemplateNormalizer.php b/src/Core/Normalizer/GetDiskTemplateVersions200ResponseDiskTemplateNormalizer.php index 3f1f9365..dfd0a704 100644 --- a/src/Core/Normalizer/GetDiskTemplateVersions200ResponseDiskTemplateNormalizer.php +++ b/src/Core/Normalizer/GetDiskTemplateVersions200ResponseDiskTemplateNormalizer.php @@ -31,12 +31,12 @@ class GetDiskTemplateVersions200ResponseDiskTemplateNormalizer implements Denorm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersions200ResponseDiskTemplate'; + return $type === \KatapultAPI\Core\Model\GetDiskTemplateVersions200ResponseDiskTemplate::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersions200ResponseDiskTemplate'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDiskTemplateVersions200ResponseDiskTemplate::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDiskTemplateVersions200ResponseDiskTemplate' => false]; + return [\KatapultAPI\Core\Model\GetDiskTemplateVersions200ResponseDiskTemplate::class => false]; } } } else { @@ -108,12 +108,12 @@ class GetDiskTemplateVersions200ResponseDiskTemplateNormalizer implements Denorm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersions200ResponseDiskTemplate'; + return $type === \KatapultAPI\Core\Model\GetDiskTemplateVersions200ResponseDiskTemplate::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersions200ResponseDiskTemplate'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDiskTemplateVersions200ResponseDiskTemplate::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDiskTemplateVersions200ResponseDiskTemplate' => false]; + return [\KatapultAPI\Core\Model\GetDiskTemplateVersions200ResponseDiskTemplate::class => false]; } } } diff --git a/src/Core/Normalizer/GetDiskTemplateVersions200ResponseDiskTemplateVersionsNormalizer.php b/src/Core/Normalizer/GetDiskTemplateVersions200ResponseDiskTemplateVersionsNormalizer.php index bbca557a..6aafc079 100644 --- a/src/Core/Normalizer/GetDiskTemplateVersions200ResponseDiskTemplateVersionsNormalizer.php +++ b/src/Core/Normalizer/GetDiskTemplateVersions200ResponseDiskTemplateVersionsNormalizer.php @@ -31,12 +31,12 @@ class GetDiskTemplateVersions200ResponseDiskTemplateVersionsNormalizer implement public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersions200ResponseDiskTemplateVersions'; + return $type === \KatapultAPI\Core\Model\GetDiskTemplateVersions200ResponseDiskTemplateVersions::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersions200ResponseDiskTemplateVersions'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDiskTemplateVersions200ResponseDiskTemplateVersions::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDiskTemplateVersions200ResponseDiskTemplateVersions' => false]; + return [\KatapultAPI\Core\Model\GetDiskTemplateVersions200ResponseDiskTemplateVersions::class => false]; } } } else { @@ -115,12 +115,12 @@ class GetDiskTemplateVersions200ResponseDiskTemplateVersionsNormalizer implement public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersions200ResponseDiskTemplateVersions'; + return $type === \KatapultAPI\Core\Model\GetDiskTemplateVersions200ResponseDiskTemplateVersions::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersions200ResponseDiskTemplateVersions'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetDiskTemplateVersions200ResponseDiskTemplateVersions::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDiskTemplateVersions200ResponseDiskTemplateVersions' => false]; + return [\KatapultAPI\Core\Model\GetDiskTemplateVersions200ResponseDiskTemplateVersions::class => false]; } } } diff --git a/src/Core/Normalizer/GetFileStorageVolume200ResponseFileStorageVolumeNormalizer.php b/src/Core/Normalizer/GetFileStorageVolume200ResponseFileStorageVolumeNormalizer.php index 7acf9269..09536254 100644 --- a/src/Core/Normalizer/GetFileStorageVolume200ResponseFileStorageVolumeNormalizer.php +++ b/src/Core/Normalizer/GetFileStorageVolume200ResponseFileStorageVolumeNormalizer.php @@ -31,12 +31,12 @@ class GetFileStorageVolume200ResponseFileStorageVolumeNormalizer implements Deno public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetFileStorageVolume200ResponseFileStorageVolume'; + return $type === \KatapultAPI\Core\Model\GetFileStorageVolume200ResponseFileStorageVolume::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetFileStorageVolume200ResponseFileStorageVolume'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetFileStorageVolume200ResponseFileStorageVolume::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['name']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\GetFileStorageVolumePartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\GetFileStorageVolumePartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('associations', $data)) { @@ -135,7 +135,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetFileStorageVolume200ResponseFileStorageVolume' => false]; + return [\KatapultAPI\Core\Model\GetFileStorageVolume200ResponseFileStorageVolume::class => false]; } } } else { @@ -148,12 +148,12 @@ class GetFileStorageVolume200ResponseFileStorageVolumeNormalizer implements Deno public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetFileStorageVolume200ResponseFileStorageVolume'; + return $type === \KatapultAPI\Core\Model\GetFileStorageVolume200ResponseFileStorageVolume::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetFileStorageVolume200ResponseFileStorageVolume'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetFileStorageVolume200ResponseFileStorageVolume::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -177,7 +177,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\GetFileStorageVolumePartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\GetFileStorageVolumePartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('associations', $data)) { @@ -255,7 +255,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetFileStorageVolume200ResponseFileStorageVolume' => false]; + return [\KatapultAPI\Core\Model\GetFileStorageVolume200ResponseFileStorageVolume::class => false]; } } } diff --git a/src/Core/Normalizer/GetFileStorageVolumePartDataCenterNormalizer.php b/src/Core/Normalizer/GetFileStorageVolumePartDataCenterNormalizer.php index 79800a82..104789e8 100644 --- a/src/Core/Normalizer/GetFileStorageVolumePartDataCenterNormalizer.php +++ b/src/Core/Normalizer/GetFileStorageVolumePartDataCenterNormalizer.php @@ -31,12 +31,12 @@ class GetFileStorageVolumePartDataCenterNormalizer implements DenormalizerInterf public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetFileStorageVolumePartDataCenter'; + return $type === \KatapultAPI\Core\Model\GetFileStorageVolumePartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetFileStorageVolumePartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetFileStorageVolumePartDataCenter::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetFileStorageVolumePartDataCenter' => false]; + return [\KatapultAPI\Core\Model\GetFileStorageVolumePartDataCenter::class => false]; } } } else { @@ -108,12 +108,12 @@ class GetFileStorageVolumePartDataCenterNormalizer implements DenormalizerInterf public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetFileStorageVolumePartDataCenter'; + return $type === \KatapultAPI\Core\Model\GetFileStorageVolumePartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetFileStorageVolumePartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetFileStorageVolumePartDataCenter::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetFileStorageVolumePartDataCenter' => false]; + return [\KatapultAPI\Core\Model\GetFileStorageVolumePartDataCenter::class => false]; } } } diff --git a/src/Core/Normalizer/GetGPUType200ResponseGPUTypeDataCentersItemNormalizer.php b/src/Core/Normalizer/GetGPUType200ResponseGPUTypeDataCentersItemNormalizer.php index ca78ddf7..d20657b0 100644 --- a/src/Core/Normalizer/GetGPUType200ResponseGPUTypeDataCentersItemNormalizer.php +++ b/src/Core/Normalizer/GetGPUType200ResponseGPUTypeDataCentersItemNormalizer.php @@ -31,12 +31,12 @@ class GetGPUType200ResponseGPUTypeDataCentersItemNormalizer implements Denormali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetGPUType200ResponseGPUTypeDataCentersItem'; + return $type === \KatapultAPI\Core\Model\GetGPUType200ResponseGPUTypeDataCentersItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetGPUType200ResponseGPUTypeDataCentersItem'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetGPUType200ResponseGPUTypeDataCentersItem::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetGPUType200ResponseGPUTypeDataCentersItem' => false]; + return [\KatapultAPI\Core\Model\GetGPUType200ResponseGPUTypeDataCentersItem::class => false]; } } } else { @@ -108,12 +108,12 @@ class GetGPUType200ResponseGPUTypeDataCentersItemNormalizer implements Denormali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetGPUType200ResponseGPUTypeDataCentersItem'; + return $type === \KatapultAPI\Core\Model\GetGPUType200ResponseGPUTypeDataCentersItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetGPUType200ResponseGPUTypeDataCentersItem'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetGPUType200ResponseGPUTypeDataCentersItem::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetGPUType200ResponseGPUTypeDataCentersItem' => false]; + return [\KatapultAPI\Core\Model\GetGPUType200ResponseGPUTypeDataCentersItem::class => false]; } } } diff --git a/src/Core/Normalizer/GetGPUType200ResponseGPUTypeNormalizer.php b/src/Core/Normalizer/GetGPUType200ResponseGPUTypeNormalizer.php index 89ce5343..b1bafab9 100644 --- a/src/Core/Normalizer/GetGPUType200ResponseGPUTypeNormalizer.php +++ b/src/Core/Normalizer/GetGPUType200ResponseGPUTypeNormalizer.php @@ -31,12 +31,12 @@ class GetGPUType200ResponseGPUTypeNormalizer implements DenormalizerInterface, N public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetGPUType200ResponseGPUType'; + return $type === \KatapultAPI\Core\Model\GetGPUType200ResponseGPUType::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetGPUType200ResponseGPUType'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetGPUType200ResponseGPUType::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -78,7 +78,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('data_centers', $data)) { $values = []; foreach ($data['data_centers'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetGPUType200ResponseGPUTypeDataCentersItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetGPUType200ResponseGPUTypeDataCentersItem::class, 'json', $context); } $object->setDataCenters($values); unset($data['data_centers']); @@ -131,7 +131,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetGPUType200ResponseGPUType' => false]; + return [\KatapultAPI\Core\Model\GetGPUType200ResponseGPUType::class => false]; } } } else { @@ -144,12 +144,12 @@ class GetGPUType200ResponseGPUTypeNormalizer implements DenormalizerInterface, N public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetGPUType200ResponseGPUType'; + return $type === \KatapultAPI\Core\Model\GetGPUType200ResponseGPUType::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetGPUType200ResponseGPUType'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetGPUType200ResponseGPUType::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('data_centers', $data)) { $values = []; foreach ($data['data_centers'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetGPUType200ResponseGPUTypeDataCentersItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetGPUType200ResponseGPUTypeDataCentersItem::class, 'json', $context); } $object->setDataCenters($values); unset($data['data_centers']); @@ -247,7 +247,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetGPUType200ResponseGPUType' => false]; + return [\KatapultAPI\Core\Model\GetGPUType200ResponseGPUType::class => false]; } } } diff --git a/src/Core/Normalizer/GetGPUTypePartDataCentersNormalizer.php b/src/Core/Normalizer/GetGPUTypePartDataCentersNormalizer.php index ffa25486..6c79917b 100644 --- a/src/Core/Normalizer/GetGPUTypePartDataCentersNormalizer.php +++ b/src/Core/Normalizer/GetGPUTypePartDataCentersNormalizer.php @@ -31,12 +31,12 @@ class GetGPUTypePartDataCentersNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetGPUTypePartDataCenters'; + return $type === \KatapultAPI\Core\Model\GetGPUTypePartDataCenters::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetGPUTypePartDataCenters'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetGPUTypePartDataCenters::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetGPUTypePartDataCenters' => false]; + return [\KatapultAPI\Core\Model\GetGPUTypePartDataCenters::class => false]; } } } else { @@ -108,12 +108,12 @@ class GetGPUTypePartDataCentersNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetGPUTypePartDataCenters'; + return $type === \KatapultAPI\Core\Model\GetGPUTypePartDataCenters::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetGPUTypePartDataCenters'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetGPUTypePartDataCenters::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetGPUTypePartDataCenters' => false]; + return [\KatapultAPI\Core\Model\GetGPUTypePartDataCenters::class => false]; } } } diff --git a/src/Core/Normalizer/GetGPUTypes200ResponseGPUTypesDataCentersItemNormalizer.php b/src/Core/Normalizer/GetGPUTypes200ResponseGPUTypesDataCentersItemNormalizer.php index 6ae23e68..98108df3 100644 --- a/src/Core/Normalizer/GetGPUTypes200ResponseGPUTypesDataCentersItemNormalizer.php +++ b/src/Core/Normalizer/GetGPUTypes200ResponseGPUTypesDataCentersItemNormalizer.php @@ -31,12 +31,12 @@ class GetGPUTypes200ResponseGPUTypesDataCentersItemNormalizer implements Denorma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetGPUTypes200ResponseGPUTypesDataCentersItem'; + return $type === \KatapultAPI\Core\Model\GetGPUTypes200ResponseGPUTypesDataCentersItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetGPUTypes200ResponseGPUTypesDataCentersItem'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetGPUTypes200ResponseGPUTypesDataCentersItem::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetGPUTypes200ResponseGPUTypesDataCentersItem' => false]; + return [\KatapultAPI\Core\Model\GetGPUTypes200ResponseGPUTypesDataCentersItem::class => false]; } } } else { @@ -108,12 +108,12 @@ class GetGPUTypes200ResponseGPUTypesDataCentersItemNormalizer implements Denorma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetGPUTypes200ResponseGPUTypesDataCentersItem'; + return $type === \KatapultAPI\Core\Model\GetGPUTypes200ResponseGPUTypesDataCentersItem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetGPUTypes200ResponseGPUTypesDataCentersItem'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetGPUTypes200ResponseGPUTypesDataCentersItem::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetGPUTypes200ResponseGPUTypesDataCentersItem' => false]; + return [\KatapultAPI\Core\Model\GetGPUTypes200ResponseGPUTypesDataCentersItem::class => false]; } } } diff --git a/src/Core/Normalizer/GetGPUTypes200ResponseGPUTypesNormalizer.php b/src/Core/Normalizer/GetGPUTypes200ResponseGPUTypesNormalizer.php index 1d469e32..998ba577 100644 --- a/src/Core/Normalizer/GetGPUTypes200ResponseGPUTypesNormalizer.php +++ b/src/Core/Normalizer/GetGPUTypes200ResponseGPUTypesNormalizer.php @@ -31,12 +31,12 @@ class GetGPUTypes200ResponseGPUTypesNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetGPUTypes200ResponseGPUTypes'; + return $type === \KatapultAPI\Core\Model\GetGPUTypes200ResponseGPUTypes::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetGPUTypes200ResponseGPUTypes'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetGPUTypes200ResponseGPUTypes::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -78,7 +78,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('data_centers', $data)) { $values = []; foreach ($data['data_centers'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetGPUTypes200ResponseGPUTypesDataCentersItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetGPUTypes200ResponseGPUTypesDataCentersItem::class, 'json', $context); } $object->setDataCenters($values); unset($data['data_centers']); @@ -131,7 +131,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetGPUTypes200ResponseGPUTypes' => false]; + return [\KatapultAPI\Core\Model\GetGPUTypes200ResponseGPUTypes::class => false]; } } } else { @@ -144,12 +144,12 @@ class GetGPUTypes200ResponseGPUTypesNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetGPUTypes200ResponseGPUTypes'; + return $type === \KatapultAPI\Core\Model\GetGPUTypes200ResponseGPUTypes::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetGPUTypes200ResponseGPUTypes'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetGPUTypes200ResponseGPUTypes::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('data_centers', $data)) { $values = []; foreach ($data['data_centers'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetGPUTypes200ResponseGPUTypesDataCentersItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetGPUTypes200ResponseGPUTypesDataCentersItem::class, 'json', $context); } $object->setDataCenters($values); unset($data['data_centers']); @@ -247,7 +247,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetGPUTypes200ResponseGPUTypes' => false]; + return [\KatapultAPI\Core\Model\GetGPUTypes200ResponseGPUTypes::class => false]; } } } diff --git a/src/Core/Normalizer/GetGPUTypesPartDataCentersNormalizer.php b/src/Core/Normalizer/GetGPUTypesPartDataCentersNormalizer.php index 63f7096b..d4e94956 100644 --- a/src/Core/Normalizer/GetGPUTypesPartDataCentersNormalizer.php +++ b/src/Core/Normalizer/GetGPUTypesPartDataCentersNormalizer.php @@ -31,12 +31,12 @@ class GetGPUTypesPartDataCentersNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetGPUTypesPartDataCenters'; + return $type === \KatapultAPI\Core\Model\GetGPUTypesPartDataCenters::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetGPUTypesPartDataCenters'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetGPUTypesPartDataCenters::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetGPUTypesPartDataCenters' => false]; + return [\KatapultAPI\Core\Model\GetGPUTypesPartDataCenters::class => false]; } } } else { @@ -108,12 +108,12 @@ class GetGPUTypesPartDataCentersNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetGPUTypesPartDataCenters'; + return $type === \KatapultAPI\Core\Model\GetGPUTypesPartDataCenters::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetGPUTypesPartDataCenters'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetGPUTypesPartDataCenters::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetGPUTypesPartDataCenters' => false]; + return [\KatapultAPI\Core\Model\GetGPUTypesPartDataCenters::class => false]; } } } diff --git a/src/Core/Normalizer/GetIPAddress200ResponseAllocationNormalizer.php b/src/Core/Normalizer/GetIPAddress200ResponseAllocationNormalizer.php index 4e6946a1..f675598e 100644 --- a/src/Core/Normalizer/GetIPAddress200ResponseAllocationNormalizer.php +++ b/src/Core/Normalizer/GetIPAddress200ResponseAllocationNormalizer.php @@ -31,12 +31,12 @@ class GetIPAddress200ResponseAllocationNormalizer implements DenormalizerInterfa public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetIPAddress200ResponseAllocation'; + return $type === \KatapultAPI\Core\Model\GetIPAddress200ResponseAllocation::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetIPAddress200ResponseAllocation'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetIPAddress200ResponseAllocation::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetIPAddress200ResponseAllocation' => false]; + return [\KatapultAPI\Core\Model\GetIPAddress200ResponseAllocation::class => false]; } } } else { @@ -101,12 +101,12 @@ class GetIPAddress200ResponseAllocationNormalizer implements DenormalizerInterfa public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetIPAddress200ResponseAllocation'; + return $type === \KatapultAPI\Core\Model\GetIPAddress200ResponseAllocation::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetIPAddress200ResponseAllocation'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetIPAddress200ResponseAllocation::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetIPAddress200ResponseAllocation' => false]; + return [\KatapultAPI\Core\Model\GetIPAddress200ResponseAllocation::class => false]; } } } diff --git a/src/Core/Normalizer/GetLoadBalancer200ResponseLoadBalancerNormalizer.php b/src/Core/Normalizer/GetLoadBalancer200ResponseLoadBalancerNormalizer.php index 67d2b0fa..41314ad9 100644 --- a/src/Core/Normalizer/GetLoadBalancer200ResponseLoadBalancerNormalizer.php +++ b/src/Core/Normalizer/GetLoadBalancer200ResponseLoadBalancerNormalizer.php @@ -31,12 +31,12 @@ class GetLoadBalancer200ResponseLoadBalancerNormalizer implements DenormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetLoadBalancer200ResponseLoadBalancer'; + return $type === \KatapultAPI\Core\Model\GetLoadBalancer200ResponseLoadBalancer::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetLoadBalancer200ResponseLoadBalancer'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetLoadBalancer200ResponseLoadBalancer::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -72,7 +72,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('resources', $data)) { $values = []; foreach ($data['resources'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\LoadBalancerResource', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\LoadBalancerResource::class, 'json', $context); } $object->setResources($values); unset($data['resources']); @@ -86,7 +86,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['resource_ids']); } if (\array_key_exists('ip_address', $data)) { - $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], 'KatapultAPI\\Core\\Model\\GetLoadBalancerPartIPAddress', 'json', $context)); + $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], \KatapultAPI\Core\Model\GetLoadBalancerPartIPAddress::class, 'json', $context)); unset($data['ip_address']); } if (\array_key_exists('https_redirect', $data)) { @@ -102,7 +102,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['backend_certificate_key']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\GetLoadBalancerPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\GetLoadBalancerPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('enable_weighting', $data)) { @@ -112,7 +112,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('weights', $data)) { $values_2 = []; foreach ($data['weights'] as $value_2) { - $values_2[] = $this->denormalizer->denormalize($value_2, 'KatapultAPI\\Core\\Model\\LoadBalancerWeight', 'json', $context); + $values_2[] = $this->denormalizer->denormalize($value_2, \KatapultAPI\Core\Model\LoadBalancerWeight::class, 'json', $context); } $object->setWeights($values_2); unset($data['weights']); @@ -206,7 +206,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetLoadBalancer200ResponseLoadBalancer' => false]; + return [\KatapultAPI\Core\Model\GetLoadBalancer200ResponseLoadBalancer::class => false]; } } } else { @@ -219,12 +219,12 @@ class GetLoadBalancer200ResponseLoadBalancerNormalizer implements DenormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetLoadBalancer200ResponseLoadBalancer'; + return $type === \KatapultAPI\Core\Model\GetLoadBalancer200ResponseLoadBalancer::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetLoadBalancer200ResponseLoadBalancer'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetLoadBalancer200ResponseLoadBalancer::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -260,7 +260,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('resources', $data)) { $values = []; foreach ($data['resources'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\LoadBalancerResource', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\LoadBalancerResource::class, 'json', $context); } $object->setResources($values); unset($data['resources']); @@ -274,7 +274,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['resource_ids']); } if (\array_key_exists('ip_address', $data)) { - $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], 'KatapultAPI\\Core\\Model\\GetLoadBalancerPartIPAddress', 'json', $context)); + $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], \KatapultAPI\Core\Model\GetLoadBalancerPartIPAddress::class, 'json', $context)); unset($data['ip_address']); } if (\array_key_exists('https_redirect', $data)) { @@ -290,7 +290,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['backend_certificate_key']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\GetLoadBalancerPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\GetLoadBalancerPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('enable_weighting', $data)) { @@ -300,7 +300,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('weights', $data)) { $values_2 = []; foreach ($data['weights'] as $value_2) { - $values_2[] = $this->denormalizer->denormalize($value_2, 'KatapultAPI\\Core\\Model\\LoadBalancerWeight', 'json', $context); + $values_2[] = $this->denormalizer->denormalize($value_2, \KatapultAPI\Core\Model\LoadBalancerWeight::class, 'json', $context); } $object->setWeights($values_2); unset($data['weights']); @@ -397,7 +397,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetLoadBalancer200ResponseLoadBalancer' => false]; + return [\KatapultAPI\Core\Model\GetLoadBalancer200ResponseLoadBalancer::class => false]; } } } diff --git a/src/Core/Normalizer/GetLoadBalancerPartDataCenterNormalizer.php b/src/Core/Normalizer/GetLoadBalancerPartDataCenterNormalizer.php index 6fe88e63..3dc1fc6b 100644 --- a/src/Core/Normalizer/GetLoadBalancerPartDataCenterNormalizer.php +++ b/src/Core/Normalizer/GetLoadBalancerPartDataCenterNormalizer.php @@ -31,12 +31,12 @@ class GetLoadBalancerPartDataCenterNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetLoadBalancerPartDataCenter'; + return $type === \KatapultAPI\Core\Model\GetLoadBalancerPartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetLoadBalancerPartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetLoadBalancerPartDataCenter::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetLoadBalancerPartDataCenter' => false]; + return [\KatapultAPI\Core\Model\GetLoadBalancerPartDataCenter::class => false]; } } } else { @@ -108,12 +108,12 @@ class GetLoadBalancerPartDataCenterNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetLoadBalancerPartDataCenter'; + return $type === \KatapultAPI\Core\Model\GetLoadBalancerPartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetLoadBalancerPartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetLoadBalancerPartDataCenter::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetLoadBalancerPartDataCenter' => false]; + return [\KatapultAPI\Core\Model\GetLoadBalancerPartDataCenter::class => false]; } } } diff --git a/src/Core/Normalizer/GetLoadBalancerPartIPAddressNormalizer.php b/src/Core/Normalizer/GetLoadBalancerPartIPAddressNormalizer.php index 52d70d3c..4353fdd6 100644 --- a/src/Core/Normalizer/GetLoadBalancerPartIPAddressNormalizer.php +++ b/src/Core/Normalizer/GetLoadBalancerPartIPAddressNormalizer.php @@ -31,12 +31,12 @@ class GetLoadBalancerPartIPAddressNormalizer implements DenormalizerInterface, N public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetLoadBalancerPartIPAddress'; + return $type === \KatapultAPI\Core\Model\GetLoadBalancerPartIPAddress::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetLoadBalancerPartIPAddress'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetLoadBalancerPartIPAddress::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetLoadBalancerPartIPAddress' => false]; + return [\KatapultAPI\Core\Model\GetLoadBalancerPartIPAddress::class => false]; } } } else { @@ -101,12 +101,12 @@ class GetLoadBalancerPartIPAddressNormalizer implements DenormalizerInterface, N public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetLoadBalancerPartIPAddress'; + return $type === \KatapultAPI\Core\Model\GetLoadBalancerPartIPAddress::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetLoadBalancerPartIPAddress'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetLoadBalancerPartIPAddress::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetLoadBalancerPartIPAddress' => false]; + return [\KatapultAPI\Core\Model\GetLoadBalancerPartIPAddress::class => false]; } } } diff --git a/src/Core/Normalizer/GetLoadBalancerRules200ResponseLoadBalancerRulesNormalizer.php b/src/Core/Normalizer/GetLoadBalancerRules200ResponseLoadBalancerRulesNormalizer.php index f8d10cb9..0a055233 100644 --- a/src/Core/Normalizer/GetLoadBalancerRules200ResponseLoadBalancerRulesNormalizer.php +++ b/src/Core/Normalizer/GetLoadBalancerRules200ResponseLoadBalancerRulesNormalizer.php @@ -31,12 +31,12 @@ class GetLoadBalancerRules200ResponseLoadBalancerRulesNormalizer implements Deno public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetLoadBalancerRules200ResponseLoadBalancerRules'; + return $type === \KatapultAPI\Core\Model\GetLoadBalancerRules200ResponseLoadBalancerRules::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetLoadBalancerRules200ResponseLoadBalancerRules'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetLoadBalancerRules200ResponseLoadBalancerRules::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -74,7 +74,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('certificates', $data)) { $values = []; foreach ($data['certificates'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetLoadBalancerRulesPartCertificates', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetLoadBalancerRulesPartCertificates::class, 'json', $context); } $object->setCertificates($values); unset($data['certificates']); @@ -131,7 +131,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetLoadBalancerRules200ResponseLoadBalancerRules' => false]; + return [\KatapultAPI\Core\Model\GetLoadBalancerRules200ResponseLoadBalancerRules::class => false]; } } } else { @@ -144,12 +144,12 @@ class GetLoadBalancerRules200ResponseLoadBalancerRulesNormalizer implements Deno public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetLoadBalancerRules200ResponseLoadBalancerRules'; + return $type === \KatapultAPI\Core\Model\GetLoadBalancerRules200ResponseLoadBalancerRules::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetLoadBalancerRules200ResponseLoadBalancerRules'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetLoadBalancerRules200ResponseLoadBalancerRules::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -187,7 +187,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('certificates', $data)) { $values = []; foreach ($data['certificates'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetLoadBalancerRulesPartCertificates', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetLoadBalancerRulesPartCertificates::class, 'json', $context); } $object->setCertificates($values); unset($data['certificates']); @@ -247,7 +247,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetLoadBalancerRules200ResponseLoadBalancerRules' => false]; + return [\KatapultAPI\Core\Model\GetLoadBalancerRules200ResponseLoadBalancerRules::class => false]; } } } diff --git a/src/Core/Normalizer/GetLoadBalancerRulesPartCertificatesNormalizer.php b/src/Core/Normalizer/GetLoadBalancerRulesPartCertificatesNormalizer.php index fcd8a936..c9fa4829 100644 --- a/src/Core/Normalizer/GetLoadBalancerRulesPartCertificatesNormalizer.php +++ b/src/Core/Normalizer/GetLoadBalancerRulesPartCertificatesNormalizer.php @@ -31,12 +31,12 @@ class GetLoadBalancerRulesPartCertificatesNormalizer implements DenormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetLoadBalancerRulesPartCertificates'; + return $type === \KatapultAPI\Core\Model\GetLoadBalancerRulesPartCertificates::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetLoadBalancerRulesPartCertificates'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetLoadBalancerRulesPartCertificates::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetLoadBalancerRulesPartCertificates' => false]; + return [\KatapultAPI\Core\Model\GetLoadBalancerRulesPartCertificates::class => false]; } } } else { @@ -101,12 +101,12 @@ class GetLoadBalancerRulesPartCertificatesNormalizer implements DenormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetLoadBalancerRulesPartCertificates'; + return $type === \KatapultAPI\Core\Model\GetLoadBalancerRulesPartCertificates::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetLoadBalancerRulesPartCertificates'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetLoadBalancerRulesPartCertificates::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetLoadBalancerRulesPartCertificates' => false]; + return [\KatapultAPI\Core\Model\GetLoadBalancerRulesPartCertificates::class => false]; } } } diff --git a/src/Core/Normalizer/GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer.php b/src/Core/Normalizer/GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer.php index d0f9257e..9f9248b1 100644 --- a/src/Core/Normalizer/GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer.php +++ b/src/Core/Normalizer/GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer.php @@ -31,12 +31,12 @@ class GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule'; + return $type === \KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -78,7 +78,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('certificates', $data)) { $values = []; foreach ($data['certificates'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRulePartCertificates', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRulePartCertificates::class, 'json', $context); } $object->setCertificates($values); unset($data['certificates']); @@ -128,7 +128,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setCheckHttpStatuses(null); } if (\array_key_exists('load_balancer', $data)) { - $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer', 'json', $context)); + $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], \KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer::class, 'json', $context)); unset($data['load_balancer']); } foreach ($data as $key => $value_1) { @@ -212,7 +212,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule' => false]; + return [\KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule::class => false]; } } } else { @@ -225,12 +225,12 @@ class GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule'; + return $type === \KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -272,7 +272,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('certificates', $data)) { $values = []; foreach ($data['certificates'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRulePartCertificates', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRulePartCertificates::class, 'json', $context); } $object->setCertificates($values); unset($data['certificates']); @@ -322,7 +322,7 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setCheckHttpStatuses(null); } if (\array_key_exists('load_balancer', $data)) { - $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer', 'json', $context)); + $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], \KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer::class, 'json', $context)); unset($data['load_balancer']); } foreach ($data as $key => $value_1) { @@ -409,7 +409,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule' => false]; + return [\KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule::class => false]; } } } diff --git a/src/Core/Normalizer/GetLoadBalancersRulesLoadBalancerRulePartCertificatesNormalizer.php b/src/Core/Normalizer/GetLoadBalancersRulesLoadBalancerRulePartCertificatesNormalizer.php index 6aa0af36..b3bdfc51 100644 --- a/src/Core/Normalizer/GetLoadBalancersRulesLoadBalancerRulePartCertificatesNormalizer.php +++ b/src/Core/Normalizer/GetLoadBalancersRulesLoadBalancerRulePartCertificatesNormalizer.php @@ -31,12 +31,12 @@ class GetLoadBalancersRulesLoadBalancerRulePartCertificatesNormalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRulePartCertificates'; + return $type === \KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRulePartCertificates::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRulePartCertificates'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRulePartCertificates::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -110,7 +110,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRulePartCertificates' => false]; + return [\KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRulePartCertificates::class => false]; } } } else { @@ -123,12 +123,12 @@ class GetLoadBalancersRulesLoadBalancerRulePartCertificatesNormalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRulePartCertificates'; + return $type === \KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRulePartCertificates::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRulePartCertificates'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRulePartCertificates::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -205,7 +205,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRulePartCertificates' => false]; + return [\KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRulePartCertificates::class => false]; } } } diff --git a/src/Core/Normalizer/GetLoadBalancersRulesLoadBalancerRulePartLoadBalancerNormalizer.php b/src/Core/Normalizer/GetLoadBalancersRulesLoadBalancerRulePartLoadBalancerNormalizer.php index eabc1e0b..4c418fc1 100644 --- a/src/Core/Normalizer/GetLoadBalancersRulesLoadBalancerRulePartLoadBalancerNormalizer.php +++ b/src/Core/Normalizer/GetLoadBalancersRulesLoadBalancerRulePartLoadBalancerNormalizer.php @@ -31,12 +31,12 @@ class GetLoadBalancersRulesLoadBalancerRulePartLoadBalancerNormalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer'; + return $type === \KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer' => false]; + return [\KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer::class => false]; } } } else { @@ -101,12 +101,12 @@ class GetLoadBalancersRulesLoadBalancerRulePartLoadBalancerNormalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer'; + return $type === \KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer' => false]; + return [\KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer::class => false]; } } } diff --git a/src/Core/Normalizer/GetOperatingSystems200ResponseOperatingSystemsNormalizer.php b/src/Core/Normalizer/GetOperatingSystems200ResponseOperatingSystemsNormalizer.php index 361a5ff6..588f3a35 100644 --- a/src/Core/Normalizer/GetOperatingSystems200ResponseOperatingSystemsNormalizer.php +++ b/src/Core/Normalizer/GetOperatingSystems200ResponseOperatingSystemsNormalizer.php @@ -31,12 +31,12 @@ class GetOperatingSystems200ResponseOperatingSystemsNormalizer implements Denorm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOperatingSystems200ResponseOperatingSystems'; + return $type === \KatapultAPI\Core\Model\GetOperatingSystems200ResponseOperatingSystems::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOperatingSystems200ResponseOperatingSystems'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOperatingSystems200ResponseOperatingSystems::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOperatingSystems200ResponseOperatingSystems' => false]; + return [\KatapultAPI\Core\Model\GetOperatingSystems200ResponseOperatingSystems::class => false]; } } } else { @@ -101,12 +101,12 @@ class GetOperatingSystems200ResponseOperatingSystemsNormalizer implements Denorm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOperatingSystems200ResponseOperatingSystems'; + return $type === \KatapultAPI\Core\Model\GetOperatingSystems200ResponseOperatingSystems::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOperatingSystems200ResponseOperatingSystems'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOperatingSystems200ResponseOperatingSystems::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOperatingSystems200ResponseOperatingSystems' => false]; + return [\KatapultAPI\Core\Model\GetOperatingSystems200ResponseOperatingSystems::class => false]; } } } diff --git a/src/Core/Normalizer/GetOrganizationAddressLists200ResponseAddressListsNormalizer.php b/src/Core/Normalizer/GetOrganizationAddressLists200ResponseAddressListsNormalizer.php index 796852c4..812f5597 100644 --- a/src/Core/Normalizer/GetOrganizationAddressLists200ResponseAddressListsNormalizer.php +++ b/src/Core/Normalizer/GetOrganizationAddressLists200ResponseAddressListsNormalizer.php @@ -31,12 +31,12 @@ class GetOrganizationAddressLists200ResponseAddressListsNormalizer implements De public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationAddressLists200ResponseAddressLists'; + return $type === \KatapultAPI\Core\Model\GetOrganizationAddressLists200ResponseAddressLists::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationAddressLists200ResponseAddressLists'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationAddressLists200ResponseAddressLists::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationAddressLists200ResponseAddressLists' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationAddressLists200ResponseAddressLists::class => false]; } } } else { @@ -108,12 +108,12 @@ class GetOrganizationAddressLists200ResponseAddressListsNormalizer implements De public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationAddressLists200ResponseAddressLists'; + return $type === \KatapultAPI\Core\Model\GetOrganizationAddressLists200ResponseAddressLists::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationAddressLists200ResponseAddressLists'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationAddressLists200ResponseAddressLists::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationAddressLists200ResponseAddressLists' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationAddressLists200ResponseAddressLists::class => false]; } } } diff --git a/src/Core/Normalizer/GetOrganizationAvailableNetworks200ResponseNetworksNormalizer.php b/src/Core/Normalizer/GetOrganizationAvailableNetworks200ResponseNetworksNormalizer.php index 5ec8efa9..28d9587b 100644 --- a/src/Core/Normalizer/GetOrganizationAvailableNetworks200ResponseNetworksNormalizer.php +++ b/src/Core/Normalizer/GetOrganizationAvailableNetworks200ResponseNetworksNormalizer.php @@ -31,12 +31,12 @@ class GetOrganizationAvailableNetworks200ResponseNetworksNormalizer implements D public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworks200ResponseNetworks'; + return $type === \KatapultAPI\Core\Model\GetOrganizationAvailableNetworks200ResponseNetworks::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworks200ResponseNetworks'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationAvailableNetworks200ResponseNetworks::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -66,7 +66,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setPermalink(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworksPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\GetOrganizationAvailableNetworksPartDataCenter::class, 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value) { @@ -104,7 +104,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworks200ResponseNetworks' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationAvailableNetworks200ResponseNetworks::class => false]; } } } else { @@ -117,12 +117,12 @@ class GetOrganizationAvailableNetworks200ResponseNetworksNormalizer implements D public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworks200ResponseNetworks'; + return $type === \KatapultAPI\Core\Model\GetOrganizationAvailableNetworks200ResponseNetworks::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworks200ResponseNetworks'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationAvailableNetworks200ResponseNetworks::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -152,7 +152,7 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setPermalink(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworksPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\GetOrganizationAvailableNetworksPartDataCenter::class, 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value) { @@ -193,7 +193,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworks200ResponseNetworks' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationAvailableNetworks200ResponseNetworks::class => false]; } } } diff --git a/src/Core/Normalizer/GetOrganizationAvailableNetworks200ResponseVirtualNetworksNormalizer.php b/src/Core/Normalizer/GetOrganizationAvailableNetworks200ResponseVirtualNetworksNormalizer.php index 157290f9..7141a84c 100644 --- a/src/Core/Normalizer/GetOrganizationAvailableNetworks200ResponseVirtualNetworksNormalizer.php +++ b/src/Core/Normalizer/GetOrganizationAvailableNetworks200ResponseVirtualNetworksNormalizer.php @@ -31,12 +31,12 @@ class GetOrganizationAvailableNetworks200ResponseVirtualNetworksNormalizer imple public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworks200ResponseVirtualNetworks'; + return $type === \KatapultAPI\Core\Model\GetOrganizationAvailableNetworks200ResponseVirtualNetworks::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworks200ResponseVirtualNetworks'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationAvailableNetworks200ResponseVirtualNetworks::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['name']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworksPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\GetOrganizationAvailableNetworksPartDataCenter::class, 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value) { @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworks200ResponseVirtualNetworks' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationAvailableNetworks200ResponseVirtualNetworks::class => false]; } } } else { @@ -108,12 +108,12 @@ class GetOrganizationAvailableNetworks200ResponseVirtualNetworksNormalizer imple public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworks200ResponseVirtualNetworks'; + return $type === \KatapultAPI\Core\Model\GetOrganizationAvailableNetworks200ResponseVirtualNetworks::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworks200ResponseVirtualNetworks'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationAvailableNetworks200ResponseVirtualNetworks::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -137,7 +137,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworksPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\GetOrganizationAvailableNetworksPartDataCenter::class, 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value) { @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworks200ResponseVirtualNetworks' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationAvailableNetworks200ResponseVirtualNetworks::class => false]; } } } diff --git a/src/Core/Normalizer/GetOrganizationAvailableNetworksPartDataCenterNormalizer.php b/src/Core/Normalizer/GetOrganizationAvailableNetworksPartDataCenterNormalizer.php index 5a3aaaf6..23fc54d1 100644 --- a/src/Core/Normalizer/GetOrganizationAvailableNetworksPartDataCenterNormalizer.php +++ b/src/Core/Normalizer/GetOrganizationAvailableNetworksPartDataCenterNormalizer.php @@ -31,12 +31,12 @@ class GetOrganizationAvailableNetworksPartDataCenterNormalizer implements Denorm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworksPartDataCenter'; + return $type === \KatapultAPI\Core\Model\GetOrganizationAvailableNetworksPartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworksPartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationAvailableNetworksPartDataCenter::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworksPartDataCenter' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationAvailableNetworksPartDataCenter::class => false]; } } } else { @@ -108,12 +108,12 @@ class GetOrganizationAvailableNetworksPartDataCenterNormalizer implements Denorm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworksPartDataCenter'; + return $type === \KatapultAPI\Core\Model\GetOrganizationAvailableNetworksPartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworksPartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationAvailableNetworksPartDataCenter::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworksPartDataCenter' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationAvailableNetworksPartDataCenter::class => false]; } } } diff --git a/src/Core/Normalizer/GetOrganizationCertificates200ResponseCertificatesNormalizer.php b/src/Core/Normalizer/GetOrganizationCertificates200ResponseCertificatesNormalizer.php index 98094614..34a68b4a 100644 --- a/src/Core/Normalizer/GetOrganizationCertificates200ResponseCertificatesNormalizer.php +++ b/src/Core/Normalizer/GetOrganizationCertificates200ResponseCertificatesNormalizer.php @@ -31,12 +31,12 @@ class GetOrganizationCertificates200ResponseCertificatesNormalizer implements De public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationCertificates200ResponseCertificates'; + return $type === \KatapultAPI\Core\Model\GetOrganizationCertificates200ResponseCertificates::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationCertificates200ResponseCertificates'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationCertificates200ResponseCertificates::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -120,7 +120,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationCertificates200ResponseCertificates' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationCertificates200ResponseCertificates::class => false]; } } } else { @@ -133,12 +133,12 @@ class GetOrganizationCertificates200ResponseCertificatesNormalizer implements De public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationCertificates200ResponseCertificates'; + return $type === \KatapultAPI\Core\Model\GetOrganizationCertificates200ResponseCertificates::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationCertificates200ResponseCertificates'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationCertificates200ResponseCertificates::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -225,7 +225,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationCertificates200ResponseCertificates' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationCertificates200ResponseCertificates::class => false]; } } } diff --git a/src/Core/Normalizer/GetOrganizationDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer.php b/src/Core/Normalizer/GetOrganizationDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer.php index 3e2c63b4..867a72cd 100644 --- a/src/Core/Normalizer/GetOrganizationDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer.php +++ b/src/Core/Normalizer/GetOrganizationDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer.php @@ -31,12 +31,12 @@ class GetOrganizationDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer i public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPolicies'; + return $type === \KatapultAPI\Core\Model\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPolicies::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPolicies'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPolicies::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -67,11 +67,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['total_size']); } if (\array_key_exists('target', $data)) { - $object->setTarget($this->denormalizer->denormalize($data['target'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyTarget', 'json', $context)); + $object->setTarget($this->denormalizer->denormalize($data['target'], \KatapultAPI\Core\Model\DiskBackupPolicyTarget::class, 'json', $context)); unset($data['target']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'KatapultAPI\\Core\\Model\\GetOrganizationDiskBackupPoliciesPartSchedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], \KatapultAPI\Core\Model\GetOrganizationDiskBackupPoliciesPartSchedule::class, 'json', $context)); unset($data['schedule']); } foreach ($data as $key => $value) { @@ -112,7 +112,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPolicies' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPolicies::class => false]; } } } else { @@ -125,12 +125,12 @@ class GetOrganizationDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer i public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPolicies'; + return $type === \KatapultAPI\Core\Model\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPolicies::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPolicies'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPolicies::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,11 +161,11 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['total_size']); } if (\array_key_exists('target', $data)) { - $object->setTarget($this->denormalizer->denormalize($data['target'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyTarget', 'json', $context)); + $object->setTarget($this->denormalizer->denormalize($data['target'], \KatapultAPI\Core\Model\DiskBackupPolicyTarget::class, 'json', $context)); unset($data['target']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'KatapultAPI\\Core\\Model\\GetOrganizationDiskBackupPoliciesPartSchedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], \KatapultAPI\Core\Model\GetOrganizationDiskBackupPoliciesPartSchedule::class, 'json', $context)); unset($data['schedule']); } foreach ($data as $key => $value) { @@ -209,7 +209,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPolicies' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPolicies::class => false]; } } } diff --git a/src/Core/Normalizer/GetOrganizationDiskBackupPoliciesPartScheduleNormalizer.php b/src/Core/Normalizer/GetOrganizationDiskBackupPoliciesPartScheduleNormalizer.php index 0979776c..e7621ed9 100644 --- a/src/Core/Normalizer/GetOrganizationDiskBackupPoliciesPartScheduleNormalizer.php +++ b/src/Core/Normalizer/GetOrganizationDiskBackupPoliciesPartScheduleNormalizer.php @@ -31,12 +31,12 @@ class GetOrganizationDiskBackupPoliciesPartScheduleNormalizer implements Denorma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationDiskBackupPoliciesPartSchedule'; + return $type === \KatapultAPI\Core\Model\GetOrganizationDiskBackupPoliciesPartSchedule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationDiskBackupPoliciesPartSchedule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationDiskBackupPoliciesPartSchedule::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationDiskBackupPoliciesPartSchedule' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationDiskBackupPoliciesPartSchedule::class => false]; } } } else { @@ -101,12 +101,12 @@ class GetOrganizationDiskBackupPoliciesPartScheduleNormalizer implements Denorma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationDiskBackupPoliciesPartSchedule'; + return $type === \KatapultAPI\Core\Model\GetOrganizationDiskBackupPoliciesPartSchedule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationDiskBackupPoliciesPartSchedule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationDiskBackupPoliciesPartSchedule::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationDiskBackupPoliciesPartSchedule' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationDiskBackupPoliciesPartSchedule::class => false]; } } } diff --git a/src/Core/Normalizer/GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersionNormalizer.php b/src/Core/Normalizer/GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersionNormalizer.php index 07d45a65..871e85c0 100644 --- a/src/Core/Normalizer/GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersionNormalizer.php +++ b/src/Core/Normalizer/GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersionNormalizer.php @@ -31,12 +31,12 @@ class GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersionNormalize public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersion'; + return $type === \KatapultAPI\Core\Model\GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersion::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersion'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersion::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersion' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersion::class => false]; } } } else { @@ -101,12 +101,12 @@ class GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersionNormalize public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersion'; + return $type === \KatapultAPI\Core\Model\GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersion::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersion'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersion::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersion' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersion::class => false]; } } } diff --git a/src/Core/Normalizer/GetOrganizationDiskTemplates200ResponseDiskTemplatesNormalizer.php b/src/Core/Normalizer/GetOrganizationDiskTemplates200ResponseDiskTemplatesNormalizer.php index 004acda3..bac993f2 100644 --- a/src/Core/Normalizer/GetOrganizationDiskTemplates200ResponseDiskTemplatesNormalizer.php +++ b/src/Core/Normalizer/GetOrganizationDiskTemplates200ResponseDiskTemplatesNormalizer.php @@ -31,12 +31,12 @@ class GetOrganizationDiskTemplates200ResponseDiskTemplatesNormalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplates'; + return $type === \KatapultAPI\Core\Model\GetOrganizationDiskTemplates200ResponseDiskTemplates::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplates'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationDiskTemplates200ResponseDiskTemplates::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -80,13 +80,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setSizeInGb(null); } if (\array_key_exists('latest_version', $data) && $data['latest_version'] !== null) { - $object->setLatestVersion($this->denormalizer->denormalize($data['latest_version'], 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersion', 'json', $context)); + $object->setLatestVersion($this->denormalizer->denormalize($data['latest_version'], \KatapultAPI\Core\Model\GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersion::class, 'json', $context)); unset($data['latest_version']); } elseif (\array_key_exists('latest_version', $data) && $data['latest_version'] === null) { $object->setLatestVersion(null); } if (\array_key_exists('operating_system', $data) && $data['operating_system'] !== null) { - $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystem', 'json', $context)); + $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], \KatapultAPI\Core\Model\GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystem::class, 'json', $context)); unset($data['operating_system']); } elseif (\array_key_exists('operating_system', $data) && $data['operating_system'] === null) { $object->setOperatingSystem(null); @@ -138,7 +138,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplates' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationDiskTemplates200ResponseDiskTemplates::class => false]; } } } else { @@ -151,12 +151,12 @@ class GetOrganizationDiskTemplates200ResponseDiskTemplatesNormalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplates'; + return $type === \KatapultAPI\Core\Model\GetOrganizationDiskTemplates200ResponseDiskTemplates::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplates'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationDiskTemplates200ResponseDiskTemplates::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -200,13 +200,13 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setSizeInGb(null); } if (\array_key_exists('latest_version', $data) && $data['latest_version'] !== null) { - $object->setLatestVersion($this->denormalizer->denormalize($data['latest_version'], 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersion', 'json', $context)); + $object->setLatestVersion($this->denormalizer->denormalize($data['latest_version'], \KatapultAPI\Core\Model\GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersion::class, 'json', $context)); unset($data['latest_version']); } elseif (\array_key_exists('latest_version', $data) && $data['latest_version'] === null) { $object->setLatestVersion(null); } if (\array_key_exists('operating_system', $data) && $data['operating_system'] !== null) { - $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystem', 'json', $context)); + $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], \KatapultAPI\Core\Model\GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystem::class, 'json', $context)); unset($data['operating_system']); } elseif (\array_key_exists('operating_system', $data) && $data['operating_system'] === null) { $object->setOperatingSystem(null); @@ -261,7 +261,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplates' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationDiskTemplates200ResponseDiskTemplates::class => false]; } } } diff --git a/src/Core/Normalizer/GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystemNormalizer.php b/src/Core/Normalizer/GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystemNormalizer.php index 67115a52..a0b63f45 100644 --- a/src/Core/Normalizer/GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystemNormalizer.php +++ b/src/Core/Normalizer/GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystemNormalizer.php @@ -31,12 +31,12 @@ class GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystemNormali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystem'; + return $type === \KatapultAPI\Core\Model\GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystem'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystem::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystem' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystem::class => false]; } } } else { @@ -101,12 +101,12 @@ class GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystemNormali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystem'; + return $type === \KatapultAPI\Core\Model\GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystem'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystem::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystem' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystem::class => false]; } } } diff --git a/src/Core/Normalizer/GetOrganizationDiskTemplatesPartLatestVersionNormalizer.php b/src/Core/Normalizer/GetOrganizationDiskTemplatesPartLatestVersionNormalizer.php index f2a762d9..4848c167 100644 --- a/src/Core/Normalizer/GetOrganizationDiskTemplatesPartLatestVersionNormalizer.php +++ b/src/Core/Normalizer/GetOrganizationDiskTemplatesPartLatestVersionNormalizer.php @@ -31,12 +31,12 @@ class GetOrganizationDiskTemplatesPartLatestVersionNormalizer implements Denorma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplatesPartLatestVersion'; + return $type === \KatapultAPI\Core\Model\GetOrganizationDiskTemplatesPartLatestVersion::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplatesPartLatestVersion'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationDiskTemplatesPartLatestVersion::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplatesPartLatestVersion' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationDiskTemplatesPartLatestVersion::class => false]; } } } else { @@ -101,12 +101,12 @@ class GetOrganizationDiskTemplatesPartLatestVersionNormalizer implements Denorma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplatesPartLatestVersion'; + return $type === \KatapultAPI\Core\Model\GetOrganizationDiskTemplatesPartLatestVersion::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplatesPartLatestVersion'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationDiskTemplatesPartLatestVersion::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplatesPartLatestVersion' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationDiskTemplatesPartLatestVersion::class => false]; } } } diff --git a/src/Core/Normalizer/GetOrganizationDiskTemplatesPartOperatingSystemNormalizer.php b/src/Core/Normalizer/GetOrganizationDiskTemplatesPartOperatingSystemNormalizer.php index 6d3d80e8..90faaad9 100644 --- a/src/Core/Normalizer/GetOrganizationDiskTemplatesPartOperatingSystemNormalizer.php +++ b/src/Core/Normalizer/GetOrganizationDiskTemplatesPartOperatingSystemNormalizer.php @@ -31,12 +31,12 @@ class GetOrganizationDiskTemplatesPartOperatingSystemNormalizer implements Denor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplatesPartOperatingSystem'; + return $type === \KatapultAPI\Core\Model\GetOrganizationDiskTemplatesPartOperatingSystem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplatesPartOperatingSystem'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationDiskTemplatesPartOperatingSystem::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplatesPartOperatingSystem' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationDiskTemplatesPartOperatingSystem::class => false]; } } } else { @@ -101,12 +101,12 @@ class GetOrganizationDiskTemplatesPartOperatingSystemNormalizer implements Denor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplatesPartOperatingSystem'; + return $type === \KatapultAPI\Core\Model\GetOrganizationDiskTemplatesPartOperatingSystem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplatesPartOperatingSystem'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationDiskTemplatesPartOperatingSystem::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplatesPartOperatingSystem' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationDiskTemplatesPartOperatingSystem::class => false]; } } } diff --git a/src/Core/Normalizer/GetOrganizationDisks200ResponseDiskNormalizer.php b/src/Core/Normalizer/GetOrganizationDisks200ResponseDiskNormalizer.php index 6c802ff5..e792c127 100644 --- a/src/Core/Normalizer/GetOrganizationDisks200ResponseDiskNormalizer.php +++ b/src/Core/Normalizer/GetOrganizationDisks200ResponseDiskNormalizer.php @@ -31,12 +31,12 @@ class GetOrganizationDisks200ResponseDiskNormalizer implements DenormalizerInter public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationDisks200ResponseDisk'; + return $type === \KatapultAPI\Core\Model\GetOrganizationDisks200ResponseDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationDisks200ResponseDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationDisks200ResponseDisk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -72,7 +72,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['state']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\GetOrganizationDisks200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\GetOrganizationDisks200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); @@ -118,7 +118,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationDisks200ResponseDisk' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationDisks200ResponseDisk::class => false]; } } } else { @@ -131,12 +131,12 @@ class GetOrganizationDisks200ResponseDiskNormalizer implements DenormalizerInter public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationDisks200ResponseDisk'; + return $type === \KatapultAPI\Core\Model\GetOrganizationDisks200ResponseDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationDisks200ResponseDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationDisks200ResponseDisk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -172,7 +172,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['state']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\GetOrganizationDisks200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\GetOrganizationDisks200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); @@ -221,7 +221,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationDisks200ResponseDisk' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationDisks200ResponseDisk::class => false]; } } } diff --git a/src/Core/Normalizer/GetOrganizationDisks200ResponseDiskVirtualMachineDiskNormalizer.php b/src/Core/Normalizer/GetOrganizationDisks200ResponseDiskVirtualMachineDiskNormalizer.php index 8b9e72b9..4ae2f85e 100644 --- a/src/Core/Normalizer/GetOrganizationDisks200ResponseDiskVirtualMachineDiskNormalizer.php +++ b/src/Core/Normalizer/GetOrganizationDisks200ResponseDiskVirtualMachineDiskNormalizer.php @@ -31,12 +31,12 @@ class GetOrganizationDisks200ResponseDiskVirtualMachineDiskNormalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationDisks200ResponseDiskVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\GetOrganizationDisks200ResponseDiskVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationDisks200ResponseDiskVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationDisks200ResponseDiskVirtualMachineDisk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\GetOrganizationDisksPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\GetOrganizationDisksPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } foreach ($data as $key => $value) { @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationDisks200ResponseDiskVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationDisks200ResponseDiskVirtualMachineDisk::class => false]; } } } else { @@ -94,12 +94,12 @@ class GetOrganizationDisks200ResponseDiskVirtualMachineDiskNormalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationDisks200ResponseDiskVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\GetOrganizationDisks200ResponseDiskVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationDisks200ResponseDiskVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationDisks200ResponseDiskVirtualMachineDisk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -115,7 +115,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\GetOrganizationDisksPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\GetOrganizationDisksPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } foreach ($data as $key => $value) { @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationDisks200ResponseDiskVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationDisks200ResponseDiskVirtualMachineDisk::class => false]; } } } diff --git a/src/Core/Normalizer/GetOrganizationDisksPartVirtualMachineDiskNormalizer.php b/src/Core/Normalizer/GetOrganizationDisksPartVirtualMachineDiskNormalizer.php index ac0daa35..e45d1d02 100644 --- a/src/Core/Normalizer/GetOrganizationDisksPartVirtualMachineDiskNormalizer.php +++ b/src/Core/Normalizer/GetOrganizationDisksPartVirtualMachineDiskNormalizer.php @@ -31,12 +31,12 @@ class GetOrganizationDisksPartVirtualMachineDiskNormalizer implements Denormaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationDisksPartVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\GetOrganizationDisksPartVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationDisksPartVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationDisksPartVirtualMachineDisk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\GetOrganizationDisksPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\GetOrganizationDisksPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } foreach ($data as $key => $value) { @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationDisksPartVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationDisksPartVirtualMachineDisk::class => false]; } } } else { @@ -94,12 +94,12 @@ class GetOrganizationDisksPartVirtualMachineDiskNormalizer implements Denormaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationDisksPartVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\GetOrganizationDisksPartVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationDisksPartVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationDisksPartVirtualMachineDisk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -115,7 +115,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\GetOrganizationDisksPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\GetOrganizationDisksPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } foreach ($data as $key => $value) { @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationDisksPartVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationDisksPartVirtualMachineDisk::class => false]; } } } diff --git a/src/Core/Normalizer/GetOrganizationDisksPartVirtualMachineNormalizer.php b/src/Core/Normalizer/GetOrganizationDisksPartVirtualMachineNormalizer.php index ac4c13c9..6607395d 100644 --- a/src/Core/Normalizer/GetOrganizationDisksPartVirtualMachineNormalizer.php +++ b/src/Core/Normalizer/GetOrganizationDisksPartVirtualMachineNormalizer.php @@ -31,12 +31,12 @@ class GetOrganizationDisksPartVirtualMachineNormalizer implements DenormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationDisksPartVirtualMachine'; + return $type === \KatapultAPI\Core\Model\GetOrganizationDisksPartVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationDisksPartVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationDisksPartVirtualMachine::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationDisksPartVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationDisksPartVirtualMachine::class => false]; } } } else { @@ -101,12 +101,12 @@ class GetOrganizationDisksPartVirtualMachineNormalizer implements DenormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationDisksPartVirtualMachine'; + return $type === \KatapultAPI\Core\Model\GetOrganizationDisksPartVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationDisksPartVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationDisksPartVirtualMachine::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationDisksPartVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationDisksPartVirtualMachine::class => false]; } } } diff --git a/src/Core/Normalizer/GetOrganizationFileStorageVolumes200ResponseFileStorageVolumesNormalizer.php b/src/Core/Normalizer/GetOrganizationFileStorageVolumes200ResponseFileStorageVolumesNormalizer.php index 5bb18a58..8ad63039 100644 --- a/src/Core/Normalizer/GetOrganizationFileStorageVolumes200ResponseFileStorageVolumesNormalizer.php +++ b/src/Core/Normalizer/GetOrganizationFileStorageVolumes200ResponseFileStorageVolumesNormalizer.php @@ -31,12 +31,12 @@ class GetOrganizationFileStorageVolumes200ResponseFileStorageVolumesNormalizer i public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumes'; + return $type === \KatapultAPI\Core\Model\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumes::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumes'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumes::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['name']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\GetOrganizationFileStorageVolumesPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\GetOrganizationFileStorageVolumesPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('associations', $data)) { @@ -135,7 +135,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumes' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumes::class => false]; } } } else { @@ -148,12 +148,12 @@ class GetOrganizationFileStorageVolumes200ResponseFileStorageVolumesNormalizer i public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumes'; + return $type === \KatapultAPI\Core\Model\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumes::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumes'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumes::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -177,7 +177,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\GetOrganizationFileStorageVolumesPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\GetOrganizationFileStorageVolumesPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('associations', $data)) { @@ -255,7 +255,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumes' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumes::class => false]; } } } diff --git a/src/Core/Normalizer/GetOrganizationFileStorageVolumesPartDataCenterNormalizer.php b/src/Core/Normalizer/GetOrganizationFileStorageVolumesPartDataCenterNormalizer.php index 420b8e66..23a7a43d 100644 --- a/src/Core/Normalizer/GetOrganizationFileStorageVolumesPartDataCenterNormalizer.php +++ b/src/Core/Normalizer/GetOrganizationFileStorageVolumesPartDataCenterNormalizer.php @@ -31,12 +31,12 @@ class GetOrganizationFileStorageVolumesPartDataCenterNormalizer implements Denor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationFileStorageVolumesPartDataCenter'; + return $type === \KatapultAPI\Core\Model\GetOrganizationFileStorageVolumesPartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationFileStorageVolumesPartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationFileStorageVolumesPartDataCenter::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationFileStorageVolumesPartDataCenter' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationFileStorageVolumesPartDataCenter::class => false]; } } } else { @@ -108,12 +108,12 @@ class GetOrganizationFileStorageVolumesPartDataCenterNormalizer implements Denor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationFileStorageVolumesPartDataCenter'; + return $type === \KatapultAPI\Core\Model\GetOrganizationFileStorageVolumesPartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationFileStorageVolumesPartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationFileStorageVolumesPartDataCenter::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationFileStorageVolumesPartDataCenter' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationFileStorageVolumesPartDataCenter::class => false]; } } } diff --git a/src/Core/Normalizer/GetOrganizationIPAddresses200ResponseIPAddressesNormalizer.php b/src/Core/Normalizer/GetOrganizationIPAddresses200ResponseIPAddressesNormalizer.php index 804f9c50..08ef517f 100644 --- a/src/Core/Normalizer/GetOrganizationIPAddresses200ResponseIPAddressesNormalizer.php +++ b/src/Core/Normalizer/GetOrganizationIPAddresses200ResponseIPAddressesNormalizer.php @@ -31,12 +31,12 @@ class GetOrganizationIPAddresses200ResponseIPAddressesNormalizer implements Deno public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationIPAddresses200ResponseIPAddresses'; + return $type === \KatapultAPI\Core\Model\GetOrganizationIPAddresses200ResponseIPAddresses::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationIPAddresses200ResponseIPAddresses'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationIPAddresses200ResponseIPAddresses::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -120,7 +120,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationIPAddresses200ResponseIPAddresses' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationIPAddresses200ResponseIPAddresses::class => false]; } } } else { @@ -133,12 +133,12 @@ class GetOrganizationIPAddresses200ResponseIPAddressesNormalizer implements Deno public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationIPAddresses200ResponseIPAddresses'; + return $type === \KatapultAPI\Core\Model\GetOrganizationIPAddresses200ResponseIPAddresses::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationIPAddresses200ResponseIPAddresses'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationIPAddresses200ResponseIPAddresses::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -225,7 +225,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationIPAddresses200ResponseIPAddresses' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationIPAddresses200ResponseIPAddresses::class => false]; } } } diff --git a/src/Core/Normalizer/GetOrganizationLoadBalancers200ResponseLoadBalancersNormalizer.php b/src/Core/Normalizer/GetOrganizationLoadBalancers200ResponseLoadBalancersNormalizer.php index 10f519b0..6794ce89 100644 --- a/src/Core/Normalizer/GetOrganizationLoadBalancers200ResponseLoadBalancersNormalizer.php +++ b/src/Core/Normalizer/GetOrganizationLoadBalancers200ResponseLoadBalancersNormalizer.php @@ -31,12 +31,12 @@ class GetOrganizationLoadBalancers200ResponseLoadBalancersNormalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationLoadBalancers200ResponseLoadBalancers'; + return $type === \KatapultAPI\Core\Model\GetOrganizationLoadBalancers200ResponseLoadBalancers::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationLoadBalancers200ResponseLoadBalancers'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationLoadBalancers200ResponseLoadBalancers::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -72,7 +72,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('resources', $data)) { $values = []; foreach ($data['resources'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\LoadBalancerResource', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\LoadBalancerResource::class, 'json', $context); } $object->setResources($values); unset($data['resources']); @@ -86,11 +86,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['resource_ids']); } if (\array_key_exists('ip_address', $data)) { - $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], 'KatapultAPI\\Core\\Model\\GetOrganizationLoadBalancersPartIPAddress', 'json', $context)); + $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], \KatapultAPI\Core\Model\GetOrganizationLoadBalancersPartIPAddress::class, 'json', $context)); unset($data['ip_address']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\GetOrganizationLoadBalancersPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\GetOrganizationLoadBalancersPartDataCenter::class, 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value_2) { @@ -148,7 +148,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationLoadBalancers200ResponseLoadBalancers' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationLoadBalancers200ResponseLoadBalancers::class => false]; } } } else { @@ -161,12 +161,12 @@ class GetOrganizationLoadBalancers200ResponseLoadBalancersNormalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationLoadBalancers200ResponseLoadBalancers'; + return $type === \KatapultAPI\Core\Model\GetOrganizationLoadBalancers200ResponseLoadBalancers::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationLoadBalancers200ResponseLoadBalancers'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationLoadBalancers200ResponseLoadBalancers::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -202,7 +202,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('resources', $data)) { $values = []; foreach ($data['resources'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\LoadBalancerResource', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\LoadBalancerResource::class, 'json', $context); } $object->setResources($values); unset($data['resources']); @@ -216,11 +216,11 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['resource_ids']); } if (\array_key_exists('ip_address', $data)) { - $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], 'KatapultAPI\\Core\\Model\\GetOrganizationLoadBalancersPartIPAddress', 'json', $context)); + $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], \KatapultAPI\Core\Model\GetOrganizationLoadBalancersPartIPAddress::class, 'json', $context)); unset($data['ip_address']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\GetOrganizationLoadBalancersPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\GetOrganizationLoadBalancersPartDataCenter::class, 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value_2) { @@ -281,7 +281,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationLoadBalancers200ResponseLoadBalancers' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationLoadBalancers200ResponseLoadBalancers::class => false]; } } } diff --git a/src/Core/Normalizer/GetOrganizationLoadBalancersPartDataCenterNormalizer.php b/src/Core/Normalizer/GetOrganizationLoadBalancersPartDataCenterNormalizer.php index 0a5d945a..faceafa7 100644 --- a/src/Core/Normalizer/GetOrganizationLoadBalancersPartDataCenterNormalizer.php +++ b/src/Core/Normalizer/GetOrganizationLoadBalancersPartDataCenterNormalizer.php @@ -31,12 +31,12 @@ class GetOrganizationLoadBalancersPartDataCenterNormalizer implements Denormaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationLoadBalancersPartDataCenter'; + return $type === \KatapultAPI\Core\Model\GetOrganizationLoadBalancersPartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationLoadBalancersPartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationLoadBalancersPartDataCenter::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationLoadBalancersPartDataCenter' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationLoadBalancersPartDataCenter::class => false]; } } } else { @@ -101,12 +101,12 @@ class GetOrganizationLoadBalancersPartDataCenterNormalizer implements Denormaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationLoadBalancersPartDataCenter'; + return $type === \KatapultAPI\Core\Model\GetOrganizationLoadBalancersPartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationLoadBalancersPartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationLoadBalancersPartDataCenter::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationLoadBalancersPartDataCenter' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationLoadBalancersPartDataCenter::class => false]; } } } diff --git a/src/Core/Normalizer/GetOrganizationLoadBalancersPartIPAddressNormalizer.php b/src/Core/Normalizer/GetOrganizationLoadBalancersPartIPAddressNormalizer.php index fb072231..d361b05e 100644 --- a/src/Core/Normalizer/GetOrganizationLoadBalancersPartIPAddressNormalizer.php +++ b/src/Core/Normalizer/GetOrganizationLoadBalancersPartIPAddressNormalizer.php @@ -31,12 +31,12 @@ class GetOrganizationLoadBalancersPartIPAddressNormalizer implements Denormalize public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationLoadBalancersPartIPAddress'; + return $type === \KatapultAPI\Core\Model\GetOrganizationLoadBalancersPartIPAddress::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationLoadBalancersPartIPAddress'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationLoadBalancersPartIPAddress::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationLoadBalancersPartIPAddress' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationLoadBalancersPartIPAddress::class => false]; } } } else { @@ -94,12 +94,12 @@ class GetOrganizationLoadBalancersPartIPAddressNormalizer implements Denormalize public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationLoadBalancersPartIPAddress'; + return $type === \KatapultAPI\Core\Model\GetOrganizationLoadBalancersPartIPAddress::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationLoadBalancersPartIPAddress'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationLoadBalancersPartIPAddress::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationLoadBalancersPartIPAddress' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationLoadBalancersPartIPAddress::class => false]; } } } diff --git a/src/Core/Normalizer/GetOrganizationManaged200ResponseOrganizationsNormalizer.php b/src/Core/Normalizer/GetOrganizationManaged200ResponseOrganizationsNormalizer.php index 43c4a5d5..30dfecb4 100644 --- a/src/Core/Normalizer/GetOrganizationManaged200ResponseOrganizationsNormalizer.php +++ b/src/Core/Normalizer/GetOrganizationManaged200ResponseOrganizationsNormalizer.php @@ -31,12 +31,12 @@ class GetOrganizationManaged200ResponseOrganizationsNormalizer implements Denorm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationManaged200ResponseOrganizations'; + return $type === \KatapultAPI\Core\Model\GetOrganizationManaged200ResponseOrganizations::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationManaged200ResponseOrganizations'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationManaged200ResponseOrganizations::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -116,7 +116,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationManaged200ResponseOrganizations' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationManaged200ResponseOrganizations::class => false]; } } } else { @@ -129,12 +129,12 @@ class GetOrganizationManaged200ResponseOrganizationsNormalizer implements Denorm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationManaged200ResponseOrganizations'; + return $type === \KatapultAPI\Core\Model\GetOrganizationManaged200ResponseOrganizations::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationManaged200ResponseOrganizations'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationManaged200ResponseOrganizations::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -217,7 +217,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationManaged200ResponseOrganizations' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationManaged200ResponseOrganizations::class => false]; } } } diff --git a/src/Core/Normalizer/GetOrganizationTags200ResponseTagsNormalizer.php b/src/Core/Normalizer/GetOrganizationTags200ResponseTagsNormalizer.php index dec0c2fd..2427cf9e 100644 --- a/src/Core/Normalizer/GetOrganizationTags200ResponseTagsNormalizer.php +++ b/src/Core/Normalizer/GetOrganizationTags200ResponseTagsNormalizer.php @@ -31,12 +31,12 @@ class GetOrganizationTags200ResponseTagsNormalizer implements DenormalizerInterf public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationTags200ResponseTags'; + return $type === \KatapultAPI\Core\Model\GetOrganizationTags200ResponseTags::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationTags200ResponseTags'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationTags200ResponseTags::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationTags200ResponseTags' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationTags200ResponseTags::class => false]; } } } else { @@ -108,12 +108,12 @@ class GetOrganizationTags200ResponseTagsNormalizer implements DenormalizerInterf public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationTags200ResponseTags'; + return $type === \KatapultAPI\Core\Model\GetOrganizationTags200ResponseTags::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationTags200ResponseTags'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationTags200ResponseTags::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationTags200ResponseTags' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationTags200ResponseTags::class => false]; } } } diff --git a/src/Core/Normalizer/GetOrganizationUsersWithAccess200ResponseUsersNormalizer.php b/src/Core/Normalizer/GetOrganizationUsersWithAccess200ResponseUsersNormalizer.php index 2625bf94..5f49b67c 100644 --- a/src/Core/Normalizer/GetOrganizationUsersWithAccess200ResponseUsersNormalizer.php +++ b/src/Core/Normalizer/GetOrganizationUsersWithAccess200ResponseUsersNormalizer.php @@ -31,12 +31,12 @@ class GetOrganizationUsersWithAccess200ResponseUsersNormalizer implements Denorm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationUsersWithAccess200ResponseUsers'; + return $type === \KatapultAPI\Core\Model\GetOrganizationUsersWithAccess200ResponseUsers::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationUsersWithAccess200ResponseUsers'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationUsersWithAccess200ResponseUsers::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('user', $data) && $data['user'] !== null) { - $object->setUser($this->denormalizer->denormalize($data['user'], 'KatapultAPI\\Core\\Model\\GetOrganizationUsersWithAccess200ResponseUsersUser', 'json', $context)); + $object->setUser($this->denormalizer->denormalize($data['user'], \KatapultAPI\Core\Model\GetOrganizationUsersWithAccess200ResponseUsersUser::class, 'json', $context)); unset($data['user']); } elseif (\array_key_exists('user', $data) && $data['user'] === null) { $object->setUser(null); @@ -83,7 +83,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationUsersWithAccess200ResponseUsers' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationUsersWithAccess200ResponseUsers::class => false]; } } } else { @@ -96,12 +96,12 @@ class GetOrganizationUsersWithAccess200ResponseUsersNormalizer implements Denorm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationUsersWithAccess200ResponseUsers'; + return $type === \KatapultAPI\Core\Model\GetOrganizationUsersWithAccess200ResponseUsers::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationUsersWithAccess200ResponseUsers'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationUsersWithAccess200ResponseUsers::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -117,7 +117,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('user', $data) && $data['user'] !== null) { - $object->setUser($this->denormalizer->denormalize($data['user'], 'KatapultAPI\\Core\\Model\\GetOrganizationUsersWithAccess200ResponseUsersUser', 'json', $context)); + $object->setUser($this->denormalizer->denormalize($data['user'], \KatapultAPI\Core\Model\GetOrganizationUsersWithAccess200ResponseUsersUser::class, 'json', $context)); unset($data['user']); } elseif (\array_key_exists('user', $data) && $data['user'] === null) { $object->setUser(null); @@ -151,7 +151,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationUsersWithAccess200ResponseUsers' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationUsersWithAccess200ResponseUsers::class => false]; } } } diff --git a/src/Core/Normalizer/GetOrganizationUsersWithAccess200ResponseUsersUserNormalizer.php b/src/Core/Normalizer/GetOrganizationUsersWithAccess200ResponseUsersUserNormalizer.php index 1bf78585..d7081237 100644 --- a/src/Core/Normalizer/GetOrganizationUsersWithAccess200ResponseUsersUserNormalizer.php +++ b/src/Core/Normalizer/GetOrganizationUsersWithAccess200ResponseUsersUserNormalizer.php @@ -31,12 +31,12 @@ class GetOrganizationUsersWithAccess200ResponseUsersUserNormalizer implements De public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationUsersWithAccess200ResponseUsersUser'; + return $type === \KatapultAPI\Core\Model\GetOrganizationUsersWithAccess200ResponseUsersUser::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationUsersWithAccess200ResponseUsersUser'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationUsersWithAccess200ResponseUsersUser::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationUsersWithAccess200ResponseUsersUser' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationUsersWithAccess200ResponseUsersUser::class => false]; } } } else { @@ -115,12 +115,12 @@ class GetOrganizationUsersWithAccess200ResponseUsersUserNormalizer implements De public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationUsersWithAccess200ResponseUsersUser'; + return $type === \KatapultAPI\Core\Model\GetOrganizationUsersWithAccess200ResponseUsersUser::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationUsersWithAccess200ResponseUsersUser'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationUsersWithAccess200ResponseUsersUser::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationUsersWithAccess200ResponseUsersUser' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationUsersWithAccess200ResponseUsersUser::class => false]; } } } diff --git a/src/Core/Normalizer/GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuTypeNormalizer.php b/src/Core/Normalizer/GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuTypeNormalizer.php index b7b278d4..ba28020a 100644 --- a/src/Core/Normalizer/GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuTypeNormalizer.php +++ b/src/Core/Normalizer/GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuTypeNormalizer.php @@ -31,12 +31,12 @@ class GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuTypeNormalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuType'; + return $type === \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuType::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuType'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuType::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuType' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuType::class => false]; } } } else { @@ -108,12 +108,12 @@ class GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuTypeNormalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuType'; + return $type === \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuType::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuType'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuType::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuType' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuType::class => false]; } } } diff --git a/src/Core/Normalizer/GetOrganizationVirtualMachines200ResponseVirtualMachinesHypervisorNormalizer.php b/src/Core/Normalizer/GetOrganizationVirtualMachines200ResponseVirtualMachinesHypervisorNormalizer.php index a4482e34..f1173f2d 100644 --- a/src/Core/Normalizer/GetOrganizationVirtualMachines200ResponseVirtualMachinesHypervisorNormalizer.php +++ b/src/Core/Normalizer/GetOrganizationVirtualMachines200ResponseVirtualMachinesHypervisorNormalizer.php @@ -31,12 +31,12 @@ class GetOrganizationVirtualMachines200ResponseVirtualMachinesHypervisorNormaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesHypervisor'; + return $type === \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachinesHypervisor::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesHypervisor'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachinesHypervisor::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesHypervisor' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachinesHypervisor::class => false]; } } } else { @@ -101,12 +101,12 @@ class GetOrganizationVirtualMachines200ResponseVirtualMachinesHypervisorNormaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesHypervisor'; + return $type === \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachinesHypervisor::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesHypervisor'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachinesHypervisor::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesHypervisor' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachinesHypervisor::class => false]; } } } diff --git a/src/Core/Normalizer/GetOrganizationVirtualMachines200ResponseVirtualMachinesNormalizer.php b/src/Core/Normalizer/GetOrganizationVirtualMachines200ResponseVirtualMachinesNormalizer.php index 2ebdb415..4397e66d 100644 --- a/src/Core/Normalizer/GetOrganizationVirtualMachines200ResponseVirtualMachinesNormalizer.php +++ b/src/Core/Normalizer/GetOrganizationVirtualMachines200ResponseVirtualMachinesNormalizer.php @@ -31,12 +31,12 @@ class GetOrganizationVirtualMachines200ResponseVirtualMachinesNormalizer impleme public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachines'; + return $type === \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachines::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachines'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachines::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -72,17 +72,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['created_at']); } if (\array_key_exists('zone', $data)) { - $object->setZone($this->denormalizer->denormalize($data['zone'], 'KatapultAPI\\Core\\Model\\Zone', 'json', $context)); + $object->setZone($this->denormalizer->denormalize($data['zone'], \KatapultAPI\Core\Model\Zone::class, 'json', $context)); unset($data['zone']); } if (\array_key_exists('package', $data) && $data['package'] !== null) { - $object->setPackage($this->denormalizer->denormalize($data['package'], 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesPackage', 'json', $context)); + $object->setPackage($this->denormalizer->denormalize($data['package'], \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachinesPackage::class, 'json', $context)); unset($data['package']); } elseif (\array_key_exists('package', $data) && $data['package'] === null) { $object->setPackage(null); } if (\array_key_exists('gpu_type', $data) && $data['gpu_type'] !== null) { - $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuType', 'json', $context)); + $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuType::class, 'json', $context)); unset($data['gpu_type']); } elseif (\array_key_exists('gpu_type', $data) && $data['gpu_type'] === null) { $object->setGpuType(null); @@ -90,13 +90,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('ip_addresses', $data)) { $values = []; foreach ($data['ip_addresses'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartIPAddresses', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartIPAddresses::class, 'json', $context); } $object->setIpAddresses($values); unset($data['ip_addresses']); } if (\array_key_exists('hypervisor', $data) && $data['hypervisor'] !== null) { - $object->setHypervisor($this->denormalizer->denormalize($data['hypervisor'], 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesHypervisor', 'json', $context)); + $object->setHypervisor($this->denormalizer->denormalize($data['hypervisor'], \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachinesHypervisor::class, 'json', $context)); unset($data['hypervisor']); } elseif (\array_key_exists('hypervisor', $data) && $data['hypervisor'] === null) { $object->setHypervisor(null); @@ -158,7 +158,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachines' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachines::class => false]; } } } else { @@ -171,12 +171,12 @@ class GetOrganizationVirtualMachines200ResponseVirtualMachinesNormalizer impleme public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachines'; + return $type === \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachines::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachines'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachines::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -212,17 +212,17 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['created_at']); } if (\array_key_exists('zone', $data)) { - $object->setZone($this->denormalizer->denormalize($data['zone'], 'KatapultAPI\\Core\\Model\\Zone', 'json', $context)); + $object->setZone($this->denormalizer->denormalize($data['zone'], \KatapultAPI\Core\Model\Zone::class, 'json', $context)); unset($data['zone']); } if (\array_key_exists('package', $data) && $data['package'] !== null) { - $object->setPackage($this->denormalizer->denormalize($data['package'], 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesPackage', 'json', $context)); + $object->setPackage($this->denormalizer->denormalize($data['package'], \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachinesPackage::class, 'json', $context)); unset($data['package']); } elseif (\array_key_exists('package', $data) && $data['package'] === null) { $object->setPackage(null); } if (\array_key_exists('gpu_type', $data) && $data['gpu_type'] !== null) { - $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuType', 'json', $context)); + $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuType::class, 'json', $context)); unset($data['gpu_type']); } elseif (\array_key_exists('gpu_type', $data) && $data['gpu_type'] === null) { $object->setGpuType(null); @@ -230,13 +230,13 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('ip_addresses', $data)) { $values = []; foreach ($data['ip_addresses'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartIPAddresses', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartIPAddresses::class, 'json', $context); } $object->setIpAddresses($values); unset($data['ip_addresses']); } if (\array_key_exists('hypervisor', $data) && $data['hypervisor'] !== null) { - $object->setHypervisor($this->denormalizer->denormalize($data['hypervisor'], 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesHypervisor', 'json', $context)); + $object->setHypervisor($this->denormalizer->denormalize($data['hypervisor'], \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachinesHypervisor::class, 'json', $context)); unset($data['hypervisor']); } elseif (\array_key_exists('hypervisor', $data) && $data['hypervisor'] === null) { $object->setHypervisor(null); @@ -301,7 +301,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachines' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachines::class => false]; } } } diff --git a/src/Core/Normalizer/GetOrganizationVirtualMachines200ResponseVirtualMachinesPackageNormalizer.php b/src/Core/Normalizer/GetOrganizationVirtualMachines200ResponseVirtualMachinesPackageNormalizer.php index f4568951..c2408368 100644 --- a/src/Core/Normalizer/GetOrganizationVirtualMachines200ResponseVirtualMachinesPackageNormalizer.php +++ b/src/Core/Normalizer/GetOrganizationVirtualMachines200ResponseVirtualMachinesPackageNormalizer.php @@ -31,12 +31,12 @@ class GetOrganizationVirtualMachines200ResponseVirtualMachinesPackageNormalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesPackage'; + return $type === \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachinesPackage::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesPackage'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachinesPackage::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesPackage' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachinesPackage::class => false]; } } } else { @@ -94,12 +94,12 @@ class GetOrganizationVirtualMachines200ResponseVirtualMachinesPackageNormalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesPackage'; + return $type === \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachinesPackage::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesPackage'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachinesPackage::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesPackage' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachinesPackage::class => false]; } } } diff --git a/src/Core/Normalizer/GetOrganizationVirtualMachinesPartGPUTypeNormalizer.php b/src/Core/Normalizer/GetOrganizationVirtualMachinesPartGPUTypeNormalizer.php index b8edb37e..3850eb73 100644 --- a/src/Core/Normalizer/GetOrganizationVirtualMachinesPartGPUTypeNormalizer.php +++ b/src/Core/Normalizer/GetOrganizationVirtualMachinesPartGPUTypeNormalizer.php @@ -31,12 +31,12 @@ class GetOrganizationVirtualMachinesPartGPUTypeNormalizer implements Denormalize public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartGPUType'; + return $type === \KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartGPUType::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartGPUType'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartGPUType::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartGPUType' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartGPUType::class => false]; } } } else { @@ -108,12 +108,12 @@ class GetOrganizationVirtualMachinesPartGPUTypeNormalizer implements Denormalize public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartGPUType'; + return $type === \KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartGPUType::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartGPUType'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartGPUType::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartGPUType' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartGPUType::class => false]; } } } diff --git a/src/Core/Normalizer/GetOrganizationVirtualMachinesPartHypervisorNormalizer.php b/src/Core/Normalizer/GetOrganizationVirtualMachinesPartHypervisorNormalizer.php index f45c2b3a..952a4572 100644 --- a/src/Core/Normalizer/GetOrganizationVirtualMachinesPartHypervisorNormalizer.php +++ b/src/Core/Normalizer/GetOrganizationVirtualMachinesPartHypervisorNormalizer.php @@ -31,12 +31,12 @@ class GetOrganizationVirtualMachinesPartHypervisorNormalizer implements Denormal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartHypervisor'; + return $type === \KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartHypervisor::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartHypervisor'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartHypervisor::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartHypervisor' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartHypervisor::class => false]; } } } else { @@ -101,12 +101,12 @@ class GetOrganizationVirtualMachinesPartHypervisorNormalizer implements Denormal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartHypervisor'; + return $type === \KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartHypervisor::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartHypervisor'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartHypervisor::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartHypervisor' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartHypervisor::class => false]; } } } diff --git a/src/Core/Normalizer/GetOrganizationVirtualMachinesPartIPAddressesNormalizer.php b/src/Core/Normalizer/GetOrganizationVirtualMachinesPartIPAddressesNormalizer.php index d52d4571..fb8138d7 100644 --- a/src/Core/Normalizer/GetOrganizationVirtualMachinesPartIPAddressesNormalizer.php +++ b/src/Core/Normalizer/GetOrganizationVirtualMachinesPartIPAddressesNormalizer.php @@ -31,12 +31,12 @@ class GetOrganizationVirtualMachinesPartIPAddressesNormalizer implements Denorma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartIPAddresses'; + return $type === \KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartIPAddresses::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartIPAddresses'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartIPAddresses::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartIPAddresses' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartIPAddresses::class => false]; } } } else { @@ -94,12 +94,12 @@ class GetOrganizationVirtualMachinesPartIPAddressesNormalizer implements Denorma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartIPAddresses'; + return $type === \KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartIPAddresses::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartIPAddresses'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartIPAddresses::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartIPAddresses' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartIPAddresses::class => false]; } } } diff --git a/src/Core/Normalizer/GetOrganizationVirtualMachinesPartPackageNormalizer.php b/src/Core/Normalizer/GetOrganizationVirtualMachinesPartPackageNormalizer.php index ce9d3445..760c4ac1 100644 --- a/src/Core/Normalizer/GetOrganizationVirtualMachinesPartPackageNormalizer.php +++ b/src/Core/Normalizer/GetOrganizationVirtualMachinesPartPackageNormalizer.php @@ -31,12 +31,12 @@ class GetOrganizationVirtualMachinesPartPackageNormalizer implements Denormalize public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartPackage'; + return $type === \KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartPackage::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartPackage'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartPackage::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartPackage' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartPackage::class => false]; } } } else { @@ -94,12 +94,12 @@ class GetOrganizationVirtualMachinesPartPackageNormalizer implements Denormalize public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartPackage'; + return $type === \KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartPackage::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartPackage'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartPackage::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartPackage' => false]; + return [\KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartPackage::class => false]; } } } diff --git a/src/Core/Normalizer/GetOrganizations200ResponseOrganizationsNormalizer.php b/src/Core/Normalizer/GetOrganizations200ResponseOrganizationsNormalizer.php index d70a0787..aa224c34 100644 --- a/src/Core/Normalizer/GetOrganizations200ResponseOrganizationsNormalizer.php +++ b/src/Core/Normalizer/GetOrganizations200ResponseOrganizationsNormalizer.php @@ -31,12 +31,12 @@ class GetOrganizations200ResponseOrganizationsNormalizer implements Denormalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizations200ResponseOrganizations'; + return $type === \KatapultAPI\Core\Model\GetOrganizations200ResponseOrganizations::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizations200ResponseOrganizations'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizations200ResponseOrganizations::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -132,7 +132,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizations200ResponseOrganizations' => false]; + return [\KatapultAPI\Core\Model\GetOrganizations200ResponseOrganizations::class => false]; } } } else { @@ -145,12 +145,12 @@ class GetOrganizations200ResponseOrganizationsNormalizer implements Denormalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetOrganizations200ResponseOrganizations'; + return $type === \KatapultAPI\Core\Model\GetOrganizations200ResponseOrganizations::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetOrganizations200ResponseOrganizations'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetOrganizations200ResponseOrganizations::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -249,7 +249,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetOrganizations200ResponseOrganizations' => false]; + return [\KatapultAPI\Core\Model\GetOrganizations200ResponseOrganizations::class => false]; } } } diff --git a/src/Core/Normalizer/GetSecurityGroupRules200ResponseSecurityGroupRulesNormalizer.php b/src/Core/Normalizer/GetSecurityGroupRules200ResponseSecurityGroupRulesNormalizer.php index 2e9f8e4b..6ea24e5c 100644 --- a/src/Core/Normalizer/GetSecurityGroupRules200ResponseSecurityGroupRulesNormalizer.php +++ b/src/Core/Normalizer/GetSecurityGroupRules200ResponseSecurityGroupRulesNormalizer.php @@ -31,12 +31,12 @@ class GetSecurityGroupRules200ResponseSecurityGroupRulesNormalizer implements De public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetSecurityGroupRules200ResponseSecurityGroupRules'; + return $type === \KatapultAPI\Core\Model\GetSecurityGroupRules200ResponseSecurityGroupRules::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetSecurityGroupRules200ResponseSecurityGroupRules'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetSecurityGroupRules200ResponseSecurityGroupRules::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -135,7 +135,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetSecurityGroupRules200ResponseSecurityGroupRules' => false]; + return [\KatapultAPI\Core\Model\GetSecurityGroupRules200ResponseSecurityGroupRules::class => false]; } } } else { @@ -148,12 +148,12 @@ class GetSecurityGroupRules200ResponseSecurityGroupRulesNormalizer implements De public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetSecurityGroupRules200ResponseSecurityGroupRules'; + return $type === \KatapultAPI\Core\Model\GetSecurityGroupRules200ResponseSecurityGroupRules::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetSecurityGroupRules200ResponseSecurityGroupRules'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetSecurityGroupRules200ResponseSecurityGroupRules::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -255,7 +255,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetSecurityGroupRules200ResponseSecurityGroupRules' => false]; + return [\KatapultAPI\Core\Model\GetSecurityGroupRules200ResponseSecurityGroupRules::class => false]; } } } diff --git a/src/Core/Normalizer/GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer.php b/src/Core/Normalizer/GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer.php index aceafc65..e7e8fb6f 100644 --- a/src/Core/Normalizer/GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer.php +++ b/src/Core/Normalizer/GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer.php @@ -31,12 +31,12 @@ class GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule'; + return $type === \KatapultAPI\Core\Model\GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -56,7 +56,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['id']); } if (\array_key_exists('security_group', $data)) { - $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'KatapultAPI\\Core\\Model\\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup', 'json', $context)); + $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], \KatapultAPI\Core\Model\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup::class, 'json', $context)); unset($data['security_group']); } if (\array_key_exists('direction', $data)) { @@ -142,7 +142,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule' => false]; + return [\KatapultAPI\Core\Model\GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule::class => false]; } } } else { @@ -155,12 +155,12 @@ class GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule'; + return $type === \KatapultAPI\Core\Model\GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -180,7 +180,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('security_group', $data)) { - $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'KatapultAPI\\Core\\Model\\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup', 'json', $context)); + $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], \KatapultAPI\Core\Model\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup::class, 'json', $context)); unset($data['security_group']); } if (\array_key_exists('direction', $data)) { @@ -269,7 +269,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule' => false]; + return [\KatapultAPI\Core\Model\GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule::class => false]; } } } diff --git a/src/Core/Normalizer/GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroupNormalizer.php b/src/Core/Normalizer/GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroupNormalizer.php index 5dfb4de2..78b3db92 100644 --- a/src/Core/Normalizer/GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroupNormalizer.php +++ b/src/Core/Normalizer/GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroupNormalizer.php @@ -31,12 +31,12 @@ class GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroupNormalizer impleme public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup'; + return $type === \KatapultAPI\Core\Model\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup' => false]; + return [\KatapultAPI\Core\Model\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup::class => false]; } } } else { @@ -101,12 +101,12 @@ class GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroupNormalizer impleme public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup'; + return $type === \KatapultAPI\Core\Model\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup' => false]; + return [\KatapultAPI\Core\Model\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup::class => false]; } } } diff --git a/src/Core/Normalizer/GetUsersCurrent200ResponseOrganizationsNormalizer.php b/src/Core/Normalizer/GetUsersCurrent200ResponseOrganizationsNormalizer.php index 6db9ce9d..2bfb9b01 100644 --- a/src/Core/Normalizer/GetUsersCurrent200ResponseOrganizationsNormalizer.php +++ b/src/Core/Normalizer/GetUsersCurrent200ResponseOrganizationsNormalizer.php @@ -31,12 +31,12 @@ class GetUsersCurrent200ResponseOrganizationsNormalizer implements DenormalizerI public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetUsersCurrent200ResponseOrganizations'; + return $type === \KatapultAPI\Core\Model\GetUsersCurrent200ResponseOrganizations::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetUsersCurrent200ResponseOrganizations'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetUsersCurrent200ResponseOrganizations::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetUsersCurrent200ResponseOrganizations' => false]; + return [\KatapultAPI\Core\Model\GetUsersCurrent200ResponseOrganizations::class => false]; } } } else { @@ -108,12 +108,12 @@ class GetUsersCurrent200ResponseOrganizationsNormalizer implements DenormalizerI public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetUsersCurrent200ResponseOrganizations'; + return $type === \KatapultAPI\Core\Model\GetUsersCurrent200ResponseOrganizations::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetUsersCurrent200ResponseOrganizations'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetUsersCurrent200ResponseOrganizations::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetUsersCurrent200ResponseOrganizations' => false]; + return [\KatapultAPI\Core\Model\GetUsersCurrent200ResponseOrganizations::class => false]; } } } diff --git a/src/Core/Normalizer/GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceNormalizer.php b/src/Core/Normalizer/GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceNormalizer.php index 86c1ab98..6e66caf6 100644 --- a/src/Core/Normalizer/GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceNormalizer.php +++ b/src/Core/Normalizer/GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceNormalizer.php @@ -31,12 +31,12 @@ class GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceNormalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterface'; + return $type === \KatapultAPI\Core\Model\GetVMNIVMNI200ResponseVirtualMachineNetworkInterface::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterface'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVMNIVMNI200ResponseVirtualMachineNetworkInterface::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -56,7 +56,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['id']); } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\GetVMNIVMNIPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('name', $data)) { @@ -64,7 +64,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['name']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartNetwork', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], \KatapultAPI\Core\Model\GetVMNIVMNIPartNetwork::class, 'json', $context)); unset($data['network']); } if (\array_key_exists('mac_address', $data)) { @@ -78,13 +78,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('ip_addresses', $data)) { $values = []; foreach ($data['ip_addresses'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartIPAddresses', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetVMNIVMNIPartIPAddresses::class, 'json', $context); } $object->setIpAddresses($values); unset($data['ip_addresses']); } if (\array_key_exists('speed_profile', $data)) { - $object->setSpeedProfile($this->denormalizer->denormalize($data['speed_profile'], 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartSpeedProfile', 'json', $context)); + $object->setSpeedProfile($this->denormalizer->denormalize($data['speed_profile'], \KatapultAPI\Core\Model\GetVMNIVMNIPartSpeedProfile::class, 'json', $context)); unset($data['speed_profile']); } foreach ($data as $key => $value_1) { @@ -138,7 +138,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterface' => false]; + return [\KatapultAPI\Core\Model\GetVMNIVMNI200ResponseVirtualMachineNetworkInterface::class => false]; } } } else { @@ -151,12 +151,12 @@ class GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceNormalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterface'; + return $type === \KatapultAPI\Core\Model\GetVMNIVMNI200ResponseVirtualMachineNetworkInterface::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterface'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVMNIVMNI200ResponseVirtualMachineNetworkInterface::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -176,7 +176,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\GetVMNIVMNIPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('name', $data)) { @@ -184,7 +184,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartNetwork', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], \KatapultAPI\Core\Model\GetVMNIVMNIPartNetwork::class, 'json', $context)); unset($data['network']); } if (\array_key_exists('mac_address', $data)) { @@ -198,13 +198,13 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('ip_addresses', $data)) { $values = []; foreach ($data['ip_addresses'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartIPAddresses', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetVMNIVMNIPartIPAddresses::class, 'json', $context); } $object->setIpAddresses($values); unset($data['ip_addresses']); } if (\array_key_exists('speed_profile', $data)) { - $object->setSpeedProfile($this->denormalizer->denormalize($data['speed_profile'], 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartSpeedProfile', 'json', $context)); + $object->setSpeedProfile($this->denormalizer->denormalize($data['speed_profile'], \KatapultAPI\Core\Model\GetVMNIVMNIPartSpeedProfile::class, 'json', $context)); unset($data['speed_profile']); } foreach ($data as $key => $value_1) { @@ -261,7 +261,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterface' => false]; + return [\KatapultAPI\Core\Model\GetVMNIVMNI200ResponseVirtualMachineNetworkInterface::class => false]; } } } diff --git a/src/Core/Normalizer/GetVMNIVMNIPartIPAddressesNormalizer.php b/src/Core/Normalizer/GetVMNIVMNIPartIPAddressesNormalizer.php index d217fb44..5ffacfa3 100644 --- a/src/Core/Normalizer/GetVMNIVMNIPartIPAddressesNormalizer.php +++ b/src/Core/Normalizer/GetVMNIVMNIPartIPAddressesNormalizer.php @@ -31,12 +31,12 @@ class GetVMNIVMNIPartIPAddressesNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartIPAddresses'; + return $type === \KatapultAPI\Core\Model\GetVMNIVMNIPartIPAddresses::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartIPAddresses'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVMNIVMNIPartIPAddresses::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVMNIVMNIPartIPAddresses' => false]; + return [\KatapultAPI\Core\Model\GetVMNIVMNIPartIPAddresses::class => false]; } } } else { @@ -101,12 +101,12 @@ class GetVMNIVMNIPartIPAddressesNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartIPAddresses'; + return $type === \KatapultAPI\Core\Model\GetVMNIVMNIPartIPAddresses::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartIPAddresses'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVMNIVMNIPartIPAddresses::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVMNIVMNIPartIPAddresses' => false]; + return [\KatapultAPI\Core\Model\GetVMNIVMNIPartIPAddresses::class => false]; } } } diff --git a/src/Core/Normalizer/GetVMNIVMNIPartNetworkNormalizer.php b/src/Core/Normalizer/GetVMNIVMNIPartNetworkNormalizer.php index 30538f00..23465c85 100644 --- a/src/Core/Normalizer/GetVMNIVMNIPartNetworkNormalizer.php +++ b/src/Core/Normalizer/GetVMNIVMNIPartNetworkNormalizer.php @@ -31,12 +31,12 @@ class GetVMNIVMNIPartNetworkNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartNetwork'; + return $type === \KatapultAPI\Core\Model\GetVMNIVMNIPartNetwork::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartNetwork'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVMNIVMNIPartNetwork::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVMNIVMNIPartNetwork' => false]; + return [\KatapultAPI\Core\Model\GetVMNIVMNIPartNetwork::class => false]; } } } else { @@ -101,12 +101,12 @@ class GetVMNIVMNIPartNetworkNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartNetwork'; + return $type === \KatapultAPI\Core\Model\GetVMNIVMNIPartNetwork::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartNetwork'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVMNIVMNIPartNetwork::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVMNIVMNIPartNetwork' => false]; + return [\KatapultAPI\Core\Model\GetVMNIVMNIPartNetwork::class => false]; } } } diff --git a/src/Core/Normalizer/GetVMNIVMNIPartSpeedProfileNormalizer.php b/src/Core/Normalizer/GetVMNIVMNIPartSpeedProfileNormalizer.php index 69674c8a..34e5a9e8 100644 --- a/src/Core/Normalizer/GetVMNIVMNIPartSpeedProfileNormalizer.php +++ b/src/Core/Normalizer/GetVMNIVMNIPartSpeedProfileNormalizer.php @@ -31,12 +31,12 @@ class GetVMNIVMNIPartSpeedProfileNormalizer implements DenormalizerInterface, No public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartSpeedProfile'; + return $type === \KatapultAPI\Core\Model\GetVMNIVMNIPartSpeedProfile::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartSpeedProfile'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVMNIVMNIPartSpeedProfile::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVMNIVMNIPartSpeedProfile' => false]; + return [\KatapultAPI\Core\Model\GetVMNIVMNIPartSpeedProfile::class => false]; } } } else { @@ -108,12 +108,12 @@ class GetVMNIVMNIPartSpeedProfileNormalizer implements DenormalizerInterface, No public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartSpeedProfile'; + return $type === \KatapultAPI\Core\Model\GetVMNIVMNIPartSpeedProfile::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartSpeedProfile'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVMNIVMNIPartSpeedProfile::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVMNIVMNIPartSpeedProfile' => false]; + return [\KatapultAPI\Core\Model\GetVMNIVMNIPartSpeedProfile::class => false]; } } } diff --git a/src/Core/Normalizer/GetVMNIVMNIPartVirtualMachineNormalizer.php b/src/Core/Normalizer/GetVMNIVMNIPartVirtualMachineNormalizer.php index e921c27d..0fe1fdfc 100644 --- a/src/Core/Normalizer/GetVMNIVMNIPartVirtualMachineNormalizer.php +++ b/src/Core/Normalizer/GetVMNIVMNIPartVirtualMachineNormalizer.php @@ -31,12 +31,12 @@ class GetVMNIVMNIPartVirtualMachineNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartVirtualMachine'; + return $type === \KatapultAPI\Core\Model\GetVMNIVMNIPartVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVMNIVMNIPartVirtualMachine::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVMNIVMNIPartVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\GetVMNIVMNIPartVirtualMachine::class => false]; } } } else { @@ -101,12 +101,12 @@ class GetVMNIVMNIPartVirtualMachineNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartVirtualMachine'; + return $type === \KatapultAPI\Core\Model\GetVMNIVMNIPartVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVMNIVMNIPartVirtualMachine::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVMNIVMNIPartVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\GetVMNIVMNIPartVirtualMachine::class => false]; } } } diff --git a/src/Core/Normalizer/GetVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer.php b/src/Core/Normalizer/GetVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer.php index 7a9a4dac..a0fb91a0 100644 --- a/src/Core/Normalizer/GetVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer.php +++ b/src/Core/Normalizer/GetVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer.php @@ -31,12 +31,12 @@ class GetVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineAttachedIso'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineAttachedIso::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineAttachedIso'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineAttachedIso::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['name']); } if (\array_key_exists('operating_system', $data) && $data['operating_system'] !== null) { - $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'KatapultAPI\\Core\\Model\\ISOOperatingSystem', 'json', $context)); + $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], \KatapultAPI\Core\Model\ISOOperatingSystem::class, 'json', $context)); unset($data['operating_system']); } elseif (\array_key_exists('operating_system', $data) && $data['operating_system'] === null) { $object->setOperatingSystem(null); @@ -97,7 +97,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineAttachedIso' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineAttachedIso::class => false]; } } } else { @@ -110,12 +110,12 @@ class GetVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineAttachedIso'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineAttachedIso::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineAttachedIso'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineAttachedIso::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -139,7 +139,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('operating_system', $data) && $data['operating_system'] !== null) { - $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'KatapultAPI\\Core\\Model\\ISOOperatingSystem', 'json', $context)); + $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], \KatapultAPI\Core\Model\ISOOperatingSystem::class, 'json', $context)); unset($data['operating_system']); } elseif (\array_key_exists('operating_system', $data) && $data['operating_system'] === null) { $object->setOperatingSystem(null); @@ -179,7 +179,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineAttachedIso' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineAttachedIso::class => false]; } } } diff --git a/src/Core/Normalizer/GetVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer.php b/src/Core/Normalizer/GetVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer.php index 758d086b..45740ad0 100644 --- a/src/Core/Normalizer/GetVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer.php +++ b/src/Core/Normalizer/GetVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer.php @@ -31,12 +31,12 @@ class GetVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer implements Den public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineGpuType'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineGpuType::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineGpuType'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineGpuType::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -116,7 +116,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineGpuType' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineGpuType::class => false]; } } } else { @@ -129,12 +129,12 @@ class GetVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer implements Den public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineGpuType'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineGpuType::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineGpuType'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineGpuType::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -217,7 +217,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineGpuType' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineGpuType::class => false]; } } } diff --git a/src/Core/Normalizer/GetVirtualMachine200ResponseVirtualMachineGroupNormalizer.php b/src/Core/Normalizer/GetVirtualMachine200ResponseVirtualMachineGroupNormalizer.php index c8c06f9b..89bbe363 100644 --- a/src/Core/Normalizer/GetVirtualMachine200ResponseVirtualMachineGroupNormalizer.php +++ b/src/Core/Normalizer/GetVirtualMachine200ResponseVirtualMachineGroupNormalizer.php @@ -31,12 +31,12 @@ class GetVirtualMachine200ResponseVirtualMachineGroupNormalizer implements Denor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineGroup'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineGroup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -109,7 +109,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineGroup' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineGroup::class => false]; } } } else { @@ -122,12 +122,12 @@ class GetVirtualMachine200ResponseVirtualMachineGroupNormalizer implements Denor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineGroup'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineGroup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -203,7 +203,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineGroup' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineGroup::class => false]; } } } diff --git a/src/Core/Normalizer/GetVirtualMachine200ResponseVirtualMachineHypervisorNormalizer.php b/src/Core/Normalizer/GetVirtualMachine200ResponseVirtualMachineHypervisorNormalizer.php index 091513a4..0bcb5b67 100644 --- a/src/Core/Normalizer/GetVirtualMachine200ResponseVirtualMachineHypervisorNormalizer.php +++ b/src/Core/Normalizer/GetVirtualMachine200ResponseVirtualMachineHypervisorNormalizer.php @@ -31,12 +31,12 @@ class GetVirtualMachine200ResponseVirtualMachineHypervisorNormalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineHypervisor'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineHypervisor::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineHypervisor'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineHypervisor::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineHypervisor' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineHypervisor::class => false]; } } } else { @@ -108,12 +108,12 @@ class GetVirtualMachine200ResponseVirtualMachineHypervisorNormalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineHypervisor'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineHypervisor::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineHypervisor'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineHypervisor::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineHypervisor' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineHypervisor::class => false]; } } } diff --git a/src/Core/Normalizer/GetVirtualMachine200ResponseVirtualMachineNormalizer.php b/src/Core/Normalizer/GetVirtualMachine200ResponseVirtualMachineNormalizer.php index 913f977a..c7fec8d0 100644 --- a/src/Core/Normalizer/GetVirtualMachine200ResponseVirtualMachineNormalizer.php +++ b/src/Core/Normalizer/GetVirtualMachine200ResponseVirtualMachineNormalizer.php @@ -31,12 +31,12 @@ class GetVirtualMachine200ResponseVirtualMachineNormalizer implements Denormaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachine'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachine::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,27 +88,27 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['state']); } if (\array_key_exists('zone', $data)) { - $object->setZone($this->denormalizer->denormalize($data['zone'], 'KatapultAPI\\Core\\Model\\Zone', 'json', $context)); + $object->setZone($this->denormalizer->denormalize($data['zone'], \KatapultAPI\Core\Model\Zone::class, 'json', $context)); unset($data['zone']); } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\Organization', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\Organization::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('group', $data) && $data['group'] !== null) { - $object->setGroup($this->denormalizer->denormalize($data['group'], 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineGroup', 'json', $context)); + $object->setGroup($this->denormalizer->denormalize($data['group'], \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineGroup::class, 'json', $context)); unset($data['group']); } elseif (\array_key_exists('group', $data) && $data['group'] === null) { $object->setGroup(null); } if (\array_key_exists('package', $data) && $data['package'] !== null) { - $object->setPackage($this->denormalizer->denormalize($data['package'], 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachinePackage', 'json', $context)); + $object->setPackage($this->denormalizer->denormalize($data['package'], \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachinePackage::class, 'json', $context)); unset($data['package']); } elseif (\array_key_exists('package', $data) && $data['package'] === null) { $object->setPackage(null); } if (\array_key_exists('attached_iso', $data) && $data['attached_iso'] !== null) { - $object->setAttachedIso($this->denormalizer->denormalize($data['attached_iso'], 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineAttachedIso', 'json', $context)); + $object->setAttachedIso($this->denormalizer->denormalize($data['attached_iso'], \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineAttachedIso::class, 'json', $context)); unset($data['attached_iso']); } elseif (\array_key_exists('attached_iso', $data) && $data['attached_iso'] === null) { $object->setAttachedIso(null); @@ -132,7 +132,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setUseDedicatedCpus(null); } if (\array_key_exists('gpu_type', $data) && $data['gpu_type'] !== null) { - $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineGpuType', 'json', $context)); + $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineGpuType::class, 'json', $context)); unset($data['gpu_type']); } elseif (\array_key_exists('gpu_type', $data) && $data['gpu_type'] === null) { $object->setGpuType(null); @@ -140,7 +140,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('gpus', $data)) { $values = []; foreach ($data['gpus'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\VirtualMachineGPU', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\VirtualMachineGPU::class, 'json', $context); } $object->setGpus($values); unset($data['gpus']); @@ -148,7 +148,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('tags', $data)) { $values_1 = []; foreach ($data['tags'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'KatapultAPI\\Core\\Model\\Tag', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, \KatapultAPI\Core\Model\Tag::class, 'json', $context); } $object->setTags($values_1); unset($data['tags']); @@ -164,13 +164,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('ip_addresses', $data)) { $values_3 = []; foreach ($data['ip_addresses'] as $value_3) { - $values_3[] = $this->denormalizer->denormalize($value_3, 'KatapultAPI\\Core\\Model\\IPAddress', 'json', $context); + $values_3[] = $this->denormalizer->denormalize($value_3, \KatapultAPI\Core\Model\IPAddress::class, 'json', $context); } $object->setIpAddresses($values_3); unset($data['ip_addresses']); } if (\array_key_exists('hypervisor', $data) && $data['hypervisor'] !== null) { - $object->setHypervisor($this->denormalizer->denormalize($data['hypervisor'], 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineHypervisor', 'json', $context)); + $object->setHypervisor($this->denormalizer->denormalize($data['hypervisor'], \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineHypervisor::class, 'json', $context)); unset($data['hypervisor']); } elseif (\array_key_exists('hypervisor', $data) && $data['hypervisor'] === null) { $object->setHypervisor(null); @@ -280,7 +280,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachine::class => false]; } } } else { @@ -293,12 +293,12 @@ class GetVirtualMachine200ResponseVirtualMachineNormalizer implements Denormaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachine'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachine::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -350,27 +350,27 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['state']); } if (\array_key_exists('zone', $data)) { - $object->setZone($this->denormalizer->denormalize($data['zone'], 'KatapultAPI\\Core\\Model\\Zone', 'json', $context)); + $object->setZone($this->denormalizer->denormalize($data['zone'], \KatapultAPI\Core\Model\Zone::class, 'json', $context)); unset($data['zone']); } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\Organization', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\Organization::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('group', $data) && $data['group'] !== null) { - $object->setGroup($this->denormalizer->denormalize($data['group'], 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineGroup', 'json', $context)); + $object->setGroup($this->denormalizer->denormalize($data['group'], \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineGroup::class, 'json', $context)); unset($data['group']); } elseif (\array_key_exists('group', $data) && $data['group'] === null) { $object->setGroup(null); } if (\array_key_exists('package', $data) && $data['package'] !== null) { - $object->setPackage($this->denormalizer->denormalize($data['package'], 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachinePackage', 'json', $context)); + $object->setPackage($this->denormalizer->denormalize($data['package'], \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachinePackage::class, 'json', $context)); unset($data['package']); } elseif (\array_key_exists('package', $data) && $data['package'] === null) { $object->setPackage(null); } if (\array_key_exists('attached_iso', $data) && $data['attached_iso'] !== null) { - $object->setAttachedIso($this->denormalizer->denormalize($data['attached_iso'], 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineAttachedIso', 'json', $context)); + $object->setAttachedIso($this->denormalizer->denormalize($data['attached_iso'], \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineAttachedIso::class, 'json', $context)); unset($data['attached_iso']); } elseif (\array_key_exists('attached_iso', $data) && $data['attached_iso'] === null) { $object->setAttachedIso(null); @@ -394,7 +394,7 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setUseDedicatedCpus(null); } if (\array_key_exists('gpu_type', $data) && $data['gpu_type'] !== null) { - $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineGpuType', 'json', $context)); + $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineGpuType::class, 'json', $context)); unset($data['gpu_type']); } elseif (\array_key_exists('gpu_type', $data) && $data['gpu_type'] === null) { $object->setGpuType(null); @@ -402,7 +402,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('gpus', $data)) { $values = []; foreach ($data['gpus'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\VirtualMachineGPU', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\VirtualMachineGPU::class, 'json', $context); } $object->setGpus($values); unset($data['gpus']); @@ -410,7 +410,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('tags', $data)) { $values_1 = []; foreach ($data['tags'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'KatapultAPI\\Core\\Model\\Tag', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, \KatapultAPI\Core\Model\Tag::class, 'json', $context); } $object->setTags($values_1); unset($data['tags']); @@ -426,13 +426,13 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('ip_addresses', $data)) { $values_3 = []; foreach ($data['ip_addresses'] as $value_3) { - $values_3[] = $this->denormalizer->denormalize($value_3, 'KatapultAPI\\Core\\Model\\IPAddress', 'json', $context); + $values_3[] = $this->denormalizer->denormalize($value_3, \KatapultAPI\Core\Model\IPAddress::class, 'json', $context); } $object->setIpAddresses($values_3); unset($data['ip_addresses']); } if (\array_key_exists('hypervisor', $data) && $data['hypervisor'] !== null) { - $object->setHypervisor($this->denormalizer->denormalize($data['hypervisor'], 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineHypervisor', 'json', $context)); + $object->setHypervisor($this->denormalizer->denormalize($data['hypervisor'], \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineHypervisor::class, 'json', $context)); unset($data['hypervisor']); } elseif (\array_key_exists('hypervisor', $data) && $data['hypervisor'] === null) { $object->setHypervisor(null); @@ -545,7 +545,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachine::class => false]; } } } diff --git a/src/Core/Normalizer/GetVirtualMachine200ResponseVirtualMachinePackageNormalizer.php b/src/Core/Normalizer/GetVirtualMachine200ResponseVirtualMachinePackageNormalizer.php index 93b563f9..ad7dafc3 100644 --- a/src/Core/Normalizer/GetVirtualMachine200ResponseVirtualMachinePackageNormalizer.php +++ b/src/Core/Normalizer/GetVirtualMachine200ResponseVirtualMachinePackageNormalizer.php @@ -31,12 +31,12 @@ class GetVirtualMachine200ResponseVirtualMachinePackageNormalizer implements Den public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachinePackage'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachinePackage::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachinePackage'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachinePackage::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -90,7 +90,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['privacy']); } if (\array_key_exists('icon', $data) && $data['icon'] !== null) { - $object->setIcon($this->denormalizer->denormalize($data['icon'], 'KatapultAPI\\Core\\Model\\VirtualMachinePackageIcon', 'json', $context)); + $object->setIcon($this->denormalizer->denormalize($data['icon'], \KatapultAPI\Core\Model\VirtualMachinePackageIcon::class, 'json', $context)); unset($data['icon']); } elseif (\array_key_exists('icon', $data) && $data['icon'] === null) { $object->setIcon(null); @@ -100,7 +100,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['use_dedicated_cpus']); } if (\array_key_exists('group', $data)) { - $object->setGroup($this->denormalizer->denormalize($data['group'], 'KatapultAPI\\Core\\Model\\VirtualMachinePackageGroup', 'json', $context)); + $object->setGroup($this->denormalizer->denormalize($data['group'], \KatapultAPI\Core\Model\VirtualMachinePackageGroup::class, 'json', $context)); unset($data['group']); } foreach ($data as $key => $value) { @@ -162,7 +162,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachinePackage' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachinePackage::class => false]; } } } else { @@ -175,12 +175,12 @@ class GetVirtualMachine200ResponseVirtualMachinePackageNormalizer implements Den public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachinePackage'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachinePackage::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachinePackage'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachinePackage::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -234,7 +234,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['privacy']); } if (\array_key_exists('icon', $data) && $data['icon'] !== null) { - $object->setIcon($this->denormalizer->denormalize($data['icon'], 'KatapultAPI\\Core\\Model\\VirtualMachinePackageIcon', 'json', $context)); + $object->setIcon($this->denormalizer->denormalize($data['icon'], \KatapultAPI\Core\Model\VirtualMachinePackageIcon::class, 'json', $context)); unset($data['icon']); } elseif (\array_key_exists('icon', $data) && $data['icon'] === null) { $object->setIcon(null); @@ -244,7 +244,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['use_dedicated_cpus']); } if (\array_key_exists('group', $data)) { - $object->setGroup($this->denormalizer->denormalize($data['group'], 'KatapultAPI\\Core\\Model\\VirtualMachinePackageGroup', 'json', $context)); + $object->setGroup($this->denormalizer->denormalize($data['group'], \KatapultAPI\Core\Model\VirtualMachinePackageGroup::class, 'json', $context)); unset($data['group']); } foreach ($data as $key => $value) { @@ -309,7 +309,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachinePackage' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachinePackage::class => false]; } } } diff --git a/src/Core/Normalizer/GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer.php b/src/Core/Normalizer/GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer.php index 4eee5b0f..09e9038a 100644 --- a/src/Core/Normalizer/GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer.php +++ b/src/Core/Normalizer/GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer.php @@ -31,12 +31,12 @@ class GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicies'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicies::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicies'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicies::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -67,11 +67,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['total_size']); } if (\array_key_exists('target', $data)) { - $object->setTarget($this->denormalizer->denormalize($data['target'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyTarget', 'json', $context)); + $object->setTarget($this->denormalizer->denormalize($data['target'], \KatapultAPI\Core\Model\DiskBackupPolicyTarget::class, 'json', $context)); unset($data['target']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'KatapultAPI\\Core\\Model\\GetVirtualMachineDiskBackupPoliciesPartSchedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], \KatapultAPI\Core\Model\GetVirtualMachineDiskBackupPoliciesPartSchedule::class, 'json', $context)); unset($data['schedule']); } foreach ($data as $key => $value) { @@ -112,7 +112,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicies' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicies::class => false]; } } } else { @@ -125,12 +125,12 @@ class GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicies'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicies::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicies'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicies::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,11 +161,11 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['total_size']); } if (\array_key_exists('target', $data)) { - $object->setTarget($this->denormalizer->denormalize($data['target'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyTarget', 'json', $context)); + $object->setTarget($this->denormalizer->denormalize($data['target'], \KatapultAPI\Core\Model\DiskBackupPolicyTarget::class, 'json', $context)); unset($data['target']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'KatapultAPI\\Core\\Model\\GetVirtualMachineDiskBackupPoliciesPartSchedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], \KatapultAPI\Core\Model\GetVirtualMachineDiskBackupPoliciesPartSchedule::class, 'json', $context)); unset($data['schedule']); } foreach ($data as $key => $value) { @@ -209,7 +209,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicies' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicies::class => false]; } } } diff --git a/src/Core/Normalizer/GetVirtualMachineDiskBackupPoliciesPartScheduleNormalizer.php b/src/Core/Normalizer/GetVirtualMachineDiskBackupPoliciesPartScheduleNormalizer.php index 8b52e4a2..2147d501 100644 --- a/src/Core/Normalizer/GetVirtualMachineDiskBackupPoliciesPartScheduleNormalizer.php +++ b/src/Core/Normalizer/GetVirtualMachineDiskBackupPoliciesPartScheduleNormalizer.php @@ -31,12 +31,12 @@ class GetVirtualMachineDiskBackupPoliciesPartScheduleNormalizer implements Denor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachineDiskBackupPoliciesPartSchedule'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachineDiskBackupPoliciesPartSchedule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachineDiskBackupPoliciesPartSchedule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachineDiskBackupPoliciesPartSchedule::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachineDiskBackupPoliciesPartSchedule' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachineDiskBackupPoliciesPartSchedule::class => false]; } } } else { @@ -101,12 +101,12 @@ class GetVirtualMachineDiskBackupPoliciesPartScheduleNormalizer implements Denor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachineDiskBackupPoliciesPartSchedule'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachineDiskBackupPoliciesPartSchedule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachineDiskBackupPoliciesPartSchedule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachineDiskBackupPoliciesPartSchedule::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachineDiskBackupPoliciesPartSchedule' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachineDiskBackupPoliciesPartSchedule::class => false]; } } } diff --git a/src/Core/Normalizer/GetVirtualMachineDisks200ResponseDisksNormalizer.php b/src/Core/Normalizer/GetVirtualMachineDisks200ResponseDisksNormalizer.php index aa8c2ae1..534ee37c 100644 --- a/src/Core/Normalizer/GetVirtualMachineDisks200ResponseDisksNormalizer.php +++ b/src/Core/Normalizer/GetVirtualMachineDisks200ResponseDisksNormalizer.php @@ -31,12 +31,12 @@ class GetVirtualMachineDisks200ResponseDisksNormalizer implements DenormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachineDisks200ResponseDisks'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachineDisks200ResponseDisks::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachineDisks200ResponseDisks'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachineDisks200ResponseDisks::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\GetVirtualMachineDisksPartDisk', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\GetVirtualMachineDisksPartDisk::class, 'json', $context)); unset($data['disk']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachineDisks200ResponseDisks' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachineDisks200ResponseDisks::class => false]; } } } else { @@ -115,12 +115,12 @@ class GetVirtualMachineDisks200ResponseDisksNormalizer implements DenormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachineDisks200ResponseDisks'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachineDisks200ResponseDisks::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachineDisks200ResponseDisks'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachineDisks200ResponseDisks::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -136,7 +136,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\GetVirtualMachineDisksPartDisk', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\GetVirtualMachineDisksPartDisk::class, 'json', $context)); unset($data['disk']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachineDisks200ResponseDisks' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachineDisks200ResponseDisks::class => false]; } } } diff --git a/src/Core/Normalizer/GetVirtualMachineDisksPartDiskNormalizer.php b/src/Core/Normalizer/GetVirtualMachineDisksPartDiskNormalizer.php index 6be9f6d3..1ab4dc9c 100644 --- a/src/Core/Normalizer/GetVirtualMachineDisksPartDiskNormalizer.php +++ b/src/Core/Normalizer/GetVirtualMachineDisksPartDiskNormalizer.php @@ -31,12 +31,12 @@ class GetVirtualMachineDisksPartDiskNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachineDisksPartDisk'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachineDisksPartDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachineDisksPartDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachineDisksPartDisk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -116,7 +116,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachineDisksPartDisk' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachineDisksPartDisk::class => false]; } } } else { @@ -129,12 +129,12 @@ class GetVirtualMachineDisksPartDiskNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachineDisksPartDisk'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachineDisksPartDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachineDisksPartDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachineDisksPartDisk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -217,7 +217,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachineDisksPartDisk' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachineDisksPartDisk::class => false]; } } } diff --git a/src/Core/Normalizer/GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceNormalizer.php b/src/Core/Normalizer/GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceNormalizer.php index a5409ac1..339e291c 100644 --- a/src/Core/Normalizer/GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceNormalizer.php +++ b/src/Core/Normalizer/GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceNormalizer.php @@ -31,12 +31,12 @@ class GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterface'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterface::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterface'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterface::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -56,7 +56,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['id']); } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('name', $data)) { @@ -64,7 +64,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['name']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartNetwork', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartNetwork::class, 'json', $context)); unset($data['network']); } if (\array_key_exists('mac_address', $data)) { @@ -78,7 +78,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('ip_addresses', $data)) { $values = []; foreach ($data['ip_addresses'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartIPAddresses', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartIPAddresses::class, 'json', $context); } $object->setIpAddresses($values); unset($data['ip_addresses']); @@ -131,7 +131,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterface' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterface::class => false]; } } } else { @@ -144,12 +144,12 @@ class GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterface'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterface::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterface'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterface::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -169,7 +169,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('name', $data)) { @@ -177,7 +177,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartNetwork', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartNetwork::class, 'json', $context)); unset($data['network']); } if (\array_key_exists('mac_address', $data)) { @@ -191,7 +191,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('ip_addresses', $data)) { $values = []; foreach ($data['ip_addresses'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartIPAddresses', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartIPAddresses::class, 'json', $context); } $object->setIpAddresses($values); unset($data['ip_addresses']); @@ -247,7 +247,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterface' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterface::class => false]; } } } diff --git a/src/Core/Normalizer/GetVirtualMachineNetworkInterfacePartIPAddressesNormalizer.php b/src/Core/Normalizer/GetVirtualMachineNetworkInterfacePartIPAddressesNormalizer.php index 4ba72302..6bcb7cf5 100644 --- a/src/Core/Normalizer/GetVirtualMachineNetworkInterfacePartIPAddressesNormalizer.php +++ b/src/Core/Normalizer/GetVirtualMachineNetworkInterfacePartIPAddressesNormalizer.php @@ -31,12 +31,12 @@ class GetVirtualMachineNetworkInterfacePartIPAddressesNormalizer implements Deno public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartIPAddresses'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartIPAddresses::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartIPAddresses'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartIPAddresses::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartIPAddresses' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartIPAddresses::class => false]; } } } else { @@ -101,12 +101,12 @@ class GetVirtualMachineNetworkInterfacePartIPAddressesNormalizer implements Deno public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartIPAddresses'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartIPAddresses::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartIPAddresses'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartIPAddresses::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartIPAddresses' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartIPAddresses::class => false]; } } } diff --git a/src/Core/Normalizer/GetVirtualMachineNetworkInterfacePartNetworkNormalizer.php b/src/Core/Normalizer/GetVirtualMachineNetworkInterfacePartNetworkNormalizer.php index fa2451cb..da9c26ca 100644 --- a/src/Core/Normalizer/GetVirtualMachineNetworkInterfacePartNetworkNormalizer.php +++ b/src/Core/Normalizer/GetVirtualMachineNetworkInterfacePartNetworkNormalizer.php @@ -31,12 +31,12 @@ class GetVirtualMachineNetworkInterfacePartNetworkNormalizer implements Denormal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartNetwork'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartNetwork::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartNetwork'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartNetwork::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartNetwork' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartNetwork::class => false]; } } } else { @@ -101,12 +101,12 @@ class GetVirtualMachineNetworkInterfacePartNetworkNormalizer implements Denormal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartNetwork'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartNetwork::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartNetwork'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartNetwork::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartNetwork' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartNetwork::class => false]; } } } diff --git a/src/Core/Normalizer/GetVirtualMachineNetworkInterfacePartVirtualMachineNormalizer.php b/src/Core/Normalizer/GetVirtualMachineNetworkInterfacePartVirtualMachineNormalizer.php index 7ac93571..b5ae4c9d 100644 --- a/src/Core/Normalizer/GetVirtualMachineNetworkInterfacePartVirtualMachineNormalizer.php +++ b/src/Core/Normalizer/GetVirtualMachineNetworkInterfacePartVirtualMachineNormalizer.php @@ -31,12 +31,12 @@ class GetVirtualMachineNetworkInterfacePartVirtualMachineNormalizer implements D public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartVirtualMachine'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartVirtualMachine::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartVirtualMachine::class => false]; } } } else { @@ -101,12 +101,12 @@ class GetVirtualMachineNetworkInterfacePartVirtualMachineNormalizer implements D public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartVirtualMachine'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartVirtualMachine::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartVirtualMachine::class => false]; } } } diff --git a/src/Core/Normalizer/GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesNormalizer.php b/src/Core/Normalizer/GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesNormalizer.php index a1590560..9469c914 100644 --- a/src/Core/Normalizer/GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesNormalizer.php +++ b/src/Core/Normalizer/GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesNormalizer.php @@ -31,12 +31,12 @@ class GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfac public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfaces'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfaces::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfaces'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfaces::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,13 +60,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['name']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacesPartNetwork', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacesPartNetwork::class, 'json', $context)); unset($data['network']); } if (\array_key_exists('ip_addresses', $data)) { $values = []; foreach ($data['ip_addresses'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacesPartIPAddresses', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacesPartIPAddresses::class, 'json', $context); } $object->setIpAddresses($values); unset($data['ip_addresses']); @@ -110,7 +110,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfaces' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfaces::class => false]; } } } else { @@ -123,12 +123,12 @@ class GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfac public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfaces'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfaces::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfaces'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfaces::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -152,13 +152,13 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacesPartNetwork', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacesPartNetwork::class, 'json', $context)); unset($data['network']); } if (\array_key_exists('ip_addresses', $data)) { $values = []; foreach ($data['ip_addresses'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacesPartIPAddresses', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacesPartIPAddresses::class, 'json', $context); } $object->setIpAddresses($values); unset($data['ip_addresses']); @@ -205,7 +205,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfaces' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfaces::class => false]; } } } diff --git a/src/Core/Normalizer/GetVirtualMachineNetworkInterfacesPartIPAddressesNormalizer.php b/src/Core/Normalizer/GetVirtualMachineNetworkInterfacesPartIPAddressesNormalizer.php index cb085eeb..276cad1c 100644 --- a/src/Core/Normalizer/GetVirtualMachineNetworkInterfacesPartIPAddressesNormalizer.php +++ b/src/Core/Normalizer/GetVirtualMachineNetworkInterfacesPartIPAddressesNormalizer.php @@ -31,12 +31,12 @@ class GetVirtualMachineNetworkInterfacesPartIPAddressesNormalizer implements Den public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacesPartIPAddresses'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacesPartIPAddresses::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacesPartIPAddresses'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacesPartIPAddresses::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacesPartIPAddresses' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacesPartIPAddresses::class => false]; } } } else { @@ -101,12 +101,12 @@ class GetVirtualMachineNetworkInterfacesPartIPAddressesNormalizer implements Den public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacesPartIPAddresses'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacesPartIPAddresses::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacesPartIPAddresses'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacesPartIPAddresses::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacesPartIPAddresses' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacesPartIPAddresses::class => false]; } } } diff --git a/src/Core/Normalizer/GetVirtualMachineNetworkInterfacesPartNetworkNormalizer.php b/src/Core/Normalizer/GetVirtualMachineNetworkInterfacesPartNetworkNormalizer.php index 95402a45..ffadb63d 100644 --- a/src/Core/Normalizer/GetVirtualMachineNetworkInterfacesPartNetworkNormalizer.php +++ b/src/Core/Normalizer/GetVirtualMachineNetworkInterfacesPartNetworkNormalizer.php @@ -31,12 +31,12 @@ class GetVirtualMachineNetworkInterfacesPartNetworkNormalizer implements Denorma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacesPartNetwork'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacesPartNetwork::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacesPartNetwork'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacesPartNetwork::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacesPartNetwork' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacesPartNetwork::class => false]; } } } else { @@ -101,12 +101,12 @@ class GetVirtualMachineNetworkInterfacesPartNetworkNormalizer implements Denorma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacesPartNetwork'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacesPartNetwork::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacesPartNetwork'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacesPartNetwork::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacesPartNetwork' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacesPartNetwork::class => false]; } } } diff --git a/src/Core/Normalizer/GetVirtualMachinePartGPUTypeNormalizer.php b/src/Core/Normalizer/GetVirtualMachinePartGPUTypeNormalizer.php index d8bd5c5a..94d447c4 100644 --- a/src/Core/Normalizer/GetVirtualMachinePartGPUTypeNormalizer.php +++ b/src/Core/Normalizer/GetVirtualMachinePartGPUTypeNormalizer.php @@ -31,12 +31,12 @@ class GetVirtualMachinePartGPUTypeNormalizer implements DenormalizerInterface, N public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachinePartGPUType'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachinePartGPUType::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachinePartGPUType'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachinePartGPUType::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -116,7 +116,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachinePartGPUType' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachinePartGPUType::class => false]; } } } else { @@ -129,12 +129,12 @@ class GetVirtualMachinePartGPUTypeNormalizer implements DenormalizerInterface, N public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachinePartGPUType'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachinePartGPUType::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachinePartGPUType'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachinePartGPUType::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -217,7 +217,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachinePartGPUType' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachinePartGPUType::class => false]; } } } diff --git a/src/Core/Normalizer/GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildNormalizer.php b/src/Core/Normalizer/GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildNormalizer.php index 2689a7da..fb52fd2a 100644 --- a/src/Core/Normalizer/GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildNormalizer.php +++ b/src/Core/Normalizer/GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildNormalizer.php @@ -31,12 +31,12 @@ class GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildN public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuild'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuild::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuild'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuild::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -64,7 +64,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['state']); } if (\array_key_exists('virtual_machine', $data) && $data['virtual_machine'] !== null) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } elseif (\array_key_exists('virtual_machine', $data) && $data['virtual_machine'] === null) { $object->setVirtualMachine(null); @@ -111,7 +111,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuild' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuild::class => false]; } } } else { @@ -124,12 +124,12 @@ class GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildN public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuild'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuild::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuild'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuild::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -157,7 +157,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['state']); } if (\array_key_exists('virtual_machine', $data) && $data['virtual_machine'] !== null) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } elseif (\array_key_exists('virtual_machine', $data) && $data['virtual_machine'] === null) { $object->setVirtualMachine(null); @@ -207,7 +207,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuild' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuild::class => false]; } } } diff --git a/src/Core/Normalizer/GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachineNormalizer.php b/src/Core/Normalizer/GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachineNormalizer.php index aad281da..beb10fb2 100644 --- a/src/Core/Normalizer/GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachineNormalizer.php +++ b/src/Core/Normalizer/GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachineNormalizer.php @@ -31,12 +31,12 @@ class GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildV public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -109,7 +109,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine::class => false]; } } } else { @@ -122,12 +122,12 @@ class GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildV public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -203,7 +203,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine::class => false]; } } } diff --git a/src/Core/Normalizer/GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachineNormalizer.php b/src/Core/Normalizer/GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachineNormalizer.php index 0b3705de..4ce1d7c2 100644 --- a/src/Core/Normalizer/GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachineNormalizer.php +++ b/src/Core/Normalizer/GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachineNormalizer.php @@ -31,12 +31,12 @@ class GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachineNormalizer im public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachine'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachine::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -109,7 +109,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachine::class => false]; } } } else { @@ -122,12 +122,12 @@ class GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachineNormalizer im public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachine'; + return $type === \KatapultAPI\Core\Model\GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachine::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -203,7 +203,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachine::class => false]; } } } diff --git a/src/Core/Normalizer/GetZones200ResponseZonesNormalizer.php b/src/Core/Normalizer/GetZones200ResponseZonesNormalizer.php index bdbac785..111fc57e 100644 --- a/src/Core/Normalizer/GetZones200ResponseZonesNormalizer.php +++ b/src/Core/Normalizer/GetZones200ResponseZonesNormalizer.php @@ -31,12 +31,12 @@ class GetZones200ResponseZonesNormalizer implements DenormalizerInterface, Norma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetZones200ResponseZones'; + return $type === \KatapultAPI\Core\Model\GetZones200ResponseZones::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetZones200ResponseZones'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetZones200ResponseZones::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -66,7 +66,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setPermalink(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\GetZonesPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\GetZonesPartDataCenter::class, 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value) { @@ -104,7 +104,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetZones200ResponseZones' => false]; + return [\KatapultAPI\Core\Model\GetZones200ResponseZones::class => false]; } } } else { @@ -117,12 +117,12 @@ class GetZones200ResponseZonesNormalizer implements DenormalizerInterface, Norma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetZones200ResponseZones'; + return $type === \KatapultAPI\Core\Model\GetZones200ResponseZones::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetZones200ResponseZones'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetZones200ResponseZones::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -152,7 +152,7 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setPermalink(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\GetZonesPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\GetZonesPartDataCenter::class, 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value) { @@ -193,7 +193,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetZones200ResponseZones' => false]; + return [\KatapultAPI\Core\Model\GetZones200ResponseZones::class => false]; } } } diff --git a/src/Core/Normalizer/GetZonesPartDataCenterNormalizer.php b/src/Core/Normalizer/GetZonesPartDataCenterNormalizer.php index 47684f8c..45bf5ec5 100644 --- a/src/Core/Normalizer/GetZonesPartDataCenterNormalizer.php +++ b/src/Core/Normalizer/GetZonesPartDataCenterNormalizer.php @@ -31,12 +31,12 @@ class GetZonesPartDataCenterNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetZonesPartDataCenter'; + return $type === \KatapultAPI\Core\Model\GetZonesPartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetZonesPartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetZonesPartDataCenter::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetZonesPartDataCenter' => false]; + return [\KatapultAPI\Core\Model\GetZonesPartDataCenter::class => false]; } } } else { @@ -108,12 +108,12 @@ class GetZonesPartDataCenterNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GetZonesPartDataCenter'; + return $type === \KatapultAPI\Core\Model\GetZonesPartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GetZonesPartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GetZonesPartDataCenter::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetZonesPartDataCenter' => false]; + return [\KatapultAPI\Core\Model\GetZonesPartDataCenter::class => false]; } } } diff --git a/src/Core/Normalizer/GpuTypesGetResponse200Normalizer.php b/src/Core/Normalizer/GpuTypesGetResponse200Normalizer.php index cee8f191..cd52064f 100644 --- a/src/Core/Normalizer/GpuTypesGetResponse200Normalizer.php +++ b/src/Core/Normalizer/GpuTypesGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class GpuTypesGetResponse200Normalizer implements DenormalizerInterface, Normali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GpuTypesGetResponse200'; + return $type === \KatapultAPI\Core\Model\GpuTypesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GpuTypesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GpuTypesGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('gpu_types', $data)) { $values = []; foreach ($data['gpu_types'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetGPUTypes200ResponseGPUTypes', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetGPUTypes200ResponseGPUTypes::class, 'json', $context); } $object->setGpuTypes($values); unset($data['gpu_types']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GpuTypesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\GpuTypesGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class GpuTypesGetResponse200Normalizer implements DenormalizerInterface, Normali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GpuTypesGetResponse200'; + return $type === \KatapultAPI\Core\Model\GpuTypesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GpuTypesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GpuTypesGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('gpu_types', $data)) { $values = []; foreach ($data['gpu_types'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetGPUTypes200ResponseGPUTypes', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetGPUTypes200ResponseGPUTypes::class, 'json', $context); } $object->setGpuTypes($values); unset($data['gpu_types']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GpuTypesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\GpuTypesGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/GpuTypesGpuTypeGetResponse200Normalizer.php b/src/Core/Normalizer/GpuTypesGpuTypeGetResponse200Normalizer.php index 4663d0d7..6d04bf68 100644 --- a/src/Core/Normalizer/GpuTypesGpuTypeGetResponse200Normalizer.php +++ b/src/Core/Normalizer/GpuTypesGpuTypeGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class GpuTypesGpuTypeGetResponse200Normalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GpuTypesGpuTypeGetResponse200'; + return $type === \KatapultAPI\Core\Model\GpuTypesGpuTypeGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GpuTypesGpuTypeGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GpuTypesGpuTypeGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('gpu_type', $data)) { - $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], 'KatapultAPI\\Core\\Model\\GetGPUType200ResponseGPUType', 'json', $context)); + $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], \KatapultAPI\Core\Model\GetGPUType200ResponseGPUType::class, 'json', $context)); unset($data['gpu_type']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GpuTypesGpuTypeGetResponse200' => false]; + return [\KatapultAPI\Core\Model\GpuTypesGpuTypeGetResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class GpuTypesGpuTypeGetResponse200Normalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\GpuTypesGpuTypeGetResponse200'; + return $type === \KatapultAPI\Core\Model\GpuTypesGpuTypeGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\GpuTypesGpuTypeGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\GpuTypesGpuTypeGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('gpu_type', $data)) { - $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], 'KatapultAPI\\Core\\Model\\GetGPUType200ResponseGPUType', 'json', $context)); + $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], \KatapultAPI\Core\Model\GetGPUType200ResponseGPUType::class, 'json', $context)); unset($data['gpu_type']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GpuTypesGpuTypeGetResponse200' => false]; + return [\KatapultAPI\Core\Model\GpuTypesGpuTypeGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/HypervisorNormalizer.php b/src/Core/Normalizer/HypervisorNormalizer.php index d29159a1..47656ff5 100644 --- a/src/Core/Normalizer/HypervisorNormalizer.php +++ b/src/Core/Normalizer/HypervisorNormalizer.php @@ -31,12 +31,12 @@ class HypervisorNormalizer implements DenormalizerInterface, NormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\Hypervisor'; + return $type === \KatapultAPI\Core\Model\Hypervisor::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\Hypervisor'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\Hypervisor::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\Hypervisor' => false]; + return [\KatapultAPI\Core\Model\Hypervisor::class => false]; } } } else { @@ -108,12 +108,12 @@ class HypervisorNormalizer implements DenormalizerInterface, NormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\Hypervisor'; + return $type === \KatapultAPI\Core\Model\Hypervisor::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\Hypervisor'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\Hypervisor::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\Hypervisor' => false]; + return [\KatapultAPI\Core\Model\Hypervisor::class => false]; } } } diff --git a/src/Core/Normalizer/IPAddressLookupNormalizer.php b/src/Core/Normalizer/IPAddressLookupNormalizer.php index ea86eef8..c8feb41f 100644 --- a/src/Core/Normalizer/IPAddressLookupNormalizer.php +++ b/src/Core/Normalizer/IPAddressLookupNormalizer.php @@ -31,12 +31,12 @@ class IPAddressLookupNormalizer implements DenormalizerInterface, NormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\IPAddressLookup'; + return $type === \KatapultAPI\Core\Model\IPAddressLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\IPAddressLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\IPAddressLookup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\IPAddressLookup' => false]; + return [\KatapultAPI\Core\Model\IPAddressLookup::class => false]; } } } else { @@ -101,12 +101,12 @@ class IPAddressLookupNormalizer implements DenormalizerInterface, NormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\IPAddressLookup'; + return $type === \KatapultAPI\Core\Model\IPAddressLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\IPAddressLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\IPAddressLookup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\IPAddressLookup' => false]; + return [\KatapultAPI\Core\Model\IPAddressLookup::class => false]; } } } diff --git a/src/Core/Normalizer/IPAddressNormalizer.php b/src/Core/Normalizer/IPAddressNormalizer.php index a12d92f8..82e2a2e6 100644 --- a/src/Core/Normalizer/IPAddressNormalizer.php +++ b/src/Core/Normalizer/IPAddressNormalizer.php @@ -31,12 +31,12 @@ class IPAddressNormalizer implements DenormalizerInterface, NormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\IPAddress'; + return $type === \KatapultAPI\Core\Model\IPAddress::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\IPAddress'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\IPAddress::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -78,7 +78,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['address_with_mask']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'KatapultAPI\\Core\\Model\\Network', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], \KatapultAPI\Core\Model\Network::class, 'json', $context)); unset($data['network']); } if (\array_key_exists('allocation_id', $data) && $data['allocation_id'] !== null) { @@ -143,7 +143,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\IPAddress' => false]; + return [\KatapultAPI\Core\Model\IPAddress::class => false]; } } } else { @@ -156,12 +156,12 @@ class IPAddressNormalizer implements DenormalizerInterface, NormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\IPAddress'; + return $type === \KatapultAPI\Core\Model\IPAddress::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\IPAddress'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\IPAddress::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -203,7 +203,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['address_with_mask']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'KatapultAPI\\Core\\Model\\Network', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], \KatapultAPI\Core\Model\Network::class, 'json', $context)); unset($data['network']); } if (\array_key_exists('allocation_id', $data) && $data['allocation_id'] !== null) { @@ -271,7 +271,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\IPAddress' => false]; + return [\KatapultAPI\Core\Model\IPAddress::class => false]; } } } diff --git a/src/Core/Normalizer/IPAddressNotFoundSchemaNormalizer.php b/src/Core/Normalizer/IPAddressNotFoundSchemaNormalizer.php index 220743df..0cb4edf5 100644 --- a/src/Core/Normalizer/IPAddressNotFoundSchemaNormalizer.php +++ b/src/Core/Normalizer/IPAddressNotFoundSchemaNormalizer.php @@ -31,12 +31,12 @@ class IPAddressNotFoundSchemaNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\IPAddressNotFoundSchema'; + return $type === \KatapultAPI\Core\Model\IPAddressNotFoundSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\IPAddressNotFoundSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\IPAddressNotFoundSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\IPAddressNotFoundSchema' => false]; + return [\KatapultAPI\Core\Model\IPAddressNotFoundSchema::class => false]; } } } else { @@ -116,12 +116,12 @@ class IPAddressNotFoundSchemaNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\IPAddressNotFoundSchema'; + return $type === \KatapultAPI\Core\Model\IPAddressNotFoundSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\IPAddressNotFoundSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\IPAddressNotFoundSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\IPAddressNotFoundSchema' => false]; + return [\KatapultAPI\Core\Model\IPAddressNotFoundSchema::class => false]; } } } diff --git a/src/Core/Normalizer/IPAlreadyAllocatedSchemaNormalizer.php b/src/Core/Normalizer/IPAlreadyAllocatedSchemaNormalizer.php index a7ff5641..cafef0f2 100644 --- a/src/Core/Normalizer/IPAlreadyAllocatedSchemaNormalizer.php +++ b/src/Core/Normalizer/IPAlreadyAllocatedSchemaNormalizer.php @@ -31,12 +31,12 @@ class IPAlreadyAllocatedSchemaNormalizer implements DenormalizerInterface, Norma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\IPAlreadyAllocatedSchema'; + return $type === \KatapultAPI\Core\Model\IPAlreadyAllocatedSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\IPAlreadyAllocatedSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\IPAlreadyAllocatedSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\IPAlreadyAllocatedSchema' => false]; + return [\KatapultAPI\Core\Model\IPAlreadyAllocatedSchema::class => false]; } } } else { @@ -116,12 +116,12 @@ class IPAlreadyAllocatedSchemaNormalizer implements DenormalizerInterface, Norma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\IPAlreadyAllocatedSchema'; + return $type === \KatapultAPI\Core\Model\IPAlreadyAllocatedSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\IPAlreadyAllocatedSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\IPAlreadyAllocatedSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\IPAlreadyAllocatedSchema' => false]; + return [\KatapultAPI\Core\Model\IPAlreadyAllocatedSchema::class => false]; } } } diff --git a/src/Core/Normalizer/ISONormalizer.php b/src/Core/Normalizer/ISONormalizer.php index 959f901a..7ad5940e 100644 --- a/src/Core/Normalizer/ISONormalizer.php +++ b/src/Core/Normalizer/ISONormalizer.php @@ -31,12 +31,12 @@ class ISONormalizer implements DenormalizerInterface, NormalizerInterface, Denor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ISO'; + return $type === \KatapultAPI\Core\Model\ISO::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ISO'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ISO::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['name']); } if (\array_key_exists('operating_system', $data) && $data['operating_system'] !== null) { - $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'KatapultAPI\\Core\\Model\\ISOOperatingSystem', 'json', $context)); + $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], \KatapultAPI\Core\Model\ISOOperatingSystem::class, 'json', $context)); unset($data['operating_system']); } elseif (\array_key_exists('operating_system', $data) && $data['operating_system'] === null) { $object->setOperatingSystem(null); @@ -97,7 +97,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ISO' => false]; + return [\KatapultAPI\Core\Model\ISO::class => false]; } } } else { @@ -110,12 +110,12 @@ class ISONormalizer implements DenormalizerInterface, NormalizerInterface, Denor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ISO'; + return $type === \KatapultAPI\Core\Model\ISO::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ISO'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ISO::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -139,7 +139,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('operating_system', $data) && $data['operating_system'] !== null) { - $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'KatapultAPI\\Core\\Model\\ISOOperatingSystem', 'json', $context)); + $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], \KatapultAPI\Core\Model\ISOOperatingSystem::class, 'json', $context)); unset($data['operating_system']); } elseif (\array_key_exists('operating_system', $data) && $data['operating_system'] === null) { $object->setOperatingSystem(null); @@ -179,7 +179,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ISO' => false]; + return [\KatapultAPI\Core\Model\ISO::class => false]; } } } diff --git a/src/Core/Normalizer/ISOOperatingSystemNormalizer.php b/src/Core/Normalizer/ISOOperatingSystemNormalizer.php index 84233dc9..7e80b138 100644 --- a/src/Core/Normalizer/ISOOperatingSystemNormalizer.php +++ b/src/Core/Normalizer/ISOOperatingSystemNormalizer.php @@ -31,12 +31,12 @@ class ISOOperatingSystemNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ISOOperatingSystem'; + return $type === \KatapultAPI\Core\Model\ISOOperatingSystem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ISOOperatingSystem'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ISOOperatingSystem::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['name']); } if (\array_key_exists('badge', $data) && $data['badge'] !== null) { - $object->setBadge($this->denormalizer->denormalize($data['badge'], 'KatapultAPI\\Core\\Model\\OperatingSystemBadge', 'json', $context)); + $object->setBadge($this->denormalizer->denormalize($data['badge'], \KatapultAPI\Core\Model\OperatingSystemBadge::class, 'json', $context)); unset($data['badge']); } elseif (\array_key_exists('badge', $data) && $data['badge'] === null) { $object->setBadge(null); @@ -97,7 +97,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ISOOperatingSystem' => false]; + return [\KatapultAPI\Core\Model\ISOOperatingSystem::class => false]; } } } else { @@ -110,12 +110,12 @@ class ISOOperatingSystemNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ISOOperatingSystem'; + return $type === \KatapultAPI\Core\Model\ISOOperatingSystem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ISOOperatingSystem'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ISOOperatingSystem::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -139,7 +139,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('badge', $data) && $data['badge'] !== null) { - $object->setBadge($this->denormalizer->denormalize($data['badge'], 'KatapultAPI\\Core\\Model\\OperatingSystemBadge', 'json', $context)); + $object->setBadge($this->denormalizer->denormalize($data['badge'], \KatapultAPI\Core\Model\OperatingSystemBadge::class, 'json', $context)); unset($data['badge']); } elseif (\array_key_exists('badge', $data) && $data['badge'] === null) { $object->setBadge(null); @@ -179,7 +179,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ISOOperatingSystem' => false]; + return [\KatapultAPI\Core\Model\ISOOperatingSystem::class => false]; } } } diff --git a/src/Core/Normalizer/IdentityNotLinkedToWebSessionSchemaNormalizer.php b/src/Core/Normalizer/IdentityNotLinkedToWebSessionSchemaNormalizer.php index 533109c1..392350c1 100644 --- a/src/Core/Normalizer/IdentityNotLinkedToWebSessionSchemaNormalizer.php +++ b/src/Core/Normalizer/IdentityNotLinkedToWebSessionSchemaNormalizer.php @@ -31,12 +31,12 @@ class IdentityNotLinkedToWebSessionSchemaNormalizer implements DenormalizerInter public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\IdentityNotLinkedToWebSessionSchema'; + return $type === \KatapultAPI\Core\Model\IdentityNotLinkedToWebSessionSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\IdentityNotLinkedToWebSessionSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\IdentityNotLinkedToWebSessionSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\IdentityNotLinkedToWebSessionSchema' => false]; + return [\KatapultAPI\Core\Model\IdentityNotLinkedToWebSessionSchema::class => false]; } } } else { @@ -116,12 +116,12 @@ class IdentityNotLinkedToWebSessionSchemaNormalizer implements DenormalizerInter public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\IdentityNotLinkedToWebSessionSchema'; + return $type === \KatapultAPI\Core\Model\IdentityNotLinkedToWebSessionSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\IdentityNotLinkedToWebSessionSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\IdentityNotLinkedToWebSessionSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\IdentityNotLinkedToWebSessionSchema' => false]; + return [\KatapultAPI\Core\Model\IdentityNotLinkedToWebSessionSchema::class => false]; } } } diff --git a/src/Core/Normalizer/IntegerOrUnlimitedNormalizer.php b/src/Core/Normalizer/IntegerOrUnlimitedNormalizer.php index a921d7d2..36400b40 100644 --- a/src/Core/Normalizer/IntegerOrUnlimitedNormalizer.php +++ b/src/Core/Normalizer/IntegerOrUnlimitedNormalizer.php @@ -31,12 +31,12 @@ class IntegerOrUnlimitedNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\IntegerOrUnlimited'; + return $type === \KatapultAPI\Core\Model\IntegerOrUnlimited::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\IntegerOrUnlimited'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\IntegerOrUnlimited::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -90,7 +90,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\IntegerOrUnlimited' => false]; + return [\KatapultAPI\Core\Model\IntegerOrUnlimited::class => false]; } } } else { @@ -103,12 +103,12 @@ class IntegerOrUnlimitedNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\IntegerOrUnlimited'; + return $type === \KatapultAPI\Core\Model\IntegerOrUnlimited::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\IntegerOrUnlimited'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\IntegerOrUnlimited::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -165,7 +165,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\IntegerOrUnlimited' => false]; + return [\KatapultAPI\Core\Model\IntegerOrUnlimited::class => false]; } } } diff --git a/src/Core/Normalizer/IntegerValueNormalizer.php b/src/Core/Normalizer/IntegerValueNormalizer.php index e4133d60..a08416bb 100644 --- a/src/Core/Normalizer/IntegerValueNormalizer.php +++ b/src/Core/Normalizer/IntegerValueNormalizer.php @@ -31,12 +31,12 @@ class IntegerValueNormalizer implements DenormalizerInterface, NormalizerInterfa public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\IntegerValue'; + return $type === \KatapultAPI\Core\Model\IntegerValue::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\IntegerValue'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\IntegerValue::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -83,7 +83,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\IntegerValue' => false]; + return [\KatapultAPI\Core\Model\IntegerValue::class => false]; } } } else { @@ -96,12 +96,12 @@ class IntegerValueNormalizer implements DenormalizerInterface, NormalizerInterfa public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\IntegerValue'; + return $type === \KatapultAPI\Core\Model\IntegerValue::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\IntegerValue'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\IntegerValue::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -151,7 +151,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\IntegerValue' => false]; + return [\KatapultAPI\Core\Model\IntegerValue::class => false]; } } } diff --git a/src/Core/Normalizer/InterfaceNotFoundSchemaNormalizer.php b/src/Core/Normalizer/InterfaceNotFoundSchemaNormalizer.php index 5bf5c732..4c0a5ab3 100644 --- a/src/Core/Normalizer/InterfaceNotFoundSchemaNormalizer.php +++ b/src/Core/Normalizer/InterfaceNotFoundSchemaNormalizer.php @@ -31,12 +31,12 @@ class InterfaceNotFoundSchemaNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\InterfaceNotFoundSchema'; + return $type === \KatapultAPI\Core\Model\InterfaceNotFoundSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\InterfaceNotFoundSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\InterfaceNotFoundSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\InterfaceNotFoundSchema' => false]; + return [\KatapultAPI\Core\Model\InterfaceNotFoundSchema::class => false]; } } } else { @@ -116,12 +116,12 @@ class InterfaceNotFoundSchemaNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\InterfaceNotFoundSchema'; + return $type === \KatapultAPI\Core\Model\InterfaceNotFoundSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\InterfaceNotFoundSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\InterfaceNotFoundSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\InterfaceNotFoundSchema' => false]; + return [\KatapultAPI\Core\Model\InterfaceNotFoundSchema::class => false]; } } } diff --git a/src/Core/Normalizer/InvalidAPITokenNormalizer.php b/src/Core/Normalizer/InvalidAPITokenNormalizer.php index f92d57d4..a9ca150b 100644 --- a/src/Core/Normalizer/InvalidAPITokenNormalizer.php +++ b/src/Core/Normalizer/InvalidAPITokenNormalizer.php @@ -31,12 +31,12 @@ class InvalidAPITokenNormalizer implements DenormalizerInterface, NormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\InvalidAPIToken'; + return $type === \KatapultAPI\Core\Model\InvalidAPIToken::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\InvalidAPIToken'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\InvalidAPIToken::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -83,7 +83,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\InvalidAPIToken' => false]; + return [\KatapultAPI\Core\Model\InvalidAPIToken::class => false]; } } } else { @@ -96,12 +96,12 @@ class InvalidAPITokenNormalizer implements DenormalizerInterface, NormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\InvalidAPIToken'; + return $type === \KatapultAPI\Core\Model\InvalidAPIToken::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\InvalidAPIToken'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\InvalidAPIToken::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -151,7 +151,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\InvalidAPIToken' => false]; + return [\KatapultAPI\Core\Model\InvalidAPIToken::class => false]; } } } diff --git a/src/Core/Normalizer/InvalidAPITokenSchemaNormalizer.php b/src/Core/Normalizer/InvalidAPITokenSchemaNormalizer.php index 8316a40c..11d6725f 100644 --- a/src/Core/Normalizer/InvalidAPITokenSchemaNormalizer.php +++ b/src/Core/Normalizer/InvalidAPITokenSchemaNormalizer.php @@ -31,12 +31,12 @@ class InvalidAPITokenSchemaNormalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\InvalidAPITokenSchema'; + return $type === \KatapultAPI\Core\Model\InvalidAPITokenSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\InvalidAPITokenSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\InvalidAPITokenSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Core\\Model\\InvalidAPIToken', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Core\Model\InvalidAPIToken::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\InvalidAPITokenSchema' => false]; + return [\KatapultAPI\Core\Model\InvalidAPITokenSchema::class => false]; } } } else { @@ -108,12 +108,12 @@ class InvalidAPITokenSchemaNormalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\InvalidAPITokenSchema'; + return $type === \KatapultAPI\Core\Model\InvalidAPITokenSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\InvalidAPITokenSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\InvalidAPITokenSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -137,7 +137,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Core\\Model\\InvalidAPIToken', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Core\Model\InvalidAPIToken::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\InvalidAPITokenSchema' => false]; + return [\KatapultAPI\Core\Model\InvalidAPITokenSchema::class => false]; } } } diff --git a/src/Core/Normalizer/InvalidCapabilitiesTokenSchemaNormalizer.php b/src/Core/Normalizer/InvalidCapabilitiesTokenSchemaNormalizer.php index 738c66bb..ee240e7e 100644 --- a/src/Core/Normalizer/InvalidCapabilitiesTokenSchemaNormalizer.php +++ b/src/Core/Normalizer/InvalidCapabilitiesTokenSchemaNormalizer.php @@ -31,12 +31,12 @@ class InvalidCapabilitiesTokenSchemaNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\InvalidCapabilitiesTokenSchema'; + return $type === \KatapultAPI\Core\Model\InvalidCapabilitiesTokenSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\InvalidCapabilitiesTokenSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\InvalidCapabilitiesTokenSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\InvalidCapabilitiesTokenSchema' => false]; + return [\KatapultAPI\Core\Model\InvalidCapabilitiesTokenSchema::class => false]; } } } else { @@ -116,12 +116,12 @@ class InvalidCapabilitiesTokenSchemaNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\InvalidCapabilitiesTokenSchema'; + return $type === \KatapultAPI\Core\Model\InvalidCapabilitiesTokenSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\InvalidCapabilitiesTokenSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\InvalidCapabilitiesTokenSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\InvalidCapabilitiesTokenSchema' => false]; + return [\KatapultAPI\Core\Model\InvalidCapabilitiesTokenSchema::class => false]; } } } diff --git a/src/Core/Normalizer/InvalidIPSchemaNormalizer.php b/src/Core/Normalizer/InvalidIPSchemaNormalizer.php index f6741759..071565bf 100644 --- a/src/Core/Normalizer/InvalidIPSchemaNormalizer.php +++ b/src/Core/Normalizer/InvalidIPSchemaNormalizer.php @@ -31,12 +31,12 @@ class InvalidIPSchemaNormalizer implements DenormalizerInterface, NormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\InvalidIPSchema'; + return $type === \KatapultAPI\Core\Model\InvalidIPSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\InvalidIPSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\InvalidIPSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\InvalidIPSchema' => false]; + return [\KatapultAPI\Core\Model\InvalidIPSchema::class => false]; } } } else { @@ -116,12 +116,12 @@ class InvalidIPSchemaNormalizer implements DenormalizerInterface, NormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\InvalidIPSchema'; + return $type === \KatapultAPI\Core\Model\InvalidIPSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\InvalidIPSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\InvalidIPSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\InvalidIPSchema' => false]; + return [\KatapultAPI\Core\Model\InvalidIPSchema::class => false]; } } } diff --git a/src/Core/Normalizer/InvalidSpecXMLNormalizer.php b/src/Core/Normalizer/InvalidSpecXMLNormalizer.php index da7cab83..015f8177 100644 --- a/src/Core/Normalizer/InvalidSpecXMLNormalizer.php +++ b/src/Core/Normalizer/InvalidSpecXMLNormalizer.php @@ -31,12 +31,12 @@ class InvalidSpecXMLNormalizer implements DenormalizerInterface, NormalizerInter public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\InvalidSpecXML'; + return $type === \KatapultAPI\Core\Model\InvalidSpecXML::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\InvalidSpecXML'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\InvalidSpecXML::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\InvalidSpecXML' => false]; + return [\KatapultAPI\Core\Model\InvalidSpecXML::class => false]; } } } else { @@ -94,12 +94,12 @@ class InvalidSpecXMLNormalizer implements DenormalizerInterface, NormalizerInter public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\InvalidSpecXML'; + return $type === \KatapultAPI\Core\Model\InvalidSpecXML::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\InvalidSpecXML'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\InvalidSpecXML::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\InvalidSpecXML' => false]; + return [\KatapultAPI\Core\Model\InvalidSpecXML::class => false]; } } } diff --git a/src/Core/Normalizer/InvalidSpecXMLSchemaNormalizer.php b/src/Core/Normalizer/InvalidSpecXMLSchemaNormalizer.php index 2ccf5c71..2a78e0ac 100644 --- a/src/Core/Normalizer/InvalidSpecXMLSchemaNormalizer.php +++ b/src/Core/Normalizer/InvalidSpecXMLSchemaNormalizer.php @@ -31,12 +31,12 @@ class InvalidSpecXMLSchemaNormalizer implements DenormalizerInterface, Normalize public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\InvalidSpecXMLSchema'; + return $type === \KatapultAPI\Core\Model\InvalidSpecXMLSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\InvalidSpecXMLSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\InvalidSpecXMLSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Core\\Model\\InvalidSpecXML', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Core\Model\InvalidSpecXML::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\InvalidSpecXMLSchema' => false]; + return [\KatapultAPI\Core\Model\InvalidSpecXMLSchema::class => false]; } } } else { @@ -108,12 +108,12 @@ class InvalidSpecXMLSchemaNormalizer implements DenormalizerInterface, Normalize public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\InvalidSpecXMLSchema'; + return $type === \KatapultAPI\Core\Model\InvalidSpecXMLSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\InvalidSpecXMLSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\InvalidSpecXMLSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -137,7 +137,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Core\\Model\\InvalidSpecXML', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Core\Model\InvalidSpecXML::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\InvalidSpecXMLSchema' => false]; + return [\KatapultAPI\Core\Model\InvalidSpecXMLSchema::class => false]; } } } diff --git a/src/Core/Normalizer/InvalidTimestampSchemaNormalizer.php b/src/Core/Normalizer/InvalidTimestampSchemaNormalizer.php index dfe28b5c..38c65994 100644 --- a/src/Core/Normalizer/InvalidTimestampSchemaNormalizer.php +++ b/src/Core/Normalizer/InvalidTimestampSchemaNormalizer.php @@ -31,12 +31,12 @@ class InvalidTimestampSchemaNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\InvalidTimestampSchema'; + return $type === \KatapultAPI\Core\Model\InvalidTimestampSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\InvalidTimestampSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\InvalidTimestampSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\InvalidTimestampSchema' => false]; + return [\KatapultAPI\Core\Model\InvalidTimestampSchema::class => false]; } } } else { @@ -116,12 +116,12 @@ class InvalidTimestampSchemaNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\InvalidTimestampSchema'; + return $type === \KatapultAPI\Core\Model\InvalidTimestampSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\InvalidTimestampSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\InvalidTimestampSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\InvalidTimestampSchema' => false]; + return [\KatapultAPI\Core\Model\InvalidTimestampSchema::class => false]; } } } diff --git a/src/Core/Normalizer/InvalidateLinkedWebSessionPostBodyNormalizer.php b/src/Core/Normalizer/InvalidateLinkedWebSessionPostBodyNormalizer.php index 4253d890..15c7fb4f 100644 --- a/src/Core/Normalizer/InvalidateLinkedWebSessionPostBodyNormalizer.php +++ b/src/Core/Normalizer/InvalidateLinkedWebSessionPostBodyNormalizer.php @@ -31,12 +31,12 @@ class InvalidateLinkedWebSessionPostBodyNormalizer implements DenormalizerInterf public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\InvalidateLinkedWebSessionPostBody'; + return $type === \KatapultAPI\Core\Model\InvalidateLinkedWebSessionPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\InvalidateLinkedWebSessionPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\InvalidateLinkedWebSessionPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -74,7 +74,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\InvalidateLinkedWebSessionPostBody' => false]; + return [\KatapultAPI\Core\Model\InvalidateLinkedWebSessionPostBody::class => false]; } } } else { @@ -87,12 +87,12 @@ class InvalidateLinkedWebSessionPostBodyNormalizer implements DenormalizerInterf public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\InvalidateLinkedWebSessionPostBody'; + return $type === \KatapultAPI\Core\Model\InvalidateLinkedWebSessionPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\InvalidateLinkedWebSessionPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\InvalidateLinkedWebSessionPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -133,7 +133,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\InvalidateLinkedWebSessionPostBody' => false]; + return [\KatapultAPI\Core\Model\InvalidateLinkedWebSessionPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/InvalidateLinkedWebSessionPostResponse200Normalizer.php b/src/Core/Normalizer/InvalidateLinkedWebSessionPostResponse200Normalizer.php index 4cd0c99e..aee0d3c2 100644 --- a/src/Core/Normalizer/InvalidateLinkedWebSessionPostResponse200Normalizer.php +++ b/src/Core/Normalizer/InvalidateLinkedWebSessionPostResponse200Normalizer.php @@ -31,12 +31,12 @@ class InvalidateLinkedWebSessionPostResponse200Normalizer implements Denormalize public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\InvalidateLinkedWebSessionPostResponse200'; + return $type === \KatapultAPI\Core\Model\InvalidateLinkedWebSessionPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\InvalidateLinkedWebSessionPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\InvalidateLinkedWebSessionPostResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\InvalidateLinkedWebSessionPostResponse200' => false]; + return [\KatapultAPI\Core\Model\InvalidateLinkedWebSessionPostResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class InvalidateLinkedWebSessionPostResponse200Normalizer implements Denormalize public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\InvalidateLinkedWebSessionPostResponse200'; + return $type === \KatapultAPI\Core\Model\InvalidateLinkedWebSessionPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\InvalidateLinkedWebSessionPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\InvalidateLinkedWebSessionPostResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\InvalidateLinkedWebSessionPostResponse200' => false]; + return [\KatapultAPI\Core\Model\InvalidateLinkedWebSessionPostResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/IpAddressesIpAddressDeleteBodyNormalizer.php b/src/Core/Normalizer/IpAddressesIpAddressDeleteBodyNormalizer.php index 6cc5a60c..396cc82a 100644 --- a/src/Core/Normalizer/IpAddressesIpAddressDeleteBodyNormalizer.php +++ b/src/Core/Normalizer/IpAddressesIpAddressDeleteBodyNormalizer.php @@ -31,12 +31,12 @@ class IpAddressesIpAddressDeleteBodyNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressDeleteBody'; + return $type === \KatapultAPI\Core\Model\IpAddressesIpAddressDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\IpAddressesIpAddressDeleteBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('ip_address', $data)) { - $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], 'KatapultAPI\\Core\\Model\\IPAddressLookup', 'json', $context)); + $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], \KatapultAPI\Core\Model\IPAddressLookup::class, 'json', $context)); unset($data['ip_address']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\IpAddressesIpAddressDeleteBody' => false]; + return [\KatapultAPI\Core\Model\IpAddressesIpAddressDeleteBody::class => false]; } } } else { @@ -92,12 +92,12 @@ class IpAddressesIpAddressDeleteBodyNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressDeleteBody'; + return $type === \KatapultAPI\Core\Model\IpAddressesIpAddressDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\IpAddressesIpAddressDeleteBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('ip_address', $data)) { - $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], 'KatapultAPI\\Core\\Model\\IPAddressLookup', 'json', $context)); + $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], \KatapultAPI\Core\Model\IPAddressLookup::class, 'json', $context)); unset($data['ip_address']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\IpAddressesIpAddressDeleteBody' => false]; + return [\KatapultAPI\Core\Model\IpAddressesIpAddressDeleteBody::class => false]; } } } diff --git a/src/Core/Normalizer/IpAddressesIpAddressDeleteResponse200Normalizer.php b/src/Core/Normalizer/IpAddressesIpAddressDeleteResponse200Normalizer.php index ac8284a9..92441afe 100644 --- a/src/Core/Normalizer/IpAddressesIpAddressDeleteResponse200Normalizer.php +++ b/src/Core/Normalizer/IpAddressesIpAddressDeleteResponse200Normalizer.php @@ -31,12 +31,12 @@ class IpAddressesIpAddressDeleteResponse200Normalizer implements DenormalizerInt public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\IpAddressesIpAddressDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\IpAddressesIpAddressDeleteResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -74,7 +74,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\IpAddressesIpAddressDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\IpAddressesIpAddressDeleteResponse200::class => false]; } } } else { @@ -87,12 +87,12 @@ class IpAddressesIpAddressDeleteResponse200Normalizer implements DenormalizerInt public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\IpAddressesIpAddressDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\IpAddressesIpAddressDeleteResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -133,7 +133,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\IpAddressesIpAddressDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\IpAddressesIpAddressDeleteResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/IpAddressesIpAddressGetResponse200AllocationNormalizer.php b/src/Core/Normalizer/IpAddressesIpAddressGetResponse200AllocationNormalizer.php index aa46844a..df666d6e 100644 --- a/src/Core/Normalizer/IpAddressesIpAddressGetResponse200AllocationNormalizer.php +++ b/src/Core/Normalizer/IpAddressesIpAddressGetResponse200AllocationNormalizer.php @@ -31,12 +31,12 @@ class IpAddressesIpAddressGetResponse200AllocationNormalizer implements Denormal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressGetResponse200Allocation'; + return $type === \KatapultAPI\Core\Model\IpAddressesIpAddressGetResponse200Allocation::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressGetResponse200Allocation'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\IpAddressesIpAddressGetResponse200Allocation::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\IpAddressesIpAddressGetResponse200Allocation' => false]; + return [\KatapultAPI\Core\Model\IpAddressesIpAddressGetResponse200Allocation::class => false]; } } } else { @@ -101,12 +101,12 @@ class IpAddressesIpAddressGetResponse200AllocationNormalizer implements Denormal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressGetResponse200Allocation'; + return $type === \KatapultAPI\Core\Model\IpAddressesIpAddressGetResponse200Allocation::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressGetResponse200Allocation'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\IpAddressesIpAddressGetResponse200Allocation::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\IpAddressesIpAddressGetResponse200Allocation' => false]; + return [\KatapultAPI\Core\Model\IpAddressesIpAddressGetResponse200Allocation::class => false]; } } } diff --git a/src/Core/Normalizer/IpAddressesIpAddressGetResponse200IpAddressNormalizer.php b/src/Core/Normalizer/IpAddressesIpAddressGetResponse200IpAddressNormalizer.php index 2f9fb870..8efb31db 100644 --- a/src/Core/Normalizer/IpAddressesIpAddressGetResponse200IpAddressNormalizer.php +++ b/src/Core/Normalizer/IpAddressesIpAddressGetResponse200IpAddressNormalizer.php @@ -31,12 +31,12 @@ class IpAddressesIpAddressGetResponse200IpAddressNormalizer implements Denormali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressGetResponse200IpAddress'; + return $type === \KatapultAPI\Core\Model\IpAddressesIpAddressGetResponse200IpAddress::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressGetResponse200IpAddress'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\IpAddressesIpAddressGetResponse200IpAddress::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -78,7 +78,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['address_with_mask']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'KatapultAPI\\Core\\Model\\Network', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], \KatapultAPI\Core\Model\Network::class, 'json', $context)); unset($data['network']); } if (\array_key_exists('allocation_id', $data) && $data['allocation_id'] !== null) { @@ -143,7 +143,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\IpAddressesIpAddressGetResponse200IpAddress' => false]; + return [\KatapultAPI\Core\Model\IpAddressesIpAddressGetResponse200IpAddress::class => false]; } } } else { @@ -156,12 +156,12 @@ class IpAddressesIpAddressGetResponse200IpAddressNormalizer implements Denormali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressGetResponse200IpAddress'; + return $type === \KatapultAPI\Core\Model\IpAddressesIpAddressGetResponse200IpAddress::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressGetResponse200IpAddress'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\IpAddressesIpAddressGetResponse200IpAddress::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -203,7 +203,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['address_with_mask']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'KatapultAPI\\Core\\Model\\Network', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], \KatapultAPI\Core\Model\Network::class, 'json', $context)); unset($data['network']); } if (\array_key_exists('allocation_id', $data) && $data['allocation_id'] !== null) { @@ -271,7 +271,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\IpAddressesIpAddressGetResponse200IpAddress' => false]; + return [\KatapultAPI\Core\Model\IpAddressesIpAddressGetResponse200IpAddress::class => false]; } } } diff --git a/src/Core/Normalizer/IpAddressesIpAddressGetResponse200Normalizer.php b/src/Core/Normalizer/IpAddressesIpAddressGetResponse200Normalizer.php index 6cb7cf07..f9a1214d 100644 --- a/src/Core/Normalizer/IpAddressesIpAddressGetResponse200Normalizer.php +++ b/src/Core/Normalizer/IpAddressesIpAddressGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class IpAddressesIpAddressGetResponse200Normalizer implements DenormalizerInterf public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressGetResponse200'; + return $type === \KatapultAPI\Core\Model\IpAddressesIpAddressGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\IpAddressesIpAddressGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('ip_address', $data)) { - $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressGetResponse200IpAddress', 'json', $context)); + $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], \KatapultAPI\Core\Model\IpAddressesIpAddressGetResponse200IpAddress::class, 'json', $context)); unset($data['ip_address']); } if (\array_key_exists('allocation', $data) && $data['allocation'] !== null) { - $object->setAllocation($this->denormalizer->denormalize($data['allocation'], 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressGetResponse200Allocation', 'json', $context)); + $object->setAllocation($this->denormalizer->denormalize($data['allocation'], \KatapultAPI\Core\Model\IpAddressesIpAddressGetResponse200Allocation::class, 'json', $context)); unset($data['allocation']); } elseif (\array_key_exists('allocation', $data) && $data['allocation'] === null) { $object->setAllocation(null); @@ -86,7 +86,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\IpAddressesIpAddressGetResponse200' => false]; + return [\KatapultAPI\Core\Model\IpAddressesIpAddressGetResponse200::class => false]; } } } else { @@ -99,12 +99,12 @@ class IpAddressesIpAddressGetResponse200Normalizer implements DenormalizerInterf public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressGetResponse200'; + return $type === \KatapultAPI\Core\Model\IpAddressesIpAddressGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\IpAddressesIpAddressGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -120,11 +120,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('ip_address', $data)) { - $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressGetResponse200IpAddress', 'json', $context)); + $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], \KatapultAPI\Core\Model\IpAddressesIpAddressGetResponse200IpAddress::class, 'json', $context)); unset($data['ip_address']); } if (\array_key_exists('allocation', $data) && $data['allocation'] !== null) { - $object->setAllocation($this->denormalizer->denormalize($data['allocation'], 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressGetResponse200Allocation', 'json', $context)); + $object->setAllocation($this->denormalizer->denormalize($data['allocation'], \KatapultAPI\Core\Model\IpAddressesIpAddressGetResponse200Allocation::class, 'json', $context)); unset($data['allocation']); } elseif (\array_key_exists('allocation', $data) && $data['allocation'] === null) { $object->setAllocation(null); @@ -157,7 +157,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\IpAddressesIpAddressGetResponse200' => false]; + return [\KatapultAPI\Core\Model\IpAddressesIpAddressGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/IpAddressesIpAddressPatchBodyNormalizer.php b/src/Core/Normalizer/IpAddressesIpAddressPatchBodyNormalizer.php index 4bbed69c..2aed7bd3 100644 --- a/src/Core/Normalizer/IpAddressesIpAddressPatchBodyNormalizer.php +++ b/src/Core/Normalizer/IpAddressesIpAddressPatchBodyNormalizer.php @@ -31,12 +31,12 @@ class IpAddressesIpAddressPatchBodyNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressPatchBody'; + return $type === \KatapultAPI\Core\Model\IpAddressesIpAddressPatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressPatchBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\IpAddressesIpAddressPatchBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('ip_address', $data)) { - $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], 'KatapultAPI\\Core\\Model\\IPAddressLookup', 'json', $context)); + $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], \KatapultAPI\Core\Model\IPAddressLookup::class, 'json', $context)); unset($data['ip_address']); } if (\array_key_exists('vip', $data)) { @@ -100,7 +100,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\IpAddressesIpAddressPatchBody' => false]; + return [\KatapultAPI\Core\Model\IpAddressesIpAddressPatchBody::class => false]; } } } else { @@ -113,12 +113,12 @@ class IpAddressesIpAddressPatchBodyNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressPatchBody'; + return $type === \KatapultAPI\Core\Model\IpAddressesIpAddressPatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressPatchBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\IpAddressesIpAddressPatchBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -134,7 +134,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('ip_address', $data)) { - $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], 'KatapultAPI\\Core\\Model\\IPAddressLookup', 'json', $context)); + $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], \KatapultAPI\Core\Model\IPAddressLookup::class, 'json', $context)); unset($data['ip_address']); } if (\array_key_exists('vip', $data)) { @@ -185,7 +185,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\IpAddressesIpAddressPatchBody' => false]; + return [\KatapultAPI\Core\Model\IpAddressesIpAddressPatchBody::class => false]; } } } diff --git a/src/Core/Normalizer/IpAddressesIpAddressPatchResponse200IpAddressNormalizer.php b/src/Core/Normalizer/IpAddressesIpAddressPatchResponse200IpAddressNormalizer.php index 809cf1bc..ed80af6c 100644 --- a/src/Core/Normalizer/IpAddressesIpAddressPatchResponse200IpAddressNormalizer.php +++ b/src/Core/Normalizer/IpAddressesIpAddressPatchResponse200IpAddressNormalizer.php @@ -31,12 +31,12 @@ class IpAddressesIpAddressPatchResponse200IpAddressNormalizer implements Denorma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressPatchResponse200IpAddress'; + return $type === \KatapultAPI\Core\Model\IpAddressesIpAddressPatchResponse200IpAddress::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressPatchResponse200IpAddress'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\IpAddressesIpAddressPatchResponse200IpAddress::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -78,7 +78,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['address_with_mask']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'KatapultAPI\\Core\\Model\\Network', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], \KatapultAPI\Core\Model\Network::class, 'json', $context)); unset($data['network']); } if (\array_key_exists('allocation_id', $data) && $data['allocation_id'] !== null) { @@ -143,7 +143,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\IpAddressesIpAddressPatchResponse200IpAddress' => false]; + return [\KatapultAPI\Core\Model\IpAddressesIpAddressPatchResponse200IpAddress::class => false]; } } } else { @@ -156,12 +156,12 @@ class IpAddressesIpAddressPatchResponse200IpAddressNormalizer implements Denorma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressPatchResponse200IpAddress'; + return $type === \KatapultAPI\Core\Model\IpAddressesIpAddressPatchResponse200IpAddress::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressPatchResponse200IpAddress'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\IpAddressesIpAddressPatchResponse200IpAddress::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -203,7 +203,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['address_with_mask']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'KatapultAPI\\Core\\Model\\Network', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], \KatapultAPI\Core\Model\Network::class, 'json', $context)); unset($data['network']); } if (\array_key_exists('allocation_id', $data) && $data['allocation_id'] !== null) { @@ -271,7 +271,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\IpAddressesIpAddressPatchResponse200IpAddress' => false]; + return [\KatapultAPI\Core\Model\IpAddressesIpAddressPatchResponse200IpAddress::class => false]; } } } diff --git a/src/Core/Normalizer/IpAddressesIpAddressPatchResponse200Normalizer.php b/src/Core/Normalizer/IpAddressesIpAddressPatchResponse200Normalizer.php index f4783867..ace8a8d5 100644 --- a/src/Core/Normalizer/IpAddressesIpAddressPatchResponse200Normalizer.php +++ b/src/Core/Normalizer/IpAddressesIpAddressPatchResponse200Normalizer.php @@ -31,12 +31,12 @@ class IpAddressesIpAddressPatchResponse200Normalizer implements DenormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressPatchResponse200'; + return $type === \KatapultAPI\Core\Model\IpAddressesIpAddressPatchResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressPatchResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\IpAddressesIpAddressPatchResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('ip_address', $data)) { - $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressPatchResponse200IpAddress', 'json', $context)); + $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], \KatapultAPI\Core\Model\IpAddressesIpAddressPatchResponse200IpAddress::class, 'json', $context)); unset($data['ip_address']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\IpAddressesIpAddressPatchResponse200' => false]; + return [\KatapultAPI\Core\Model\IpAddressesIpAddressPatchResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class IpAddressesIpAddressPatchResponse200Normalizer implements DenormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressPatchResponse200'; + return $type === \KatapultAPI\Core\Model\IpAddressesIpAddressPatchResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressPatchResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\IpAddressesIpAddressPatchResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('ip_address', $data)) { - $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressPatchResponse200IpAddress', 'json', $context)); + $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], \KatapultAPI\Core\Model\IpAddressesIpAddressPatchResponse200IpAddress::class, 'json', $context)); unset($data['ip_address']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\IpAddressesIpAddressPatchResponse200' => false]; + return [\KatapultAPI\Core\Model\IpAddressesIpAddressPatchResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/IpAddressesIpAddressUnallocatePostBodyNormalizer.php b/src/Core/Normalizer/IpAddressesIpAddressUnallocatePostBodyNormalizer.php index e43d66a3..0f846a95 100644 --- a/src/Core/Normalizer/IpAddressesIpAddressUnallocatePostBodyNormalizer.php +++ b/src/Core/Normalizer/IpAddressesIpAddressUnallocatePostBodyNormalizer.php @@ -31,12 +31,12 @@ class IpAddressesIpAddressUnallocatePostBodyNormalizer implements DenormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressUnallocatePostBody'; + return $type === \KatapultAPI\Core\Model\IpAddressesIpAddressUnallocatePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressUnallocatePostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\IpAddressesIpAddressUnallocatePostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('ip_address', $data)) { - $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], 'KatapultAPI\\Core\\Model\\IPAddressLookup', 'json', $context)); + $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], \KatapultAPI\Core\Model\IPAddressLookup::class, 'json', $context)); unset($data['ip_address']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\IpAddressesIpAddressUnallocatePostBody' => false]; + return [\KatapultAPI\Core\Model\IpAddressesIpAddressUnallocatePostBody::class => false]; } } } else { @@ -92,12 +92,12 @@ class IpAddressesIpAddressUnallocatePostBodyNormalizer implements DenormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressUnallocatePostBody'; + return $type === \KatapultAPI\Core\Model\IpAddressesIpAddressUnallocatePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressUnallocatePostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\IpAddressesIpAddressUnallocatePostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('ip_address', $data)) { - $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], 'KatapultAPI\\Core\\Model\\IPAddressLookup', 'json', $context)); + $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], \KatapultAPI\Core\Model\IPAddressLookup::class, 'json', $context)); unset($data['ip_address']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\IpAddressesIpAddressUnallocatePostBody' => false]; + return [\KatapultAPI\Core\Model\IpAddressesIpAddressUnallocatePostBody::class => false]; } } } diff --git a/src/Core/Normalizer/IpAddressesIpAddressUnallocatePostResponse200Normalizer.php b/src/Core/Normalizer/IpAddressesIpAddressUnallocatePostResponse200Normalizer.php index ac82027d..9b9e60e9 100644 --- a/src/Core/Normalizer/IpAddressesIpAddressUnallocatePostResponse200Normalizer.php +++ b/src/Core/Normalizer/IpAddressesIpAddressUnallocatePostResponse200Normalizer.php @@ -31,12 +31,12 @@ class IpAddressesIpAddressUnallocatePostResponse200Normalizer implements Denorma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressUnallocatePostResponse200'; + return $type === \KatapultAPI\Core\Model\IpAddressesIpAddressUnallocatePostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressUnallocatePostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\IpAddressesIpAddressUnallocatePostResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -74,7 +74,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\IpAddressesIpAddressUnallocatePostResponse200' => false]; + return [\KatapultAPI\Core\Model\IpAddressesIpAddressUnallocatePostResponse200::class => false]; } } } else { @@ -87,12 +87,12 @@ class IpAddressesIpAddressUnallocatePostResponse200Normalizer implements Denorma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressUnallocatePostResponse200'; + return $type === \KatapultAPI\Core\Model\IpAddressesIpAddressUnallocatePostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressUnallocatePostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\IpAddressesIpAddressUnallocatePostResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -133,7 +133,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\IpAddressesIpAddressUnallocatePostResponse200' => false]; + return [\KatapultAPI\Core\Model\IpAddressesIpAddressUnallocatePostResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/JaneObjectNormalizer.php b/src/Core/Normalizer/JaneObjectNormalizer.php index bc901f01..acd7744b 100644 --- a/src/Core/Normalizer/JaneObjectNormalizer.php +++ b/src/Core/Normalizer/JaneObjectNormalizer.php @@ -28,1739 +28,4252 @@ class JaneObjectNormalizer implements DenormalizerInterface, NormalizerInterface use CheckArray; use ValidatorTrait; protected $normalizers = [ - 'KatapultAPI\\Core\\Model\\GetDataCenters200ResponseDataCenters' => 'KatapultAPI\\Core\\Normalizer\\GetDataCenters200ResponseDataCentersNormalizer', - 'KatapultAPI\\Core\\Model\\GetDataCentersPartCountry' => 'KatapultAPI\\Core\\Normalizer\\GetDataCentersPartCountryNormalizer', - 'KatapultAPI\\Core\\Model\\UnauthorizedNetworkForAPIToken' => 'KatapultAPI\\Core\\Normalizer\\UnauthorizedNetworkForAPITokenNormalizer', - 'KatapultAPI\\Core\\Model\\UnauthorizedNetworkForAPITokenSchema' => 'KatapultAPI\\Core\\Normalizer\\UnauthorizedNetworkForAPITokenSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\InvalidAPIToken' => 'KatapultAPI\\Core\\Normalizer\\InvalidAPITokenNormalizer', - 'KatapultAPI\\Core\\Model\\InvalidAPITokenSchema' => 'KatapultAPI\\Core\\Normalizer\\InvalidAPITokenSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\InvalidCapabilitiesTokenSchema' => 'KatapultAPI\\Core\\Normalizer\\InvalidCapabilitiesTokenSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\ScopeNotGrantedError' => 'KatapultAPI\\Core\\Normalizer\\ScopeNotGrantedErrorNormalizer', - 'KatapultAPI\\Core\\Model\\ScopeNotGrantedErrorSchema' => 'KatapultAPI\\Core\\Normalizer\\ScopeNotGrantedErrorSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\RateLimitReached' => 'KatapultAPI\\Core\\Normalizer\\RateLimitReachedNormalizer', - 'KatapultAPI\\Core\\Model\\GetDataCenter200ResponseDataCenter' => 'KatapultAPI\\Core\\Normalizer\\GetDataCenter200ResponseDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\GetDataCenterPartCountry' => 'KatapultAPI\\Core\\Normalizer\\GetDataCenterPartCountryNormalizer', - 'KatapultAPI\\Core\\Model\\GetDataCenterDefaultNetwork200ResponseNetwork' => 'KatapultAPI\\Core\\Normalizer\\GetDataCenterDefaultNetwork200ResponseNetworkNormalizer', - 'KatapultAPI\\Core\\Model\\GetDataCenterDefaultNetworkPartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\GetDataCenterDefaultNetworkPartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizations200ResponseOrganizations' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizations200ResponseOrganizationsNormalizer', - 'KatapultAPI\\Core\\Model\\Organization' => 'KatapultAPI\\Core\\Normalizer\\OrganizationNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationCountry' => 'KatapultAPI\\Core\\Normalizer\\OrganizationCountryNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationCountryState' => 'KatapultAPI\\Core\\Normalizer\\OrganizationCountryStateNormalizer', - 'KatapultAPI\\Core\\Model\\Currency' => 'KatapultAPI\\Core\\Normalizer\\CurrencyNormalizer', - 'KatapultAPI\\Core\\Model\\Country' => 'KatapultAPI\\Core\\Normalizer\\CountryNormalizer', - 'KatapultAPI\\Core\\Model\\CountryState' => 'KatapultAPI\\Core\\Normalizer\\CountryStateNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationSuspendedSchema' => 'KatapultAPI\\Core\\Normalizer\\OrganizationSuspendedSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationNotActivatedSchema' => 'KatapultAPI\\Core\\Normalizer\\OrganizationNotActivatedSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\PolicyLimits' => 'KatapultAPI\\Core\\Normalizer\\PolicyLimitsNormalizer', - 'KatapultAPI\\Core\\Model\\FinancialPolicyLimit' => 'KatapultAPI\\Core\\Normalizer\\FinancialPolicyLimitNormalizer', - 'KatapultAPI\\Core\\Model\\PolicyLimit' => 'KatapultAPI\\Core\\Normalizer\\PolicyLimitNormalizer', - 'KatapultAPI\\Core\\Model\\PolicyLimitWithoutCurrent' => 'KatapultAPI\\Core\\Normalizer\\PolicyLimitWithoutCurrentNormalizer', - 'KatapultAPI\\Core\\Model\\PolicyFeatures' => 'KatapultAPI\\Core\\Normalizer\\PolicyFeaturesNormalizer', - 'KatapultAPI\\Core\\Model\\PolicyFeature' => 'KatapultAPI\\Core\\Normalizer\\PolicyFeatureNormalizer', - 'KatapultAPI\\Core\\Model\\APIAuthenticator400Schema' => 'KatapultAPI\\Core\\Normalizer\\APIAuthenticator400SchemaNormalizer', - 'KatapultAPI\\Core\\Model\\PolicyNotAvailableForManagedOrganizationsSchema' => 'KatapultAPI\\Core\\Normalizer\\PolicyNotAvailableForManagedOrganizationsSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationPolicy' => 'KatapultAPI\\Core\\Normalizer\\OrganizationPolicyNormalizer', - 'KatapultAPI\\Core\\Model\\DecimalOrUnlimited' => 'KatapultAPI\\Core\\Normalizer\\DecimalOrUnlimitedNormalizer', - 'KatapultAPI\\Core\\Model\\IntegerOrUnlimited' => 'KatapultAPI\\Core\\Normalizer\\IntegerOrUnlimitedNormalizer', - 'KatapultAPI\\Core\\Model\\IntegerValue' => 'KatapultAPI\\Core\\Normalizer\\IntegerValueNormalizer', - 'KatapultAPI\\Core\\Model\\PriceResourceWithSinglePriceVariant' => 'KatapultAPI\\Core\\Normalizer\\PriceResourceWithSinglePriceVariantNormalizer', - 'KatapultAPI\\Core\\Model\\SinglePriceVariant' => 'KatapultAPI\\Core\\Normalizer\\SinglePriceVariantNormalizer', - 'KatapultAPI\\Core\\Model\\PricesNotAvailableForManagedOrganizationsSchema' => 'KatapultAPI\\Core\\Normalizer\\PricesNotAvailableForManagedOrganizationsSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\PaginationObject' => 'KatapultAPI\\Core\\Normalizer\\PaginationObjectNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationUsersWithAccess200ResponseUsers' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationUsersWithAccess200ResponseUsersNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationUsersWithAccess200ResponseUsersUser' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationUsersWithAccess200ResponseUsersUserNormalizer', - 'KatapultAPI\\Core\\Model\\User' => 'KatapultAPI\\Core\\Normalizer\\UserNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationManaged200ResponseOrganizations' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationManaged200ResponseOrganizationsNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationLookup' => 'KatapultAPI\\Core\\Normalizer\\OrganizationLookupNormalizer', - 'KatapultAPI\\Core\\Model\\KeyValue' => 'KatapultAPI\\Core\\Normalizer\\KeyValueNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationLimitReachedSchema' => 'KatapultAPI\\Core\\Normalizer\\OrganizationLimitReachedSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\ValidationError' => 'KatapultAPI\\Core\\Normalizer\\ValidationErrorNormalizer', - 'KatapultAPI\\Core\\Model\\ValidationErrorSchema' => 'KatapultAPI\\Core\\Normalizer\\ValidationErrorSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationDisks200ResponseDisk' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationDisks200ResponseDiskNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationDisks200ResponseDiskVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationDisks200ResponseDiskVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationDisksPartVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationDisksPartVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationDisksPartVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationDisksPartVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\DiskArguments' => 'KatapultAPI\\Core\\Normalizer\\DiskArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\DataCenterLookup' => 'KatapultAPI\\Core\\Normalizer\\DataCenterLookupNormalizer', - 'KatapultAPI\\Core\\Model\\DiskIOProfileLookup' => 'KatapultAPI\\Core\\Normalizer\\DiskIOProfileLookupNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineDiskArguments' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineDiskArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineLookup' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineLookupNormalizer', - 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDisk' => 'KatapultAPI\\Core\\Normalizer\\PostOrganizationDisks201ResponseDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskIoProfile' => 'KatapultAPI\\Core\\Normalizer\\PostOrganizationDisks201ResponseDiskIoProfileNormalizer', - 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\PostOrganizationDisks201ResponseDiskVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskInstallation' => 'KatapultAPI\\Core\\Normalizer\\PostOrganizationDisks201ResponseDiskInstallationNormalizer', - 'KatapultAPI\\Core\\Model\\DiskIOProfile' => 'KatapultAPI\\Core\\Normalizer\\DiskIOProfileNormalizer', - 'KatapultAPI\\Core\\Model\\PostOrganizationDisksPartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\PostOrganizationDisksPartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\PostOrganizationDisksPartVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\PostOrganizationDisksPartVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PostOrganizationDisksPartVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\PostOrganizationDisksPartVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\DiskInstallation' => 'KatapultAPI\\Core\\Normalizer\\DiskInstallationNormalizer', - 'KatapultAPI\\Core\\Model\\DiskTemplateVersion' => 'KatapultAPI\\Core\\Normalizer\\DiskTemplateVersionNormalizer', - 'KatapultAPI\\Core\\Model\\DiskTemplate' => 'KatapultAPI\\Core\\Normalizer\\DiskTemplateNormalizer', - 'KatapultAPI\\Core\\Model\\DiskTemplateLatestVersion' => 'KatapultAPI\\Core\\Normalizer\\DiskTemplateLatestVersionNormalizer', - 'KatapultAPI\\Core\\Model\\DiskTemplateOperatingSystem' => 'KatapultAPI\\Core\\Normalizer\\DiskTemplateOperatingSystemNormalizer', - 'KatapultAPI\\Core\\Model\\OperatingSystem' => 'KatapultAPI\\Core\\Normalizer\\OperatingSystemNormalizer', - 'KatapultAPI\\Core\\Model\\OperatingSystemBadge' => 'KatapultAPI\\Core\\Normalizer\\OperatingSystemBadgeNormalizer', - 'KatapultAPI\\Core\\Model\\Attachment' => 'KatapultAPI\\Core\\Normalizer\\AttachmentNormalizer', - 'KatapultAPI\\Core\\Model\\DiskInstallationAttribute' => 'KatapultAPI\\Core\\Normalizer\\DiskInstallationAttributeNormalizer', - 'KatapultAPI\\Core\\Model\\Task' => 'KatapultAPI\\Core\\Normalizer\\TaskNormalizer', - 'KatapultAPI\\Core\\Model\\PermissionDenied' => 'KatapultAPI\\Core\\Normalizer\\PermissionDeniedNormalizer', - 'KatapultAPI\\Core\\Model\\PermissionDeniedSchema' => 'KatapultAPI\\Core\\Normalizer\\PermissionDeniedSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\TaskQueueingError' => 'KatapultAPI\\Core\\Normalizer\\TaskQueueingErrorNormalizer', - 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDisk' => 'KatapultAPI\\Core\\Normalizer\\GetDisk200ResponseDiskNormalizer', - 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskIoProfile' => 'KatapultAPI\\Core\\Normalizer\\GetDisk200ResponseDiskIoProfileNormalizer', - 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\GetDisk200ResponseDiskVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskInstallation' => 'KatapultAPI\\Core\\Normalizer\\GetDisk200ResponseDiskInstallationNormalizer', - 'KatapultAPI\\Core\\Model\\GetDiskPartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\GetDiskPartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\GetDiskPartVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\GetDiskPartVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\GetDiskPartVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\GetDiskPartVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\ObjectInTrash' => 'KatapultAPI\\Core\\Normalizer\\ObjectInTrashNormalizer', - 'KatapultAPI\\Core\\Model\\ObjectInTrashTrashObject' => 'KatapultAPI\\Core\\Normalizer\\ObjectInTrashTrashObjectNormalizer', - 'KatapultAPI\\Core\\Model\\TrashObject' => 'KatapultAPI\\Core\\Normalizer\\TrashObjectNormalizer', - 'KatapultAPI\\Core\\Model\\DiskLookup' => 'KatapultAPI\\Core\\Normalizer\\DiskLookupNormalizer', - 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDisk' => 'KatapultAPI\\Core\\Normalizer\\PatchDisk200ResponseDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskIoProfile' => 'KatapultAPI\\Core\\Normalizer\\PatchDisk200ResponseDiskIoProfileNormalizer', - 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\PatchDisk200ResponseDiskVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskInstallation' => 'KatapultAPI\\Core\\Normalizer\\PatchDisk200ResponseDiskInstallationNormalizer', - 'KatapultAPI\\Core\\Model\\PatchDiskPartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\PatchDiskPartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\PatchDiskPartVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\PatchDiskPartVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PatchDiskPartVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\PatchDiskPartVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\UnassignedDiskSchema' => 'KatapultAPI\\Core\\Normalizer\\UnassignedDiskSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDisk' => 'KatapultAPI\\Core\\Normalizer\\DeleteDisk200ResponseDiskNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskIoProfile' => 'KatapultAPI\\Core\\Normalizer\\DeleteDisk200ResponseDiskIoProfileNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\DeleteDisk200ResponseDiskVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskInstallation' => 'KatapultAPI\\Core\\Normalizer\\DeleteDisk200ResponseDiskInstallationNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteDiskPartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\DeleteDiskPartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteDiskPartVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\DeleteDiskPartVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteDiskPartVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\DeleteDiskPartVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDisk' => 'KatapultAPI\\Core\\Normalizer\\PostDiskAssign200ResponseDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskIoProfile' => 'KatapultAPI\\Core\\Normalizer\\PostDiskAssign200ResponseDiskIoProfileNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\PostDiskAssign200ResponseDiskVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskInstallation' => 'KatapultAPI\\Core\\Normalizer\\PostDiskAssign200ResponseDiskInstallationNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskAssignPartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\PostDiskAssignPartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskAssignPartVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\PostDiskAssignPartVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskAssignPartVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\PostDiskAssignPartVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\DiskNotFoundSchema' => 'KatapultAPI\\Core\\Normalizer\\DiskNotFoundSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineNotFoundSchema' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineNotFoundSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\UnableToAssign' => 'KatapultAPI\\Core\\Normalizer\\UnableToAssignNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDisk' => 'KatapultAPI\\Core\\Normalizer\\PostDiskUnassign200ResponseDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskIoProfile' => 'KatapultAPI\\Core\\Normalizer\\PostDiskUnassign200ResponseDiskIoProfileNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\PostDiskUnassign200ResponseDiskVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskInstallation' => 'KatapultAPI\\Core\\Normalizer\\PostDiskUnassign200ResponseDiskInstallationNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskUnassignPartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\PostDiskUnassignPartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskUnassignPartVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\PostDiskUnassignPartVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskUnassignPartVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\PostDiskUnassignPartVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\UnableToUnassign' => 'KatapultAPI\\Core\\Normalizer\\UnableToUnassignNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDisk' => 'KatapultAPI\\Core\\Normalizer\\PostDiskAttach200ResponseDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskIoProfile' => 'KatapultAPI\\Core\\Normalizer\\PostDiskAttach200ResponseDiskIoProfileNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\PostDiskAttach200ResponseDiskVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskInstallation' => 'KatapultAPI\\Core\\Normalizer\\PostDiskAttach200ResponseDiskInstallationNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskAttachPartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\PostDiskAttachPartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskAttachPartVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\PostDiskAttachPartVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskAttachPartVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\PostDiskAttachPartVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\ObjectInTrashSchema' => 'KatapultAPI\\Core\\Normalizer\\ObjectInTrashSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\TaskQueueingErrorSchema' => 'KatapultAPI\\Core\\Normalizer\\TaskQueueingErrorSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDisk' => 'KatapultAPI\\Core\\Normalizer\\PostDiskDetach200ResponseDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskIoProfile' => 'KatapultAPI\\Core\\Normalizer\\PostDiskDetach200ResponseDiskIoProfileNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\PostDiskDetach200ResponseDiskVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskInstallation' => 'KatapultAPI\\Core\\Normalizer\\PostDiskDetach200ResponseDiskInstallationNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskDetachPartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\PostDiskDetachPartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskDetachPartVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\PostDiskDetachPartVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskDetachPartVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\PostDiskDetachPartVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDisk' => 'KatapultAPI\\Core\\Normalizer\\PutDiskResize200ResponseDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskIoProfile' => 'KatapultAPI\\Core\\Normalizer\\PutDiskResize200ResponseDiskIoProfileNormalizer', - 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\PutDiskResize200ResponseDiskVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskInstallation' => 'KatapultAPI\\Core\\Normalizer\\PutDiskResize200ResponseDiskInstallationNormalizer', - 'KatapultAPI\\Core\\Model\\PutDiskResizePartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\PutDiskResizePartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\PutDiskResizePartVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\PutDiskResizePartVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PutDiskResizePartVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\PutDiskResizePartVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDisk' => 'KatapultAPI\\Core\\Normalizer\\PutDiskIOProfile200ResponseDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskIoProfile' => 'KatapultAPI\\Core\\Normalizer\\PutDiskIOProfile200ResponseDiskIoProfileNormalizer', - 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\PutDiskIOProfile200ResponseDiskVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskInstallation' => 'KatapultAPI\\Core\\Normalizer\\PutDiskIOProfile200ResponseDiskInstallationNormalizer', - 'KatapultAPI\\Core\\Model\\PutDiskIOProfilePartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\PutDiskIOProfilePartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\PutDiskIOProfilePartVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\PutDiskIOProfilePartVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PutDiskIOProfilePartVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\PutDiskIOProfilePartVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\DiskIOProfileNotFoundSchema' => 'KatapultAPI\\Core\\Normalizer\\DiskIOProfileNotFoundSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachineDisks200ResponseDisks' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachineDisks200ResponseDisksNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachineDisksPartDisk' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachineDisksPartDiskNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplates' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationDiskTemplates200ResponseDiskTemplatesNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersion' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersionNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystem' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystemNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplatesPartLatestVersion' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationDiskTemplatesPartLatestVersionNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplatesPartOperatingSystem' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationDiskTemplatesPartOperatingSystemNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationNotFoundSchema' => 'KatapultAPI\\Core\\Normalizer\\OrganizationNotFoundSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\OperatingSystemNotFoundSchema' => 'KatapultAPI\\Core\\Normalizer\\OperatingSystemNotFoundSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplate' => 'KatapultAPI\\Core\\Normalizer\\GetDiskTemplate200ResponseDiskTemplateNormalizer', - 'KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplateLatestVersion' => 'KatapultAPI\\Core\\Normalizer\\GetDiskTemplate200ResponseDiskTemplateLatestVersionNormalizer', - 'KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplateOperatingSystem' => 'KatapultAPI\\Core\\Normalizer\\GetDiskTemplate200ResponseDiskTemplateOperatingSystemNormalizer', - 'KatapultAPI\\Core\\Model\\GetDiskTemplatePartLatestVersion' => 'KatapultAPI\\Core\\Normalizer\\GetDiskTemplatePartLatestVersionNormalizer', - 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersions200ResponseDiskTemplate' => 'KatapultAPI\\Core\\Normalizer\\GetDiskTemplateVersions200ResponseDiskTemplateNormalizer', - 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersions200ResponseDiskTemplateVersions' => 'KatapultAPI\\Core\\Normalizer\\GetDiskTemplateVersions200ResponseDiskTemplateVersionsNormalizer', - 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersion200ResponseDiskTemplateVersion' => 'KatapultAPI\\Core\\Normalizer\\GetDiskTemplateVersion200ResponseDiskTemplateVersionNormalizer', - 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersionPartDiskTemplate' => 'KatapultAPI\\Core\\Normalizer\\GetDiskTemplateVersionPartDiskTemplateNormalizer', - 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersionSpec200ResponseDiskTemplateVersion' => 'KatapultAPI\\Core\\Normalizer\\GetDiskTemplateVersionSpec200ResponseDiskTemplateVersionNormalizer', - 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersionSpecPartDiskTemplate' => 'KatapultAPI\\Core\\Normalizer\\GetDiskTemplateVersionSpecPartDiskTemplateNormalizer', - 'KatapultAPI\\Core\\Model\\TemplateSpec' => 'KatapultAPI\\Core\\Normalizer\\TemplateSpecNormalizer', - 'KatapultAPI\\Core\\Model\\TemplateSpecField' => 'KatapultAPI\\Core\\Normalizer\\TemplateSpecFieldNormalizer', - 'KatapultAPI\\Core\\Model\\GetGPUTypes200ResponseGPUTypes' => 'KatapultAPI\\Core\\Normalizer\\GetGPUTypes200ResponseGPUTypesNormalizer', - 'KatapultAPI\\Core\\Model\\GetGPUTypes200ResponseGPUTypesDataCentersItem' => 'KatapultAPI\\Core\\Normalizer\\GetGPUTypes200ResponseGPUTypesDataCentersItemNormalizer', - 'KatapultAPI\\Core\\Model\\GetGPUTypesPartDataCenters' => 'KatapultAPI\\Core\\Normalizer\\GetGPUTypesPartDataCentersNormalizer', - 'KatapultAPI\\Core\\Model\\GetGPUType200ResponseGPUType' => 'KatapultAPI\\Core\\Normalizer\\GetGPUType200ResponseGPUTypeNormalizer', - 'KatapultAPI\\Core\\Model\\GetGPUType200ResponseGPUTypeDataCentersItem' => 'KatapultAPI\\Core\\Normalizer\\GetGPUType200ResponseGPUTypeDataCentersItemNormalizer', - 'KatapultAPI\\Core\\Model\\GetGPUTypePartDataCenters' => 'KatapultAPI\\Core\\Normalizer\\GetGPUTypePartDataCentersNormalizer', - 'KatapultAPI\\Core\\Model\\GetDataCenterGPUTypes200ResponseGPUTypes' => 'KatapultAPI\\Core\\Normalizer\\GetDataCenterGPUTypes200ResponseGPUTypesNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachines' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationVirtualMachines200ResponseVirtualMachinesNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesPackage' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationVirtualMachines200ResponseVirtualMachinesPackageNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuType' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuTypeNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesHypervisor' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationVirtualMachines200ResponseVirtualMachinesHypervisorNormalizer', - 'KatapultAPI\\Core\\Model\\Zone' => 'KatapultAPI\\Core\\Normalizer\\ZoneNormalizer', - 'KatapultAPI\\Core\\Model\\DataCenter' => 'KatapultAPI\\Core\\Normalizer\\DataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartPackage' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationVirtualMachinesPartPackageNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartGPUType' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationVirtualMachinesPartGPUTypeNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartIPAddresses' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationVirtualMachinesPartIPAddressesNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartHypervisor' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationVirtualMachinesPartHypervisorNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachine200ResponseVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineGroup' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachine200ResponseVirtualMachineGroupNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachinePackage' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachine200ResponseVirtualMachinePackageNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineAttachedIso' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineGpuType' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineHypervisor' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachine200ResponseVirtualMachineHypervisorNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineGroup' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineGroupNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinePackage' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinePackageNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinePackageIcon' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinePackageIconNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinePackageGroup' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinePackageGroupNormalizer', - 'KatapultAPI\\Core\\Model\\ISO' => 'KatapultAPI\\Core\\Normalizer\\ISONormalizer', - 'KatapultAPI\\Core\\Model\\ISOOperatingSystem' => 'KatapultAPI\\Core\\Normalizer\\ISOOperatingSystemNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachinePartGPUType' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachinePartGPUTypeNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineGPU' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineGPUNormalizer', - 'KatapultAPI\\Core\\Model\\GPUType' => 'KatapultAPI\\Core\\Normalizer\\GPUTypeNormalizer', - 'KatapultAPI\\Core\\Model\\GPUTypeDataCentersItem' => 'KatapultAPI\\Core\\Normalizer\\GPUTypeDataCentersItemNormalizer', - 'KatapultAPI\\Core\\Model\\Tag' => 'KatapultAPI\\Core\\Normalizer\\TagNormalizer', - 'KatapultAPI\\Core\\Model\\IPAddress' => 'KatapultAPI\\Core\\Normalizer\\IPAddressNormalizer', - 'KatapultAPI\\Core\\Model\\Network' => 'KatapultAPI\\Core\\Normalizer\\NetworkNormalizer', - 'KatapultAPI\\Core\\Model\\Hypervisor' => 'KatapultAPI\\Core\\Normalizer\\HypervisorNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineArguments' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\GPUTypeLookup' => 'KatapultAPI\\Core\\Normalizer\\GPUTypeLookupNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineGroupLookup' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineGroupLookupNormalizer', - 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\PatchVirtualMachine200ResponseVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineGroup' => 'KatapultAPI\\Core\\Normalizer\\PatchVirtualMachine200ResponseVirtualMachineGroupNormalizer', - 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachinePackage' => 'KatapultAPI\\Core\\Normalizer\\PatchVirtualMachine200ResponseVirtualMachinePackageNormalizer', - 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineAttachedIso' => 'KatapultAPI\\Core\\Normalizer\\PatchVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer', - 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineGpuType' => 'KatapultAPI\\Core\\Normalizer\\PatchVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer', - 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineHypervisor' => 'KatapultAPI\\Core\\Normalizer\\PatchVirtualMachine200ResponseVirtualMachineHypervisorNormalizer', - 'KatapultAPI\\Core\\Model\\PatchVirtualMachinePartGPUType' => 'KatapultAPI\\Core\\Normalizer\\PatchVirtualMachinePartGPUTypeNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\DeleteVirtualMachine200ResponseVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGroup' => 'KatapultAPI\\Core\\Normalizer\\DeleteVirtualMachine200ResponseVirtualMachineGroupNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachinePackage' => 'KatapultAPI\\Core\\Normalizer\\DeleteVirtualMachine200ResponseVirtualMachinePackageNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineAttachedIso' => 'KatapultAPI\\Core\\Normalizer\\DeleteVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGpuType' => 'KatapultAPI\\Core\\Normalizer\\DeleteVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineHypervisor' => 'KatapultAPI\\Core\\Normalizer\\DeleteVirtualMachine200ResponseVirtualMachineHypervisorNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteVirtualMachinePartGPUType' => 'KatapultAPI\\Core\\Normalizer\\DeleteVirtualMachinePartGPUTypeNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinePackageLookup' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinePackageLookupNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinePackageNotFoundSchema' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinePackageNotFoundSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineFlexibleResources' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineFlexibleResourcesNormalizer', - 'KatapultAPI\\Core\\Model\\FlexibleResourcesUnavailableToOrganizationSchema' => 'KatapultAPI\\Core\\Normalizer\\FlexibleResourcesUnavailableToOrganizationSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\IPAddressLookup' => 'KatapultAPI\\Core\\Normalizer\\IPAddressLookupNormalizer', - 'KatapultAPI\\Core\\Model\\IPAddressNotFoundSchema' => 'KatapultAPI\\Core\\Normalizer\\IPAddressNotFoundSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\NoInterfaceAvailableSchema' => 'KatapultAPI\\Core\\Normalizer\\NoInterfaceAvailableSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\IPAlreadyAllocatedSchema' => 'KatapultAPI\\Core\\Normalizer\\IPAlreadyAllocatedSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\ZoneLookup' => 'KatapultAPI\\Core\\Normalizer\\ZoneLookupNormalizer', - 'KatapultAPI\\Core\\Model\\DiskTemplateLookup' => 'KatapultAPI\\Core\\Normalizer\\DiskTemplateLookupNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineBuildDiskArguments' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineBuildDiskArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\NetworkLookup' => 'KatapultAPI\\Core\\Normalizer\\NetworkLookupNormalizer', - 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuild201ResponseTask' => 'KatapultAPI\\Core\\Normalizer\\PostOrganizationVirtualMachinesBuild201ResponseTaskNormalizer', - 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuild201ResponseBuild' => 'KatapultAPI\\Core\\Normalizer\\PostOrganizationVirtualMachinesBuild201ResponseBuildNormalizer', - 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuild' => 'KatapultAPI\\Core\\Normalizer\\PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuildNormalizer', - 'KatapultAPI\\Core\\Model\\ResourceCreationRestricted' => 'KatapultAPI\\Core\\Normalizer\\ResourceCreationRestrictedNormalizer', - 'KatapultAPI\\Core\\Model\\ResourceCreationRestrictedSchema' => 'KatapultAPI\\Core\\Normalizer\\ResourceCreationRestrictedSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\ZoneNotFoundSchema' => 'KatapultAPI\\Core\\Normalizer\\ZoneNotFoundSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\DataCenterNotFoundSchema' => 'KatapultAPI\\Core\\Normalizer\\DataCenterNotFoundSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\DiskTemplateNotFoundSchema' => 'KatapultAPI\\Core\\Normalizer\\DiskTemplateNotFoundSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\NetworkNotFoundSchema' => 'KatapultAPI\\Core\\Normalizer\\NetworkNotFoundSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\LocationRequiredSchema' => 'KatapultAPI\\Core\\Normalizer\\LocationRequiredSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\OneSystemDiskRequiredSchema' => 'KatapultAPI\\Core\\Normalizer\\OneSystemDiskRequiredSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseTask' => 'KatapultAPI\\Core\\Normalizer\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseTaskNormalizer', - 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseBuild' => 'KatapultAPI\\Core\\Normalizer\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseBuildNormalizer', - 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuild' => 'KatapultAPI\\Core\\Normalizer\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuildNormalizer', - 'KatapultAPI\\Core\\Model\\InvalidSpecXML' => 'KatapultAPI\\Core\\Normalizer\\InvalidSpecXMLNormalizer', - 'KatapultAPI\\Core\\Model\\InvalidSpecXMLSchema' => 'KatapultAPI\\Core\\Normalizer\\InvalidSpecXMLSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuild' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\PostVirtualMachineStart200ResponseTask' => 'KatapultAPI\\Core\\Normalizer\\PostVirtualMachineStart200ResponseTaskNormalizer', - 'KatapultAPI\\Core\\Model\\PostVirtualMachineStop200ResponseTask' => 'KatapultAPI\\Core\\Normalizer\\PostVirtualMachineStop200ResponseTaskNormalizer', - 'KatapultAPI\\Core\\Model\\PostVirtualMachineShutdown200ResponseTask' => 'KatapultAPI\\Core\\Normalizer\\PostVirtualMachineShutdown200ResponseTaskNormalizer', - 'KatapultAPI\\Core\\Model\\PostVirtualMachineReset200ResponseTask' => 'KatapultAPI\\Core\\Normalizer\\PostVirtualMachineReset200ResponseTaskNormalizer', - 'KatapultAPI\\Core\\Model\\PostVirtualMachineConsoleSessions201ResponseConsoleSession' => 'KatapultAPI\\Core\\Normalizer\\PostVirtualMachineConsoleSessions201ResponseConsoleSessionNormalizer', - 'KatapultAPI\\Core\\Model\\PostVirtualMachineConsoleSessionsPartVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\PostVirtualMachineConsoleSessionsPartVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineMustBeStarted' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineMustBeStartedNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineMustBeStartedSchema' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineMustBeStartedSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\AuthSSHKey' => 'KatapultAPI\\Core\\Normalizer\\AuthSSHKeyNormalizer', - 'KatapultAPI\\Core\\Model\\AuthSSHKeyProperties' => 'KatapultAPI\\Core\\Normalizer\\AuthSSHKeyPropertiesNormalizer', - 'KatapultAPI\\Core\\Model\\AuthSSHKeyLookup' => 'KatapultAPI\\Core\\Normalizer\\AuthSSHKeyLookupNormalizer', - 'KatapultAPI\\Core\\Model\\DeletionRestricted' => 'KatapultAPI\\Core\\Normalizer\\DeletionRestrictedNormalizer', - 'KatapultAPI\\Core\\Model\\APIToken' => 'KatapultAPI\\Core\\Normalizer\\APITokenNormalizer', - 'KatapultAPI\\Core\\Model\\APITokenArguments' => 'KatapultAPI\\Core\\Normalizer\\APITokenArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\APITokenLookup' => 'KatapultAPI\\Core\\Normalizer\\APITokenLookupNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteAPIToken200ResponseAPIToken' => 'KatapultAPI\\Core\\Normalizer\\DeleteAPIToken200ResponseAPITokenNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPolicies' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer', - 'KatapultAPI\\Core\\Model\\DiskBackupPolicyTarget' => 'KatapultAPI\\Core\\Normalizer\\DiskBackupPolicyTargetNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineAttachedIso' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineAttachedIsoNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineGpuType' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineGpuTypeNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineHypervisor' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineHypervisorNormalizer', - 'KatapultAPI\\Core\\Model\\Disk' => 'KatapultAPI\\Core\\Normalizer\\DiskNormalizer', - 'KatapultAPI\\Core\\Model\\DiskIoProfile' => 'KatapultAPI\\Core\\Normalizer\\DiskIoProfileNormalizer', - 'KatapultAPI\\Core\\Model\\DiskVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\DiskVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationDiskBackupPoliciesPartSchedule' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationDiskBackupPoliciesPartScheduleNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicies' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachineDiskBackupPoliciesPartSchedule' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachineDiskBackupPoliciesPartScheduleNormalizer', - 'KatapultAPI\\Core\\Model\\GetDiskDiskBackupPolicies200ResponseDiskBackupPolicies' => 'KatapultAPI\\Core\\Normalizer\\GetDiskDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer', - 'KatapultAPI\\Core\\Model\\GetDiskDiskBackupPoliciesPartSchedule' => 'KatapultAPI\\Core\\Normalizer\\GetDiskDiskBackupPoliciesPartScheduleNormalizer', - 'KatapultAPI\\Core\\Model\\GetDiskBackupPolicy200ResponseDiskBackupPolicy' => 'KatapultAPI\\Core\\Normalizer\\GetDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer', - 'KatapultAPI\\Core\\Model\\Schedule' => 'KatapultAPI\\Core\\Normalizer\\ScheduleNormalizer', - 'KatapultAPI\\Core\\Model\\DiskBackupPolicyLookup' => 'KatapultAPI\\Core\\Normalizer\\DiskBackupPolicyLookupNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteDiskBackupPolicy200ResponseDiskBackupPolicy' => 'KatapultAPI\\Core\\Normalizer\\DeleteDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicy' => 'KatapultAPI\\Core\\Normalizer\\DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicyNormalizer', - 'KatapultAPI\\Core\\Model\\InvalidTimestampSchema' => 'KatapultAPI\\Core\\Normalizer\\InvalidTimestampSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\DiskBackupPolicyArguments' => 'KatapultAPI\\Core\\Normalizer\\DiskBackupPolicyArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\ScheduleArguments' => 'KatapultAPI\\Core\\Normalizer\\ScheduleArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\PatchDiskBackupPolicy200ResponseDiskBackupPolicy' => 'KatapultAPI\\Core\\Normalizer\\PatchDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer', - 'KatapultAPI\\Core\\Model\\PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicy' => 'KatapultAPI\\Core\\Normalizer\\PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicyNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskDiskBackupPolicies200ResponseDiskBackupPolicy' => 'KatapultAPI\\Core\\Normalizer\\PostDiskDiskBackupPolicies200ResponseDiskBackupPolicyNormalizer', - 'KatapultAPI\\Core\\Model\\DNSZone' => 'KatapultAPI\\Core\\Normalizer\\DNSZoneNormalizer', - 'KatapultAPI\\Core\\Model\\DNSZoneArguments' => 'KatapultAPI\\Core\\Normalizer\\DNSZoneArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\DNSZoneLookup' => 'KatapultAPI\\Core\\Normalizer\\DNSZoneLookupNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecord' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributes' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentAttributesNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesA' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentAttributesANormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesAAAA' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentAttributesAAAANormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesALIAS' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentAttributesALIASNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesCAA' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentAttributesCAANormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesCNAME' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentAttributesCNAMENormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesIPS' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentAttributesIPSNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesMX' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentAttributesMXNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesNS' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentAttributesNSNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesPTR' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentAttributesPTRNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesSRV' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentAttributesSRVNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesSSHFP' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentAttributesSSHFPNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesTXT' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentAttributesTXTNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentAttributesVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\RecordContentAttributesForA' => 'KatapultAPI\\Core\\Normalizer\\RecordContentAttributesForANormalizer', - 'KatapultAPI\\Core\\Model\\RecordContentAttributesForAAAA' => 'KatapultAPI\\Core\\Normalizer\\RecordContentAttributesForAAAANormalizer', - 'KatapultAPI\\Core\\Model\\RecordContentAttributesForALIAS' => 'KatapultAPI\\Core\\Normalizer\\RecordContentAttributesForALIASNormalizer', - 'KatapultAPI\\Core\\Model\\RecordContentAttributesForCAA' => 'KatapultAPI\\Core\\Normalizer\\RecordContentAttributesForCAANormalizer', - 'KatapultAPI\\Core\\Model\\RecordContentAttributesForCNAME' => 'KatapultAPI\\Core\\Normalizer\\RecordContentAttributesForCNAMENormalizer', - 'KatapultAPI\\Core\\Model\\RecordContentAttributesForIPS' => 'KatapultAPI\\Core\\Normalizer\\RecordContentAttributesForIPSNormalizer', - 'KatapultAPI\\Core\\Model\\RecordContentAttributesForMX' => 'KatapultAPI\\Core\\Normalizer\\RecordContentAttributesForMXNormalizer', - 'KatapultAPI\\Core\\Model\\RecordContentAttributesForNS' => 'KatapultAPI\\Core\\Normalizer\\RecordContentAttributesForNSNormalizer', - 'KatapultAPI\\Core\\Model\\RecordContentAttributesForPTR' => 'KatapultAPI\\Core\\Normalizer\\RecordContentAttributesForPTRNormalizer', - 'KatapultAPI\\Core\\Model\\RecordContentAttributesForSRV' => 'KatapultAPI\\Core\\Normalizer\\RecordContentAttributesForSRVNormalizer', - 'KatapultAPI\\Core\\Model\\RecordContentAttributesForSSHFP' => 'KatapultAPI\\Core\\Normalizer\\RecordContentAttributesForSSHFPNormalizer', - 'KatapultAPI\\Core\\Model\\RecordContentAttributesForTXT' => 'KatapultAPI\\Core\\Normalizer\\RecordContentAttributesForTXTNormalizer', - 'KatapultAPI\\Core\\Model\\RecordContentAttributesForVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\RecordContentAttributesForVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordArguments' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentArguments' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForA' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentArgumentsForANormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForAAAA' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentArgumentsForAAAANormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForALIAS' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentArgumentsForALIASNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForCAA' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentArgumentsForCAANormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForCNAME' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentArgumentsForCNAMENormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForIPS' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentArgumentsForIPSNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForMX' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentArgumentsForMXNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForNS' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentArgumentsForNSNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForPTR' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentArgumentsForPTRNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForSRV' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentArgumentsForSRVNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForSSHFP' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentArgumentsForSSHFPNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForTXT' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentArgumentsForTXTNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentArgumentsForVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordLookup' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordLookupNormalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroup' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupNormalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupArguments' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupLookup' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupLookupNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteSecurityGroup200ResponseSecurityGroup' => 'KatapultAPI\\Core\\Normalizer\\DeleteSecurityGroup200ResponseSecurityGroupNormalizer', - 'KatapultAPI\\Core\\Model\\GetSecurityGroupRules200ResponseSecurityGroupRules' => 'KatapultAPI\\Core\\Normalizer\\GetSecurityGroupRules200ResponseSecurityGroupRulesNormalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupRuleArguments' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupRuleArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\PostSecurityGroupRules200ResponseSecurityGroupRule' => 'KatapultAPI\\Core\\Normalizer\\PostSecurityGroupRules200ResponseSecurityGroupRuleNormalizer', - 'KatapultAPI\\Core\\Model\\PostSecurityGroupRulesPartSecurityGroup' => 'KatapultAPI\\Core\\Normalizer\\PostSecurityGroupRulesPartSecurityGroupNormalizer', - 'KatapultAPI\\Core\\Model\\GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule' => 'KatapultAPI\\Core\\Normalizer\\GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer', - 'KatapultAPI\\Core\\Model\\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup' => 'KatapultAPI\\Core\\Normalizer\\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroupNormalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupRuleLookup' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupRuleLookupNormalizer', - 'KatapultAPI\\Core\\Model\\PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule' => 'KatapultAPI\\Core\\Normalizer\\PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer', - 'KatapultAPI\\Core\\Model\\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup' => 'KatapultAPI\\Core\\Normalizer\\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroupNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule' => 'KatapultAPI\\Core\\Normalizer\\DeleteSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumes' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumesNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationFileStorageVolumesPartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationFileStorageVolumesPartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\GetFileStorageVolume200ResponseFileStorageVolume' => 'KatapultAPI\\Core\\Normalizer\\GetFileStorageVolume200ResponseFileStorageVolumeNormalizer', - 'KatapultAPI\\Core\\Model\\GetFileStorageVolumePartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\GetFileStorageVolumePartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\FileStorageVolumeArguments' => 'KatapultAPI\\Core\\Normalizer\\FileStorageVolumeArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\PostOrganizationFileStorageVolumes201ResponseFileStorageVolume' => 'KatapultAPI\\Core\\Normalizer\\PostOrganizationFileStorageVolumes201ResponseFileStorageVolumeNormalizer', - 'KatapultAPI\\Core\\Model\\PostOrganizationFileStorageVolumesPartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\PostOrganizationFileStorageVolumesPartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\FileStorageVolumeLookup' => 'KatapultAPI\\Core\\Normalizer\\FileStorageVolumeLookupNormalizer', - 'KatapultAPI\\Core\\Model\\PatchFileStorageVolume200ResponseFileStorageVolume' => 'KatapultAPI\\Core\\Normalizer\\PatchFileStorageVolume200ResponseFileStorageVolumeNormalizer', - 'KatapultAPI\\Core\\Model\\PatchFileStorageVolumePartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\PatchFileStorageVolumePartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteFileStorageVolume200ResponseFileStorageVolume' => 'KatapultAPI\\Core\\Normalizer\\DeleteFileStorageVolume200ResponseFileStorageVolumeNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteFileStorageVolumePartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\DeleteFileStorageVolumePartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworks200ResponseNetworks' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationAvailableNetworks200ResponseNetworksNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworksPartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationAvailableNetworksPartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworks200ResponseVirtualNetworks' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationAvailableNetworks200ResponseVirtualNetworksNormalizer', - 'KatapultAPI\\Core\\Model\\NetworkSpeedProfile' => 'KatapultAPI\\Core\\Normalizer\\NetworkSpeedProfileNormalizer', - 'KatapultAPI\\Core\\Model\\GetAddressLists200ResponseAddressLists' => 'KatapultAPI\\Core\\Normalizer\\GetAddressLists200ResponseAddressListsNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationAddressLists200ResponseAddressLists' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationAddressLists200ResponseAddressListsNormalizer', - 'KatapultAPI\\Core\\Model\\AddressList' => 'KatapultAPI\\Core\\Normalizer\\AddressListNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListEntry' => 'KatapultAPI\\Core\\Normalizer\\AddressListEntryNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListArguments' => 'KatapultAPI\\Core\\Normalizer\\AddressListArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListLookup' => 'KatapultAPI\\Core\\Normalizer\\AddressListLookupNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListEntryArguments' => 'KatapultAPI\\Core\\Normalizer\\AddressListEntryArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListEntryLookup' => 'KatapultAPI\\Core\\Normalizer\\AddressListEntryLookupNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationCertificates200ResponseCertificates' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationCertificates200ResponseCertificatesNormalizer', - 'KatapultAPI\\Core\\Model\\Certificate' => 'KatapultAPI\\Core\\Normalizer\\CertificateNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationLoadBalancers200ResponseLoadBalancers' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationLoadBalancers200ResponseLoadBalancersNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancerResource' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancerResourceNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationLoadBalancersPartIPAddress' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationLoadBalancersPartIPAddressNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationLoadBalancersPartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationLoadBalancersPartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancerArguments' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancerArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancerWeightsArguments' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancerWeightsArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancers201ResponseLoadBalancer' => 'KatapultAPI\\Core\\Normalizer\\PostOrganizationLoadBalancers201ResponseLoadBalancerNormalizer', - 'KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancersPartIPAddress' => 'KatapultAPI\\Core\\Normalizer\\PostOrganizationLoadBalancersPartIPAddressNormalizer', - 'KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancersPartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\PostOrganizationLoadBalancersPartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancerWeight' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancerWeightNormalizer', - 'KatapultAPI\\Core\\Model\\GetLoadBalancer200ResponseLoadBalancer' => 'KatapultAPI\\Core\\Normalizer\\GetLoadBalancer200ResponseLoadBalancerNormalizer', - 'KatapultAPI\\Core\\Model\\GetLoadBalancerPartIPAddress' => 'KatapultAPI\\Core\\Normalizer\\GetLoadBalancerPartIPAddressNormalizer', - 'KatapultAPI\\Core\\Model\\GetLoadBalancerPartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\GetLoadBalancerPartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancerLookup' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancerLookupNormalizer', - 'KatapultAPI\\Core\\Model\\PatchLoadBalancer200ResponseLoadBalancer' => 'KatapultAPI\\Core\\Normalizer\\PatchLoadBalancer200ResponseLoadBalancerNormalizer', - 'KatapultAPI\\Core\\Model\\PatchLoadBalancerPartIPAddress' => 'KatapultAPI\\Core\\Normalizer\\PatchLoadBalancerPartIPAddressNormalizer', - 'KatapultAPI\\Core\\Model\\PatchLoadBalancerPartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\PatchLoadBalancerPartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteLoadBalancer200ResponseLoadBalancer' => 'KatapultAPI\\Core\\Normalizer\\DeleteLoadBalancer200ResponseLoadBalancerNormalizer', - 'KatapultAPI\\Core\\Model\\GetLoadBalancerRules200ResponseLoadBalancerRules' => 'KatapultAPI\\Core\\Normalizer\\GetLoadBalancerRules200ResponseLoadBalancerRulesNormalizer', - 'KatapultAPI\\Core\\Model\\GetLoadBalancerRulesPartCertificates' => 'KatapultAPI\\Core\\Normalizer\\GetLoadBalancerRulesPartCertificatesNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancerRuleArguments' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancerRuleArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\CertificateLookup' => 'KatapultAPI\\Core\\Normalizer\\CertificateLookupNormalizer', - 'KatapultAPI\\Core\\Model\\PostLoadBalancerRules200ResponseLoadBalancerRule' => 'KatapultAPI\\Core\\Normalizer\\PostLoadBalancerRules200ResponseLoadBalancerRuleNormalizer', - 'KatapultAPI\\Core\\Model\\PostLoadBalancerRulesPartCertificates' => 'KatapultAPI\\Core\\Normalizer\\PostLoadBalancerRulesPartCertificatesNormalizer', - 'KatapultAPI\\Core\\Model\\PostLoadBalancerRulesPartLoadBalancer' => 'KatapultAPI\\Core\\Normalizer\\PostLoadBalancerRulesPartLoadBalancerNormalizer', - 'KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule' => 'KatapultAPI\\Core\\Normalizer\\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer', - 'KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRulePartCertificates' => 'KatapultAPI\\Core\\Normalizer\\GetLoadBalancersRulesLoadBalancerRulePartCertificatesNormalizer', - 'KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer' => 'KatapultAPI\\Core\\Normalizer\\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancerNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancerRuleLookup' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancerRuleLookupNormalizer', - 'KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule' => 'KatapultAPI\\Core\\Normalizer\\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer', - 'KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartCertificates' => 'KatapultAPI\\Core\\Normalizer\\PatchLoadBalancersRulesLoadBalancerRulePartCertificatesNormalizer', - 'KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer' => 'KatapultAPI\\Core\\Normalizer\\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancerNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule' => 'KatapultAPI\\Core\\Normalizer\\DeleteLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationIPAddresses200ResponseIPAddresses' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationIPAddresses200ResponseIPAddressesNormalizer', - 'KatapultAPI\\Core\\Model\\APIAuthenticator503Schema' => 'KatapultAPI\\Core\\Normalizer\\APIAuthenticator503SchemaNormalizer', - 'KatapultAPI\\Core\\Model\\NoAvailableAddressesSchema' => 'KatapultAPI\\Core\\Normalizer\\NoAvailableAddressesSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\GetIPAddress200ResponseAllocation' => 'KatapultAPI\\Core\\Normalizer\\GetIPAddress200ResponseAllocationNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfaces' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacesPartNetwork' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachineNetworkInterfacesPartNetworkNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacesPartIPAddresses' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachineNetworkInterfacesPartIPAddressesNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterface' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachineNetworkInterfacePartVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartNetwork' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachineNetworkInterfacePartNetworkNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartIPAddresses' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachineNetworkInterfacePartIPAddressesNormalizer', - 'KatapultAPI\\Core\\Model\\InterfaceNotFoundSchema' => 'KatapultAPI\\Core\\Normalizer\\InterfaceNotFoundSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterface' => 'KatapultAPI\\Core\\Normalizer\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceNormalizer', - 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\GetVMNIVMNIPartVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartNetwork' => 'KatapultAPI\\Core\\Normalizer\\GetVMNIVMNIPartNetworkNormalizer', - 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartIPAddresses' => 'KatapultAPI\\Core\\Normalizer\\GetVMNIVMNIPartIPAddressesNormalizer', - 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartSpeedProfile' => 'KatapultAPI\\Core\\Normalizer\\GetVMNIVMNIPartSpeedProfileNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfaceLookup' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineNetworkInterfaceLookupNormalizer', - 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterface' => 'KatapultAPI\\Core\\Normalizer\\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceNormalizer', - 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork' => 'KatapultAPI\\Core\\Normalizer\\PostVirtualMachineNetworkInterfaceAllocateIPPartNetworkNormalizer', - 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses' => 'KatapultAPI\\Core\\Normalizer\\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddressesNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfaceNotFoundSchema' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineNetworkInterfaceNotFoundSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\InvalidIPSchema' => 'KatapultAPI\\Core\\Normalizer\\InvalidIPSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\NetworkSpeedProfileLookup' => 'KatapultAPI\\Core\\Normalizer\\NetworkSpeedProfileLookupNormalizer', - 'KatapultAPI\\Core\\Model\\NetworkSpeedProfileNotFoundSchema' => 'KatapultAPI\\Core\\Normalizer\\NetworkSpeedProfileNotFoundSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationTags200ResponseTags' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationTags200ResponseTagsNormalizer', - 'KatapultAPI\\Core\\Model\\TagArguments' => 'KatapultAPI\\Core\\Normalizer\\TagArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\TagLookup' => 'KatapultAPI\\Core\\Normalizer\\TagLookupNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineGroupArguments' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineGroupArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\GetOperatingSystems200ResponseOperatingSystems' => 'KatapultAPI\\Core\\Normalizer\\GetOperatingSystems200ResponseOperatingSystemsNormalizer', - 'KatapultAPI\\Core\\Model\\TrashObjectLookup' => 'KatapultAPI\\Core\\Normalizer\\TrashObjectLookupNormalizer', - 'KatapultAPI\\Core\\Model\\GetZones200ResponseZones' => 'KatapultAPI\\Core\\Normalizer\\GetZones200ResponseZonesNormalizer', - 'KatapultAPI\\Core\\Model\\GetZonesPartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\GetZonesPartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\GetCountries200ResponseCountries' => 'KatapultAPI\\Core\\Normalizer\\GetCountries200ResponseCountriesNormalizer', - 'KatapultAPI\\Core\\Model\\GetCountryCountryStates200ResponseCountryStates' => 'KatapultAPI\\Core\\Normalizer\\GetCountryCountryStates200ResponseCountryStatesNormalizer', - 'KatapultAPI\\Core\\Model\\GetCurrencies200ResponseCurrencies' => 'KatapultAPI\\Core\\Normalizer\\GetCurrencies200ResponseCurrenciesNormalizer', - 'KatapultAPI\\Core\\Model\\GetUsersCurrent200ResponseOrganizations' => 'KatapultAPI\\Core\\Normalizer\\GetUsersCurrent200ResponseOrganizationsNormalizer', - 'KatapultAPI\\Core\\Model\\IdentityNotLinkedToWebSessionSchema' => 'KatapultAPI\\Core\\Normalizer\\IdentityNotLinkedToWebSessionSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response' => 'KatapultAPI\\Core\\Normalizer\\ResponseAPIAuthenticator400ResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response' => 'KatapultAPI\\Core\\Normalizer\\ResponseAPIAuthenticator429ResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response' => 'KatapultAPI\\Core\\Normalizer\\ResponseAPIAuthenticator503ResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseDataCenterNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseDataCenterNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseOrganizationNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseTaskQueueingErrorResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseTaskQueueingErrorResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseValidationErrorResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseDiskNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseDiskNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseObjectInTrashResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseObjectInTrashResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseUnableToAssignResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseUnableToAssignResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseUnableToUnassignResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseUnableToUnassignResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseUnassignedDiskResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseUnassignedDiskResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseVirtualMachineNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseDiskTemplateNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseDiskTemplateNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseDiskTemplateVersionNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseDiskTemplateVersionNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseGPUTypeNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseGPUTypeNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseNoVirtualMachineForAPITokenResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseNoVirtualMachineForAPITokenResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineBuildNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseVirtualMachineBuildNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseVirtualMachinePackageNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseVirtualMachinePackageNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseSSHKeyNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseSSHKeyNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseDeletionRestrictedResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseDeletionRestrictedResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseAPITokenNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseAPITokenNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseDiskBackupPolicyNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseDiskBackupPolicyNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseDNSZoneNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseDNSZoneNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseDNSZoneNotVerifiedResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseDNSZoneNotVerifiedResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseDNSRecordNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseDNSRecordNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseSecurityGroupNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseSecurityGroupNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseSecurityGroupRuleNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseSecurityGroupRuleNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseFileStorageVolumeNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseFileStorageVolumeNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseNetworkNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseNetworkNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseAddressListNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseAddressListNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseAddressListEntryNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseAddressListEntryNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseCertificateNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseCertificateNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseLoadBalancerNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseLoadBalancerNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseLoadBalancerRuleNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseLoadBalancerRuleNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseIPAddressNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseIPAddressNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseResourceDoesNotSupportUnallocationResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseResourceDoesNotSupportUnallocationResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseNoAllocationResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseNoAllocationResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineNetworkInterfaceNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseVirtualMachineNetworkInterfaceNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseSpeedProfileAlreadyAssignedResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseSpeedProfileAlreadyAssignedResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseTagNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseTagNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineGroupNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseVirtualMachineGroupNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseOperatingSystemNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseOperatingSystemNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseTrashObjectNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseTrashObjectNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseZoneNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseZoneNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseCountryNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseCountryNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseCountryStateNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseCountryStateNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseCurrencyNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseCurrencyNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseTaskNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseTaskNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseNoUserAssociatedWithIdentityResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseNoUserAssociatedWithIdentityResponseNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationApiTokensGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensPostBody' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationApiTokensPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationApiTokensPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensPostResponse200ApiToken' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationApiTokensPostResponse200ApiTokenNormalizer', - 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\ApiTokensApiTokenDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\ApiTokensApiTokenDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenDeleteResponse200ApiToken' => 'KatapultAPI\\Core\\Normalizer\\ApiTokensApiTokenDeleteResponse200ApiTokenNormalizer', - 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenPatchBody' => 'KatapultAPI\\Core\\Normalizer\\ApiTokensApiTokenPatchBodyNormalizer', - 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenPatchResponse200' => 'KatapultAPI\\Core\\Normalizer\\ApiTokensApiTokenPatchResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenPatchResponse200ApiToken' => 'KatapultAPI\\Core\\Normalizer\\ApiTokensApiTokenPatchResponse200ApiTokenNormalizer', - 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenRegenerateSecretPostBody' => 'KatapultAPI\\Core\\Normalizer\\ApiTokensApiTokenRegenerateSecretPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenRegenerateSecretPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\ApiTokensApiTokenRegenerateSecretPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenRegenerateSecretPostResponse200ApiToken' => 'KatapultAPI\\Core\\Normalizer\\ApiTokensApiTokenRegenerateSecretPostResponse200ApiTokenNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListsGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\AddressListsGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationAddressListsGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsPostBody' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationAddressListsPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsPostResponse201' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationAddressListsPostResponse201Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsPostResponse201AddressList' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationAddressListsPostResponse201AddressListNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListsAddressListDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\AddressListsAddressListDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListsAddressListDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\AddressListsAddressListDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\AddressListsAddressListDeleteResponse200AddressList' => 'KatapultAPI\\Core\\Normalizer\\AddressListsAddressListDeleteResponse200AddressListNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListsAddressListGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\AddressListsAddressListGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\AddressListsAddressListGetResponse200AddressList' => 'KatapultAPI\\Core\\Normalizer\\AddressListsAddressListGetResponse200AddressListNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListsAddressListPatchBody' => 'KatapultAPI\\Core\\Normalizer\\AddressListsAddressListPatchBodyNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListsAddressListPatchResponse200' => 'KatapultAPI\\Core\\Normalizer\\AddressListsAddressListPatchResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\AddressListsAddressListPatchResponse200AddressList' => 'KatapultAPI\\Core\\Normalizer\\AddressListsAddressListPatchResponse200AddressListNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\AddressListsAddressListEntriesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesPostBody' => 'KatapultAPI\\Core\\Normalizer\\AddressListsAddressListEntriesPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesPostResponse201' => 'KatapultAPI\\Core\\Normalizer\\AddressListsAddressListEntriesPostResponse201Normalizer', - 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesPostResponse201AddressListEntry' => 'KatapultAPI\\Core\\Normalizer\\AddressListsAddressListEntriesPostResponse201AddressListEntryNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\AddressListEntriesAddressListEntryDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\AddressListEntriesAddressListEntryDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryDeleteResponse200AddressListEntry' => 'KatapultAPI\\Core\\Normalizer\\AddressListEntriesAddressListEntryDeleteResponse200AddressListEntryNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\AddressListEntriesAddressListEntryGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryGetResponse200AddressListEntry' => 'KatapultAPI\\Core\\Normalizer\\AddressListEntriesAddressListEntryGetResponse200AddressListEntryNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryPatchBody' => 'KatapultAPI\\Core\\Normalizer\\AddressListEntriesAddressListEntryPatchBodyNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryPatchResponse200' => 'KatapultAPI\\Core\\Normalizer\\AddressListEntriesAddressListEntryPatchResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryPatchResponse200AddressListEntry' => 'KatapultAPI\\Core\\Normalizer\\AddressListEntriesAddressListEntryPatchResponse200AddressListEntryNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesBulkPostBody' => 'KatapultAPI\\Core\\Normalizer\\AddressListsAddressListEntriesBulkPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesBulkPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\AddressListsAddressListEntriesBulkPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationCertificatesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationCertificatesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\CertificatesCertificateGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\CertificatesCertificateGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\CountriesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\CountriesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\CountriesCountryGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\CountriesCountryGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\CountriesCountryGetResponse200Country' => 'KatapultAPI\\Core\\Normalizer\\CountriesCountryGetResponse200CountryNormalizer', - 'KatapultAPI\\Core\\Model\\CountriesCountryCountryStatesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\CountriesCountryCountryStatesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\CountryStatesCountryStateGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\CountryStatesCountryStateGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\CountryStatesCountryStateGetResponse200CountryState' => 'KatapultAPI\\Core\\Normalizer\\CountryStatesCountryStateGetResponse200CountryStateNormalizer', - 'KatapultAPI\\Core\\Model\\CurrenciesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\CurrenciesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\CurrenciesCurrencyGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\CurrenciesCurrencyGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\CurrenciesCurrencyGetResponse200Currency' => 'KatapultAPI\\Core\\Normalizer\\CurrenciesCurrencyGetResponse200CurrencyNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationDnsZonesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesPostBody' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationDnsZonesPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesPostResponse201' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationDnsZonesPostResponse201Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesPostResponse201DnsZone' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationDnsZonesPostResponse201DnsZoneNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesNameserversGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationDnsZonesNameserversGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\DnsZonesDnsZoneDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\DnsZonesDnsZoneDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\DnsZonesDnsZoneGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneGetResponse200DnsZone' => 'KatapultAPI\\Core\\Normalizer\\DnsZonesDnsZoneGetResponse200DnsZoneNormalizer', - 'KatapultAPI\\Core\\Model\\DnsZonesDnsZonePatchBody' => 'KatapultAPI\\Core\\Normalizer\\DnsZonesDnsZonePatchBodyNormalizer', - 'KatapultAPI\\Core\\Model\\DnsZonesDnsZonePatchResponse200' => 'KatapultAPI\\Core\\Normalizer\\DnsZonesDnsZonePatchResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DnsZonesDnsZonePatchResponse200DnsZone' => 'KatapultAPI\\Core\\Normalizer\\DnsZonesDnsZonePatchResponse200DnsZoneNormalizer', - 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneVerifyPostBody' => 'KatapultAPI\\Core\\Normalizer\\DnsZonesDnsZoneVerifyPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneVerifyPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\DnsZonesDnsZoneVerifyPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneVerifyPostResponse200DnsZone' => 'KatapultAPI\\Core\\Normalizer\\DnsZonesDnsZoneVerifyPostResponse200DnsZoneNormalizer', - 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneRecordsGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\DnsZonesDnsZoneRecordsGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneRecordsPostBody' => 'KatapultAPI\\Core\\Normalizer\\DnsZonesDnsZoneRecordsPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneRecordsPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\DnsZonesDnsZoneRecordsPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\DnsRecordsDnsRecordDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\DnsRecordsDnsRecordDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\DnsRecordsDnsRecordGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordGetResponse200DnsRecord' => 'KatapultAPI\\Core\\Normalizer\\DnsRecordsDnsRecordGetResponse200DnsRecordNormalizer', - 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordPatchBody' => 'KatapultAPI\\Core\\Normalizer\\DnsRecordsDnsRecordPatchBodyNormalizer', - 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordPatchResponse200' => 'KatapultAPI\\Core\\Normalizer\\DnsRecordsDnsRecordPatchResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordPatchResponse200DnsRecord' => 'KatapultAPI\\Core\\Normalizer\\DnsRecordsDnsRecordPatchResponse200DnsRecordNormalizer', - 'KatapultAPI\\Core\\Model\\DataCentersGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\DataCentersGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DataCentersDataCenterGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\DataCentersDataCenterGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DataCentersDataCenterDefaultNetworkGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\DataCentersDataCenterDefaultNetworkGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DataCentersDataCenterDefaultNetworkGetResponse200Network' => 'KatapultAPI\\Core\\Normalizer\\DataCentersDataCenterDefaultNetworkGetResponse200NetworkNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDiskIoProfilesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationDiskIoProfilesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDiskBackupPoliciesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationDiskBackupPoliciesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostBody' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicy' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicyNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskDiskBackupPoliciesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesPostBody' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskDiskBackupPoliciesPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskDiskBackupPoliciesPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicy' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicyNormalizer', - 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicy' => 'KatapultAPI\\Core\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicyNormalizer', - 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicy' => 'KatapultAPI\\Core\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicyNormalizer', - 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchBody' => 'KatapultAPI\\Core\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyPatchBodyNormalizer', - 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200' => 'KatapultAPI\\Core\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicy' => 'KatapultAPI\\Core\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicyNormalizer', - 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicy' => 'KatapultAPI\\Core\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicyNormalizer', - 'KatapultAPI\\Core\\Model\\DiskTemplatesDiskTemplateVersionsGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\DiskTemplatesDiskTemplateVersionsGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\DiskTemplateVersionsDiskTemplateVersionGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersion' => 'KatapultAPI\\Core\\Normalizer\\DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersionNormalizer', - 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersion' => 'KatapultAPI\\Core\\Normalizer\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersionNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDiskTemplatesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationDiskTemplatesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DiskTemplatesDiskTemplateGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\DiskTemplatesDiskTemplateGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DiskTemplatesDiskTemplateGetResponse200DiskTemplate' => 'KatapultAPI\\Core\\Normalizer\\DiskTemplatesDiskTemplateGetResponse200DiskTemplateNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationDisksGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksPostBody' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationDisksPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksPostResponse201' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationDisksPostResponse201Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksPostResponse201Disk' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationDisksPostResponse201DiskNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskDeleteResponse200Disk' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskDeleteResponse200DiskNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskGetResponse200Disk' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskGetResponse200DiskNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskPatchBody' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskPatchBodyNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskPatchResponse200' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskPatchResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskPatchResponse200Disk' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskPatchResponse200DiskNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskAssignPostBody' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskAssignPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskAssignPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskAssignPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskAssignPostResponse200Disk' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskAssignPostResponse200DiskNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskUnassignPostBody' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskUnassignPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskUnassignPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskUnassignPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskUnassignPostResponse200Disk' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskUnassignPostResponse200DiskNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskAttachPostBody' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskAttachPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskAttachPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskAttachPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskAttachPostResponse200Disk' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskAttachPostResponse200DiskNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskDetachPostBody' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskDetachPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskDetachPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskDetachPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskDetachPostResponse200Disk' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskDetachPostResponse200DiskNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskResizePutBody' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskResizePutBodyNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskResizePutResponse200' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskResizePutResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskResizePutResponse200Disk' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskResizePutResponse200DiskNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskIoProfilePutBody' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskIoProfilePutBodyNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskIoProfilePutResponse200' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskIoProfilePutResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskIoProfilePutResponse200Disk' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskIoProfilePutResponse200DiskNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDisksGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineDisksGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationFileStorageVolumesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesPostBody' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationFileStorageVolumesPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesPostResponse201' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationFileStorageVolumesPostResponse201Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolume' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolumeNormalizer', - 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\FileStorageVolumesFileStorageVolumeDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\FileStorageVolumesFileStorageVolumeDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolume' => 'KatapultAPI\\Core\\Normalizer\\FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolumeNormalizer', - 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\FileStorageVolumesFileStorageVolumeGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolume' => 'KatapultAPI\\Core\\Normalizer\\FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolumeNormalizer', - 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumePatchBody' => 'KatapultAPI\\Core\\Normalizer\\FileStorageVolumesFileStorageVolumePatchBodyNormalizer', - 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumePatchResponse200' => 'KatapultAPI\\Core\\Normalizer\\FileStorageVolumesFileStorageVolumePatchResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolume' => 'KatapultAPI\\Core\\Normalizer\\FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolumeNormalizer', - 'KatapultAPI\\Core\\Model\\GpuTypesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\GpuTypesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\GpuTypesGpuTypeGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\GpuTypesGpuTypeGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DataCentersDataCenterGpuTypesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\DataCentersDataCenterGpuTypesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationIpAddressesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesPostBody' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationIpAddressesPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationIpAddressesPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesPostResponse200IpAddress' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationIpAddressesPostResponse200IpAddressNormalizer', - 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\IpAddressesIpAddressDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\IpAddressesIpAddressDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\IpAddressesIpAddressGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressGetResponse200IpAddress' => 'KatapultAPI\\Core\\Normalizer\\IpAddressesIpAddressGetResponse200IpAddressNormalizer', - 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressGetResponse200Allocation' => 'KatapultAPI\\Core\\Normalizer\\IpAddressesIpAddressGetResponse200AllocationNormalizer', - 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressPatchBody' => 'KatapultAPI\\Core\\Normalizer\\IpAddressesIpAddressPatchBodyNormalizer', - 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressPatchResponse200' => 'KatapultAPI\\Core\\Normalizer\\IpAddressesIpAddressPatchResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressPatchResponse200IpAddress' => 'KatapultAPI\\Core\\Normalizer\\IpAddressesIpAddressPatchResponse200IpAddressNormalizer', - 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressUnallocatePostBody' => 'KatapultAPI\\Core\\Normalizer\\IpAddressesIpAddressUnallocatePostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressUnallocatePostResponse200' => 'KatapultAPI\\Core\\Normalizer\\IpAddressesIpAddressUnallocatePostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationLoadBalancersGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersPostBody' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationLoadBalancersPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersPostResponse201' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationLoadBalancersPostResponse201Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersPostResponse201LoadBalancer' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationLoadBalancersPostResponse201LoadBalancerNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersLoadBalancerDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersLoadBalancerDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerDeleteResponse200LoadBalancer' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersLoadBalancerDeleteResponse200LoadBalancerNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersLoadBalancerGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerGetResponse200LoadBalancer' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersLoadBalancerGetResponse200LoadBalancerNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerPatchBody' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersLoadBalancerPatchBodyNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerPatchResponse200' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersLoadBalancerPatchResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerPatchResponse200LoadBalancer' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersLoadBalancerPatchResponse200LoadBalancerNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersLoadBalancerRulesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesPostBody' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersLoadBalancerRulesPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersLoadBalancerRulesPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRule' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRuleNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersRulesLoadBalancerRuleDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRule' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRuleNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersRulesLoadBalancerRuleGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRule' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRuleNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRulePatchBody' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersRulesLoadBalancerRulePatchBodyNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRulePatchResponse200' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersRulesLoadBalancerRulePatchResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRule' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRuleNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationNetworkSpeedProfilesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationNetworkSpeedProfilesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAvailableNetworksGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationAvailableNetworksGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\NetworksNetworkGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\NetworksNetworkGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\NetworksNetworkGetResponse200Network' => 'KatapultAPI\\Core\\Normalizer\\NetworksNetworkGetResponse200NetworkNormalizer', - 'KatapultAPI\\Core\\Model\\OperatingSystemsGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OperatingSystemsGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OperatingSystemsOperatingSystemGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OperatingSystemsOperatingSystemGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OperatingSystemsOperatingSystemGetResponse200OperatingSystem' => 'KatapultAPI\\Core\\Normalizer\\OperatingSystemsOperatingSystemGetResponse200OperatingSystemNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationPolicyGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationPolicyGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationPolicyLimitsGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationPolicyLimitsGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationPricesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationPricesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationUsersWithAccessGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationUsersWithAccessGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationManagedGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationManagedGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationManagedPostBody' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationManagedPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationManagedPostResponse201' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationManagedPostResponse201Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSshKeysGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationSshKeysGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSshKeysPostBody' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationSshKeysPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSshKeysPostResponse201' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationSshKeysPostResponse201Normalizer', - 'KatapultAPI\\Core\\Model\\SshKeysSshKeyDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\SshKeysSshKeyDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\SshKeysSshKeyDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\SshKeysSshKeyDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationSecurityGroupsGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsPostBody' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationSecurityGroupsPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationSecurityGroupsPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroup' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroupNormalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsSecurityGroupDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsSecurityGroupDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupDeleteResponse200SecurityGroup' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsSecurityGroupDeleteResponse200SecurityGroupNormalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsSecurityGroupGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupGetResponse200SecurityGroup' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsSecurityGroupGetResponse200SecurityGroupNormalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupPatchBody' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsSecurityGroupPatchBodyNormalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupPatchResponse200' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsSecurityGroupPatchResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupPatchResponse200SecurityGroup' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsSecurityGroupPatchResponse200SecurityGroupNormalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsSecurityGroupRulesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesPostBody' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsSecurityGroupRulesPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsSecurityGroupRulesPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRule' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRuleNormalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsRulesSecurityGroupRuleDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRule' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRuleNormalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsRulesSecurityGroupRuleGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRule' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRuleNormalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRulePatchBody' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsRulesSecurityGroupRulePatchBodyNormalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRulePatchResponse200' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsRulesSecurityGroupRulePatchResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRule' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRuleNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationTagsGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsPostBody' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationTagsPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationTagsPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsPostResponse200Tag' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationTagsPostResponse200TagNormalizer', - 'KatapultAPI\\Core\\Model\\TagsTagDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\TagsTagDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\TagsTagDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\TagsTagDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\TagsTagDeleteResponse200Tag' => 'KatapultAPI\\Core\\Normalizer\\TagsTagDeleteResponse200TagNormalizer', - 'KatapultAPI\\Core\\Model\\TagsTagGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\TagsTagGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\TagsTagGetResponse200Tag' => 'KatapultAPI\\Core\\Normalizer\\TagsTagGetResponse200TagNormalizer', - 'KatapultAPI\\Core\\Model\\TagsTagPatchBody' => 'KatapultAPI\\Core\\Normalizer\\TagsTagPatchBodyNormalizer', - 'KatapultAPI\\Core\\Model\\TagsTagPatchResponse200' => 'KatapultAPI\\Core\\Normalizer\\TagsTagPatchResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\TagsTagPatchResponse200Tag' => 'KatapultAPI\\Core\\Normalizer\\TagsTagPatchResponse200TagNormalizer', - 'KatapultAPI\\Core\\Model\\TasksTaskGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\TasksTaskGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTrashObjectsGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationTrashObjectsGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTrashObjectsPurgeAllPostBody' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationTrashObjectsPurgeAllPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\TrashObjectsTrashObjectDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\TrashObjectsTrashObjectDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\TrashObjectsTrashObjectGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectGetResponse200TrashObject' => 'KatapultAPI\\Core\\Normalizer\\TrashObjectsTrashObjectGetResponse200TrashObjectNormalizer', - 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectRestorePostBody' => 'KatapultAPI\\Core\\Normalizer\\TrashObjectsTrashObjectRestorePostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectRestorePostResponse200' => 'KatapultAPI\\Core\\Normalizer\\TrashObjectsTrashObjectRestorePostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectRestorePostResponse200TrashObject' => 'KatapultAPI\\Core\\Normalizer\\TrashObjectsTrashObjectRestorePostResponse200TrashObjectNormalizer', - 'KatapultAPI\\Core\\Model\\UsersCurrentGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\UsersCurrentGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\InvalidateLinkedWebSessionPostBody' => 'KatapultAPI\\Core\\Normalizer\\InvalidateLinkedWebSessionPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\InvalidateLinkedWebSessionPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\InvalidateLinkedWebSessionPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationVirtualMachineGroupsGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostBody' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationVirtualMachineGroupsPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroup' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroupNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineGroupsVirtualMachineGroupDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroup' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroupNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineGroupsVirtualMachineGroupGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroup' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroupNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchBody' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineGroupsVirtualMachineGroupPatchBodyNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroup' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroupNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterface' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterfaceNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterface' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterfaceNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsAddressVersionGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsAddressVersionGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostBody' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterface' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterfaceNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostBody' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddress' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddressNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchBody' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchBodyNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Task' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200TaskNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinePackagesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinePackagesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinePackagesVirtualMachinePackageGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinePackagesVirtualMachinePackageGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationVirtualMachinesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePatchBody' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachinePatchBodyNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePatchResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachinePatchResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePatchResponse200VirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachinePatchResponse200VirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePackagePutBody' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachinePackagePutBodyNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePackagePutResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachinePackagePutResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineFlexibleResourcesPutBody' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineFlexibleResourcesPutBodyNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineAllocateIpPostBody' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineAllocateIpPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineAllocateIpPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineAllocateIpPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddress' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddressNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostBody' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationVirtualMachinesBuildPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201Build' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201BuildNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostBody' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Build' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201BuildNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesBuildsVirtualMachineBuildGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesBuildsVirtualMachineBuildGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStartPostBody' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineStartPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStartPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineStartPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStopPostBody' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineStopPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStopPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineStopPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineShutdownPostBody' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineShutdownPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineShutdownPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineShutdownPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineResetPostBody' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineResetPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineResetPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineResetPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineConsoleSessionsPostBody' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineConsoleSessionsPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineConsoleSessionsPostResponse201' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineConsoleSessionsPostResponse201Normalizer', - 'KatapultAPI\\Core\\Model\\ZonesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\ZonesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\ZonesZoneGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\ZonesZoneGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\ZonesZoneGetResponse200Zone' => 'KatapultAPI\\Core\\Normalizer\\ZonesZoneGetResponse200ZoneNormalizer', - '\\Jane\\Component\\JsonSchemaRuntime\\Reference' => '\\KatapultAPI\\Core\\Runtime\\Normalizer\\ReferenceNormalizer', + \KatapultAPI\Core\Model\GetDataCenters200ResponseDataCenters::class => GetDataCenters200ResponseDataCentersNormalizer::class, + + \KatapultAPI\Core\Model\GetDataCentersPartCountry::class => GetDataCentersPartCountryNormalizer::class, + + \KatapultAPI\Core\Model\UnauthorizedNetworkForAPIToken::class => UnauthorizedNetworkForAPITokenNormalizer::class, + + \KatapultAPI\Core\Model\UnauthorizedNetworkForAPITokenSchema::class => UnauthorizedNetworkForAPITokenSchemaNormalizer::class, + + \KatapultAPI\Core\Model\InvalidAPIToken::class => InvalidAPITokenNormalizer::class, + + \KatapultAPI\Core\Model\InvalidAPITokenSchema::class => InvalidAPITokenSchemaNormalizer::class, + + \KatapultAPI\Core\Model\InvalidCapabilitiesTokenSchema::class => InvalidCapabilitiesTokenSchemaNormalizer::class, + + \KatapultAPI\Core\Model\ScopeNotGrantedError::class => ScopeNotGrantedErrorNormalizer::class, + + \KatapultAPI\Core\Model\ScopeNotGrantedErrorSchema::class => ScopeNotGrantedErrorSchemaNormalizer::class, + + \KatapultAPI\Core\Model\RateLimitReached::class => RateLimitReachedNormalizer::class, + + \KatapultAPI\Core\Model\GetDataCenter200ResponseDataCenter::class => GetDataCenter200ResponseDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\GetDataCenterPartCountry::class => GetDataCenterPartCountryNormalizer::class, + + \KatapultAPI\Core\Model\GetDataCenterDefaultNetwork200ResponseNetwork::class => GetDataCenterDefaultNetwork200ResponseNetworkNormalizer::class, + + \KatapultAPI\Core\Model\GetDataCenterDefaultNetworkPartDataCenter::class => GetDataCenterDefaultNetworkPartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizations200ResponseOrganizations::class => GetOrganizations200ResponseOrganizationsNormalizer::class, + + \KatapultAPI\Core\Model\Organization::class => OrganizationNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationCountry::class => OrganizationCountryNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationCountryState::class => OrganizationCountryStateNormalizer::class, + + \KatapultAPI\Core\Model\Currency::class => CurrencyNormalizer::class, + + \KatapultAPI\Core\Model\Country::class => CountryNormalizer::class, + + \KatapultAPI\Core\Model\CountryState::class => CountryStateNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationSuspendedSchema::class => OrganizationSuspendedSchemaNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationNotActivatedSchema::class => OrganizationNotActivatedSchemaNormalizer::class, + + \KatapultAPI\Core\Model\PolicyLimits::class => PolicyLimitsNormalizer::class, + + \KatapultAPI\Core\Model\FinancialPolicyLimit::class => FinancialPolicyLimitNormalizer::class, + + \KatapultAPI\Core\Model\PolicyLimit::class => PolicyLimitNormalizer::class, + + \KatapultAPI\Core\Model\PolicyLimitWithoutCurrent::class => PolicyLimitWithoutCurrentNormalizer::class, + + \KatapultAPI\Core\Model\PolicyFeatures::class => PolicyFeaturesNormalizer::class, + + \KatapultAPI\Core\Model\PolicyFeature::class => PolicyFeatureNormalizer::class, + + \KatapultAPI\Core\Model\APIAuthenticator400Schema::class => APIAuthenticator400SchemaNormalizer::class, + + \KatapultAPI\Core\Model\PolicyNotAvailableForManagedOrganizationsSchema::class => PolicyNotAvailableForManagedOrganizationsSchemaNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationPolicy::class => OrganizationPolicyNormalizer::class, + + \KatapultAPI\Core\Model\DecimalOrUnlimited::class => DecimalOrUnlimitedNormalizer::class, + + \KatapultAPI\Core\Model\IntegerOrUnlimited::class => IntegerOrUnlimitedNormalizer::class, + + \KatapultAPI\Core\Model\IntegerValue::class => IntegerValueNormalizer::class, + + \KatapultAPI\Core\Model\PriceResourceWithSinglePriceVariant::class => PriceResourceWithSinglePriceVariantNormalizer::class, + + \KatapultAPI\Core\Model\SinglePriceVariant::class => SinglePriceVariantNormalizer::class, + + \KatapultAPI\Core\Model\PricesNotAvailableForManagedOrganizationsSchema::class => PricesNotAvailableForManagedOrganizationsSchemaNormalizer::class, + + \KatapultAPI\Core\Model\PaginationObject::class => PaginationObjectNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationUsersWithAccess200ResponseUsers::class => GetOrganizationUsersWithAccess200ResponseUsersNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationUsersWithAccess200ResponseUsersUser::class => GetOrganizationUsersWithAccess200ResponseUsersUserNormalizer::class, + + \KatapultAPI\Core\Model\User::class => UserNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationManaged200ResponseOrganizations::class => GetOrganizationManaged200ResponseOrganizationsNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationLookup::class => OrganizationLookupNormalizer::class, + + \KatapultAPI\Core\Model\KeyValue::class => KeyValueNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationLimitReachedSchema::class => OrganizationLimitReachedSchemaNormalizer::class, + + \KatapultAPI\Core\Model\ValidationError::class => ValidationErrorNormalizer::class, + + \KatapultAPI\Core\Model\ValidationErrorSchema::class => ValidationErrorSchemaNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationDisks200ResponseDisk::class => GetOrganizationDisks200ResponseDiskNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationDisks200ResponseDiskVirtualMachineDisk::class => GetOrganizationDisks200ResponseDiskVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationDisksPartVirtualMachineDisk::class => GetOrganizationDisksPartVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationDisksPartVirtualMachine::class => GetOrganizationDisksPartVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\DiskArguments::class => DiskArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\DataCenterLookup::class => DataCenterLookupNormalizer::class, + + \KatapultAPI\Core\Model\DiskIOProfileLookup::class => DiskIOProfileLookupNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineDiskArguments::class => VirtualMachineDiskArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineLookup::class => VirtualMachineLookupNormalizer::class, + + \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDisk::class => PostOrganizationDisks201ResponseDiskNormalizer::class, + + \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskIoProfile::class => PostOrganizationDisks201ResponseDiskIoProfileNormalizer::class, + + \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskVirtualMachineDisk::class => PostOrganizationDisks201ResponseDiskVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskInstallation::class => PostOrganizationDisks201ResponseDiskInstallationNormalizer::class, + + \KatapultAPI\Core\Model\DiskIOProfile::class => DiskIOProfileNormalizer::class, + + \KatapultAPI\Core\Model\PostOrganizationDisksPartDataCenter::class => PostOrganizationDisksPartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\PostOrganizationDisksPartVirtualMachineDisk::class => PostOrganizationDisksPartVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\PostOrganizationDisksPartVirtualMachine::class => PostOrganizationDisksPartVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\DiskInstallation::class => DiskInstallationNormalizer::class, + + \KatapultAPI\Core\Model\DiskTemplateVersion::class => DiskTemplateVersionNormalizer::class, + + \KatapultAPI\Core\Model\DiskTemplate::class => DiskTemplateNormalizer::class, + + \KatapultAPI\Core\Model\DiskTemplateLatestVersion::class => DiskTemplateLatestVersionNormalizer::class, + + \KatapultAPI\Core\Model\DiskTemplateOperatingSystem::class => DiskTemplateOperatingSystemNormalizer::class, + + \KatapultAPI\Core\Model\OperatingSystem::class => OperatingSystemNormalizer::class, + + \KatapultAPI\Core\Model\OperatingSystemBadge::class => OperatingSystemBadgeNormalizer::class, + + \KatapultAPI\Core\Model\Attachment::class => AttachmentNormalizer::class, + + \KatapultAPI\Core\Model\DiskInstallationAttribute::class => DiskInstallationAttributeNormalizer::class, + + \KatapultAPI\Core\Model\Task::class => TaskNormalizer::class, + + \KatapultAPI\Core\Model\PermissionDenied::class => PermissionDeniedNormalizer::class, + + \KatapultAPI\Core\Model\PermissionDeniedSchema::class => PermissionDeniedSchemaNormalizer::class, + + \KatapultAPI\Core\Model\TaskQueueingError::class => TaskQueueingErrorNormalizer::class, + + \KatapultAPI\Core\Model\GetDisk200ResponseDisk::class => GetDisk200ResponseDiskNormalizer::class, + + \KatapultAPI\Core\Model\GetDisk200ResponseDiskIoProfile::class => GetDisk200ResponseDiskIoProfileNormalizer::class, + + \KatapultAPI\Core\Model\GetDisk200ResponseDiskVirtualMachineDisk::class => GetDisk200ResponseDiskVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\GetDisk200ResponseDiskInstallation::class => GetDisk200ResponseDiskInstallationNormalizer::class, + + \KatapultAPI\Core\Model\GetDiskPartDataCenter::class => GetDiskPartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\GetDiskPartVirtualMachineDisk::class => GetDiskPartVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\GetDiskPartVirtualMachine::class => GetDiskPartVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\ObjectInTrash::class => ObjectInTrashNormalizer::class, + + \KatapultAPI\Core\Model\ObjectInTrashTrashObject::class => ObjectInTrashTrashObjectNormalizer::class, + + \KatapultAPI\Core\Model\TrashObject::class => TrashObjectNormalizer::class, + + \KatapultAPI\Core\Model\DiskLookup::class => DiskLookupNormalizer::class, + + \KatapultAPI\Core\Model\PatchDisk200ResponseDisk::class => PatchDisk200ResponseDiskNormalizer::class, + + \KatapultAPI\Core\Model\PatchDisk200ResponseDiskIoProfile::class => PatchDisk200ResponseDiskIoProfileNormalizer::class, + + \KatapultAPI\Core\Model\PatchDisk200ResponseDiskVirtualMachineDisk::class => PatchDisk200ResponseDiskVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\PatchDisk200ResponseDiskInstallation::class => PatchDisk200ResponseDiskInstallationNormalizer::class, + + \KatapultAPI\Core\Model\PatchDiskPartDataCenter::class => PatchDiskPartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\PatchDiskPartVirtualMachineDisk::class => PatchDiskPartVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\PatchDiskPartVirtualMachine::class => PatchDiskPartVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\UnassignedDiskSchema::class => UnassignedDiskSchemaNormalizer::class, + + \KatapultAPI\Core\Model\DeleteDisk200ResponseDisk::class => DeleteDisk200ResponseDiskNormalizer::class, + + \KatapultAPI\Core\Model\DeleteDisk200ResponseDiskIoProfile::class => DeleteDisk200ResponseDiskIoProfileNormalizer::class, + + \KatapultAPI\Core\Model\DeleteDisk200ResponseDiskVirtualMachineDisk::class => DeleteDisk200ResponseDiskVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\DeleteDisk200ResponseDiskInstallation::class => DeleteDisk200ResponseDiskInstallationNormalizer::class, + + \KatapultAPI\Core\Model\DeleteDiskPartDataCenter::class => DeleteDiskPartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\DeleteDiskPartVirtualMachineDisk::class => DeleteDiskPartVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\DeleteDiskPartVirtualMachine::class => DeleteDiskPartVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskAssign200ResponseDisk::class => PostDiskAssign200ResponseDiskNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskIoProfile::class => PostDiskAssign200ResponseDiskIoProfileNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskVirtualMachineDisk::class => PostDiskAssign200ResponseDiskVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskInstallation::class => PostDiskAssign200ResponseDiskInstallationNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskAssignPartDataCenter::class => PostDiskAssignPartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskAssignPartVirtualMachineDisk::class => PostDiskAssignPartVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskAssignPartVirtualMachine::class => PostDiskAssignPartVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\DiskNotFoundSchema::class => DiskNotFoundSchemaNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineNotFoundSchema::class => VirtualMachineNotFoundSchemaNormalizer::class, + + \KatapultAPI\Core\Model\UnableToAssign::class => UnableToAssignNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDisk::class => PostDiskUnassign200ResponseDiskNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskIoProfile::class => PostDiskUnassign200ResponseDiskIoProfileNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskVirtualMachineDisk::class => PostDiskUnassign200ResponseDiskVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskInstallation::class => PostDiskUnassign200ResponseDiskInstallationNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskUnassignPartDataCenter::class => PostDiskUnassignPartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskUnassignPartVirtualMachineDisk::class => PostDiskUnassignPartVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskUnassignPartVirtualMachine::class => PostDiskUnassignPartVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\UnableToUnassign::class => UnableToUnassignNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskAttach200ResponseDisk::class => PostDiskAttach200ResponseDiskNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskIoProfile::class => PostDiskAttach200ResponseDiskIoProfileNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskVirtualMachineDisk::class => PostDiskAttach200ResponseDiskVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskInstallation::class => PostDiskAttach200ResponseDiskInstallationNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskAttachPartDataCenter::class => PostDiskAttachPartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskAttachPartVirtualMachineDisk::class => PostDiskAttachPartVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskAttachPartVirtualMachine::class => PostDiskAttachPartVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\ObjectInTrashSchema::class => ObjectInTrashSchemaNormalizer::class, + + \KatapultAPI\Core\Model\TaskQueueingErrorSchema::class => TaskQueueingErrorSchemaNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskDetach200ResponseDisk::class => PostDiskDetach200ResponseDiskNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskIoProfile::class => PostDiskDetach200ResponseDiskIoProfileNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskVirtualMachineDisk::class => PostDiskDetach200ResponseDiskVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskInstallation::class => PostDiskDetach200ResponseDiskInstallationNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskDetachPartDataCenter::class => PostDiskDetachPartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskDetachPartVirtualMachineDisk::class => PostDiskDetachPartVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskDetachPartVirtualMachine::class => PostDiskDetachPartVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\PutDiskResize200ResponseDisk::class => PutDiskResize200ResponseDiskNormalizer::class, + + \KatapultAPI\Core\Model\PutDiskResize200ResponseDiskIoProfile::class => PutDiskResize200ResponseDiskIoProfileNormalizer::class, + + \KatapultAPI\Core\Model\PutDiskResize200ResponseDiskVirtualMachineDisk::class => PutDiskResize200ResponseDiskVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\PutDiskResize200ResponseDiskInstallation::class => PutDiskResize200ResponseDiskInstallationNormalizer::class, + + \KatapultAPI\Core\Model\PutDiskResizePartDataCenter::class => PutDiskResizePartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\PutDiskResizePartVirtualMachineDisk::class => PutDiskResizePartVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\PutDiskResizePartVirtualMachine::class => PutDiskResizePartVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDisk::class => PutDiskIOProfile200ResponseDiskNormalizer::class, + + \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskIoProfile::class => PutDiskIOProfile200ResponseDiskIoProfileNormalizer::class, + + \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskVirtualMachineDisk::class => PutDiskIOProfile200ResponseDiskVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskInstallation::class => PutDiskIOProfile200ResponseDiskInstallationNormalizer::class, + + \KatapultAPI\Core\Model\PutDiskIOProfilePartDataCenter::class => PutDiskIOProfilePartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\PutDiskIOProfilePartVirtualMachineDisk::class => PutDiskIOProfilePartVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\PutDiskIOProfilePartVirtualMachine::class => PutDiskIOProfilePartVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\DiskIOProfileNotFoundSchema::class => DiskIOProfileNotFoundSchemaNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachineDisks200ResponseDisks::class => GetVirtualMachineDisks200ResponseDisksNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachineDisksPartDisk::class => GetVirtualMachineDisksPartDiskNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationDiskTemplates200ResponseDiskTemplates::class => GetOrganizationDiskTemplates200ResponseDiskTemplatesNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersion::class => GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersionNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystem::class => GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystemNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationDiskTemplatesPartLatestVersion::class => GetOrganizationDiskTemplatesPartLatestVersionNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationDiskTemplatesPartOperatingSystem::class => GetOrganizationDiskTemplatesPartOperatingSystemNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationNotFoundSchema::class => OrganizationNotFoundSchemaNormalizer::class, + + \KatapultAPI\Core\Model\OperatingSystemNotFoundSchema::class => OperatingSystemNotFoundSchemaNormalizer::class, + + \KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplate::class => GetDiskTemplate200ResponseDiskTemplateNormalizer::class, + + \KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplateLatestVersion::class => GetDiskTemplate200ResponseDiskTemplateLatestVersionNormalizer::class, + + \KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplateOperatingSystem::class => GetDiskTemplate200ResponseDiskTemplateOperatingSystemNormalizer::class, + + \KatapultAPI\Core\Model\GetDiskTemplatePartLatestVersion::class => GetDiskTemplatePartLatestVersionNormalizer::class, + + \KatapultAPI\Core\Model\GetDiskTemplateVersions200ResponseDiskTemplate::class => GetDiskTemplateVersions200ResponseDiskTemplateNormalizer::class, + + \KatapultAPI\Core\Model\GetDiskTemplateVersions200ResponseDiskTemplateVersions::class => GetDiskTemplateVersions200ResponseDiskTemplateVersionsNormalizer::class, + + \KatapultAPI\Core\Model\GetDiskTemplateVersion200ResponseDiskTemplateVersion::class => GetDiskTemplateVersion200ResponseDiskTemplateVersionNormalizer::class, + + \KatapultAPI\Core\Model\GetDiskTemplateVersionPartDiskTemplate::class => GetDiskTemplateVersionPartDiskTemplateNormalizer::class, + + \KatapultAPI\Core\Model\GetDiskTemplateVersionSpec200ResponseDiskTemplateVersion::class => GetDiskTemplateVersionSpec200ResponseDiskTemplateVersionNormalizer::class, + + \KatapultAPI\Core\Model\GetDiskTemplateVersionSpecPartDiskTemplate::class => GetDiskTemplateVersionSpecPartDiskTemplateNormalizer::class, + + \KatapultAPI\Core\Model\TemplateSpec::class => TemplateSpecNormalizer::class, + + \KatapultAPI\Core\Model\TemplateSpecField::class => TemplateSpecFieldNormalizer::class, + + \KatapultAPI\Core\Model\GetGPUTypes200ResponseGPUTypes::class => GetGPUTypes200ResponseGPUTypesNormalizer::class, + + \KatapultAPI\Core\Model\GetGPUTypes200ResponseGPUTypesDataCentersItem::class => GetGPUTypes200ResponseGPUTypesDataCentersItemNormalizer::class, + + \KatapultAPI\Core\Model\GetGPUTypesPartDataCenters::class => GetGPUTypesPartDataCentersNormalizer::class, + + \KatapultAPI\Core\Model\GetGPUType200ResponseGPUType::class => GetGPUType200ResponseGPUTypeNormalizer::class, + + \KatapultAPI\Core\Model\GetGPUType200ResponseGPUTypeDataCentersItem::class => GetGPUType200ResponseGPUTypeDataCentersItemNormalizer::class, + + \KatapultAPI\Core\Model\GetGPUTypePartDataCenters::class => GetGPUTypePartDataCentersNormalizer::class, + + \KatapultAPI\Core\Model\GetDataCenterGPUTypes200ResponseGPUTypes::class => GetDataCenterGPUTypes200ResponseGPUTypesNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachines::class => GetOrganizationVirtualMachines200ResponseVirtualMachinesNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachinesPackage::class => GetOrganizationVirtualMachines200ResponseVirtualMachinesPackageNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuType::class => GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuTypeNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachinesHypervisor::class => GetOrganizationVirtualMachines200ResponseVirtualMachinesHypervisorNormalizer::class, + + \KatapultAPI\Core\Model\Zone::class => ZoneNormalizer::class, + + \KatapultAPI\Core\Model\DataCenter::class => DataCenterNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartPackage::class => GetOrganizationVirtualMachinesPartPackageNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartGPUType::class => GetOrganizationVirtualMachinesPartGPUTypeNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartIPAddresses::class => GetOrganizationVirtualMachinesPartIPAddressesNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartHypervisor::class => GetOrganizationVirtualMachinesPartHypervisorNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachine::class => GetVirtualMachine200ResponseVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineGroup::class => GetVirtualMachine200ResponseVirtualMachineGroupNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachinePackage::class => GetVirtualMachine200ResponseVirtualMachinePackageNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineAttachedIso::class => GetVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineGpuType::class => GetVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineHypervisor::class => GetVirtualMachine200ResponseVirtualMachineHypervisorNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineGroup::class => VirtualMachineGroupNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinePackage::class => VirtualMachinePackageNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinePackageIcon::class => VirtualMachinePackageIconNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinePackageGroup::class => VirtualMachinePackageGroupNormalizer::class, + + \KatapultAPI\Core\Model\ISO::class => ISONormalizer::class, + + \KatapultAPI\Core\Model\ISOOperatingSystem::class => ISOOperatingSystemNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachinePartGPUType::class => GetVirtualMachinePartGPUTypeNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineGPU::class => VirtualMachineGPUNormalizer::class, + + \KatapultAPI\Core\Model\GPUType::class => GPUTypeNormalizer::class, + + \KatapultAPI\Core\Model\GPUTypeDataCentersItem::class => GPUTypeDataCentersItemNormalizer::class, + + \KatapultAPI\Core\Model\Tag::class => TagNormalizer::class, + + \KatapultAPI\Core\Model\IPAddress::class => IPAddressNormalizer::class, + + \KatapultAPI\Core\Model\Network::class => NetworkNormalizer::class, + + \KatapultAPI\Core\Model\Hypervisor::class => HypervisorNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineArguments::class => VirtualMachineArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\GPUTypeLookup::class => GPUTypeLookupNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineGroupLookup::class => VirtualMachineGroupLookupNormalizer::class, + + \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachine::class => PatchVirtualMachine200ResponseVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineGroup::class => PatchVirtualMachine200ResponseVirtualMachineGroupNormalizer::class, + + \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachinePackage::class => PatchVirtualMachine200ResponseVirtualMachinePackageNormalizer::class, + + \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineAttachedIso::class => PatchVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer::class, + + \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineGpuType::class => PatchVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer::class, + + \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineHypervisor::class => PatchVirtualMachine200ResponseVirtualMachineHypervisorNormalizer::class, + + \KatapultAPI\Core\Model\PatchVirtualMachinePartGPUType::class => PatchVirtualMachinePartGPUTypeNormalizer::class, + + \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachine::class => DeleteVirtualMachine200ResponseVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineGroup::class => DeleteVirtualMachine200ResponseVirtualMachineGroupNormalizer::class, + + \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachinePackage::class => DeleteVirtualMachine200ResponseVirtualMachinePackageNormalizer::class, + + \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineAttachedIso::class => DeleteVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer::class, + + \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineGpuType::class => DeleteVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer::class, + + \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineHypervisor::class => DeleteVirtualMachine200ResponseVirtualMachineHypervisorNormalizer::class, + + \KatapultAPI\Core\Model\DeleteVirtualMachinePartGPUType::class => DeleteVirtualMachinePartGPUTypeNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinePackageLookup::class => VirtualMachinePackageLookupNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinePackageNotFoundSchema::class => VirtualMachinePackageNotFoundSchemaNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineFlexibleResources::class => VirtualMachineFlexibleResourcesNormalizer::class, + + \KatapultAPI\Core\Model\FlexibleResourcesUnavailableToOrganizationSchema::class => FlexibleResourcesUnavailableToOrganizationSchemaNormalizer::class, + + \KatapultAPI\Core\Model\IPAddressLookup::class => IPAddressLookupNormalizer::class, + + \KatapultAPI\Core\Model\IPAddressNotFoundSchema::class => IPAddressNotFoundSchemaNormalizer::class, + + \KatapultAPI\Core\Model\NoInterfaceAvailableSchema::class => NoInterfaceAvailableSchemaNormalizer::class, + + \KatapultAPI\Core\Model\IPAlreadyAllocatedSchema::class => IPAlreadyAllocatedSchemaNormalizer::class, + + \KatapultAPI\Core\Model\ZoneLookup::class => ZoneLookupNormalizer::class, + + \KatapultAPI\Core\Model\DiskTemplateLookup::class => DiskTemplateLookupNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineBuildDiskArguments::class => VirtualMachineBuildDiskArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\NetworkLookup::class => NetworkLookupNormalizer::class, + + \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuild201ResponseTask::class => PostOrganizationVirtualMachinesBuild201ResponseTaskNormalizer::class, + + \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuild201ResponseBuild::class => PostOrganizationVirtualMachinesBuild201ResponseBuildNormalizer::class, + + \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuild::class => PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuildNormalizer::class, + + \KatapultAPI\Core\Model\ResourceCreationRestricted::class => ResourceCreationRestrictedNormalizer::class, + + \KatapultAPI\Core\Model\ResourceCreationRestrictedSchema::class => ResourceCreationRestrictedSchemaNormalizer::class, + + \KatapultAPI\Core\Model\ZoneNotFoundSchema::class => ZoneNotFoundSchemaNormalizer::class, + + \KatapultAPI\Core\Model\DataCenterNotFoundSchema::class => DataCenterNotFoundSchemaNormalizer::class, + + \KatapultAPI\Core\Model\DiskTemplateNotFoundSchema::class => DiskTemplateNotFoundSchemaNormalizer::class, + + \KatapultAPI\Core\Model\NetworkNotFoundSchema::class => NetworkNotFoundSchemaNormalizer::class, + + \KatapultAPI\Core\Model\LocationRequiredSchema::class => LocationRequiredSchemaNormalizer::class, + + \KatapultAPI\Core\Model\OneSystemDiskRequiredSchema::class => OneSystemDiskRequiredSchemaNormalizer::class, + + \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuildFromSpec201ResponseTask::class => PostOrganizationVirtualMachinesBuildFromSpec201ResponseTaskNormalizer::class, + + \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuildFromSpec201ResponseBuild::class => PostOrganizationVirtualMachinesBuildFromSpec201ResponseBuildNormalizer::class, + + \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuild::class => PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuildNormalizer::class, + + \KatapultAPI\Core\Model\InvalidSpecXML::class => InvalidSpecXMLNormalizer::class, + + \KatapultAPI\Core\Model\InvalidSpecXMLSchema::class => InvalidSpecXMLSchemaNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuild::class => GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine::class => GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachine::class => GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\PostVirtualMachineStart200ResponseTask::class => PostVirtualMachineStart200ResponseTaskNormalizer::class, + + \KatapultAPI\Core\Model\PostVirtualMachineStop200ResponseTask::class => PostVirtualMachineStop200ResponseTaskNormalizer::class, + + \KatapultAPI\Core\Model\PostVirtualMachineShutdown200ResponseTask::class => PostVirtualMachineShutdown200ResponseTaskNormalizer::class, + + \KatapultAPI\Core\Model\PostVirtualMachineReset200ResponseTask::class => PostVirtualMachineReset200ResponseTaskNormalizer::class, + + \KatapultAPI\Core\Model\PostVirtualMachineConsoleSessions201ResponseConsoleSession::class => PostVirtualMachineConsoleSessions201ResponseConsoleSessionNormalizer::class, + + \KatapultAPI\Core\Model\PostVirtualMachineConsoleSessionsPartVirtualMachine::class => PostVirtualMachineConsoleSessionsPartVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineMustBeStarted::class => VirtualMachineMustBeStartedNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineMustBeStartedSchema::class => VirtualMachineMustBeStartedSchemaNormalizer::class, + + \KatapultAPI\Core\Model\AuthSSHKey::class => AuthSSHKeyNormalizer::class, + + \KatapultAPI\Core\Model\AuthSSHKeyProperties::class => AuthSSHKeyPropertiesNormalizer::class, + + \KatapultAPI\Core\Model\AuthSSHKeyLookup::class => AuthSSHKeyLookupNormalizer::class, + + \KatapultAPI\Core\Model\DeletionRestricted::class => DeletionRestrictedNormalizer::class, + + \KatapultAPI\Core\Model\APIToken::class => APITokenNormalizer::class, + + \KatapultAPI\Core\Model\APITokenArguments::class => APITokenArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\APITokenLookup::class => APITokenLookupNormalizer::class, + + \KatapultAPI\Core\Model\DeleteAPIToken200ResponseAPIToken::class => DeleteAPIToken200ResponseAPITokenNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPolicies::class => GetOrganizationDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer::class, + + \KatapultAPI\Core\Model\DiskBackupPolicyTarget::class => DiskBackupPolicyTargetNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachine::class => VirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineAttachedIso::class => VirtualMachineAttachedIsoNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineGpuType::class => VirtualMachineGpuTypeNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineHypervisor::class => VirtualMachineHypervisorNormalizer::class, + + \KatapultAPI\Core\Model\Disk::class => DiskNormalizer::class, + + \KatapultAPI\Core\Model\DiskIoProfile::class => DiskIoProfileNormalizer::class, + + \KatapultAPI\Core\Model\DiskVirtualMachineDisk::class => DiskVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineDisk::class => VirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationDiskBackupPoliciesPartSchedule::class => GetOrganizationDiskBackupPoliciesPartScheduleNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicies::class => GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachineDiskBackupPoliciesPartSchedule::class => GetVirtualMachineDiskBackupPoliciesPartScheduleNormalizer::class, + + \KatapultAPI\Core\Model\GetDiskDiskBackupPolicies200ResponseDiskBackupPolicies::class => GetDiskDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer::class, + + \KatapultAPI\Core\Model\GetDiskDiskBackupPoliciesPartSchedule::class => GetDiskDiskBackupPoliciesPartScheduleNormalizer::class, + + \KatapultAPI\Core\Model\GetDiskBackupPolicy200ResponseDiskBackupPolicy::class => GetDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer::class, + + \KatapultAPI\Core\Model\Schedule::class => ScheduleNormalizer::class, + + \KatapultAPI\Core\Model\DiskBackupPolicyLookup::class => DiskBackupPolicyLookupNormalizer::class, + + \KatapultAPI\Core\Model\DeleteDiskBackupPolicy200ResponseDiskBackupPolicy::class => DeleteDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer::class, + + \KatapultAPI\Core\Model\DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicy::class => DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicyNormalizer::class, + + \KatapultAPI\Core\Model\InvalidTimestampSchema::class => InvalidTimestampSchemaNormalizer::class, + + \KatapultAPI\Core\Model\DiskBackupPolicyArguments::class => DiskBackupPolicyArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\ScheduleArguments::class => ScheduleArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\PatchDiskBackupPolicy200ResponseDiskBackupPolicy::class => PatchDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer::class, + + \KatapultAPI\Core\Model\PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicy::class => PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicyNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskDiskBackupPolicies200ResponseDiskBackupPolicy::class => PostDiskDiskBackupPolicies200ResponseDiskBackupPolicyNormalizer::class, + + \KatapultAPI\Core\Model\DNSZone::class => DNSZoneNormalizer::class, + + \KatapultAPI\Core\Model\DNSZoneArguments::class => DNSZoneArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\DNSZoneLookup::class => DNSZoneLookupNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecord::class => DNSRecordNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentAttributes::class => DNSRecordContentAttributesNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentAttributesA::class => DNSRecordContentAttributesANormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentAttributesAAAA::class => DNSRecordContentAttributesAAAANormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentAttributesALIAS::class => DNSRecordContentAttributesALIASNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentAttributesCAA::class => DNSRecordContentAttributesCAANormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentAttributesCNAME::class => DNSRecordContentAttributesCNAMENormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentAttributesIPS::class => DNSRecordContentAttributesIPSNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentAttributesMX::class => DNSRecordContentAttributesMXNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentAttributesNS::class => DNSRecordContentAttributesNSNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentAttributesPTR::class => DNSRecordContentAttributesPTRNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentAttributesSRV::class => DNSRecordContentAttributesSRVNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentAttributesSSHFP::class => DNSRecordContentAttributesSSHFPNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentAttributesTXT::class => DNSRecordContentAttributesTXTNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentAttributesVirtualMachine::class => DNSRecordContentAttributesVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\RecordContentAttributesForA::class => RecordContentAttributesForANormalizer::class, + + \KatapultAPI\Core\Model\RecordContentAttributesForAAAA::class => RecordContentAttributesForAAAANormalizer::class, + + \KatapultAPI\Core\Model\RecordContentAttributesForALIAS::class => RecordContentAttributesForALIASNormalizer::class, + + \KatapultAPI\Core\Model\RecordContentAttributesForCAA::class => RecordContentAttributesForCAANormalizer::class, + + \KatapultAPI\Core\Model\RecordContentAttributesForCNAME::class => RecordContentAttributesForCNAMENormalizer::class, + + \KatapultAPI\Core\Model\RecordContentAttributesForIPS::class => RecordContentAttributesForIPSNormalizer::class, + + \KatapultAPI\Core\Model\RecordContentAttributesForMX::class => RecordContentAttributesForMXNormalizer::class, + + \KatapultAPI\Core\Model\RecordContentAttributesForNS::class => RecordContentAttributesForNSNormalizer::class, + + \KatapultAPI\Core\Model\RecordContentAttributesForPTR::class => RecordContentAttributesForPTRNormalizer::class, + + \KatapultAPI\Core\Model\RecordContentAttributesForSRV::class => RecordContentAttributesForSRVNormalizer::class, + + \KatapultAPI\Core\Model\RecordContentAttributesForSSHFP::class => RecordContentAttributesForSSHFPNormalizer::class, + + \KatapultAPI\Core\Model\RecordContentAttributesForTXT::class => RecordContentAttributesForTXTNormalizer::class, + + \KatapultAPI\Core\Model\RecordContentAttributesForVirtualMachine::class => RecordContentAttributesForVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordArguments::class => DNSRecordArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentArguments::class => DNSRecordContentArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForA::class => DNSRecordContentArgumentsForANormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForAAAA::class => DNSRecordContentArgumentsForAAAANormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForALIAS::class => DNSRecordContentArgumentsForALIASNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForCAA::class => DNSRecordContentArgumentsForCAANormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForCNAME::class => DNSRecordContentArgumentsForCNAMENormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForIPS::class => DNSRecordContentArgumentsForIPSNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForMX::class => DNSRecordContentArgumentsForMXNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForNS::class => DNSRecordContentArgumentsForNSNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForPTR::class => DNSRecordContentArgumentsForPTRNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForSRV::class => DNSRecordContentArgumentsForSRVNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForSSHFP::class => DNSRecordContentArgumentsForSSHFPNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForTXT::class => DNSRecordContentArgumentsForTXTNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForVirtualMachine::class => DNSRecordContentArgumentsForVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordLookup::class => DNSRecordLookupNormalizer::class, + + \KatapultAPI\Core\Model\SecurityGroup::class => SecurityGroupNormalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupArguments::class => SecurityGroupArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupLookup::class => SecurityGroupLookupNormalizer::class, + + \KatapultAPI\Core\Model\DeleteSecurityGroup200ResponseSecurityGroup::class => DeleteSecurityGroup200ResponseSecurityGroupNormalizer::class, + + \KatapultAPI\Core\Model\GetSecurityGroupRules200ResponseSecurityGroupRules::class => GetSecurityGroupRules200ResponseSecurityGroupRulesNormalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupRuleArguments::class => SecurityGroupRuleArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\PostSecurityGroupRules200ResponseSecurityGroupRule::class => PostSecurityGroupRules200ResponseSecurityGroupRuleNormalizer::class, + + \KatapultAPI\Core\Model\PostSecurityGroupRulesPartSecurityGroup::class => PostSecurityGroupRulesPartSecurityGroupNormalizer::class, + + \KatapultAPI\Core\Model\GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule::class => GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer::class, + + \KatapultAPI\Core\Model\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup::class => GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroupNormalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupRuleLookup::class => SecurityGroupRuleLookupNormalizer::class, + + \KatapultAPI\Core\Model\PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule::class => PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer::class, + + \KatapultAPI\Core\Model\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup::class => PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroupNormalizer::class, + + \KatapultAPI\Core\Model\DeleteSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule::class => DeleteSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumes::class => GetOrganizationFileStorageVolumes200ResponseFileStorageVolumesNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationFileStorageVolumesPartDataCenter::class => GetOrganizationFileStorageVolumesPartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\GetFileStorageVolume200ResponseFileStorageVolume::class => GetFileStorageVolume200ResponseFileStorageVolumeNormalizer::class, + + \KatapultAPI\Core\Model\GetFileStorageVolumePartDataCenter::class => GetFileStorageVolumePartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\FileStorageVolumeArguments::class => FileStorageVolumeArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\PostOrganizationFileStorageVolumes201ResponseFileStorageVolume::class => PostOrganizationFileStorageVolumes201ResponseFileStorageVolumeNormalizer::class, + + \KatapultAPI\Core\Model\PostOrganizationFileStorageVolumesPartDataCenter::class => PostOrganizationFileStorageVolumesPartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\FileStorageVolumeLookup::class => FileStorageVolumeLookupNormalizer::class, + + \KatapultAPI\Core\Model\PatchFileStorageVolume200ResponseFileStorageVolume::class => PatchFileStorageVolume200ResponseFileStorageVolumeNormalizer::class, + + \KatapultAPI\Core\Model\PatchFileStorageVolumePartDataCenter::class => PatchFileStorageVolumePartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\DeleteFileStorageVolume200ResponseFileStorageVolume::class => DeleteFileStorageVolume200ResponseFileStorageVolumeNormalizer::class, + + \KatapultAPI\Core\Model\DeleteFileStorageVolumePartDataCenter::class => DeleteFileStorageVolumePartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationAvailableNetworks200ResponseNetworks::class => GetOrganizationAvailableNetworks200ResponseNetworksNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationAvailableNetworksPartDataCenter::class => GetOrganizationAvailableNetworksPartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationAvailableNetworks200ResponseVirtualNetworks::class => GetOrganizationAvailableNetworks200ResponseVirtualNetworksNormalizer::class, + + \KatapultAPI\Core\Model\NetworkSpeedProfile::class => NetworkSpeedProfileNormalizer::class, + + \KatapultAPI\Core\Model\GetAddressLists200ResponseAddressLists::class => GetAddressLists200ResponseAddressListsNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationAddressLists200ResponseAddressLists::class => GetOrganizationAddressLists200ResponseAddressListsNormalizer::class, + + \KatapultAPI\Core\Model\AddressList::class => AddressListNormalizer::class, + + \KatapultAPI\Core\Model\AddressListEntry::class => AddressListEntryNormalizer::class, + + \KatapultAPI\Core\Model\AddressListArguments::class => AddressListArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\AddressListLookup::class => AddressListLookupNormalizer::class, + + \KatapultAPI\Core\Model\AddressListEntryArguments::class => AddressListEntryArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\AddressListEntryLookup::class => AddressListEntryLookupNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationCertificates200ResponseCertificates::class => GetOrganizationCertificates200ResponseCertificatesNormalizer::class, + + \KatapultAPI\Core\Model\Certificate::class => CertificateNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationLoadBalancers200ResponseLoadBalancers::class => GetOrganizationLoadBalancers200ResponseLoadBalancersNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancerResource::class => LoadBalancerResourceNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationLoadBalancersPartIPAddress::class => GetOrganizationLoadBalancersPartIPAddressNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationLoadBalancersPartDataCenter::class => GetOrganizationLoadBalancersPartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancerArguments::class => LoadBalancerArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancerWeightsArguments::class => LoadBalancerWeightsArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\PostOrganizationLoadBalancers201ResponseLoadBalancer::class => PostOrganizationLoadBalancers201ResponseLoadBalancerNormalizer::class, + + \KatapultAPI\Core\Model\PostOrganizationLoadBalancersPartIPAddress::class => PostOrganizationLoadBalancersPartIPAddressNormalizer::class, + + \KatapultAPI\Core\Model\PostOrganizationLoadBalancersPartDataCenter::class => PostOrganizationLoadBalancersPartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancerWeight::class => LoadBalancerWeightNormalizer::class, + + \KatapultAPI\Core\Model\GetLoadBalancer200ResponseLoadBalancer::class => GetLoadBalancer200ResponseLoadBalancerNormalizer::class, + + \KatapultAPI\Core\Model\GetLoadBalancerPartIPAddress::class => GetLoadBalancerPartIPAddressNormalizer::class, + + \KatapultAPI\Core\Model\GetLoadBalancerPartDataCenter::class => GetLoadBalancerPartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancerLookup::class => LoadBalancerLookupNormalizer::class, + + \KatapultAPI\Core\Model\PatchLoadBalancer200ResponseLoadBalancer::class => PatchLoadBalancer200ResponseLoadBalancerNormalizer::class, + + \KatapultAPI\Core\Model\PatchLoadBalancerPartIPAddress::class => PatchLoadBalancerPartIPAddressNormalizer::class, + + \KatapultAPI\Core\Model\PatchLoadBalancerPartDataCenter::class => PatchLoadBalancerPartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\DeleteLoadBalancer200ResponseLoadBalancer::class => DeleteLoadBalancer200ResponseLoadBalancerNormalizer::class, + + \KatapultAPI\Core\Model\GetLoadBalancerRules200ResponseLoadBalancerRules::class => GetLoadBalancerRules200ResponseLoadBalancerRulesNormalizer::class, + + \KatapultAPI\Core\Model\GetLoadBalancerRulesPartCertificates::class => GetLoadBalancerRulesPartCertificatesNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancerRuleArguments::class => LoadBalancerRuleArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\CertificateLookup::class => CertificateLookupNormalizer::class, + + \KatapultAPI\Core\Model\PostLoadBalancerRules200ResponseLoadBalancerRule::class => PostLoadBalancerRules200ResponseLoadBalancerRuleNormalizer::class, + + \KatapultAPI\Core\Model\PostLoadBalancerRulesPartCertificates::class => PostLoadBalancerRulesPartCertificatesNormalizer::class, + + \KatapultAPI\Core\Model\PostLoadBalancerRulesPartLoadBalancer::class => PostLoadBalancerRulesPartLoadBalancerNormalizer::class, + + \KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule::class => GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer::class, + + \KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRulePartCertificates::class => GetLoadBalancersRulesLoadBalancerRulePartCertificatesNormalizer::class, + + \KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer::class => GetLoadBalancersRulesLoadBalancerRulePartLoadBalancerNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancerRuleLookup::class => LoadBalancerRuleLookupNormalizer::class, + + \KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule::class => PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer::class, + + \KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRulePartCertificates::class => PatchLoadBalancersRulesLoadBalancerRulePartCertificatesNormalizer::class, + + \KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer::class => PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancerNormalizer::class, + + \KatapultAPI\Core\Model\DeleteLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule::class => DeleteLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationIPAddresses200ResponseIPAddresses::class => GetOrganizationIPAddresses200ResponseIPAddressesNormalizer::class, + + \KatapultAPI\Core\Model\APIAuthenticator503Schema::class => APIAuthenticator503SchemaNormalizer::class, + + \KatapultAPI\Core\Model\NoAvailableAddressesSchema::class => NoAvailableAddressesSchemaNormalizer::class, + + \KatapultAPI\Core\Model\GetIPAddress200ResponseAllocation::class => GetIPAddress200ResponseAllocationNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfaces::class => GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacesPartNetwork::class => GetVirtualMachineNetworkInterfacesPartNetworkNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacesPartIPAddresses::class => GetVirtualMachineNetworkInterfacesPartIPAddressesNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterface::class => GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartVirtualMachine::class => GetVirtualMachineNetworkInterfacePartVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartNetwork::class => GetVirtualMachineNetworkInterfacePartNetworkNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartIPAddresses::class => GetVirtualMachineNetworkInterfacePartIPAddressesNormalizer::class, + + \KatapultAPI\Core\Model\InterfaceNotFoundSchema::class => InterfaceNotFoundSchemaNormalizer::class, + + \KatapultAPI\Core\Model\GetVMNIVMNI200ResponseVirtualMachineNetworkInterface::class => GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceNormalizer::class, + + \KatapultAPI\Core\Model\GetVMNIVMNIPartVirtualMachine::class => GetVMNIVMNIPartVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\GetVMNIVMNIPartNetwork::class => GetVMNIVMNIPartNetworkNormalizer::class, + + \KatapultAPI\Core\Model\GetVMNIVMNIPartIPAddresses::class => GetVMNIVMNIPartIPAddressesNormalizer::class, + + \KatapultAPI\Core\Model\GetVMNIVMNIPartSpeedProfile::class => GetVMNIVMNIPartSpeedProfileNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfaceLookup::class => VirtualMachineNetworkInterfaceLookupNormalizer::class, + + \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterface::class => PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceNormalizer::class, + + \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine::class => PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork::class => PostVirtualMachineNetworkInterfaceAllocateIPPartNetworkNormalizer::class, + + \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses::class => PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddressesNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfaceNotFoundSchema::class => VirtualMachineNetworkInterfaceNotFoundSchemaNormalizer::class, + + \KatapultAPI\Core\Model\InvalidIPSchema::class => InvalidIPSchemaNormalizer::class, + + \KatapultAPI\Core\Model\NetworkSpeedProfileLookup::class => NetworkSpeedProfileLookupNormalizer::class, + + \KatapultAPI\Core\Model\NetworkSpeedProfileNotFoundSchema::class => NetworkSpeedProfileNotFoundSchemaNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationTags200ResponseTags::class => GetOrganizationTags200ResponseTagsNormalizer::class, + + \KatapultAPI\Core\Model\TagArguments::class => TagArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\TagLookup::class => TagLookupNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineGroupArguments::class => VirtualMachineGroupArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\GetOperatingSystems200ResponseOperatingSystems::class => GetOperatingSystems200ResponseOperatingSystemsNormalizer::class, + + \KatapultAPI\Core\Model\TrashObjectLookup::class => TrashObjectLookupNormalizer::class, + + \KatapultAPI\Core\Model\GetZones200ResponseZones::class => GetZones200ResponseZonesNormalizer::class, + + \KatapultAPI\Core\Model\GetZonesPartDataCenter::class => GetZonesPartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\GetCountries200ResponseCountries::class => GetCountries200ResponseCountriesNormalizer::class, + + \KatapultAPI\Core\Model\GetCountryCountryStates200ResponseCountryStates::class => GetCountryCountryStates200ResponseCountryStatesNormalizer::class, + + \KatapultAPI\Core\Model\GetCurrencies200ResponseCurrencies::class => GetCurrencies200ResponseCurrenciesNormalizer::class, + + \KatapultAPI\Core\Model\GetUsersCurrent200ResponseOrganizations::class => GetUsersCurrent200ResponseOrganizationsNormalizer::class, + + \KatapultAPI\Core\Model\IdentityNotLinkedToWebSessionSchema::class => IdentityNotLinkedToWebSessionSchemaNormalizer::class, + + \KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response::class => ResponseAPIAuthenticator400ResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response::class => ResponseAPIAuthenticator429ResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response::class => ResponseAPIAuthenticator503ResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseDataCenterNotFoundResponse::class => ResponseDataCenterNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse::class => ResponseOrganizationNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseTaskQueueingErrorResponse::class => ResponseTaskQueueingErrorResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseValidationErrorResponse::class => ResponseValidationErrorResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseDiskNotFoundResponse::class => ResponseDiskNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseObjectInTrashResponse::class => ResponseObjectInTrashResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseUnableToAssignResponse::class => ResponseUnableToAssignResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseUnableToUnassignResponse::class => ResponseUnableToUnassignResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseUnassignedDiskResponse::class => ResponseUnassignedDiskResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseVirtualMachineNotFoundResponse::class => ResponseVirtualMachineNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseDiskTemplateNotFoundResponse::class => ResponseDiskTemplateNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseDiskTemplateVersionNotFoundResponse::class => ResponseDiskTemplateVersionNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseGPUTypeNotFoundResponse::class => ResponseGPUTypeNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseNoVirtualMachineForAPITokenResponse::class => ResponseNoVirtualMachineForAPITokenResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseVirtualMachineBuildNotFoundResponse::class => ResponseVirtualMachineBuildNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseVirtualMachinePackageNotFoundResponse::class => ResponseVirtualMachinePackageNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseSSHKeyNotFoundResponse::class => ResponseSSHKeyNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseDeletionRestrictedResponse::class => ResponseDeletionRestrictedResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseAPITokenNotFoundResponse::class => ResponseAPITokenNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseDiskBackupPolicyNotFoundResponse::class => ResponseDiskBackupPolicyNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseDNSZoneNotFoundResponse::class => ResponseDNSZoneNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseDNSZoneNotVerifiedResponse::class => ResponseDNSZoneNotVerifiedResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseDNSRecordNotFoundResponse::class => ResponseDNSRecordNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseSecurityGroupNotFoundResponse::class => ResponseSecurityGroupNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseSecurityGroupRuleNotFoundResponse::class => ResponseSecurityGroupRuleNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseFileStorageVolumeNotFoundResponse::class => ResponseFileStorageVolumeNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseNetworkNotFoundResponse::class => ResponseNetworkNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseAddressListNotFoundResponse::class => ResponseAddressListNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseAddressListEntryNotFoundResponse::class => ResponseAddressListEntryNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseCertificateNotFoundResponse::class => ResponseCertificateNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseLoadBalancerNotFoundResponse::class => ResponseLoadBalancerNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseLoadBalancerRuleNotFoundResponse::class => ResponseLoadBalancerRuleNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseIPAddressNotFoundResponse::class => ResponseIPAddressNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseResourceDoesNotSupportUnallocationResponse::class => ResponseResourceDoesNotSupportUnallocationResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseNoAllocationResponse::class => ResponseNoAllocationResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseVirtualMachineNetworkInterfaceNotFoundResponse::class => ResponseVirtualMachineNetworkInterfaceNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseSpeedProfileAlreadyAssignedResponse::class => ResponseSpeedProfileAlreadyAssignedResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseTagNotFoundResponse::class => ResponseTagNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseVirtualMachineGroupNotFoundResponse::class => ResponseVirtualMachineGroupNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseOperatingSystemNotFoundResponse::class => ResponseOperatingSystemNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseTrashObjectNotFoundResponse::class => ResponseTrashObjectNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseZoneNotFoundResponse::class => ResponseZoneNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseCountryNotFoundResponse::class => ResponseCountryNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseCountryStateNotFoundResponse::class => ResponseCountryStateNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseCurrencyNotFoundResponse::class => ResponseCurrencyNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseTaskNotFoundResponse::class => ResponseTaskNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseNoUserAssociatedWithIdentityResponse::class => ResponseNoUserAssociatedWithIdentityResponseNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensGetResponse200::class => OrganizationsOrganizationApiTokensGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensPostBody::class => OrganizationsOrganizationApiTokensPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensPostResponse200::class => OrganizationsOrganizationApiTokensPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensPostResponse200ApiToken::class => OrganizationsOrganizationApiTokensPostResponse200ApiTokenNormalizer::class, + + \KatapultAPI\Core\Model\ApiTokensApiTokenDeleteBody::class => ApiTokensApiTokenDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\ApiTokensApiTokenDeleteResponse200::class => ApiTokensApiTokenDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\ApiTokensApiTokenDeleteResponse200ApiToken::class => ApiTokensApiTokenDeleteResponse200ApiTokenNormalizer::class, + + \KatapultAPI\Core\Model\ApiTokensApiTokenPatchBody::class => ApiTokensApiTokenPatchBodyNormalizer::class, + + \KatapultAPI\Core\Model\ApiTokensApiTokenPatchResponse200::class => ApiTokensApiTokenPatchResponse200Normalizer::class, + + \KatapultAPI\Core\Model\ApiTokensApiTokenPatchResponse200ApiToken::class => ApiTokensApiTokenPatchResponse200ApiTokenNormalizer::class, + + \KatapultAPI\Core\Model\ApiTokensApiTokenRegenerateSecretPostBody::class => ApiTokensApiTokenRegenerateSecretPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\ApiTokensApiTokenRegenerateSecretPostResponse200::class => ApiTokensApiTokenRegenerateSecretPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\ApiTokensApiTokenRegenerateSecretPostResponse200ApiToken::class => ApiTokensApiTokenRegenerateSecretPostResponse200ApiTokenNormalizer::class, + + \KatapultAPI\Core\Model\AddressListsGetResponse200::class => AddressListsGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsGetResponse200::class => OrganizationsOrganizationAddressListsGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsPostBody::class => OrganizationsOrganizationAddressListsPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsPostResponse201::class => OrganizationsOrganizationAddressListsPostResponse201Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsPostResponse201AddressList::class => OrganizationsOrganizationAddressListsPostResponse201AddressListNormalizer::class, + + \KatapultAPI\Core\Model\AddressListsAddressListDeleteBody::class => AddressListsAddressListDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\AddressListsAddressListDeleteResponse200::class => AddressListsAddressListDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\AddressListsAddressListDeleteResponse200AddressList::class => AddressListsAddressListDeleteResponse200AddressListNormalizer::class, + + \KatapultAPI\Core\Model\AddressListsAddressListGetResponse200::class => AddressListsAddressListGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\AddressListsAddressListGetResponse200AddressList::class => AddressListsAddressListGetResponse200AddressListNormalizer::class, + + \KatapultAPI\Core\Model\AddressListsAddressListPatchBody::class => AddressListsAddressListPatchBodyNormalizer::class, + + \KatapultAPI\Core\Model\AddressListsAddressListPatchResponse200::class => AddressListsAddressListPatchResponse200Normalizer::class, + + \KatapultAPI\Core\Model\AddressListsAddressListPatchResponse200AddressList::class => AddressListsAddressListPatchResponse200AddressListNormalizer::class, + + \KatapultAPI\Core\Model\AddressListsAddressListEntriesGetResponse200::class => AddressListsAddressListEntriesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\AddressListsAddressListEntriesPostBody::class => AddressListsAddressListEntriesPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\AddressListsAddressListEntriesPostResponse201::class => AddressListsAddressListEntriesPostResponse201Normalizer::class, + + \KatapultAPI\Core\Model\AddressListsAddressListEntriesPostResponse201AddressListEntry::class => AddressListsAddressListEntriesPostResponse201AddressListEntryNormalizer::class, + + \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryDeleteBody::class => AddressListEntriesAddressListEntryDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryDeleteResponse200::class => AddressListEntriesAddressListEntryDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryDeleteResponse200AddressListEntry::class => AddressListEntriesAddressListEntryDeleteResponse200AddressListEntryNormalizer::class, + + \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryGetResponse200::class => AddressListEntriesAddressListEntryGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryGetResponse200AddressListEntry::class => AddressListEntriesAddressListEntryGetResponse200AddressListEntryNormalizer::class, + + \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryPatchBody::class => AddressListEntriesAddressListEntryPatchBodyNormalizer::class, + + \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryPatchResponse200::class => AddressListEntriesAddressListEntryPatchResponse200Normalizer::class, + + \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryPatchResponse200AddressListEntry::class => AddressListEntriesAddressListEntryPatchResponse200AddressListEntryNormalizer::class, + + \KatapultAPI\Core\Model\AddressListsAddressListEntriesBulkPostBody::class => AddressListsAddressListEntriesBulkPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\AddressListsAddressListEntriesBulkPostResponse200::class => AddressListsAddressListEntriesBulkPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationCertificatesGetResponse200::class => OrganizationsOrganizationCertificatesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\CertificatesCertificateGetResponse200::class => CertificatesCertificateGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\CountriesGetResponse200::class => CountriesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\CountriesCountryGetResponse200::class => CountriesCountryGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\CountriesCountryGetResponse200Country::class => CountriesCountryGetResponse200CountryNormalizer::class, + + \KatapultAPI\Core\Model\CountriesCountryCountryStatesGetResponse200::class => CountriesCountryCountryStatesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\CountryStatesCountryStateGetResponse200::class => CountryStatesCountryStateGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\CountryStatesCountryStateGetResponse200CountryState::class => CountryStatesCountryStateGetResponse200CountryStateNormalizer::class, + + \KatapultAPI\Core\Model\CurrenciesGetResponse200::class => CurrenciesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\CurrenciesCurrencyGetResponse200::class => CurrenciesCurrencyGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\CurrenciesCurrencyGetResponse200Currency::class => CurrenciesCurrencyGetResponse200CurrencyNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesGetResponse200::class => OrganizationsOrganizationDnsZonesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesPostBody::class => OrganizationsOrganizationDnsZonesPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesPostResponse201::class => OrganizationsOrganizationDnsZonesPostResponse201Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesPostResponse201DnsZone::class => OrganizationsOrganizationDnsZonesPostResponse201DnsZoneNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesNameserversGetResponse200::class => OrganizationsOrganizationDnsZonesNameserversGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DnsZonesDnsZoneDeleteBody::class => DnsZonesDnsZoneDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\DnsZonesDnsZoneDeleteResponse200::class => DnsZonesDnsZoneDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DnsZonesDnsZoneGetResponse200::class => DnsZonesDnsZoneGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DnsZonesDnsZoneGetResponse200DnsZone::class => DnsZonesDnsZoneGetResponse200DnsZoneNormalizer::class, + + \KatapultAPI\Core\Model\DnsZonesDnsZonePatchBody::class => DnsZonesDnsZonePatchBodyNormalizer::class, + + \KatapultAPI\Core\Model\DnsZonesDnsZonePatchResponse200::class => DnsZonesDnsZonePatchResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DnsZonesDnsZonePatchResponse200DnsZone::class => DnsZonesDnsZonePatchResponse200DnsZoneNormalizer::class, + + \KatapultAPI\Core\Model\DnsZonesDnsZoneVerifyPostBody::class => DnsZonesDnsZoneVerifyPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\DnsZonesDnsZoneVerifyPostResponse200::class => DnsZonesDnsZoneVerifyPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DnsZonesDnsZoneVerifyPostResponse200DnsZone::class => DnsZonesDnsZoneVerifyPostResponse200DnsZoneNormalizer::class, + + \KatapultAPI\Core\Model\DnsZonesDnsZoneRecordsGetResponse200::class => DnsZonesDnsZoneRecordsGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DnsZonesDnsZoneRecordsPostBody::class => DnsZonesDnsZoneRecordsPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\DnsZonesDnsZoneRecordsPostResponse200::class => DnsZonesDnsZoneRecordsPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DnsRecordsDnsRecordDeleteBody::class => DnsRecordsDnsRecordDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\DnsRecordsDnsRecordDeleteResponse200::class => DnsRecordsDnsRecordDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DnsRecordsDnsRecordGetResponse200::class => DnsRecordsDnsRecordGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DnsRecordsDnsRecordGetResponse200DnsRecord::class => DnsRecordsDnsRecordGetResponse200DnsRecordNormalizer::class, + + \KatapultAPI\Core\Model\DnsRecordsDnsRecordPatchBody::class => DnsRecordsDnsRecordPatchBodyNormalizer::class, + + \KatapultAPI\Core\Model\DnsRecordsDnsRecordPatchResponse200::class => DnsRecordsDnsRecordPatchResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DnsRecordsDnsRecordPatchResponse200DnsRecord::class => DnsRecordsDnsRecordPatchResponse200DnsRecordNormalizer::class, + + \KatapultAPI\Core\Model\DataCentersGetResponse200::class => DataCentersGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DataCentersDataCenterGetResponse200::class => DataCentersDataCenterGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DataCentersDataCenterDefaultNetworkGetResponse200::class => DataCentersDataCenterDefaultNetworkGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DataCentersDataCenterDefaultNetworkGetResponse200Network::class => DataCentersDataCenterDefaultNetworkGetResponse200NetworkNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationDiskIoProfilesGetResponse200::class => OrganizationsOrganizationDiskIoProfilesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationDiskBackupPoliciesGetResponse200::class => OrganizationsOrganizationDiskBackupPoliciesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200::class => VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesPostBody::class => VirtualMachinesVirtualMachineDiskBackupPoliciesPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200::class => VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicy::class => VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicyNormalizer::class, + + \KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesGetResponse200::class => DisksDiskDiskBackupPoliciesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesPostBody::class => DisksDiskDiskBackupPoliciesPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesPostResponse200::class => DisksDiskDiskBackupPoliciesPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicy::class => DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicyNormalizer::class, + + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyDeleteBody::class => DiskBackupPoliciesDiskBackupPolicyDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200::class => DiskBackupPoliciesDiskBackupPolicyDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicy::class => DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicyNormalizer::class, + + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyGetResponse200::class => DiskBackupPoliciesDiskBackupPolicyGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicy::class => DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicyNormalizer::class, + + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyPatchBody::class => DiskBackupPoliciesDiskBackupPolicyPatchBodyNormalizer::class, + + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyPatchResponse200::class => DiskBackupPoliciesDiskBackupPolicyPatchResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicy::class => DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicyNormalizer::class, + + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteBody::class => DiskBackupPoliciesDiskBackupPolicyScheduleDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200::class => DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicy::class => DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicyNormalizer::class, + + \KatapultAPI\Core\Model\DiskTemplatesDiskTemplateVersionsGetResponse200::class => DiskTemplatesDiskTemplateVersionsGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionGetResponse200::class => DiskTemplateVersionsDiskTemplateVersionGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersion::class => DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersionNormalizer::class, + + \KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200::class => DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersion::class => DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersionNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationDiskTemplatesGetResponse200::class => OrganizationsOrganizationDiskTemplatesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DiskTemplatesDiskTemplateGetResponse200::class => DiskTemplatesDiskTemplateGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DiskTemplatesDiskTemplateGetResponse200DiskTemplate::class => DiskTemplatesDiskTemplateGetResponse200DiskTemplateNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationDisksGetResponse200::class => OrganizationsOrganizationDisksGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationDisksPostBody::class => OrganizationsOrganizationDisksPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationDisksPostResponse201::class => OrganizationsOrganizationDisksPostResponse201Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationDisksPostResponse201Disk::class => OrganizationsOrganizationDisksPostResponse201DiskNormalizer::class, + + \KatapultAPI\Core\Model\DisksDiskDeleteBody::class => DisksDiskDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\DisksDiskDeleteResponse200::class => DisksDiskDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DisksDiskDeleteResponse200Disk::class => DisksDiskDeleteResponse200DiskNormalizer::class, + + \KatapultAPI\Core\Model\DisksDiskGetResponse200::class => DisksDiskGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DisksDiskGetResponse200Disk::class => DisksDiskGetResponse200DiskNormalizer::class, + + \KatapultAPI\Core\Model\DisksDiskPatchBody::class => DisksDiskPatchBodyNormalizer::class, + + \KatapultAPI\Core\Model\DisksDiskPatchResponse200::class => DisksDiskPatchResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DisksDiskPatchResponse200Disk::class => DisksDiskPatchResponse200DiskNormalizer::class, + + \KatapultAPI\Core\Model\DisksDiskAssignPostBody::class => DisksDiskAssignPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\DisksDiskAssignPostResponse200::class => DisksDiskAssignPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DisksDiskAssignPostResponse200Disk::class => DisksDiskAssignPostResponse200DiskNormalizer::class, + + \KatapultAPI\Core\Model\DisksDiskUnassignPostBody::class => DisksDiskUnassignPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\DisksDiskUnassignPostResponse200::class => DisksDiskUnassignPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DisksDiskUnassignPostResponse200Disk::class => DisksDiskUnassignPostResponse200DiskNormalizer::class, + + \KatapultAPI\Core\Model\DisksDiskAttachPostBody::class => DisksDiskAttachPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\DisksDiskAttachPostResponse200::class => DisksDiskAttachPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DisksDiskAttachPostResponse200Disk::class => DisksDiskAttachPostResponse200DiskNormalizer::class, + + \KatapultAPI\Core\Model\DisksDiskDetachPostBody::class => DisksDiskDetachPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\DisksDiskDetachPostResponse200::class => DisksDiskDetachPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DisksDiskDetachPostResponse200Disk::class => DisksDiskDetachPostResponse200DiskNormalizer::class, + + \KatapultAPI\Core\Model\DisksDiskResizePutBody::class => DisksDiskResizePutBodyNormalizer::class, + + \KatapultAPI\Core\Model\DisksDiskResizePutResponse200::class => DisksDiskResizePutResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DisksDiskResizePutResponse200Disk::class => DisksDiskResizePutResponse200DiskNormalizer::class, + + \KatapultAPI\Core\Model\DisksDiskIoProfilePutBody::class => DisksDiskIoProfilePutBodyNormalizer::class, + + \KatapultAPI\Core\Model\DisksDiskIoProfilePutResponse200::class => DisksDiskIoProfilePutResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DisksDiskIoProfilePutResponse200Disk::class => DisksDiskIoProfilePutResponse200DiskNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDisksGetResponse200::class => VirtualMachinesVirtualMachineDisksGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesGetResponse200::class => OrganizationsOrganizationFileStorageVolumesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesPostBody::class => OrganizationsOrganizationFileStorageVolumesPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesPostResponse201::class => OrganizationsOrganizationFileStorageVolumesPostResponse201Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolume::class => OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolumeNormalizer::class, + + \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeDeleteBody::class => FileStorageVolumesFileStorageVolumeDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeDeleteResponse200::class => FileStorageVolumesFileStorageVolumeDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolume::class => FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolumeNormalizer::class, + + \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeGetResponse200::class => FileStorageVolumesFileStorageVolumeGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolume::class => FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolumeNormalizer::class, + + \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumePatchBody::class => FileStorageVolumesFileStorageVolumePatchBodyNormalizer::class, + + \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumePatchResponse200::class => FileStorageVolumesFileStorageVolumePatchResponse200Normalizer::class, + + \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolume::class => FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolumeNormalizer::class, + + \KatapultAPI\Core\Model\GpuTypesGetResponse200::class => GpuTypesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\GpuTypesGpuTypeGetResponse200::class => GpuTypesGpuTypeGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DataCentersDataCenterGpuTypesGetResponse200::class => DataCentersDataCenterGpuTypesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesGetResponse200::class => OrganizationsOrganizationIpAddressesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesPostBody::class => OrganizationsOrganizationIpAddressesPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesPostResponse200::class => OrganizationsOrganizationIpAddressesPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesPostResponse200IpAddress::class => OrganizationsOrganizationIpAddressesPostResponse200IpAddressNormalizer::class, + + \KatapultAPI\Core\Model\IpAddressesIpAddressDeleteBody::class => IpAddressesIpAddressDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\IpAddressesIpAddressDeleteResponse200::class => IpAddressesIpAddressDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\IpAddressesIpAddressGetResponse200::class => IpAddressesIpAddressGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\IpAddressesIpAddressGetResponse200IpAddress::class => IpAddressesIpAddressGetResponse200IpAddressNormalizer::class, + + \KatapultAPI\Core\Model\IpAddressesIpAddressGetResponse200Allocation::class => IpAddressesIpAddressGetResponse200AllocationNormalizer::class, + + \KatapultAPI\Core\Model\IpAddressesIpAddressPatchBody::class => IpAddressesIpAddressPatchBodyNormalizer::class, + + \KatapultAPI\Core\Model\IpAddressesIpAddressPatchResponse200::class => IpAddressesIpAddressPatchResponse200Normalizer::class, + + \KatapultAPI\Core\Model\IpAddressesIpAddressPatchResponse200IpAddress::class => IpAddressesIpAddressPatchResponse200IpAddressNormalizer::class, + + \KatapultAPI\Core\Model\IpAddressesIpAddressUnallocatePostBody::class => IpAddressesIpAddressUnallocatePostBodyNormalizer::class, + + \KatapultAPI\Core\Model\IpAddressesIpAddressUnallocatePostResponse200::class => IpAddressesIpAddressUnallocatePostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersGetResponse200::class => OrganizationsOrganizationLoadBalancersGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersPostBody::class => OrganizationsOrganizationLoadBalancersPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersPostResponse201::class => OrganizationsOrganizationLoadBalancersPostResponse201Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersPostResponse201LoadBalancer::class => OrganizationsOrganizationLoadBalancersPostResponse201LoadBalancerNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerDeleteBody::class => LoadBalancersLoadBalancerDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerDeleteResponse200::class => LoadBalancersLoadBalancerDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerDeleteResponse200LoadBalancer::class => LoadBalancersLoadBalancerDeleteResponse200LoadBalancerNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerGetResponse200::class => LoadBalancersLoadBalancerGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerGetResponse200LoadBalancer::class => LoadBalancersLoadBalancerGetResponse200LoadBalancerNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerPatchBody::class => LoadBalancersLoadBalancerPatchBodyNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerPatchResponse200::class => LoadBalancersLoadBalancerPatchResponse200Normalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerPatchResponse200LoadBalancer::class => LoadBalancersLoadBalancerPatchResponse200LoadBalancerNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesGetResponse200::class => LoadBalancersLoadBalancerRulesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesPostBody::class => LoadBalancersLoadBalancerRulesPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesPostResponse200::class => LoadBalancersLoadBalancerRulesPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRule::class => LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRuleNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleDeleteBody::class => LoadBalancersRulesLoadBalancerRuleDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleDeleteResponse200::class => LoadBalancersRulesLoadBalancerRuleDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRule::class => LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRuleNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleGetResponse200::class => LoadBalancersRulesLoadBalancerRuleGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRule::class => LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRuleNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRulePatchBody::class => LoadBalancersRulesLoadBalancerRulePatchBodyNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRulePatchResponse200::class => LoadBalancersRulesLoadBalancerRulePatchResponse200Normalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRule::class => LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRuleNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationNetworkSpeedProfilesGetResponse200::class => OrganizationsOrganizationNetworkSpeedProfilesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationAvailableNetworksGetResponse200::class => OrganizationsOrganizationAvailableNetworksGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\NetworksNetworkGetResponse200::class => NetworksNetworkGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\NetworksNetworkGetResponse200Network::class => NetworksNetworkGetResponse200NetworkNormalizer::class, + + \KatapultAPI\Core\Model\OperatingSystemsGetResponse200::class => OperatingSystemsGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OperatingSystemsOperatingSystemGetResponse200::class => OperatingSystemsOperatingSystemGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OperatingSystemsOperatingSystemGetResponse200OperatingSystem::class => OperatingSystemsOperatingSystemGetResponse200OperatingSystemNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsGetResponse200::class => OrganizationsGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationGetResponse200::class => OrganizationsOrganizationGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationPolicyGetResponse200::class => OrganizationsOrganizationPolicyGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationPolicyLimitsGetResponse200::class => OrganizationsOrganizationPolicyLimitsGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationPricesGetResponse200::class => OrganizationsOrganizationPricesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationUsersWithAccessGetResponse200::class => OrganizationsOrganizationUsersWithAccessGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationManagedGetResponse200::class => OrganizationsOrganizationManagedGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationManagedPostBody::class => OrganizationsOrganizationManagedPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationManagedPostResponse201::class => OrganizationsOrganizationManagedPostResponse201Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationSshKeysGetResponse200::class => OrganizationsOrganizationSshKeysGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationSshKeysPostBody::class => OrganizationsOrganizationSshKeysPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationSshKeysPostResponse201::class => OrganizationsOrganizationSshKeysPostResponse201Normalizer::class, + + \KatapultAPI\Core\Model\SshKeysSshKeyDeleteBody::class => SshKeysSshKeyDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\SshKeysSshKeyDeleteResponse200::class => SshKeysSshKeyDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsGetResponse200::class => OrganizationsOrganizationSecurityGroupsGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsPostBody::class => OrganizationsOrganizationSecurityGroupsPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsPostResponse200::class => OrganizationsOrganizationSecurityGroupsPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroup::class => OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroupNormalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupDeleteBody::class => SecurityGroupsSecurityGroupDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupDeleteResponse200::class => SecurityGroupsSecurityGroupDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupDeleteResponse200SecurityGroup::class => SecurityGroupsSecurityGroupDeleteResponse200SecurityGroupNormalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupGetResponse200::class => SecurityGroupsSecurityGroupGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupGetResponse200SecurityGroup::class => SecurityGroupsSecurityGroupGetResponse200SecurityGroupNormalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupPatchBody::class => SecurityGroupsSecurityGroupPatchBodyNormalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupPatchResponse200::class => SecurityGroupsSecurityGroupPatchResponse200Normalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupPatchResponse200SecurityGroup::class => SecurityGroupsSecurityGroupPatchResponse200SecurityGroupNormalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesGetResponse200::class => SecurityGroupsSecurityGroupRulesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesPostBody::class => SecurityGroupsSecurityGroupRulesPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesPostResponse200::class => SecurityGroupsSecurityGroupRulesPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRule::class => SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRuleNormalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleDeleteBody::class => SecurityGroupsRulesSecurityGroupRuleDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200::class => SecurityGroupsRulesSecurityGroupRuleDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRule::class => SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRuleNormalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleGetResponse200::class => SecurityGroupsRulesSecurityGroupRuleGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRule::class => SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRuleNormalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRulePatchBody::class => SecurityGroupsRulesSecurityGroupRulePatchBodyNormalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRulePatchResponse200::class => SecurityGroupsRulesSecurityGroupRulePatchResponse200Normalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRule::class => SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRuleNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationTagsGetResponse200::class => OrganizationsOrganizationTagsGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationTagsPostBody::class => OrganizationsOrganizationTagsPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationTagsPostResponse200::class => OrganizationsOrganizationTagsPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationTagsPostResponse200Tag::class => OrganizationsOrganizationTagsPostResponse200TagNormalizer::class, + + \KatapultAPI\Core\Model\TagsTagDeleteBody::class => TagsTagDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\TagsTagDeleteResponse200::class => TagsTagDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\TagsTagDeleteResponse200Tag::class => TagsTagDeleteResponse200TagNormalizer::class, + + \KatapultAPI\Core\Model\TagsTagGetResponse200::class => TagsTagGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\TagsTagGetResponse200Tag::class => TagsTagGetResponse200TagNormalizer::class, + + \KatapultAPI\Core\Model\TagsTagPatchBody::class => TagsTagPatchBodyNormalizer::class, + + \KatapultAPI\Core\Model\TagsTagPatchResponse200::class => TagsTagPatchResponse200Normalizer::class, + + \KatapultAPI\Core\Model\TagsTagPatchResponse200Tag::class => TagsTagPatchResponse200TagNormalizer::class, + + \KatapultAPI\Core\Model\TasksTaskGetResponse200::class => TasksTaskGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationTrashObjectsGetResponse200::class => OrganizationsOrganizationTrashObjectsGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationTrashObjectsPurgeAllPostBody::class => OrganizationsOrganizationTrashObjectsPurgeAllPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200::class => OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\TrashObjectsTrashObjectDeleteBody::class => TrashObjectsTrashObjectDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\TrashObjectsTrashObjectDeleteResponse200::class => TrashObjectsTrashObjectDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\TrashObjectsTrashObjectGetResponse200::class => TrashObjectsTrashObjectGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\TrashObjectsTrashObjectGetResponse200TrashObject::class => TrashObjectsTrashObjectGetResponse200TrashObjectNormalizer::class, + + \KatapultAPI\Core\Model\TrashObjectsTrashObjectRestorePostBody::class => TrashObjectsTrashObjectRestorePostBodyNormalizer::class, + + \KatapultAPI\Core\Model\TrashObjectsTrashObjectRestorePostResponse200::class => TrashObjectsTrashObjectRestorePostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\TrashObjectsTrashObjectRestorePostResponse200TrashObject::class => TrashObjectsTrashObjectRestorePostResponse200TrashObjectNormalizer::class, + + \KatapultAPI\Core\Model\UsersCurrentGetResponse200::class => UsersCurrentGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\InvalidateLinkedWebSessionPostBody::class => InvalidateLinkedWebSessionPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\InvalidateLinkedWebSessionPostResponse200::class => InvalidateLinkedWebSessionPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsGetResponse200::class => OrganizationsOrganizationVirtualMachineGroupsGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsPostBody::class => OrganizationsOrganizationVirtualMachineGroupsPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsPostResponse200::class => OrganizationsOrganizationVirtualMachineGroupsPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroup::class => OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroupNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupDeleteBody::class => VirtualMachineGroupsVirtualMachineGroupDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200::class => VirtualMachineGroupsVirtualMachineGroupDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroup::class => VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroupNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupGetResponse200::class => VirtualMachineGroupsVirtualMachineGroupGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroup::class => VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroupNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupPatchBody::class => VirtualMachineGroupsVirtualMachineGroupPatchBodyNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupPatchResponse200::class => VirtualMachineGroupsVirtualMachineGroupPatchResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroup::class => VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroupNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200::class => VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200::class => VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterface::class => VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterfaceNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200::class => VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterface::class => VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterfaceNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsAddressVersionGetResponse200::class => VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsAddressVersionGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostBody::class => VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200::class => VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterface::class => VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterfaceNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostBody::class => VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200::class => VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddress::class => VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddressNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchBody::class => VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchBodyNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200::class => VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Task::class => VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200TaskNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinePackagesGetResponse200::class => VirtualMachinePackagesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinePackagesVirtualMachinePackageGetResponse200::class => VirtualMachinePackagesVirtualMachinePackageGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesGetResponse200::class => OrganizationsOrganizationVirtualMachinesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDeleteBody::class => VirtualMachinesVirtualMachineDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDeleteResponse200::class => VirtualMachinesVirtualMachineDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineGetResponse200::class => VirtualMachinesVirtualMachineGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePatchBody::class => VirtualMachinesVirtualMachinePatchBodyNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePatchResponse200::class => VirtualMachinesVirtualMachinePatchResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePatchResponse200VirtualMachine::class => VirtualMachinesVirtualMachinePatchResponse200VirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePackagePutBody::class => VirtualMachinesVirtualMachinePackagePutBodyNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePackagePutResponse200::class => VirtualMachinesVirtualMachinePackagePutResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineFlexibleResourcesPutBody::class => VirtualMachinesVirtualMachineFlexibleResourcesPutBodyNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200::class => VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineAllocateIpPostBody::class => VirtualMachinesVirtualMachineAllocateIpPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineAllocateIpPostResponse200::class => VirtualMachinesVirtualMachineAllocateIpPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddress::class => VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddressNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildPostBody::class => OrganizationsOrganizationVirtualMachinesBuildPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildPostResponse201::class => OrganizationsOrganizationVirtualMachinesBuildPostResponse201Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildPostResponse201Build::class => OrganizationsOrganizationVirtualMachinesBuildPostResponse201BuildNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostBody::class => OrganizationsOrganizationVirtualMachinesBuildFromSpecPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201::class => OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Build::class => OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201BuildNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesBuildsVirtualMachineBuildGetResponse200::class => VirtualMachinesBuildsVirtualMachineBuildGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStartPostBody::class => VirtualMachinesVirtualMachineStartPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStartPostResponse200::class => VirtualMachinesVirtualMachineStartPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStopPostBody::class => VirtualMachinesVirtualMachineStopPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStopPostResponse200::class => VirtualMachinesVirtualMachineStopPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineShutdownPostBody::class => VirtualMachinesVirtualMachineShutdownPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineShutdownPostResponse200::class => VirtualMachinesVirtualMachineShutdownPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineResetPostBody::class => VirtualMachinesVirtualMachineResetPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineResetPostResponse200::class => VirtualMachinesVirtualMachineResetPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineConsoleSessionsPostBody::class => VirtualMachinesVirtualMachineConsoleSessionsPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineConsoleSessionsPostResponse201::class => VirtualMachinesVirtualMachineConsoleSessionsPostResponse201Normalizer::class, + + \KatapultAPI\Core\Model\ZonesGetResponse200::class => ZonesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\ZonesZoneGetResponse200::class => ZonesZoneGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\ZonesZoneGetResponse200Zone::class => ZonesZoneGetResponse200ZoneNormalizer::class, + + \Jane\Component\JsonSchemaRuntime\Reference::class => \KatapultAPI\Core\Runtime\Normalizer\ReferenceNormalizer::class, ]; protected $normalizersCache = []; - public function supportsDenormalization($data, $type, $format = null, array $context = []): bool - { - return array_key_exists($type, $this->normalizers); - } + public function supportsDenormalization($data, $type, $format = null, array $context = []): bool + { + return array_key_exists($type, $this->normalizers); + } + + public function supportsNormalization($data, $format = null, array $context = []): bool + { + return is_object($data) && array_key_exists(get_class($data), $this->normalizers); + } + + public function normalize(mixed $object, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null + { + $normalizerClass = $this->normalizers[get_class($object)]; + $normalizer = $this->getNormalizer($normalizerClass); + + return $normalizer->normalize($object, $format, $context); + } + + public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed + { + $denormalizerClass = $this->normalizers[$type]; + $denormalizer = $this->getNormalizer($denormalizerClass); + + return $denormalizer->denormalize($data, $type, $format, $context); + } + + private function getNormalizer(string $normalizerClass) + { + return $this->normalizersCache[$normalizerClass] ?? $this->initNormalizer($normalizerClass); + } + + private function initNormalizer(string $normalizerClass) + { + $normalizer = new $normalizerClass(); + $normalizer->setNormalizer($this->normalizer); + $normalizer->setDenormalizer($this->denormalizer); + $this->normalizersCache[$normalizerClass] = $normalizer; + + return $normalizer; + } + + public function getSupportedTypes(?string $format = null): array + { + return [ + \KatapultAPI\Core\Model\GetDataCenters200ResponseDataCenters::class => false, + \KatapultAPI\Core\Model\GetDataCentersPartCountry::class => false, + \KatapultAPI\Core\Model\UnauthorizedNetworkForAPIToken::class => false, + \KatapultAPI\Core\Model\UnauthorizedNetworkForAPITokenSchema::class => false, + \KatapultAPI\Core\Model\InvalidAPIToken::class => false, + \KatapultAPI\Core\Model\InvalidAPITokenSchema::class => false, + \KatapultAPI\Core\Model\InvalidCapabilitiesTokenSchema::class => false, + \KatapultAPI\Core\Model\ScopeNotGrantedError::class => false, + \KatapultAPI\Core\Model\ScopeNotGrantedErrorSchema::class => false, + \KatapultAPI\Core\Model\RateLimitReached::class => false, + \KatapultAPI\Core\Model\GetDataCenter200ResponseDataCenter::class => false, + \KatapultAPI\Core\Model\GetDataCenterPartCountry::class => false, + \KatapultAPI\Core\Model\GetDataCenterDefaultNetwork200ResponseNetwork::class => false, + \KatapultAPI\Core\Model\GetDataCenterDefaultNetworkPartDataCenter::class => false, + \KatapultAPI\Core\Model\GetOrganizations200ResponseOrganizations::class => false, + \KatapultAPI\Core\Model\Organization::class => false, + \KatapultAPI\Core\Model\OrganizationCountry::class => false, + \KatapultAPI\Core\Model\OrganizationCountryState::class => false, + \KatapultAPI\Core\Model\Currency::class => false, + \KatapultAPI\Core\Model\Country::class => false, + \KatapultAPI\Core\Model\CountryState::class => false, + \KatapultAPI\Core\Model\OrganizationSuspendedSchema::class => false, + \KatapultAPI\Core\Model\OrganizationNotActivatedSchema::class => false, + \KatapultAPI\Core\Model\PolicyLimits::class => false, + \KatapultAPI\Core\Model\FinancialPolicyLimit::class => false, + \KatapultAPI\Core\Model\PolicyLimit::class => false, + \KatapultAPI\Core\Model\PolicyLimitWithoutCurrent::class => false, + \KatapultAPI\Core\Model\PolicyFeatures::class => false, + \KatapultAPI\Core\Model\PolicyFeature::class => false, + \KatapultAPI\Core\Model\APIAuthenticator400Schema::class => false, + \KatapultAPI\Core\Model\PolicyNotAvailableForManagedOrganizationsSchema::class => false, + \KatapultAPI\Core\Model\OrganizationPolicy::class => false, + \KatapultAPI\Core\Model\DecimalOrUnlimited::class => false, + \KatapultAPI\Core\Model\IntegerOrUnlimited::class => false, + \KatapultAPI\Core\Model\IntegerValue::class => false, + \KatapultAPI\Core\Model\PriceResourceWithSinglePriceVariant::class => false, + \KatapultAPI\Core\Model\SinglePriceVariant::class => false, + \KatapultAPI\Core\Model\PricesNotAvailableForManagedOrganizationsSchema::class => false, + \KatapultAPI\Core\Model\PaginationObject::class => false, + \KatapultAPI\Core\Model\GetOrganizationUsersWithAccess200ResponseUsers::class => false, + \KatapultAPI\Core\Model\GetOrganizationUsersWithAccess200ResponseUsersUser::class => false, + \KatapultAPI\Core\Model\User::class => false, + \KatapultAPI\Core\Model\GetOrganizationManaged200ResponseOrganizations::class => false, + \KatapultAPI\Core\Model\OrganizationLookup::class => false, + \KatapultAPI\Core\Model\KeyValue::class => false, + \KatapultAPI\Core\Model\OrganizationLimitReachedSchema::class => false, + \KatapultAPI\Core\Model\ValidationError::class => false, + \KatapultAPI\Core\Model\ValidationErrorSchema::class => false, + \KatapultAPI\Core\Model\GetOrganizationDisks200ResponseDisk::class => false, + \KatapultAPI\Core\Model\GetOrganizationDisks200ResponseDiskVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\GetOrganizationDisksPartVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\GetOrganizationDisksPartVirtualMachine::class => false, + \KatapultAPI\Core\Model\DiskArguments::class => false, + \KatapultAPI\Core\Model\DataCenterLookup::class => false, + \KatapultAPI\Core\Model\DiskIOProfileLookup::class => false, + \KatapultAPI\Core\Model\VirtualMachineDiskArguments::class => false, + \KatapultAPI\Core\Model\VirtualMachineLookup::class => false, + \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDisk::class => false, + \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskIoProfile::class => false, + \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskInstallation::class => false, + \KatapultAPI\Core\Model\DiskIOProfile::class => false, + \KatapultAPI\Core\Model\PostOrganizationDisksPartDataCenter::class => false, + \KatapultAPI\Core\Model\PostOrganizationDisksPartVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\PostOrganizationDisksPartVirtualMachine::class => false, + \KatapultAPI\Core\Model\DiskInstallation::class => false, + \KatapultAPI\Core\Model\DiskTemplateVersion::class => false, + \KatapultAPI\Core\Model\DiskTemplate::class => false, + \KatapultAPI\Core\Model\DiskTemplateLatestVersion::class => false, + \KatapultAPI\Core\Model\DiskTemplateOperatingSystem::class => false, + \KatapultAPI\Core\Model\OperatingSystem::class => false, + \KatapultAPI\Core\Model\OperatingSystemBadge::class => false, + \KatapultAPI\Core\Model\Attachment::class => false, + \KatapultAPI\Core\Model\DiskInstallationAttribute::class => false, + \KatapultAPI\Core\Model\Task::class => false, + \KatapultAPI\Core\Model\PermissionDenied::class => false, + \KatapultAPI\Core\Model\PermissionDeniedSchema::class => false, + \KatapultAPI\Core\Model\TaskQueueingError::class => false, + \KatapultAPI\Core\Model\GetDisk200ResponseDisk::class => false, + \KatapultAPI\Core\Model\GetDisk200ResponseDiskIoProfile::class => false, + \KatapultAPI\Core\Model\GetDisk200ResponseDiskVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\GetDisk200ResponseDiskInstallation::class => false, + \KatapultAPI\Core\Model\GetDiskPartDataCenter::class => false, + \KatapultAPI\Core\Model\GetDiskPartVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\GetDiskPartVirtualMachine::class => false, + \KatapultAPI\Core\Model\ObjectInTrash::class => false, + \KatapultAPI\Core\Model\ObjectInTrashTrashObject::class => false, + \KatapultAPI\Core\Model\TrashObject::class => false, + \KatapultAPI\Core\Model\DiskLookup::class => false, + \KatapultAPI\Core\Model\PatchDisk200ResponseDisk::class => false, + \KatapultAPI\Core\Model\PatchDisk200ResponseDiskIoProfile::class => false, + \KatapultAPI\Core\Model\PatchDisk200ResponseDiskVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\PatchDisk200ResponseDiskInstallation::class => false, + \KatapultAPI\Core\Model\PatchDiskPartDataCenter::class => false, + \KatapultAPI\Core\Model\PatchDiskPartVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\PatchDiskPartVirtualMachine::class => false, + \KatapultAPI\Core\Model\UnassignedDiskSchema::class => false, + \KatapultAPI\Core\Model\DeleteDisk200ResponseDisk::class => false, + \KatapultAPI\Core\Model\DeleteDisk200ResponseDiskIoProfile::class => false, + \KatapultAPI\Core\Model\DeleteDisk200ResponseDiskVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\DeleteDisk200ResponseDiskInstallation::class => false, + \KatapultAPI\Core\Model\DeleteDiskPartDataCenter::class => false, + \KatapultAPI\Core\Model\DeleteDiskPartVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\DeleteDiskPartVirtualMachine::class => false, + \KatapultAPI\Core\Model\PostDiskAssign200ResponseDisk::class => false, + \KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskIoProfile::class => false, + \KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskInstallation::class => false, + \KatapultAPI\Core\Model\PostDiskAssignPartDataCenter::class => false, + \KatapultAPI\Core\Model\PostDiskAssignPartVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\PostDiskAssignPartVirtualMachine::class => false, + \KatapultAPI\Core\Model\DiskNotFoundSchema::class => false, + \KatapultAPI\Core\Model\VirtualMachineNotFoundSchema::class => false, + \KatapultAPI\Core\Model\UnableToAssign::class => false, + \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDisk::class => false, + \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskIoProfile::class => false, + \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskInstallation::class => false, + \KatapultAPI\Core\Model\PostDiskUnassignPartDataCenter::class => false, + \KatapultAPI\Core\Model\PostDiskUnassignPartVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\PostDiskUnassignPartVirtualMachine::class => false, + \KatapultAPI\Core\Model\UnableToUnassign::class => false, + \KatapultAPI\Core\Model\PostDiskAttach200ResponseDisk::class => false, + \KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskIoProfile::class => false, + \KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskInstallation::class => false, + \KatapultAPI\Core\Model\PostDiskAttachPartDataCenter::class => false, + \KatapultAPI\Core\Model\PostDiskAttachPartVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\PostDiskAttachPartVirtualMachine::class => false, + \KatapultAPI\Core\Model\ObjectInTrashSchema::class => false, + \KatapultAPI\Core\Model\TaskQueueingErrorSchema::class => false, + \KatapultAPI\Core\Model\PostDiskDetach200ResponseDisk::class => false, + \KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskIoProfile::class => false, + \KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskInstallation::class => false, + \KatapultAPI\Core\Model\PostDiskDetachPartDataCenter::class => false, + \KatapultAPI\Core\Model\PostDiskDetachPartVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\PostDiskDetachPartVirtualMachine::class => false, + \KatapultAPI\Core\Model\PutDiskResize200ResponseDisk::class => false, + \KatapultAPI\Core\Model\PutDiskResize200ResponseDiskIoProfile::class => false, + \KatapultAPI\Core\Model\PutDiskResize200ResponseDiskVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\PutDiskResize200ResponseDiskInstallation::class => false, + \KatapultAPI\Core\Model\PutDiskResizePartDataCenter::class => false, + \KatapultAPI\Core\Model\PutDiskResizePartVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\PutDiskResizePartVirtualMachine::class => false, + \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDisk::class => false, + \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskIoProfile::class => false, + \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskInstallation::class => false, + \KatapultAPI\Core\Model\PutDiskIOProfilePartDataCenter::class => false, + \KatapultAPI\Core\Model\PutDiskIOProfilePartVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\PutDiskIOProfilePartVirtualMachine::class => false, + \KatapultAPI\Core\Model\DiskIOProfileNotFoundSchema::class => false, + \KatapultAPI\Core\Model\GetVirtualMachineDisks200ResponseDisks::class => false, + \KatapultAPI\Core\Model\GetVirtualMachineDisksPartDisk::class => false, + \KatapultAPI\Core\Model\GetOrganizationDiskTemplates200ResponseDiskTemplates::class => false, + \KatapultAPI\Core\Model\GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersion::class => false, + \KatapultAPI\Core\Model\GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystem::class => false, + \KatapultAPI\Core\Model\GetOrganizationDiskTemplatesPartLatestVersion::class => false, + \KatapultAPI\Core\Model\GetOrganizationDiskTemplatesPartOperatingSystem::class => false, + \KatapultAPI\Core\Model\OrganizationNotFoundSchema::class => false, + \KatapultAPI\Core\Model\OperatingSystemNotFoundSchema::class => false, + \KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplate::class => false, + \KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplateLatestVersion::class => false, + \KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplateOperatingSystem::class => false, + \KatapultAPI\Core\Model\GetDiskTemplatePartLatestVersion::class => false, + \KatapultAPI\Core\Model\GetDiskTemplateVersions200ResponseDiskTemplate::class => false, + \KatapultAPI\Core\Model\GetDiskTemplateVersions200ResponseDiskTemplateVersions::class => false, + \KatapultAPI\Core\Model\GetDiskTemplateVersion200ResponseDiskTemplateVersion::class => false, + \KatapultAPI\Core\Model\GetDiskTemplateVersionPartDiskTemplate::class => false, + \KatapultAPI\Core\Model\GetDiskTemplateVersionSpec200ResponseDiskTemplateVersion::class => false, + \KatapultAPI\Core\Model\GetDiskTemplateVersionSpecPartDiskTemplate::class => false, + \KatapultAPI\Core\Model\TemplateSpec::class => false, + \KatapultAPI\Core\Model\TemplateSpecField::class => false, + \KatapultAPI\Core\Model\GetGPUTypes200ResponseGPUTypes::class => false, + \KatapultAPI\Core\Model\GetGPUTypes200ResponseGPUTypesDataCentersItem::class => false, + \KatapultAPI\Core\Model\GetGPUTypesPartDataCenters::class => false, + \KatapultAPI\Core\Model\GetGPUType200ResponseGPUType::class => false, + \KatapultAPI\Core\Model\GetGPUType200ResponseGPUTypeDataCentersItem::class => false, + \KatapultAPI\Core\Model\GetGPUTypePartDataCenters::class => false, + \KatapultAPI\Core\Model\GetDataCenterGPUTypes200ResponseGPUTypes::class => false, + \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachines::class => false, + \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachinesPackage::class => false, + \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuType::class => false, + \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachinesHypervisor::class => false, + \KatapultAPI\Core\Model\Zone::class => false, + \KatapultAPI\Core\Model\DataCenter::class => false, + \KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartPackage::class => false, + \KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartGPUType::class => false, + \KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartIPAddresses::class => false, + \KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartHypervisor::class => false, + \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachine::class => false, + \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineGroup::class => false, + \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachinePackage::class => false, + \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineAttachedIso::class => false, + \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineGpuType::class => false, + \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineHypervisor::class => false, + \KatapultAPI\Core\Model\VirtualMachineGroup::class => false, + \KatapultAPI\Core\Model\VirtualMachinePackage::class => false, + \KatapultAPI\Core\Model\VirtualMachinePackageIcon::class => false, + \KatapultAPI\Core\Model\VirtualMachinePackageGroup::class => false, + \KatapultAPI\Core\Model\ISO::class => false, + \KatapultAPI\Core\Model\ISOOperatingSystem::class => false, + \KatapultAPI\Core\Model\GetVirtualMachinePartGPUType::class => false, + \KatapultAPI\Core\Model\VirtualMachineGPU::class => false, + \KatapultAPI\Core\Model\GPUType::class => false, + \KatapultAPI\Core\Model\GPUTypeDataCentersItem::class => false, + \KatapultAPI\Core\Model\Tag::class => false, + \KatapultAPI\Core\Model\IPAddress::class => false, + \KatapultAPI\Core\Model\Network::class => false, + \KatapultAPI\Core\Model\Hypervisor::class => false, + \KatapultAPI\Core\Model\VirtualMachineArguments::class => false, + \KatapultAPI\Core\Model\GPUTypeLookup::class => false, + \KatapultAPI\Core\Model\VirtualMachineGroupLookup::class => false, + \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachine::class => false, + \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineGroup::class => false, + \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachinePackage::class => false, + \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineAttachedIso::class => false, + \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineGpuType::class => false, + \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineHypervisor::class => false, + \KatapultAPI\Core\Model\PatchVirtualMachinePartGPUType::class => false, + \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachine::class => false, + \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineGroup::class => false, + \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachinePackage::class => false, + \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineAttachedIso::class => false, + \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineGpuType::class => false, + \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineHypervisor::class => false, + \KatapultAPI\Core\Model\DeleteVirtualMachinePartGPUType::class => false, + \KatapultAPI\Core\Model\VirtualMachinePackageLookup::class => false, + \KatapultAPI\Core\Model\VirtualMachinePackageNotFoundSchema::class => false, + \KatapultAPI\Core\Model\VirtualMachineFlexibleResources::class => false, + \KatapultAPI\Core\Model\FlexibleResourcesUnavailableToOrganizationSchema::class => false, + \KatapultAPI\Core\Model\IPAddressLookup::class => false, + \KatapultAPI\Core\Model\IPAddressNotFoundSchema::class => false, + \KatapultAPI\Core\Model\NoInterfaceAvailableSchema::class => false, + \KatapultAPI\Core\Model\IPAlreadyAllocatedSchema::class => false, + \KatapultAPI\Core\Model\ZoneLookup::class => false, + \KatapultAPI\Core\Model\DiskTemplateLookup::class => false, + \KatapultAPI\Core\Model\VirtualMachineBuildDiskArguments::class => false, + \KatapultAPI\Core\Model\NetworkLookup::class => false, + \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuild201ResponseTask::class => false, + \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuild201ResponseBuild::class => false, + \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuild::class => false, + \KatapultAPI\Core\Model\ResourceCreationRestricted::class => false, + \KatapultAPI\Core\Model\ResourceCreationRestrictedSchema::class => false, + \KatapultAPI\Core\Model\ZoneNotFoundSchema::class => false, + \KatapultAPI\Core\Model\DataCenterNotFoundSchema::class => false, + \KatapultAPI\Core\Model\DiskTemplateNotFoundSchema::class => false, + \KatapultAPI\Core\Model\NetworkNotFoundSchema::class => false, + \KatapultAPI\Core\Model\LocationRequiredSchema::class => false, + \KatapultAPI\Core\Model\OneSystemDiskRequiredSchema::class => false, + \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuildFromSpec201ResponseTask::class => false, + \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuildFromSpec201ResponseBuild::class => false, + \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuild::class => false, + \KatapultAPI\Core\Model\InvalidSpecXML::class => false, + \KatapultAPI\Core\Model\InvalidSpecXMLSchema::class => false, + \KatapultAPI\Core\Model\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuild::class => false, + \KatapultAPI\Core\Model\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine::class => false, + \KatapultAPI\Core\Model\GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachine::class => false, + \KatapultAPI\Core\Model\PostVirtualMachineStart200ResponseTask::class => false, + \KatapultAPI\Core\Model\PostVirtualMachineStop200ResponseTask::class => false, + \KatapultAPI\Core\Model\PostVirtualMachineShutdown200ResponseTask::class => false, + \KatapultAPI\Core\Model\PostVirtualMachineReset200ResponseTask::class => false, + \KatapultAPI\Core\Model\PostVirtualMachineConsoleSessions201ResponseConsoleSession::class => false, + \KatapultAPI\Core\Model\PostVirtualMachineConsoleSessionsPartVirtualMachine::class => false, + \KatapultAPI\Core\Model\VirtualMachineMustBeStarted::class => false, + \KatapultAPI\Core\Model\VirtualMachineMustBeStartedSchema::class => false, + \KatapultAPI\Core\Model\AuthSSHKey::class => false, + \KatapultAPI\Core\Model\AuthSSHKeyProperties::class => false, + \KatapultAPI\Core\Model\AuthSSHKeyLookup::class => false, + \KatapultAPI\Core\Model\DeletionRestricted::class => false, + \KatapultAPI\Core\Model\APIToken::class => false, + \KatapultAPI\Core\Model\APITokenArguments::class => false, + \KatapultAPI\Core\Model\APITokenLookup::class => false, + \KatapultAPI\Core\Model\DeleteAPIToken200ResponseAPIToken::class => false, + \KatapultAPI\Core\Model\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPolicies::class => false, + \KatapultAPI\Core\Model\DiskBackupPolicyTarget::class => false, + \KatapultAPI\Core\Model\VirtualMachine::class => false, + \KatapultAPI\Core\Model\VirtualMachineAttachedIso::class => false, + \KatapultAPI\Core\Model\VirtualMachineGpuType::class => false, + \KatapultAPI\Core\Model\VirtualMachineHypervisor::class => false, + \KatapultAPI\Core\Model\Disk::class => false, + \KatapultAPI\Core\Model\DiskIoProfile::class => false, + \KatapultAPI\Core\Model\DiskVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\VirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\GetOrganizationDiskBackupPoliciesPartSchedule::class => false, + \KatapultAPI\Core\Model\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicies::class => false, + \KatapultAPI\Core\Model\GetVirtualMachineDiskBackupPoliciesPartSchedule::class => false, + \KatapultAPI\Core\Model\GetDiskDiskBackupPolicies200ResponseDiskBackupPolicies::class => false, + \KatapultAPI\Core\Model\GetDiskDiskBackupPoliciesPartSchedule::class => false, + \KatapultAPI\Core\Model\GetDiskBackupPolicy200ResponseDiskBackupPolicy::class => false, + \KatapultAPI\Core\Model\Schedule::class => false, + \KatapultAPI\Core\Model\DiskBackupPolicyLookup::class => false, + \KatapultAPI\Core\Model\DeleteDiskBackupPolicy200ResponseDiskBackupPolicy::class => false, + \KatapultAPI\Core\Model\DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicy::class => false, + \KatapultAPI\Core\Model\InvalidTimestampSchema::class => false, + \KatapultAPI\Core\Model\DiskBackupPolicyArguments::class => false, + \KatapultAPI\Core\Model\ScheduleArguments::class => false, + \KatapultAPI\Core\Model\PatchDiskBackupPolicy200ResponseDiskBackupPolicy::class => false, + \KatapultAPI\Core\Model\PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicy::class => false, + \KatapultAPI\Core\Model\PostDiskDiskBackupPolicies200ResponseDiskBackupPolicy::class => false, + \KatapultAPI\Core\Model\DNSZone::class => false, + \KatapultAPI\Core\Model\DNSZoneArguments::class => false, + \KatapultAPI\Core\Model\DNSZoneLookup::class => false, + \KatapultAPI\Core\Model\DNSRecord::class => false, + \KatapultAPI\Core\Model\DNSRecordContentAttributes::class => false, + \KatapultAPI\Core\Model\DNSRecordContentAttributesA::class => false, + \KatapultAPI\Core\Model\DNSRecordContentAttributesAAAA::class => false, + \KatapultAPI\Core\Model\DNSRecordContentAttributesALIAS::class => false, + \KatapultAPI\Core\Model\DNSRecordContentAttributesCAA::class => false, + \KatapultAPI\Core\Model\DNSRecordContentAttributesCNAME::class => false, + \KatapultAPI\Core\Model\DNSRecordContentAttributesIPS::class => false, + \KatapultAPI\Core\Model\DNSRecordContentAttributesMX::class => false, + \KatapultAPI\Core\Model\DNSRecordContentAttributesNS::class => false, + \KatapultAPI\Core\Model\DNSRecordContentAttributesPTR::class => false, + \KatapultAPI\Core\Model\DNSRecordContentAttributesSRV::class => false, + \KatapultAPI\Core\Model\DNSRecordContentAttributesSSHFP::class => false, + \KatapultAPI\Core\Model\DNSRecordContentAttributesTXT::class => false, + \KatapultAPI\Core\Model\DNSRecordContentAttributesVirtualMachine::class => false, + \KatapultAPI\Core\Model\RecordContentAttributesForA::class => false, + \KatapultAPI\Core\Model\RecordContentAttributesForAAAA::class => false, + \KatapultAPI\Core\Model\RecordContentAttributesForALIAS::class => false, + \KatapultAPI\Core\Model\RecordContentAttributesForCAA::class => false, + \KatapultAPI\Core\Model\RecordContentAttributesForCNAME::class => false, + \KatapultAPI\Core\Model\RecordContentAttributesForIPS::class => false, + \KatapultAPI\Core\Model\RecordContentAttributesForMX::class => false, + \KatapultAPI\Core\Model\RecordContentAttributesForNS::class => false, + \KatapultAPI\Core\Model\RecordContentAttributesForPTR::class => false, + \KatapultAPI\Core\Model\RecordContentAttributesForSRV::class => false, + \KatapultAPI\Core\Model\RecordContentAttributesForSSHFP::class => false, + \KatapultAPI\Core\Model\RecordContentAttributesForTXT::class => false, + \KatapultAPI\Core\Model\RecordContentAttributesForVirtualMachine::class => false, + \KatapultAPI\Core\Model\DNSRecordArguments::class => false, + \KatapultAPI\Core\Model\DNSRecordContentArguments::class => false, + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForA::class => false, + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForAAAA::class => false, + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForALIAS::class => false, + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForCAA::class => false, + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForCNAME::class => false, + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForIPS::class => false, + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForMX::class => false, + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForNS::class => false, + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForPTR::class => false, + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForSRV::class => false, + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForSSHFP::class => false, + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForTXT::class => false, + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForVirtualMachine::class => false, + \KatapultAPI\Core\Model\DNSRecordLookup::class => false, + \KatapultAPI\Core\Model\SecurityGroup::class => false, + \KatapultAPI\Core\Model\SecurityGroupArguments::class => false, + \KatapultAPI\Core\Model\SecurityGroupLookup::class => false, + \KatapultAPI\Core\Model\DeleteSecurityGroup200ResponseSecurityGroup::class => false, + \KatapultAPI\Core\Model\GetSecurityGroupRules200ResponseSecurityGroupRules::class => false, + \KatapultAPI\Core\Model\SecurityGroupRuleArguments::class => false, + \KatapultAPI\Core\Model\PostSecurityGroupRules200ResponseSecurityGroupRule::class => false, + \KatapultAPI\Core\Model\PostSecurityGroupRulesPartSecurityGroup::class => false, + \KatapultAPI\Core\Model\GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule::class => false, + \KatapultAPI\Core\Model\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup::class => false, + \KatapultAPI\Core\Model\SecurityGroupRuleLookup::class => false, + \KatapultAPI\Core\Model\PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule::class => false, + \KatapultAPI\Core\Model\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup::class => false, + \KatapultAPI\Core\Model\DeleteSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule::class => false, + \KatapultAPI\Core\Model\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumes::class => false, + \KatapultAPI\Core\Model\GetOrganizationFileStorageVolumesPartDataCenter::class => false, + \KatapultAPI\Core\Model\GetFileStorageVolume200ResponseFileStorageVolume::class => false, + \KatapultAPI\Core\Model\GetFileStorageVolumePartDataCenter::class => false, + \KatapultAPI\Core\Model\FileStorageVolumeArguments::class => false, + \KatapultAPI\Core\Model\PostOrganizationFileStorageVolumes201ResponseFileStorageVolume::class => false, + \KatapultAPI\Core\Model\PostOrganizationFileStorageVolumesPartDataCenter::class => false, + \KatapultAPI\Core\Model\FileStorageVolumeLookup::class => false, + \KatapultAPI\Core\Model\PatchFileStorageVolume200ResponseFileStorageVolume::class => false, + \KatapultAPI\Core\Model\PatchFileStorageVolumePartDataCenter::class => false, + \KatapultAPI\Core\Model\DeleteFileStorageVolume200ResponseFileStorageVolume::class => false, + \KatapultAPI\Core\Model\DeleteFileStorageVolumePartDataCenter::class => false, + \KatapultAPI\Core\Model\GetOrganizationAvailableNetworks200ResponseNetworks::class => false, + \KatapultAPI\Core\Model\GetOrganizationAvailableNetworksPartDataCenter::class => false, + \KatapultAPI\Core\Model\GetOrganizationAvailableNetworks200ResponseVirtualNetworks::class => false, + \KatapultAPI\Core\Model\NetworkSpeedProfile::class => false, + \KatapultAPI\Core\Model\GetAddressLists200ResponseAddressLists::class => false, + \KatapultAPI\Core\Model\GetOrganizationAddressLists200ResponseAddressLists::class => false, + \KatapultAPI\Core\Model\AddressList::class => false, + \KatapultAPI\Core\Model\AddressListEntry::class => false, + \KatapultAPI\Core\Model\AddressListArguments::class => false, + \KatapultAPI\Core\Model\AddressListLookup::class => false, + \KatapultAPI\Core\Model\AddressListEntryArguments::class => false, + \KatapultAPI\Core\Model\AddressListEntryLookup::class => false, + \KatapultAPI\Core\Model\GetOrganizationCertificates200ResponseCertificates::class => false, + \KatapultAPI\Core\Model\Certificate::class => false, + \KatapultAPI\Core\Model\GetOrganizationLoadBalancers200ResponseLoadBalancers::class => false, + \KatapultAPI\Core\Model\LoadBalancerResource::class => false, + \KatapultAPI\Core\Model\GetOrganizationLoadBalancersPartIPAddress::class => false, + \KatapultAPI\Core\Model\GetOrganizationLoadBalancersPartDataCenter::class => false, + \KatapultAPI\Core\Model\LoadBalancerArguments::class => false, + \KatapultAPI\Core\Model\LoadBalancerWeightsArguments::class => false, + \KatapultAPI\Core\Model\PostOrganizationLoadBalancers201ResponseLoadBalancer::class => false, + \KatapultAPI\Core\Model\PostOrganizationLoadBalancersPartIPAddress::class => false, + \KatapultAPI\Core\Model\PostOrganizationLoadBalancersPartDataCenter::class => false, + \KatapultAPI\Core\Model\LoadBalancerWeight::class => false, + \KatapultAPI\Core\Model\GetLoadBalancer200ResponseLoadBalancer::class => false, + \KatapultAPI\Core\Model\GetLoadBalancerPartIPAddress::class => false, + \KatapultAPI\Core\Model\GetLoadBalancerPartDataCenter::class => false, + \KatapultAPI\Core\Model\LoadBalancerLookup::class => false, + \KatapultAPI\Core\Model\PatchLoadBalancer200ResponseLoadBalancer::class => false, + \KatapultAPI\Core\Model\PatchLoadBalancerPartIPAddress::class => false, + \KatapultAPI\Core\Model\PatchLoadBalancerPartDataCenter::class => false, + \KatapultAPI\Core\Model\DeleteLoadBalancer200ResponseLoadBalancer::class => false, + \KatapultAPI\Core\Model\GetLoadBalancerRules200ResponseLoadBalancerRules::class => false, + \KatapultAPI\Core\Model\GetLoadBalancerRulesPartCertificates::class => false, + \KatapultAPI\Core\Model\LoadBalancerRuleArguments::class => false, + \KatapultAPI\Core\Model\CertificateLookup::class => false, + \KatapultAPI\Core\Model\PostLoadBalancerRules200ResponseLoadBalancerRule::class => false, + \KatapultAPI\Core\Model\PostLoadBalancerRulesPartCertificates::class => false, + \KatapultAPI\Core\Model\PostLoadBalancerRulesPartLoadBalancer::class => false, + \KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule::class => false, + \KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRulePartCertificates::class => false, + \KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer::class => false, + \KatapultAPI\Core\Model\LoadBalancerRuleLookup::class => false, + \KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule::class => false, + \KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRulePartCertificates::class => false, + \KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer::class => false, + \KatapultAPI\Core\Model\DeleteLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule::class => false, + \KatapultAPI\Core\Model\GetOrganizationIPAddresses200ResponseIPAddresses::class => false, + \KatapultAPI\Core\Model\APIAuthenticator503Schema::class => false, + \KatapultAPI\Core\Model\NoAvailableAddressesSchema::class => false, + \KatapultAPI\Core\Model\GetIPAddress200ResponseAllocation::class => false, + \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfaces::class => false, + \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacesPartNetwork::class => false, + \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacesPartIPAddresses::class => false, + \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterface::class => false, + \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartVirtualMachine::class => false, + \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartNetwork::class => false, + \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartIPAddresses::class => false, + \KatapultAPI\Core\Model\InterfaceNotFoundSchema::class => false, + \KatapultAPI\Core\Model\GetVMNIVMNI200ResponseVirtualMachineNetworkInterface::class => false, + \KatapultAPI\Core\Model\GetVMNIVMNIPartVirtualMachine::class => false, + \KatapultAPI\Core\Model\GetVMNIVMNIPartNetwork::class => false, + \KatapultAPI\Core\Model\GetVMNIVMNIPartIPAddresses::class => false, + \KatapultAPI\Core\Model\GetVMNIVMNIPartSpeedProfile::class => false, + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfaceLookup::class => false, + \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterface::class => false, + \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine::class => false, + \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork::class => false, + \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses::class => false, + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfaceNotFoundSchema::class => false, + \KatapultAPI\Core\Model\InvalidIPSchema::class => false, + \KatapultAPI\Core\Model\NetworkSpeedProfileLookup::class => false, + \KatapultAPI\Core\Model\NetworkSpeedProfileNotFoundSchema::class => false, + \KatapultAPI\Core\Model\GetOrganizationTags200ResponseTags::class => false, + \KatapultAPI\Core\Model\TagArguments::class => false, + \KatapultAPI\Core\Model\TagLookup::class => false, + \KatapultAPI\Core\Model\VirtualMachineGroupArguments::class => false, + \KatapultAPI\Core\Model\GetOperatingSystems200ResponseOperatingSystems::class => false, + \KatapultAPI\Core\Model\TrashObjectLookup::class => false, + \KatapultAPI\Core\Model\GetZones200ResponseZones::class => false, + \KatapultAPI\Core\Model\GetZonesPartDataCenter::class => false, + \KatapultAPI\Core\Model\GetCountries200ResponseCountries::class => false, + \KatapultAPI\Core\Model\GetCountryCountryStates200ResponseCountryStates::class => false, + \KatapultAPI\Core\Model\GetCurrencies200ResponseCurrencies::class => false, + \KatapultAPI\Core\Model\GetUsersCurrent200ResponseOrganizations::class => false, + \KatapultAPI\Core\Model\IdentityNotLinkedToWebSessionSchema::class => false, + \KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response::class => false, + \KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response::class => false, + \KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response::class => false, + \KatapultAPI\Core\Model\ResponseDataCenterNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseTaskQueueingErrorResponse::class => false, + \KatapultAPI\Core\Model\ResponseValidationErrorResponse::class => false, + \KatapultAPI\Core\Model\ResponseDiskNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseObjectInTrashResponse::class => false, + \KatapultAPI\Core\Model\ResponseUnableToAssignResponse::class => false, + \KatapultAPI\Core\Model\ResponseUnableToUnassignResponse::class => false, + \KatapultAPI\Core\Model\ResponseUnassignedDiskResponse::class => false, + \KatapultAPI\Core\Model\ResponseVirtualMachineNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseDiskTemplateNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseDiskTemplateVersionNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseGPUTypeNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseNoVirtualMachineForAPITokenResponse::class => false, + \KatapultAPI\Core\Model\ResponseVirtualMachineBuildNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseVirtualMachinePackageNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseSSHKeyNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseDeletionRestrictedResponse::class => false, + \KatapultAPI\Core\Model\ResponseAPITokenNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseDiskBackupPolicyNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseDNSZoneNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseDNSZoneNotVerifiedResponse::class => false, + \KatapultAPI\Core\Model\ResponseDNSRecordNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseSecurityGroupNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseSecurityGroupRuleNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseFileStorageVolumeNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseNetworkNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseAddressListNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseAddressListEntryNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseCertificateNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseLoadBalancerNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseLoadBalancerRuleNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseIPAddressNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseResourceDoesNotSupportUnallocationResponse::class => false, + \KatapultAPI\Core\Model\ResponseNoAllocationResponse::class => false, + \KatapultAPI\Core\Model\ResponseVirtualMachineNetworkInterfaceNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseSpeedProfileAlreadyAssignedResponse::class => false, + \KatapultAPI\Core\Model\ResponseTagNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseVirtualMachineGroupNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseOperatingSystemNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseTrashObjectNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseZoneNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseCountryNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseCountryStateNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseCurrencyNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseTaskNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseNoUserAssociatedWithIdentityResponse::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensPostBody::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensPostResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensPostResponse200ApiToken::class => false, + \KatapultAPI\Core\Model\ApiTokensApiTokenDeleteBody::class => false, + \KatapultAPI\Core\Model\ApiTokensApiTokenDeleteResponse200::class => false, + \KatapultAPI\Core\Model\ApiTokensApiTokenDeleteResponse200ApiToken::class => false, + \KatapultAPI\Core\Model\ApiTokensApiTokenPatchBody::class => false, + \KatapultAPI\Core\Model\ApiTokensApiTokenPatchResponse200::class => false, + \KatapultAPI\Core\Model\ApiTokensApiTokenPatchResponse200ApiToken::class => false, + \KatapultAPI\Core\Model\ApiTokensApiTokenRegenerateSecretPostBody::class => false, + \KatapultAPI\Core\Model\ApiTokensApiTokenRegenerateSecretPostResponse200::class => false, + \KatapultAPI\Core\Model\ApiTokensApiTokenRegenerateSecretPostResponse200ApiToken::class => false, + \KatapultAPI\Core\Model\AddressListsGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsPostBody::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsPostResponse201::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsPostResponse201AddressList::class => false, + \KatapultAPI\Core\Model\AddressListsAddressListDeleteBody::class => false, + \KatapultAPI\Core\Model\AddressListsAddressListDeleteResponse200::class => false, + \KatapultAPI\Core\Model\AddressListsAddressListDeleteResponse200AddressList::class => false, + \KatapultAPI\Core\Model\AddressListsAddressListGetResponse200::class => false, + \KatapultAPI\Core\Model\AddressListsAddressListGetResponse200AddressList::class => false, + \KatapultAPI\Core\Model\AddressListsAddressListPatchBody::class => false, + \KatapultAPI\Core\Model\AddressListsAddressListPatchResponse200::class => false, + \KatapultAPI\Core\Model\AddressListsAddressListPatchResponse200AddressList::class => false, + \KatapultAPI\Core\Model\AddressListsAddressListEntriesGetResponse200::class => false, + \KatapultAPI\Core\Model\AddressListsAddressListEntriesPostBody::class => false, + \KatapultAPI\Core\Model\AddressListsAddressListEntriesPostResponse201::class => false, + \KatapultAPI\Core\Model\AddressListsAddressListEntriesPostResponse201AddressListEntry::class => false, + \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryDeleteBody::class => false, + \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryDeleteResponse200::class => false, + \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryDeleteResponse200AddressListEntry::class => false, + \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryGetResponse200::class => false, + \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryGetResponse200AddressListEntry::class => false, + \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryPatchBody::class => false, + \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryPatchResponse200::class => false, + \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryPatchResponse200AddressListEntry::class => false, + \KatapultAPI\Core\Model\AddressListsAddressListEntriesBulkPostBody::class => false, + \KatapultAPI\Core\Model\AddressListsAddressListEntriesBulkPostResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationCertificatesGetResponse200::class => false, + \KatapultAPI\Core\Model\CertificatesCertificateGetResponse200::class => false, + \KatapultAPI\Core\Model\CountriesGetResponse200::class => false, + \KatapultAPI\Core\Model\CountriesCountryGetResponse200::class => false, + \KatapultAPI\Core\Model\CountriesCountryGetResponse200Country::class => false, + \KatapultAPI\Core\Model\CountriesCountryCountryStatesGetResponse200::class => false, + \KatapultAPI\Core\Model\CountryStatesCountryStateGetResponse200::class => false, + \KatapultAPI\Core\Model\CountryStatesCountryStateGetResponse200CountryState::class => false, + \KatapultAPI\Core\Model\CurrenciesGetResponse200::class => false, + \KatapultAPI\Core\Model\CurrenciesCurrencyGetResponse200::class => false, + \KatapultAPI\Core\Model\CurrenciesCurrencyGetResponse200Currency::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesPostBody::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesPostResponse201::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesPostResponse201DnsZone::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesNameserversGetResponse200::class => false, + \KatapultAPI\Core\Model\DnsZonesDnsZoneDeleteBody::class => false, + \KatapultAPI\Core\Model\DnsZonesDnsZoneDeleteResponse200::class => false, + \KatapultAPI\Core\Model\DnsZonesDnsZoneGetResponse200::class => false, + \KatapultAPI\Core\Model\DnsZonesDnsZoneGetResponse200DnsZone::class => false, + \KatapultAPI\Core\Model\DnsZonesDnsZonePatchBody::class => false, + \KatapultAPI\Core\Model\DnsZonesDnsZonePatchResponse200::class => false, + \KatapultAPI\Core\Model\DnsZonesDnsZonePatchResponse200DnsZone::class => false, + \KatapultAPI\Core\Model\DnsZonesDnsZoneVerifyPostBody::class => false, + \KatapultAPI\Core\Model\DnsZonesDnsZoneVerifyPostResponse200::class => false, + \KatapultAPI\Core\Model\DnsZonesDnsZoneVerifyPostResponse200DnsZone::class => false, + \KatapultAPI\Core\Model\DnsZonesDnsZoneRecordsGetResponse200::class => false, + \KatapultAPI\Core\Model\DnsZonesDnsZoneRecordsPostBody::class => false, + \KatapultAPI\Core\Model\DnsZonesDnsZoneRecordsPostResponse200::class => false, + \KatapultAPI\Core\Model\DnsRecordsDnsRecordDeleteBody::class => false, + \KatapultAPI\Core\Model\DnsRecordsDnsRecordDeleteResponse200::class => false, + \KatapultAPI\Core\Model\DnsRecordsDnsRecordGetResponse200::class => false, + \KatapultAPI\Core\Model\DnsRecordsDnsRecordGetResponse200DnsRecord::class => false, + \KatapultAPI\Core\Model\DnsRecordsDnsRecordPatchBody::class => false, + \KatapultAPI\Core\Model\DnsRecordsDnsRecordPatchResponse200::class => false, + \KatapultAPI\Core\Model\DnsRecordsDnsRecordPatchResponse200DnsRecord::class => false, + \KatapultAPI\Core\Model\DataCentersGetResponse200::class => false, + \KatapultAPI\Core\Model\DataCentersDataCenterGetResponse200::class => false, + \KatapultAPI\Core\Model\DataCentersDataCenterDefaultNetworkGetResponse200::class => false, + \KatapultAPI\Core\Model\DataCentersDataCenterDefaultNetworkGetResponse200Network::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationDiskIoProfilesGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationDiskBackupPoliciesGetResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesPostBody::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicy::class => false, + \KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesGetResponse200::class => false, + \KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesPostBody::class => false, + \KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesPostResponse200::class => false, + \KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicy::class => false, + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyDeleteBody::class => false, + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200::class => false, + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicy::class => false, + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyGetResponse200::class => false, + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicy::class => false, + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyPatchBody::class => false, + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyPatchResponse200::class => false, + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicy::class => false, + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteBody::class => false, + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200::class => false, + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicy::class => false, + \KatapultAPI\Core\Model\DiskTemplatesDiskTemplateVersionsGetResponse200::class => false, + \KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionGetResponse200::class => false, + \KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersion::class => false, + \KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200::class => false, + \KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersion::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationDiskTemplatesGetResponse200::class => false, + \KatapultAPI\Core\Model\DiskTemplatesDiskTemplateGetResponse200::class => false, + \KatapultAPI\Core\Model\DiskTemplatesDiskTemplateGetResponse200DiskTemplate::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationDisksGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationDisksPostBody::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationDisksPostResponse201::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationDisksPostResponse201Disk::class => false, + \KatapultAPI\Core\Model\DisksDiskDeleteBody::class => false, + \KatapultAPI\Core\Model\DisksDiskDeleteResponse200::class => false, + \KatapultAPI\Core\Model\DisksDiskDeleteResponse200Disk::class => false, + \KatapultAPI\Core\Model\DisksDiskGetResponse200::class => false, + \KatapultAPI\Core\Model\DisksDiskGetResponse200Disk::class => false, + \KatapultAPI\Core\Model\DisksDiskPatchBody::class => false, + \KatapultAPI\Core\Model\DisksDiskPatchResponse200::class => false, + \KatapultAPI\Core\Model\DisksDiskPatchResponse200Disk::class => false, + \KatapultAPI\Core\Model\DisksDiskAssignPostBody::class => false, + \KatapultAPI\Core\Model\DisksDiskAssignPostResponse200::class => false, + \KatapultAPI\Core\Model\DisksDiskAssignPostResponse200Disk::class => false, + \KatapultAPI\Core\Model\DisksDiskUnassignPostBody::class => false, + \KatapultAPI\Core\Model\DisksDiskUnassignPostResponse200::class => false, + \KatapultAPI\Core\Model\DisksDiskUnassignPostResponse200Disk::class => false, + \KatapultAPI\Core\Model\DisksDiskAttachPostBody::class => false, + \KatapultAPI\Core\Model\DisksDiskAttachPostResponse200::class => false, + \KatapultAPI\Core\Model\DisksDiskAttachPostResponse200Disk::class => false, + \KatapultAPI\Core\Model\DisksDiskDetachPostBody::class => false, + \KatapultAPI\Core\Model\DisksDiskDetachPostResponse200::class => false, + \KatapultAPI\Core\Model\DisksDiskDetachPostResponse200Disk::class => false, + \KatapultAPI\Core\Model\DisksDiskResizePutBody::class => false, + \KatapultAPI\Core\Model\DisksDiskResizePutResponse200::class => false, + \KatapultAPI\Core\Model\DisksDiskResizePutResponse200Disk::class => false, + \KatapultAPI\Core\Model\DisksDiskIoProfilePutBody::class => false, + \KatapultAPI\Core\Model\DisksDiskIoProfilePutResponse200::class => false, + \KatapultAPI\Core\Model\DisksDiskIoProfilePutResponse200Disk::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDisksGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesPostBody::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesPostResponse201::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolume::class => false, + \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeDeleteBody::class => false, + \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeDeleteResponse200::class => false, + \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolume::class => false, + \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeGetResponse200::class => false, + \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolume::class => false, + \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumePatchBody::class => false, + \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumePatchResponse200::class => false, + \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolume::class => false, + \KatapultAPI\Core\Model\GpuTypesGetResponse200::class => false, + \KatapultAPI\Core\Model\GpuTypesGpuTypeGetResponse200::class => false, + \KatapultAPI\Core\Model\DataCentersDataCenterGpuTypesGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesPostBody::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesPostResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesPostResponse200IpAddress::class => false, + \KatapultAPI\Core\Model\IpAddressesIpAddressDeleteBody::class => false, + \KatapultAPI\Core\Model\IpAddressesIpAddressDeleteResponse200::class => false, + \KatapultAPI\Core\Model\IpAddressesIpAddressGetResponse200::class => false, + \KatapultAPI\Core\Model\IpAddressesIpAddressGetResponse200IpAddress::class => false, + \KatapultAPI\Core\Model\IpAddressesIpAddressGetResponse200Allocation::class => false, + \KatapultAPI\Core\Model\IpAddressesIpAddressPatchBody::class => false, + \KatapultAPI\Core\Model\IpAddressesIpAddressPatchResponse200::class => false, + \KatapultAPI\Core\Model\IpAddressesIpAddressPatchResponse200IpAddress::class => false, + \KatapultAPI\Core\Model\IpAddressesIpAddressUnallocatePostBody::class => false, + \KatapultAPI\Core\Model\IpAddressesIpAddressUnallocatePostResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersPostBody::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersPostResponse201::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersPostResponse201LoadBalancer::class => false, + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerDeleteBody::class => false, + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerDeleteResponse200::class => false, + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerDeleteResponse200LoadBalancer::class => false, + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerGetResponse200::class => false, + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerGetResponse200LoadBalancer::class => false, + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerPatchBody::class => false, + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerPatchResponse200::class => false, + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerPatchResponse200LoadBalancer::class => false, + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesGetResponse200::class => false, + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesPostBody::class => false, + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesPostResponse200::class => false, + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRule::class => false, + \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleDeleteBody::class => false, + \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleDeleteResponse200::class => false, + \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRule::class => false, + \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleGetResponse200::class => false, + \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRule::class => false, + \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRulePatchBody::class => false, + \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRulePatchResponse200::class => false, + \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRule::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationNetworkSpeedProfilesGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationAvailableNetworksGetResponse200::class => false, + \KatapultAPI\Core\Model\NetworksNetworkGetResponse200::class => false, + \KatapultAPI\Core\Model\NetworksNetworkGetResponse200Network::class => false, + \KatapultAPI\Core\Model\OperatingSystemsGetResponse200::class => false, + \KatapultAPI\Core\Model\OperatingSystemsOperatingSystemGetResponse200::class => false, + \KatapultAPI\Core\Model\OperatingSystemsOperatingSystemGetResponse200OperatingSystem::class => false, + \KatapultAPI\Core\Model\OrganizationsGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationPolicyGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationPolicyLimitsGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationPricesGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationUsersWithAccessGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationManagedGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationManagedPostBody::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationManagedPostResponse201::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationSshKeysGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationSshKeysPostBody::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationSshKeysPostResponse201::class => false, + \KatapultAPI\Core\Model\SshKeysSshKeyDeleteBody::class => false, + \KatapultAPI\Core\Model\SshKeysSshKeyDeleteResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsPostBody::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsPostResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroup::class => false, + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupDeleteBody::class => false, + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupDeleteResponse200::class => false, + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupDeleteResponse200SecurityGroup::class => false, + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupGetResponse200::class => false, + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupGetResponse200SecurityGroup::class => false, + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupPatchBody::class => false, + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupPatchResponse200::class => false, + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupPatchResponse200SecurityGroup::class => false, + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesGetResponse200::class => false, + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesPostBody::class => false, + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesPostResponse200::class => false, + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRule::class => false, + \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleDeleteBody::class => false, + \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200::class => false, + \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRule::class => false, + \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleGetResponse200::class => false, + \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRule::class => false, + \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRulePatchBody::class => false, + \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRulePatchResponse200::class => false, + \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRule::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationTagsGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationTagsPostBody::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationTagsPostResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationTagsPostResponse200Tag::class => false, + \KatapultAPI\Core\Model\TagsTagDeleteBody::class => false, + \KatapultAPI\Core\Model\TagsTagDeleteResponse200::class => false, + \KatapultAPI\Core\Model\TagsTagDeleteResponse200Tag::class => false, + \KatapultAPI\Core\Model\TagsTagGetResponse200::class => false, + \KatapultAPI\Core\Model\TagsTagGetResponse200Tag::class => false, + \KatapultAPI\Core\Model\TagsTagPatchBody::class => false, + \KatapultAPI\Core\Model\TagsTagPatchResponse200::class => false, + \KatapultAPI\Core\Model\TagsTagPatchResponse200Tag::class => false, + \KatapultAPI\Core\Model\TasksTaskGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationTrashObjectsGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationTrashObjectsPurgeAllPostBody::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200::class => false, + \KatapultAPI\Core\Model\TrashObjectsTrashObjectDeleteBody::class => false, + \KatapultAPI\Core\Model\TrashObjectsTrashObjectDeleteResponse200::class => false, + \KatapultAPI\Core\Model\TrashObjectsTrashObjectGetResponse200::class => false, + \KatapultAPI\Core\Model\TrashObjectsTrashObjectGetResponse200TrashObject::class => false, + \KatapultAPI\Core\Model\TrashObjectsTrashObjectRestorePostBody::class => false, + \KatapultAPI\Core\Model\TrashObjectsTrashObjectRestorePostResponse200::class => false, + \KatapultAPI\Core\Model\TrashObjectsTrashObjectRestorePostResponse200TrashObject::class => false, + \KatapultAPI\Core\Model\UsersCurrentGetResponse200::class => false, + \KatapultAPI\Core\Model\InvalidateLinkedWebSessionPostBody::class => false, + \KatapultAPI\Core\Model\InvalidateLinkedWebSessionPostResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsPostBody::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsPostResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroup::class => false, + \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupDeleteBody::class => false, + \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroup::class => false, + \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupGetResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroup::class => false, + \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupPatchBody::class => false, + \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupPatchResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroup::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterface::class => false, + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterface::class => false, + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsAddressVersionGetResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostBody::class => false, + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterface::class => false, + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostBody::class => false, + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddress::class => false, + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchBody::class => false, + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Task::class => false, + \KatapultAPI\Core\Model\VirtualMachinePackagesGetResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachinePackagesVirtualMachinePackageGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesGetResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDeleteBody::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDeleteResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineGetResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePatchBody::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePatchResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePatchResponse200VirtualMachine::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePackagePutBody::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePackagePutResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineFlexibleResourcesPutBody::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineAllocateIpPostBody::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineAllocateIpPostResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddress::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildPostBody::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildPostResponse201::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildPostResponse201Build::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostBody::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Build::class => false, + \KatapultAPI\Core\Model\VirtualMachinesBuildsVirtualMachineBuildGetResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStartPostBody::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStartPostResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStopPostBody::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStopPostResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineShutdownPostBody::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineShutdownPostResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineResetPostBody::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineResetPostResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineConsoleSessionsPostBody::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineConsoleSessionsPostResponse201::class => false, + \KatapultAPI\Core\Model\ZonesGetResponse200::class => false, + \KatapultAPI\Core\Model\ZonesZoneGetResponse200::class => false, + \KatapultAPI\Core\Model\ZonesZoneGetResponse200Zone::class => false, + \Jane\Component\JsonSchemaRuntime\Reference::class => false, + ]; + } + } +} else { + class JaneObjectNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface + { + use DenormalizerAwareTrait; + use NormalizerAwareTrait; + use CheckArray; + use ValidatorTrait; + protected $normalizers = [ + \KatapultAPI\Core\Model\GetDataCenters200ResponseDataCenters::class => GetDataCenters200ResponseDataCentersNormalizer::class, + + \KatapultAPI\Core\Model\GetDataCentersPartCountry::class => GetDataCentersPartCountryNormalizer::class, + + \KatapultAPI\Core\Model\UnauthorizedNetworkForAPIToken::class => UnauthorizedNetworkForAPITokenNormalizer::class, + + \KatapultAPI\Core\Model\UnauthorizedNetworkForAPITokenSchema::class => UnauthorizedNetworkForAPITokenSchemaNormalizer::class, + + \KatapultAPI\Core\Model\InvalidAPIToken::class => InvalidAPITokenNormalizer::class, + + \KatapultAPI\Core\Model\InvalidAPITokenSchema::class => InvalidAPITokenSchemaNormalizer::class, + + \KatapultAPI\Core\Model\InvalidCapabilitiesTokenSchema::class => InvalidCapabilitiesTokenSchemaNormalizer::class, + + \KatapultAPI\Core\Model\ScopeNotGrantedError::class => ScopeNotGrantedErrorNormalizer::class, + + \KatapultAPI\Core\Model\ScopeNotGrantedErrorSchema::class => ScopeNotGrantedErrorSchemaNormalizer::class, + + \KatapultAPI\Core\Model\RateLimitReached::class => RateLimitReachedNormalizer::class, + + \KatapultAPI\Core\Model\GetDataCenter200ResponseDataCenter::class => GetDataCenter200ResponseDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\GetDataCenterPartCountry::class => GetDataCenterPartCountryNormalizer::class, + + \KatapultAPI\Core\Model\GetDataCenterDefaultNetwork200ResponseNetwork::class => GetDataCenterDefaultNetwork200ResponseNetworkNormalizer::class, + + \KatapultAPI\Core\Model\GetDataCenterDefaultNetworkPartDataCenter::class => GetDataCenterDefaultNetworkPartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizations200ResponseOrganizations::class => GetOrganizations200ResponseOrganizationsNormalizer::class, + + \KatapultAPI\Core\Model\Organization::class => OrganizationNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationCountry::class => OrganizationCountryNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationCountryState::class => OrganizationCountryStateNormalizer::class, + + \KatapultAPI\Core\Model\Currency::class => CurrencyNormalizer::class, + + \KatapultAPI\Core\Model\Country::class => CountryNormalizer::class, + + \KatapultAPI\Core\Model\CountryState::class => CountryStateNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationSuspendedSchema::class => OrganizationSuspendedSchemaNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationNotActivatedSchema::class => OrganizationNotActivatedSchemaNormalizer::class, + + \KatapultAPI\Core\Model\PolicyLimits::class => PolicyLimitsNormalizer::class, + + \KatapultAPI\Core\Model\FinancialPolicyLimit::class => FinancialPolicyLimitNormalizer::class, + + \KatapultAPI\Core\Model\PolicyLimit::class => PolicyLimitNormalizer::class, + + \KatapultAPI\Core\Model\PolicyLimitWithoutCurrent::class => PolicyLimitWithoutCurrentNormalizer::class, + + \KatapultAPI\Core\Model\PolicyFeatures::class => PolicyFeaturesNormalizer::class, + + \KatapultAPI\Core\Model\PolicyFeature::class => PolicyFeatureNormalizer::class, + + \KatapultAPI\Core\Model\APIAuthenticator400Schema::class => APIAuthenticator400SchemaNormalizer::class, + + \KatapultAPI\Core\Model\PolicyNotAvailableForManagedOrganizationsSchema::class => PolicyNotAvailableForManagedOrganizationsSchemaNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationPolicy::class => OrganizationPolicyNormalizer::class, + + \KatapultAPI\Core\Model\DecimalOrUnlimited::class => DecimalOrUnlimitedNormalizer::class, + + \KatapultAPI\Core\Model\IntegerOrUnlimited::class => IntegerOrUnlimitedNormalizer::class, + + \KatapultAPI\Core\Model\IntegerValue::class => IntegerValueNormalizer::class, + + \KatapultAPI\Core\Model\PriceResourceWithSinglePriceVariant::class => PriceResourceWithSinglePriceVariantNormalizer::class, + + \KatapultAPI\Core\Model\SinglePriceVariant::class => SinglePriceVariantNormalizer::class, + + \KatapultAPI\Core\Model\PricesNotAvailableForManagedOrganizationsSchema::class => PricesNotAvailableForManagedOrganizationsSchemaNormalizer::class, + + \KatapultAPI\Core\Model\PaginationObject::class => PaginationObjectNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationUsersWithAccess200ResponseUsers::class => GetOrganizationUsersWithAccess200ResponseUsersNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationUsersWithAccess200ResponseUsersUser::class => GetOrganizationUsersWithAccess200ResponseUsersUserNormalizer::class, + + \KatapultAPI\Core\Model\User::class => UserNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationManaged200ResponseOrganizations::class => GetOrganizationManaged200ResponseOrganizationsNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationLookup::class => OrganizationLookupNormalizer::class, + + \KatapultAPI\Core\Model\KeyValue::class => KeyValueNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationLimitReachedSchema::class => OrganizationLimitReachedSchemaNormalizer::class, + + \KatapultAPI\Core\Model\ValidationError::class => ValidationErrorNormalizer::class, + + \KatapultAPI\Core\Model\ValidationErrorSchema::class => ValidationErrorSchemaNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationDisks200ResponseDisk::class => GetOrganizationDisks200ResponseDiskNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationDisks200ResponseDiskVirtualMachineDisk::class => GetOrganizationDisks200ResponseDiskVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationDisksPartVirtualMachineDisk::class => GetOrganizationDisksPartVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationDisksPartVirtualMachine::class => GetOrganizationDisksPartVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\DiskArguments::class => DiskArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\DataCenterLookup::class => DataCenterLookupNormalizer::class, + + \KatapultAPI\Core\Model\DiskIOProfileLookup::class => DiskIOProfileLookupNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineDiskArguments::class => VirtualMachineDiskArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineLookup::class => VirtualMachineLookupNormalizer::class, + + \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDisk::class => PostOrganizationDisks201ResponseDiskNormalizer::class, + + \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskIoProfile::class => PostOrganizationDisks201ResponseDiskIoProfileNormalizer::class, + + \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskVirtualMachineDisk::class => PostOrganizationDisks201ResponseDiskVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskInstallation::class => PostOrganizationDisks201ResponseDiskInstallationNormalizer::class, + + \KatapultAPI\Core\Model\DiskIOProfile::class => DiskIOProfileNormalizer::class, + + \KatapultAPI\Core\Model\PostOrganizationDisksPartDataCenter::class => PostOrganizationDisksPartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\PostOrganizationDisksPartVirtualMachineDisk::class => PostOrganizationDisksPartVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\PostOrganizationDisksPartVirtualMachine::class => PostOrganizationDisksPartVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\DiskInstallation::class => DiskInstallationNormalizer::class, + + \KatapultAPI\Core\Model\DiskTemplateVersion::class => DiskTemplateVersionNormalizer::class, + + \KatapultAPI\Core\Model\DiskTemplate::class => DiskTemplateNormalizer::class, + + \KatapultAPI\Core\Model\DiskTemplateLatestVersion::class => DiskTemplateLatestVersionNormalizer::class, + + \KatapultAPI\Core\Model\DiskTemplateOperatingSystem::class => DiskTemplateOperatingSystemNormalizer::class, + + \KatapultAPI\Core\Model\OperatingSystem::class => OperatingSystemNormalizer::class, + + \KatapultAPI\Core\Model\OperatingSystemBadge::class => OperatingSystemBadgeNormalizer::class, + + \KatapultAPI\Core\Model\Attachment::class => AttachmentNormalizer::class, + + \KatapultAPI\Core\Model\DiskInstallationAttribute::class => DiskInstallationAttributeNormalizer::class, + + \KatapultAPI\Core\Model\Task::class => TaskNormalizer::class, + + \KatapultAPI\Core\Model\PermissionDenied::class => PermissionDeniedNormalizer::class, + + \KatapultAPI\Core\Model\PermissionDeniedSchema::class => PermissionDeniedSchemaNormalizer::class, + + \KatapultAPI\Core\Model\TaskQueueingError::class => TaskQueueingErrorNormalizer::class, + + \KatapultAPI\Core\Model\GetDisk200ResponseDisk::class => GetDisk200ResponseDiskNormalizer::class, + + \KatapultAPI\Core\Model\GetDisk200ResponseDiskIoProfile::class => GetDisk200ResponseDiskIoProfileNormalizer::class, + + \KatapultAPI\Core\Model\GetDisk200ResponseDiskVirtualMachineDisk::class => GetDisk200ResponseDiskVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\GetDisk200ResponseDiskInstallation::class => GetDisk200ResponseDiskInstallationNormalizer::class, + + \KatapultAPI\Core\Model\GetDiskPartDataCenter::class => GetDiskPartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\GetDiskPartVirtualMachineDisk::class => GetDiskPartVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\GetDiskPartVirtualMachine::class => GetDiskPartVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\ObjectInTrash::class => ObjectInTrashNormalizer::class, + + \KatapultAPI\Core\Model\ObjectInTrashTrashObject::class => ObjectInTrashTrashObjectNormalizer::class, + + \KatapultAPI\Core\Model\TrashObject::class => TrashObjectNormalizer::class, + + \KatapultAPI\Core\Model\DiskLookup::class => DiskLookupNormalizer::class, + + \KatapultAPI\Core\Model\PatchDisk200ResponseDisk::class => PatchDisk200ResponseDiskNormalizer::class, + + \KatapultAPI\Core\Model\PatchDisk200ResponseDiskIoProfile::class => PatchDisk200ResponseDiskIoProfileNormalizer::class, + + \KatapultAPI\Core\Model\PatchDisk200ResponseDiskVirtualMachineDisk::class => PatchDisk200ResponseDiskVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\PatchDisk200ResponseDiskInstallation::class => PatchDisk200ResponseDiskInstallationNormalizer::class, + + \KatapultAPI\Core\Model\PatchDiskPartDataCenter::class => PatchDiskPartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\PatchDiskPartVirtualMachineDisk::class => PatchDiskPartVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\PatchDiskPartVirtualMachine::class => PatchDiskPartVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\UnassignedDiskSchema::class => UnassignedDiskSchemaNormalizer::class, + + \KatapultAPI\Core\Model\DeleteDisk200ResponseDisk::class => DeleteDisk200ResponseDiskNormalizer::class, + + \KatapultAPI\Core\Model\DeleteDisk200ResponseDiskIoProfile::class => DeleteDisk200ResponseDiskIoProfileNormalizer::class, + + \KatapultAPI\Core\Model\DeleteDisk200ResponseDiskVirtualMachineDisk::class => DeleteDisk200ResponseDiskVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\DeleteDisk200ResponseDiskInstallation::class => DeleteDisk200ResponseDiskInstallationNormalizer::class, + + \KatapultAPI\Core\Model\DeleteDiskPartDataCenter::class => DeleteDiskPartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\DeleteDiskPartVirtualMachineDisk::class => DeleteDiskPartVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\DeleteDiskPartVirtualMachine::class => DeleteDiskPartVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskAssign200ResponseDisk::class => PostDiskAssign200ResponseDiskNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskIoProfile::class => PostDiskAssign200ResponseDiskIoProfileNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskVirtualMachineDisk::class => PostDiskAssign200ResponseDiskVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskInstallation::class => PostDiskAssign200ResponseDiskInstallationNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskAssignPartDataCenter::class => PostDiskAssignPartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskAssignPartVirtualMachineDisk::class => PostDiskAssignPartVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskAssignPartVirtualMachine::class => PostDiskAssignPartVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\DiskNotFoundSchema::class => DiskNotFoundSchemaNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineNotFoundSchema::class => VirtualMachineNotFoundSchemaNormalizer::class, + + \KatapultAPI\Core\Model\UnableToAssign::class => UnableToAssignNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDisk::class => PostDiskUnassign200ResponseDiskNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskIoProfile::class => PostDiskUnassign200ResponseDiskIoProfileNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskVirtualMachineDisk::class => PostDiskUnassign200ResponseDiskVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskInstallation::class => PostDiskUnassign200ResponseDiskInstallationNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskUnassignPartDataCenter::class => PostDiskUnassignPartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskUnassignPartVirtualMachineDisk::class => PostDiskUnassignPartVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskUnassignPartVirtualMachine::class => PostDiskUnassignPartVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\UnableToUnassign::class => UnableToUnassignNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskAttach200ResponseDisk::class => PostDiskAttach200ResponseDiskNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskIoProfile::class => PostDiskAttach200ResponseDiskIoProfileNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskVirtualMachineDisk::class => PostDiskAttach200ResponseDiskVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskInstallation::class => PostDiskAttach200ResponseDiskInstallationNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskAttachPartDataCenter::class => PostDiskAttachPartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskAttachPartVirtualMachineDisk::class => PostDiskAttachPartVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskAttachPartVirtualMachine::class => PostDiskAttachPartVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\ObjectInTrashSchema::class => ObjectInTrashSchemaNormalizer::class, + + \KatapultAPI\Core\Model\TaskQueueingErrorSchema::class => TaskQueueingErrorSchemaNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskDetach200ResponseDisk::class => PostDiskDetach200ResponseDiskNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskIoProfile::class => PostDiskDetach200ResponseDiskIoProfileNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskVirtualMachineDisk::class => PostDiskDetach200ResponseDiskVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskInstallation::class => PostDiskDetach200ResponseDiskInstallationNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskDetachPartDataCenter::class => PostDiskDetachPartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskDetachPartVirtualMachineDisk::class => PostDiskDetachPartVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskDetachPartVirtualMachine::class => PostDiskDetachPartVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\PutDiskResize200ResponseDisk::class => PutDiskResize200ResponseDiskNormalizer::class, + + \KatapultAPI\Core\Model\PutDiskResize200ResponseDiskIoProfile::class => PutDiskResize200ResponseDiskIoProfileNormalizer::class, + + \KatapultAPI\Core\Model\PutDiskResize200ResponseDiskVirtualMachineDisk::class => PutDiskResize200ResponseDiskVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\PutDiskResize200ResponseDiskInstallation::class => PutDiskResize200ResponseDiskInstallationNormalizer::class, + + \KatapultAPI\Core\Model\PutDiskResizePartDataCenter::class => PutDiskResizePartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\PutDiskResizePartVirtualMachineDisk::class => PutDiskResizePartVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\PutDiskResizePartVirtualMachine::class => PutDiskResizePartVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDisk::class => PutDiskIOProfile200ResponseDiskNormalizer::class, + + \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskIoProfile::class => PutDiskIOProfile200ResponseDiskIoProfileNormalizer::class, + + \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskVirtualMachineDisk::class => PutDiskIOProfile200ResponseDiskVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskInstallation::class => PutDiskIOProfile200ResponseDiskInstallationNormalizer::class, + + \KatapultAPI\Core\Model\PutDiskIOProfilePartDataCenter::class => PutDiskIOProfilePartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\PutDiskIOProfilePartVirtualMachineDisk::class => PutDiskIOProfilePartVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\PutDiskIOProfilePartVirtualMachine::class => PutDiskIOProfilePartVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\DiskIOProfileNotFoundSchema::class => DiskIOProfileNotFoundSchemaNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachineDisks200ResponseDisks::class => GetVirtualMachineDisks200ResponseDisksNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachineDisksPartDisk::class => GetVirtualMachineDisksPartDiskNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationDiskTemplates200ResponseDiskTemplates::class => GetOrganizationDiskTemplates200ResponseDiskTemplatesNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersion::class => GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersionNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystem::class => GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystemNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationDiskTemplatesPartLatestVersion::class => GetOrganizationDiskTemplatesPartLatestVersionNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationDiskTemplatesPartOperatingSystem::class => GetOrganizationDiskTemplatesPartOperatingSystemNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationNotFoundSchema::class => OrganizationNotFoundSchemaNormalizer::class, + + \KatapultAPI\Core\Model\OperatingSystemNotFoundSchema::class => OperatingSystemNotFoundSchemaNormalizer::class, + + \KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplate::class => GetDiskTemplate200ResponseDiskTemplateNormalizer::class, + + \KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplateLatestVersion::class => GetDiskTemplate200ResponseDiskTemplateLatestVersionNormalizer::class, + + \KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplateOperatingSystem::class => GetDiskTemplate200ResponseDiskTemplateOperatingSystemNormalizer::class, + + \KatapultAPI\Core\Model\GetDiskTemplatePartLatestVersion::class => GetDiskTemplatePartLatestVersionNormalizer::class, + + \KatapultAPI\Core\Model\GetDiskTemplateVersions200ResponseDiskTemplate::class => GetDiskTemplateVersions200ResponseDiskTemplateNormalizer::class, + + \KatapultAPI\Core\Model\GetDiskTemplateVersions200ResponseDiskTemplateVersions::class => GetDiskTemplateVersions200ResponseDiskTemplateVersionsNormalizer::class, + + \KatapultAPI\Core\Model\GetDiskTemplateVersion200ResponseDiskTemplateVersion::class => GetDiskTemplateVersion200ResponseDiskTemplateVersionNormalizer::class, + + \KatapultAPI\Core\Model\GetDiskTemplateVersionPartDiskTemplate::class => GetDiskTemplateVersionPartDiskTemplateNormalizer::class, + + \KatapultAPI\Core\Model\GetDiskTemplateVersionSpec200ResponseDiskTemplateVersion::class => GetDiskTemplateVersionSpec200ResponseDiskTemplateVersionNormalizer::class, + + \KatapultAPI\Core\Model\GetDiskTemplateVersionSpecPartDiskTemplate::class => GetDiskTemplateVersionSpecPartDiskTemplateNormalizer::class, + + \KatapultAPI\Core\Model\TemplateSpec::class => TemplateSpecNormalizer::class, + + \KatapultAPI\Core\Model\TemplateSpecField::class => TemplateSpecFieldNormalizer::class, + + \KatapultAPI\Core\Model\GetGPUTypes200ResponseGPUTypes::class => GetGPUTypes200ResponseGPUTypesNormalizer::class, + + \KatapultAPI\Core\Model\GetGPUTypes200ResponseGPUTypesDataCentersItem::class => GetGPUTypes200ResponseGPUTypesDataCentersItemNormalizer::class, + + \KatapultAPI\Core\Model\GetGPUTypesPartDataCenters::class => GetGPUTypesPartDataCentersNormalizer::class, + + \KatapultAPI\Core\Model\GetGPUType200ResponseGPUType::class => GetGPUType200ResponseGPUTypeNormalizer::class, + + \KatapultAPI\Core\Model\GetGPUType200ResponseGPUTypeDataCentersItem::class => GetGPUType200ResponseGPUTypeDataCentersItemNormalizer::class, + + \KatapultAPI\Core\Model\GetGPUTypePartDataCenters::class => GetGPUTypePartDataCentersNormalizer::class, + + \KatapultAPI\Core\Model\GetDataCenterGPUTypes200ResponseGPUTypes::class => GetDataCenterGPUTypes200ResponseGPUTypesNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachines::class => GetOrganizationVirtualMachines200ResponseVirtualMachinesNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachinesPackage::class => GetOrganizationVirtualMachines200ResponseVirtualMachinesPackageNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuType::class => GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuTypeNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachinesHypervisor::class => GetOrganizationVirtualMachines200ResponseVirtualMachinesHypervisorNormalizer::class, + + \KatapultAPI\Core\Model\Zone::class => ZoneNormalizer::class, + + \KatapultAPI\Core\Model\DataCenter::class => DataCenterNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartPackage::class => GetOrganizationVirtualMachinesPartPackageNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartGPUType::class => GetOrganizationVirtualMachinesPartGPUTypeNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartIPAddresses::class => GetOrganizationVirtualMachinesPartIPAddressesNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartHypervisor::class => GetOrganizationVirtualMachinesPartHypervisorNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachine::class => GetVirtualMachine200ResponseVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineGroup::class => GetVirtualMachine200ResponseVirtualMachineGroupNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachinePackage::class => GetVirtualMachine200ResponseVirtualMachinePackageNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineAttachedIso::class => GetVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineGpuType::class => GetVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineHypervisor::class => GetVirtualMachine200ResponseVirtualMachineHypervisorNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineGroup::class => VirtualMachineGroupNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinePackage::class => VirtualMachinePackageNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinePackageIcon::class => VirtualMachinePackageIconNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinePackageGroup::class => VirtualMachinePackageGroupNormalizer::class, + + \KatapultAPI\Core\Model\ISO::class => ISONormalizer::class, + + \KatapultAPI\Core\Model\ISOOperatingSystem::class => ISOOperatingSystemNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachinePartGPUType::class => GetVirtualMachinePartGPUTypeNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineGPU::class => VirtualMachineGPUNormalizer::class, + + \KatapultAPI\Core\Model\GPUType::class => GPUTypeNormalizer::class, + + \KatapultAPI\Core\Model\GPUTypeDataCentersItem::class => GPUTypeDataCentersItemNormalizer::class, + + \KatapultAPI\Core\Model\Tag::class => TagNormalizer::class, + + \KatapultAPI\Core\Model\IPAddress::class => IPAddressNormalizer::class, + + \KatapultAPI\Core\Model\Network::class => NetworkNormalizer::class, + + \KatapultAPI\Core\Model\Hypervisor::class => HypervisorNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineArguments::class => VirtualMachineArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\GPUTypeLookup::class => GPUTypeLookupNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineGroupLookup::class => VirtualMachineGroupLookupNormalizer::class, + + \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachine::class => PatchVirtualMachine200ResponseVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineGroup::class => PatchVirtualMachine200ResponseVirtualMachineGroupNormalizer::class, + + \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachinePackage::class => PatchVirtualMachine200ResponseVirtualMachinePackageNormalizer::class, + + \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineAttachedIso::class => PatchVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer::class, + + \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineGpuType::class => PatchVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer::class, + + \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineHypervisor::class => PatchVirtualMachine200ResponseVirtualMachineHypervisorNormalizer::class, + + \KatapultAPI\Core\Model\PatchVirtualMachinePartGPUType::class => PatchVirtualMachinePartGPUTypeNormalizer::class, + + \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachine::class => DeleteVirtualMachine200ResponseVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineGroup::class => DeleteVirtualMachine200ResponseVirtualMachineGroupNormalizer::class, + + \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachinePackage::class => DeleteVirtualMachine200ResponseVirtualMachinePackageNormalizer::class, + + \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineAttachedIso::class => DeleteVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer::class, + + \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineGpuType::class => DeleteVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer::class, + + \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineHypervisor::class => DeleteVirtualMachine200ResponseVirtualMachineHypervisorNormalizer::class, + + \KatapultAPI\Core\Model\DeleteVirtualMachinePartGPUType::class => DeleteVirtualMachinePartGPUTypeNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinePackageLookup::class => VirtualMachinePackageLookupNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinePackageNotFoundSchema::class => VirtualMachinePackageNotFoundSchemaNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineFlexibleResources::class => VirtualMachineFlexibleResourcesNormalizer::class, + + \KatapultAPI\Core\Model\FlexibleResourcesUnavailableToOrganizationSchema::class => FlexibleResourcesUnavailableToOrganizationSchemaNormalizer::class, + + \KatapultAPI\Core\Model\IPAddressLookup::class => IPAddressLookupNormalizer::class, + + \KatapultAPI\Core\Model\IPAddressNotFoundSchema::class => IPAddressNotFoundSchemaNormalizer::class, + + \KatapultAPI\Core\Model\NoInterfaceAvailableSchema::class => NoInterfaceAvailableSchemaNormalizer::class, + + \KatapultAPI\Core\Model\IPAlreadyAllocatedSchema::class => IPAlreadyAllocatedSchemaNormalizer::class, + + \KatapultAPI\Core\Model\ZoneLookup::class => ZoneLookupNormalizer::class, + + \KatapultAPI\Core\Model\DiskTemplateLookup::class => DiskTemplateLookupNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineBuildDiskArguments::class => VirtualMachineBuildDiskArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\NetworkLookup::class => NetworkLookupNormalizer::class, + + \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuild201ResponseTask::class => PostOrganizationVirtualMachinesBuild201ResponseTaskNormalizer::class, + + \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuild201ResponseBuild::class => PostOrganizationVirtualMachinesBuild201ResponseBuildNormalizer::class, + + \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuild::class => PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuildNormalizer::class, + + \KatapultAPI\Core\Model\ResourceCreationRestricted::class => ResourceCreationRestrictedNormalizer::class, + + \KatapultAPI\Core\Model\ResourceCreationRestrictedSchema::class => ResourceCreationRestrictedSchemaNormalizer::class, + + \KatapultAPI\Core\Model\ZoneNotFoundSchema::class => ZoneNotFoundSchemaNormalizer::class, + + \KatapultAPI\Core\Model\DataCenterNotFoundSchema::class => DataCenterNotFoundSchemaNormalizer::class, + + \KatapultAPI\Core\Model\DiskTemplateNotFoundSchema::class => DiskTemplateNotFoundSchemaNormalizer::class, + + \KatapultAPI\Core\Model\NetworkNotFoundSchema::class => NetworkNotFoundSchemaNormalizer::class, + + \KatapultAPI\Core\Model\LocationRequiredSchema::class => LocationRequiredSchemaNormalizer::class, + + \KatapultAPI\Core\Model\OneSystemDiskRequiredSchema::class => OneSystemDiskRequiredSchemaNormalizer::class, + + \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuildFromSpec201ResponseTask::class => PostOrganizationVirtualMachinesBuildFromSpec201ResponseTaskNormalizer::class, + + \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuildFromSpec201ResponseBuild::class => PostOrganizationVirtualMachinesBuildFromSpec201ResponseBuildNormalizer::class, + + \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuild::class => PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuildNormalizer::class, + + \KatapultAPI\Core\Model\InvalidSpecXML::class => InvalidSpecXMLNormalizer::class, + + \KatapultAPI\Core\Model\InvalidSpecXMLSchema::class => InvalidSpecXMLSchemaNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuild::class => GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine::class => GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachine::class => GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\PostVirtualMachineStart200ResponseTask::class => PostVirtualMachineStart200ResponseTaskNormalizer::class, + + \KatapultAPI\Core\Model\PostVirtualMachineStop200ResponseTask::class => PostVirtualMachineStop200ResponseTaskNormalizer::class, + + \KatapultAPI\Core\Model\PostVirtualMachineShutdown200ResponseTask::class => PostVirtualMachineShutdown200ResponseTaskNormalizer::class, + + \KatapultAPI\Core\Model\PostVirtualMachineReset200ResponseTask::class => PostVirtualMachineReset200ResponseTaskNormalizer::class, + + \KatapultAPI\Core\Model\PostVirtualMachineConsoleSessions201ResponseConsoleSession::class => PostVirtualMachineConsoleSessions201ResponseConsoleSessionNormalizer::class, + + \KatapultAPI\Core\Model\PostVirtualMachineConsoleSessionsPartVirtualMachine::class => PostVirtualMachineConsoleSessionsPartVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineMustBeStarted::class => VirtualMachineMustBeStartedNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineMustBeStartedSchema::class => VirtualMachineMustBeStartedSchemaNormalizer::class, + + \KatapultAPI\Core\Model\AuthSSHKey::class => AuthSSHKeyNormalizer::class, + + \KatapultAPI\Core\Model\AuthSSHKeyProperties::class => AuthSSHKeyPropertiesNormalizer::class, + + \KatapultAPI\Core\Model\AuthSSHKeyLookup::class => AuthSSHKeyLookupNormalizer::class, + + \KatapultAPI\Core\Model\DeletionRestricted::class => DeletionRestrictedNormalizer::class, + + \KatapultAPI\Core\Model\APIToken::class => APITokenNormalizer::class, + + \KatapultAPI\Core\Model\APITokenArguments::class => APITokenArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\APITokenLookup::class => APITokenLookupNormalizer::class, + + \KatapultAPI\Core\Model\DeleteAPIToken200ResponseAPIToken::class => DeleteAPIToken200ResponseAPITokenNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPolicies::class => GetOrganizationDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer::class, + + \KatapultAPI\Core\Model\DiskBackupPolicyTarget::class => DiskBackupPolicyTargetNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachine::class => VirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineAttachedIso::class => VirtualMachineAttachedIsoNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineGpuType::class => VirtualMachineGpuTypeNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineHypervisor::class => VirtualMachineHypervisorNormalizer::class, + + \KatapultAPI\Core\Model\Disk::class => DiskNormalizer::class, + + \KatapultAPI\Core\Model\DiskIoProfile::class => DiskIoProfileNormalizer::class, + + \KatapultAPI\Core\Model\DiskVirtualMachineDisk::class => DiskVirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineDisk::class => VirtualMachineDiskNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationDiskBackupPoliciesPartSchedule::class => GetOrganizationDiskBackupPoliciesPartScheduleNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicies::class => GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachineDiskBackupPoliciesPartSchedule::class => GetVirtualMachineDiskBackupPoliciesPartScheduleNormalizer::class, + + \KatapultAPI\Core\Model\GetDiskDiskBackupPolicies200ResponseDiskBackupPolicies::class => GetDiskDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer::class, + + \KatapultAPI\Core\Model\GetDiskDiskBackupPoliciesPartSchedule::class => GetDiskDiskBackupPoliciesPartScheduleNormalizer::class, + + \KatapultAPI\Core\Model\GetDiskBackupPolicy200ResponseDiskBackupPolicy::class => GetDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer::class, + + \KatapultAPI\Core\Model\Schedule::class => ScheduleNormalizer::class, + + \KatapultAPI\Core\Model\DiskBackupPolicyLookup::class => DiskBackupPolicyLookupNormalizer::class, + + \KatapultAPI\Core\Model\DeleteDiskBackupPolicy200ResponseDiskBackupPolicy::class => DeleteDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer::class, + + \KatapultAPI\Core\Model\DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicy::class => DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicyNormalizer::class, + + \KatapultAPI\Core\Model\InvalidTimestampSchema::class => InvalidTimestampSchemaNormalizer::class, + + \KatapultAPI\Core\Model\DiskBackupPolicyArguments::class => DiskBackupPolicyArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\ScheduleArguments::class => ScheduleArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\PatchDiskBackupPolicy200ResponseDiskBackupPolicy::class => PatchDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer::class, + + \KatapultAPI\Core\Model\PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicy::class => PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicyNormalizer::class, + + \KatapultAPI\Core\Model\PostDiskDiskBackupPolicies200ResponseDiskBackupPolicy::class => PostDiskDiskBackupPolicies200ResponseDiskBackupPolicyNormalizer::class, + + \KatapultAPI\Core\Model\DNSZone::class => DNSZoneNormalizer::class, + + \KatapultAPI\Core\Model\DNSZoneArguments::class => DNSZoneArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\DNSZoneLookup::class => DNSZoneLookupNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecord::class => DNSRecordNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentAttributes::class => DNSRecordContentAttributesNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentAttributesA::class => DNSRecordContentAttributesANormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentAttributesAAAA::class => DNSRecordContentAttributesAAAANormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentAttributesALIAS::class => DNSRecordContentAttributesALIASNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentAttributesCAA::class => DNSRecordContentAttributesCAANormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentAttributesCNAME::class => DNSRecordContentAttributesCNAMENormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentAttributesIPS::class => DNSRecordContentAttributesIPSNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentAttributesMX::class => DNSRecordContentAttributesMXNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentAttributesNS::class => DNSRecordContentAttributesNSNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentAttributesPTR::class => DNSRecordContentAttributesPTRNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentAttributesSRV::class => DNSRecordContentAttributesSRVNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentAttributesSSHFP::class => DNSRecordContentAttributesSSHFPNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentAttributesTXT::class => DNSRecordContentAttributesTXTNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentAttributesVirtualMachine::class => DNSRecordContentAttributesVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\RecordContentAttributesForA::class => RecordContentAttributesForANormalizer::class, + + \KatapultAPI\Core\Model\RecordContentAttributesForAAAA::class => RecordContentAttributesForAAAANormalizer::class, + + \KatapultAPI\Core\Model\RecordContentAttributesForALIAS::class => RecordContentAttributesForALIASNormalizer::class, + + \KatapultAPI\Core\Model\RecordContentAttributesForCAA::class => RecordContentAttributesForCAANormalizer::class, + + \KatapultAPI\Core\Model\RecordContentAttributesForCNAME::class => RecordContentAttributesForCNAMENormalizer::class, + + \KatapultAPI\Core\Model\RecordContentAttributesForIPS::class => RecordContentAttributesForIPSNormalizer::class, + + \KatapultAPI\Core\Model\RecordContentAttributesForMX::class => RecordContentAttributesForMXNormalizer::class, + + \KatapultAPI\Core\Model\RecordContentAttributesForNS::class => RecordContentAttributesForNSNormalizer::class, + + \KatapultAPI\Core\Model\RecordContentAttributesForPTR::class => RecordContentAttributesForPTRNormalizer::class, + + \KatapultAPI\Core\Model\RecordContentAttributesForSRV::class => RecordContentAttributesForSRVNormalizer::class, + + \KatapultAPI\Core\Model\RecordContentAttributesForSSHFP::class => RecordContentAttributesForSSHFPNormalizer::class, + + \KatapultAPI\Core\Model\RecordContentAttributesForTXT::class => RecordContentAttributesForTXTNormalizer::class, + + \KatapultAPI\Core\Model\RecordContentAttributesForVirtualMachine::class => RecordContentAttributesForVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordArguments::class => DNSRecordArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentArguments::class => DNSRecordContentArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForA::class => DNSRecordContentArgumentsForANormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForAAAA::class => DNSRecordContentArgumentsForAAAANormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForALIAS::class => DNSRecordContentArgumentsForALIASNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForCAA::class => DNSRecordContentArgumentsForCAANormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForCNAME::class => DNSRecordContentArgumentsForCNAMENormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForIPS::class => DNSRecordContentArgumentsForIPSNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForMX::class => DNSRecordContentArgumentsForMXNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForNS::class => DNSRecordContentArgumentsForNSNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForPTR::class => DNSRecordContentArgumentsForPTRNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForSRV::class => DNSRecordContentArgumentsForSRVNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForSSHFP::class => DNSRecordContentArgumentsForSSHFPNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForTXT::class => DNSRecordContentArgumentsForTXTNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForVirtualMachine::class => DNSRecordContentArgumentsForVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\DNSRecordLookup::class => DNSRecordLookupNormalizer::class, + + \KatapultAPI\Core\Model\SecurityGroup::class => SecurityGroupNormalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupArguments::class => SecurityGroupArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupLookup::class => SecurityGroupLookupNormalizer::class, + + \KatapultAPI\Core\Model\DeleteSecurityGroup200ResponseSecurityGroup::class => DeleteSecurityGroup200ResponseSecurityGroupNormalizer::class, + + \KatapultAPI\Core\Model\GetSecurityGroupRules200ResponseSecurityGroupRules::class => GetSecurityGroupRules200ResponseSecurityGroupRulesNormalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupRuleArguments::class => SecurityGroupRuleArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\PostSecurityGroupRules200ResponseSecurityGroupRule::class => PostSecurityGroupRules200ResponseSecurityGroupRuleNormalizer::class, + + \KatapultAPI\Core\Model\PostSecurityGroupRulesPartSecurityGroup::class => PostSecurityGroupRulesPartSecurityGroupNormalizer::class, + + \KatapultAPI\Core\Model\GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule::class => GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer::class, + + \KatapultAPI\Core\Model\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup::class => GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroupNormalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupRuleLookup::class => SecurityGroupRuleLookupNormalizer::class, + + \KatapultAPI\Core\Model\PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule::class => PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer::class, + + \KatapultAPI\Core\Model\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup::class => PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroupNormalizer::class, + + \KatapultAPI\Core\Model\DeleteSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule::class => DeleteSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumes::class => GetOrganizationFileStorageVolumes200ResponseFileStorageVolumesNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationFileStorageVolumesPartDataCenter::class => GetOrganizationFileStorageVolumesPartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\GetFileStorageVolume200ResponseFileStorageVolume::class => GetFileStorageVolume200ResponseFileStorageVolumeNormalizer::class, + + \KatapultAPI\Core\Model\GetFileStorageVolumePartDataCenter::class => GetFileStorageVolumePartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\FileStorageVolumeArguments::class => FileStorageVolumeArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\PostOrganizationFileStorageVolumes201ResponseFileStorageVolume::class => PostOrganizationFileStorageVolumes201ResponseFileStorageVolumeNormalizer::class, + + \KatapultAPI\Core\Model\PostOrganizationFileStorageVolumesPartDataCenter::class => PostOrganizationFileStorageVolumesPartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\FileStorageVolumeLookup::class => FileStorageVolumeLookupNormalizer::class, + + \KatapultAPI\Core\Model\PatchFileStorageVolume200ResponseFileStorageVolume::class => PatchFileStorageVolume200ResponseFileStorageVolumeNormalizer::class, + + \KatapultAPI\Core\Model\PatchFileStorageVolumePartDataCenter::class => PatchFileStorageVolumePartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\DeleteFileStorageVolume200ResponseFileStorageVolume::class => DeleteFileStorageVolume200ResponseFileStorageVolumeNormalizer::class, + + \KatapultAPI\Core\Model\DeleteFileStorageVolumePartDataCenter::class => DeleteFileStorageVolumePartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationAvailableNetworks200ResponseNetworks::class => GetOrganizationAvailableNetworks200ResponseNetworksNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationAvailableNetworksPartDataCenter::class => GetOrganizationAvailableNetworksPartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationAvailableNetworks200ResponseVirtualNetworks::class => GetOrganizationAvailableNetworks200ResponseVirtualNetworksNormalizer::class, + + \KatapultAPI\Core\Model\NetworkSpeedProfile::class => NetworkSpeedProfileNormalizer::class, + + \KatapultAPI\Core\Model\GetAddressLists200ResponseAddressLists::class => GetAddressLists200ResponseAddressListsNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationAddressLists200ResponseAddressLists::class => GetOrganizationAddressLists200ResponseAddressListsNormalizer::class, + + \KatapultAPI\Core\Model\AddressList::class => AddressListNormalizer::class, + + \KatapultAPI\Core\Model\AddressListEntry::class => AddressListEntryNormalizer::class, + + \KatapultAPI\Core\Model\AddressListArguments::class => AddressListArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\AddressListLookup::class => AddressListLookupNormalizer::class, + + \KatapultAPI\Core\Model\AddressListEntryArguments::class => AddressListEntryArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\AddressListEntryLookup::class => AddressListEntryLookupNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationCertificates200ResponseCertificates::class => GetOrganizationCertificates200ResponseCertificatesNormalizer::class, + + \KatapultAPI\Core\Model\Certificate::class => CertificateNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationLoadBalancers200ResponseLoadBalancers::class => GetOrganizationLoadBalancers200ResponseLoadBalancersNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancerResource::class => LoadBalancerResourceNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationLoadBalancersPartIPAddress::class => GetOrganizationLoadBalancersPartIPAddressNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationLoadBalancersPartDataCenter::class => GetOrganizationLoadBalancersPartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancerArguments::class => LoadBalancerArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancerWeightsArguments::class => LoadBalancerWeightsArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\PostOrganizationLoadBalancers201ResponseLoadBalancer::class => PostOrganizationLoadBalancers201ResponseLoadBalancerNormalizer::class, + + \KatapultAPI\Core\Model\PostOrganizationLoadBalancersPartIPAddress::class => PostOrganizationLoadBalancersPartIPAddressNormalizer::class, + + \KatapultAPI\Core\Model\PostOrganizationLoadBalancersPartDataCenter::class => PostOrganizationLoadBalancersPartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancerWeight::class => LoadBalancerWeightNormalizer::class, + + \KatapultAPI\Core\Model\GetLoadBalancer200ResponseLoadBalancer::class => GetLoadBalancer200ResponseLoadBalancerNormalizer::class, + + \KatapultAPI\Core\Model\GetLoadBalancerPartIPAddress::class => GetLoadBalancerPartIPAddressNormalizer::class, + + \KatapultAPI\Core\Model\GetLoadBalancerPartDataCenter::class => GetLoadBalancerPartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancerLookup::class => LoadBalancerLookupNormalizer::class, + + \KatapultAPI\Core\Model\PatchLoadBalancer200ResponseLoadBalancer::class => PatchLoadBalancer200ResponseLoadBalancerNormalizer::class, + + \KatapultAPI\Core\Model\PatchLoadBalancerPartIPAddress::class => PatchLoadBalancerPartIPAddressNormalizer::class, + + \KatapultAPI\Core\Model\PatchLoadBalancerPartDataCenter::class => PatchLoadBalancerPartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\DeleteLoadBalancer200ResponseLoadBalancer::class => DeleteLoadBalancer200ResponseLoadBalancerNormalizer::class, + + \KatapultAPI\Core\Model\GetLoadBalancerRules200ResponseLoadBalancerRules::class => GetLoadBalancerRules200ResponseLoadBalancerRulesNormalizer::class, + + \KatapultAPI\Core\Model\GetLoadBalancerRulesPartCertificates::class => GetLoadBalancerRulesPartCertificatesNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancerRuleArguments::class => LoadBalancerRuleArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\CertificateLookup::class => CertificateLookupNormalizer::class, + + \KatapultAPI\Core\Model\PostLoadBalancerRules200ResponseLoadBalancerRule::class => PostLoadBalancerRules200ResponseLoadBalancerRuleNormalizer::class, + + \KatapultAPI\Core\Model\PostLoadBalancerRulesPartCertificates::class => PostLoadBalancerRulesPartCertificatesNormalizer::class, + + \KatapultAPI\Core\Model\PostLoadBalancerRulesPartLoadBalancer::class => PostLoadBalancerRulesPartLoadBalancerNormalizer::class, + + \KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule::class => GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer::class, + + \KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRulePartCertificates::class => GetLoadBalancersRulesLoadBalancerRulePartCertificatesNormalizer::class, + + \KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer::class => GetLoadBalancersRulesLoadBalancerRulePartLoadBalancerNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancerRuleLookup::class => LoadBalancerRuleLookupNormalizer::class, + + \KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule::class => PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer::class, + + \KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRulePartCertificates::class => PatchLoadBalancersRulesLoadBalancerRulePartCertificatesNormalizer::class, + + \KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer::class => PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancerNormalizer::class, + + \KatapultAPI\Core\Model\DeleteLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule::class => DeleteLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationIPAddresses200ResponseIPAddresses::class => GetOrganizationIPAddresses200ResponseIPAddressesNormalizer::class, + + \KatapultAPI\Core\Model\APIAuthenticator503Schema::class => APIAuthenticator503SchemaNormalizer::class, + + \KatapultAPI\Core\Model\NoAvailableAddressesSchema::class => NoAvailableAddressesSchemaNormalizer::class, + + \KatapultAPI\Core\Model\GetIPAddress200ResponseAllocation::class => GetIPAddress200ResponseAllocationNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfaces::class => GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacesPartNetwork::class => GetVirtualMachineNetworkInterfacesPartNetworkNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacesPartIPAddresses::class => GetVirtualMachineNetworkInterfacesPartIPAddressesNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterface::class => GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartVirtualMachine::class => GetVirtualMachineNetworkInterfacePartVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartNetwork::class => GetVirtualMachineNetworkInterfacePartNetworkNormalizer::class, + + \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartIPAddresses::class => GetVirtualMachineNetworkInterfacePartIPAddressesNormalizer::class, + + \KatapultAPI\Core\Model\InterfaceNotFoundSchema::class => InterfaceNotFoundSchemaNormalizer::class, + + \KatapultAPI\Core\Model\GetVMNIVMNI200ResponseVirtualMachineNetworkInterface::class => GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceNormalizer::class, + + \KatapultAPI\Core\Model\GetVMNIVMNIPartVirtualMachine::class => GetVMNIVMNIPartVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\GetVMNIVMNIPartNetwork::class => GetVMNIVMNIPartNetworkNormalizer::class, + + \KatapultAPI\Core\Model\GetVMNIVMNIPartIPAddresses::class => GetVMNIVMNIPartIPAddressesNormalizer::class, + + \KatapultAPI\Core\Model\GetVMNIVMNIPartSpeedProfile::class => GetVMNIVMNIPartSpeedProfileNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfaceLookup::class => VirtualMachineNetworkInterfaceLookupNormalizer::class, + + \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterface::class => PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceNormalizer::class, + + \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine::class => PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork::class => PostVirtualMachineNetworkInterfaceAllocateIPPartNetworkNormalizer::class, + + \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses::class => PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddressesNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfaceNotFoundSchema::class => VirtualMachineNetworkInterfaceNotFoundSchemaNormalizer::class, + + \KatapultAPI\Core\Model\InvalidIPSchema::class => InvalidIPSchemaNormalizer::class, + + \KatapultAPI\Core\Model\NetworkSpeedProfileLookup::class => NetworkSpeedProfileLookupNormalizer::class, + + \KatapultAPI\Core\Model\NetworkSpeedProfileNotFoundSchema::class => NetworkSpeedProfileNotFoundSchemaNormalizer::class, + + \KatapultAPI\Core\Model\GetOrganizationTags200ResponseTags::class => GetOrganizationTags200ResponseTagsNormalizer::class, + + \KatapultAPI\Core\Model\TagArguments::class => TagArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\TagLookup::class => TagLookupNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineGroupArguments::class => VirtualMachineGroupArgumentsNormalizer::class, + + \KatapultAPI\Core\Model\GetOperatingSystems200ResponseOperatingSystems::class => GetOperatingSystems200ResponseOperatingSystemsNormalizer::class, + + \KatapultAPI\Core\Model\TrashObjectLookup::class => TrashObjectLookupNormalizer::class, + + \KatapultAPI\Core\Model\GetZones200ResponseZones::class => GetZones200ResponseZonesNormalizer::class, + + \KatapultAPI\Core\Model\GetZonesPartDataCenter::class => GetZonesPartDataCenterNormalizer::class, + + \KatapultAPI\Core\Model\GetCountries200ResponseCountries::class => GetCountries200ResponseCountriesNormalizer::class, + + \KatapultAPI\Core\Model\GetCountryCountryStates200ResponseCountryStates::class => GetCountryCountryStates200ResponseCountryStatesNormalizer::class, + + \KatapultAPI\Core\Model\GetCurrencies200ResponseCurrencies::class => GetCurrencies200ResponseCurrenciesNormalizer::class, + + \KatapultAPI\Core\Model\GetUsersCurrent200ResponseOrganizations::class => GetUsersCurrent200ResponseOrganizationsNormalizer::class, + + \KatapultAPI\Core\Model\IdentityNotLinkedToWebSessionSchema::class => IdentityNotLinkedToWebSessionSchemaNormalizer::class, + + \KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response::class => ResponseAPIAuthenticator400ResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response::class => ResponseAPIAuthenticator429ResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response::class => ResponseAPIAuthenticator503ResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseDataCenterNotFoundResponse::class => ResponseDataCenterNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse::class => ResponseOrganizationNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseTaskQueueingErrorResponse::class => ResponseTaskQueueingErrorResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseValidationErrorResponse::class => ResponseValidationErrorResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseDiskNotFoundResponse::class => ResponseDiskNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseObjectInTrashResponse::class => ResponseObjectInTrashResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseUnableToAssignResponse::class => ResponseUnableToAssignResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseUnableToUnassignResponse::class => ResponseUnableToUnassignResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseUnassignedDiskResponse::class => ResponseUnassignedDiskResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseVirtualMachineNotFoundResponse::class => ResponseVirtualMachineNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseDiskTemplateNotFoundResponse::class => ResponseDiskTemplateNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseDiskTemplateVersionNotFoundResponse::class => ResponseDiskTemplateVersionNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseGPUTypeNotFoundResponse::class => ResponseGPUTypeNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseNoVirtualMachineForAPITokenResponse::class => ResponseNoVirtualMachineForAPITokenResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseVirtualMachineBuildNotFoundResponse::class => ResponseVirtualMachineBuildNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseVirtualMachinePackageNotFoundResponse::class => ResponseVirtualMachinePackageNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseSSHKeyNotFoundResponse::class => ResponseSSHKeyNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseDeletionRestrictedResponse::class => ResponseDeletionRestrictedResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseAPITokenNotFoundResponse::class => ResponseAPITokenNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseDiskBackupPolicyNotFoundResponse::class => ResponseDiskBackupPolicyNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseDNSZoneNotFoundResponse::class => ResponseDNSZoneNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseDNSZoneNotVerifiedResponse::class => ResponseDNSZoneNotVerifiedResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseDNSRecordNotFoundResponse::class => ResponseDNSRecordNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseSecurityGroupNotFoundResponse::class => ResponseSecurityGroupNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseSecurityGroupRuleNotFoundResponse::class => ResponseSecurityGroupRuleNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseFileStorageVolumeNotFoundResponse::class => ResponseFileStorageVolumeNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseNetworkNotFoundResponse::class => ResponseNetworkNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseAddressListNotFoundResponse::class => ResponseAddressListNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseAddressListEntryNotFoundResponse::class => ResponseAddressListEntryNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseCertificateNotFoundResponse::class => ResponseCertificateNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseLoadBalancerNotFoundResponse::class => ResponseLoadBalancerNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseLoadBalancerRuleNotFoundResponse::class => ResponseLoadBalancerRuleNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseIPAddressNotFoundResponse::class => ResponseIPAddressNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseResourceDoesNotSupportUnallocationResponse::class => ResponseResourceDoesNotSupportUnallocationResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseNoAllocationResponse::class => ResponseNoAllocationResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseVirtualMachineNetworkInterfaceNotFoundResponse::class => ResponseVirtualMachineNetworkInterfaceNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseSpeedProfileAlreadyAssignedResponse::class => ResponseSpeedProfileAlreadyAssignedResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseTagNotFoundResponse::class => ResponseTagNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseVirtualMachineGroupNotFoundResponse::class => ResponseVirtualMachineGroupNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseOperatingSystemNotFoundResponse::class => ResponseOperatingSystemNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseTrashObjectNotFoundResponse::class => ResponseTrashObjectNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseZoneNotFoundResponse::class => ResponseZoneNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseCountryNotFoundResponse::class => ResponseCountryNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseCountryStateNotFoundResponse::class => ResponseCountryStateNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseCurrencyNotFoundResponse::class => ResponseCurrencyNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseTaskNotFoundResponse::class => ResponseTaskNotFoundResponseNormalizer::class, + + \KatapultAPI\Core\Model\ResponseNoUserAssociatedWithIdentityResponse::class => ResponseNoUserAssociatedWithIdentityResponseNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensGetResponse200::class => OrganizationsOrganizationApiTokensGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensPostBody::class => OrganizationsOrganizationApiTokensPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensPostResponse200::class => OrganizationsOrganizationApiTokensPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensPostResponse200ApiToken::class => OrganizationsOrganizationApiTokensPostResponse200ApiTokenNormalizer::class, + + \KatapultAPI\Core\Model\ApiTokensApiTokenDeleteBody::class => ApiTokensApiTokenDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\ApiTokensApiTokenDeleteResponse200::class => ApiTokensApiTokenDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\ApiTokensApiTokenDeleteResponse200ApiToken::class => ApiTokensApiTokenDeleteResponse200ApiTokenNormalizer::class, + + \KatapultAPI\Core\Model\ApiTokensApiTokenPatchBody::class => ApiTokensApiTokenPatchBodyNormalizer::class, + + \KatapultAPI\Core\Model\ApiTokensApiTokenPatchResponse200::class => ApiTokensApiTokenPatchResponse200Normalizer::class, + + \KatapultAPI\Core\Model\ApiTokensApiTokenPatchResponse200ApiToken::class => ApiTokensApiTokenPatchResponse200ApiTokenNormalizer::class, + + \KatapultAPI\Core\Model\ApiTokensApiTokenRegenerateSecretPostBody::class => ApiTokensApiTokenRegenerateSecretPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\ApiTokensApiTokenRegenerateSecretPostResponse200::class => ApiTokensApiTokenRegenerateSecretPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\ApiTokensApiTokenRegenerateSecretPostResponse200ApiToken::class => ApiTokensApiTokenRegenerateSecretPostResponse200ApiTokenNormalizer::class, + + \KatapultAPI\Core\Model\AddressListsGetResponse200::class => AddressListsGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsGetResponse200::class => OrganizationsOrganizationAddressListsGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsPostBody::class => OrganizationsOrganizationAddressListsPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsPostResponse201::class => OrganizationsOrganizationAddressListsPostResponse201Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsPostResponse201AddressList::class => OrganizationsOrganizationAddressListsPostResponse201AddressListNormalizer::class, + + \KatapultAPI\Core\Model\AddressListsAddressListDeleteBody::class => AddressListsAddressListDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\AddressListsAddressListDeleteResponse200::class => AddressListsAddressListDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\AddressListsAddressListDeleteResponse200AddressList::class => AddressListsAddressListDeleteResponse200AddressListNormalizer::class, + + \KatapultAPI\Core\Model\AddressListsAddressListGetResponse200::class => AddressListsAddressListGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\AddressListsAddressListGetResponse200AddressList::class => AddressListsAddressListGetResponse200AddressListNormalizer::class, + + \KatapultAPI\Core\Model\AddressListsAddressListPatchBody::class => AddressListsAddressListPatchBodyNormalizer::class, + + \KatapultAPI\Core\Model\AddressListsAddressListPatchResponse200::class => AddressListsAddressListPatchResponse200Normalizer::class, + + \KatapultAPI\Core\Model\AddressListsAddressListPatchResponse200AddressList::class => AddressListsAddressListPatchResponse200AddressListNormalizer::class, + + \KatapultAPI\Core\Model\AddressListsAddressListEntriesGetResponse200::class => AddressListsAddressListEntriesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\AddressListsAddressListEntriesPostBody::class => AddressListsAddressListEntriesPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\AddressListsAddressListEntriesPostResponse201::class => AddressListsAddressListEntriesPostResponse201Normalizer::class, + + \KatapultAPI\Core\Model\AddressListsAddressListEntriesPostResponse201AddressListEntry::class => AddressListsAddressListEntriesPostResponse201AddressListEntryNormalizer::class, + + \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryDeleteBody::class => AddressListEntriesAddressListEntryDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryDeleteResponse200::class => AddressListEntriesAddressListEntryDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryDeleteResponse200AddressListEntry::class => AddressListEntriesAddressListEntryDeleteResponse200AddressListEntryNormalizer::class, + + \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryGetResponse200::class => AddressListEntriesAddressListEntryGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryGetResponse200AddressListEntry::class => AddressListEntriesAddressListEntryGetResponse200AddressListEntryNormalizer::class, + + \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryPatchBody::class => AddressListEntriesAddressListEntryPatchBodyNormalizer::class, + + \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryPatchResponse200::class => AddressListEntriesAddressListEntryPatchResponse200Normalizer::class, + + \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryPatchResponse200AddressListEntry::class => AddressListEntriesAddressListEntryPatchResponse200AddressListEntryNormalizer::class, + + \KatapultAPI\Core\Model\AddressListsAddressListEntriesBulkPostBody::class => AddressListsAddressListEntriesBulkPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\AddressListsAddressListEntriesBulkPostResponse200::class => AddressListsAddressListEntriesBulkPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationCertificatesGetResponse200::class => OrganizationsOrganizationCertificatesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\CertificatesCertificateGetResponse200::class => CertificatesCertificateGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\CountriesGetResponse200::class => CountriesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\CountriesCountryGetResponse200::class => CountriesCountryGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\CountriesCountryGetResponse200Country::class => CountriesCountryGetResponse200CountryNormalizer::class, + + \KatapultAPI\Core\Model\CountriesCountryCountryStatesGetResponse200::class => CountriesCountryCountryStatesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\CountryStatesCountryStateGetResponse200::class => CountryStatesCountryStateGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\CountryStatesCountryStateGetResponse200CountryState::class => CountryStatesCountryStateGetResponse200CountryStateNormalizer::class, + + \KatapultAPI\Core\Model\CurrenciesGetResponse200::class => CurrenciesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\CurrenciesCurrencyGetResponse200::class => CurrenciesCurrencyGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\CurrenciesCurrencyGetResponse200Currency::class => CurrenciesCurrencyGetResponse200CurrencyNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesGetResponse200::class => OrganizationsOrganizationDnsZonesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesPostBody::class => OrganizationsOrganizationDnsZonesPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesPostResponse201::class => OrganizationsOrganizationDnsZonesPostResponse201Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesPostResponse201DnsZone::class => OrganizationsOrganizationDnsZonesPostResponse201DnsZoneNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesNameserversGetResponse200::class => OrganizationsOrganizationDnsZonesNameserversGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DnsZonesDnsZoneDeleteBody::class => DnsZonesDnsZoneDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\DnsZonesDnsZoneDeleteResponse200::class => DnsZonesDnsZoneDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DnsZonesDnsZoneGetResponse200::class => DnsZonesDnsZoneGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DnsZonesDnsZoneGetResponse200DnsZone::class => DnsZonesDnsZoneGetResponse200DnsZoneNormalizer::class, + + \KatapultAPI\Core\Model\DnsZonesDnsZonePatchBody::class => DnsZonesDnsZonePatchBodyNormalizer::class, + + \KatapultAPI\Core\Model\DnsZonesDnsZonePatchResponse200::class => DnsZonesDnsZonePatchResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DnsZonesDnsZonePatchResponse200DnsZone::class => DnsZonesDnsZonePatchResponse200DnsZoneNormalizer::class, + + \KatapultAPI\Core\Model\DnsZonesDnsZoneVerifyPostBody::class => DnsZonesDnsZoneVerifyPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\DnsZonesDnsZoneVerifyPostResponse200::class => DnsZonesDnsZoneVerifyPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DnsZonesDnsZoneVerifyPostResponse200DnsZone::class => DnsZonesDnsZoneVerifyPostResponse200DnsZoneNormalizer::class, + + \KatapultAPI\Core\Model\DnsZonesDnsZoneRecordsGetResponse200::class => DnsZonesDnsZoneRecordsGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DnsZonesDnsZoneRecordsPostBody::class => DnsZonesDnsZoneRecordsPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\DnsZonesDnsZoneRecordsPostResponse200::class => DnsZonesDnsZoneRecordsPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DnsRecordsDnsRecordDeleteBody::class => DnsRecordsDnsRecordDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\DnsRecordsDnsRecordDeleteResponse200::class => DnsRecordsDnsRecordDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DnsRecordsDnsRecordGetResponse200::class => DnsRecordsDnsRecordGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DnsRecordsDnsRecordGetResponse200DnsRecord::class => DnsRecordsDnsRecordGetResponse200DnsRecordNormalizer::class, + + \KatapultAPI\Core\Model\DnsRecordsDnsRecordPatchBody::class => DnsRecordsDnsRecordPatchBodyNormalizer::class, + + \KatapultAPI\Core\Model\DnsRecordsDnsRecordPatchResponse200::class => DnsRecordsDnsRecordPatchResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DnsRecordsDnsRecordPatchResponse200DnsRecord::class => DnsRecordsDnsRecordPatchResponse200DnsRecordNormalizer::class, + + \KatapultAPI\Core\Model\DataCentersGetResponse200::class => DataCentersGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DataCentersDataCenterGetResponse200::class => DataCentersDataCenterGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DataCentersDataCenterDefaultNetworkGetResponse200::class => DataCentersDataCenterDefaultNetworkGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DataCentersDataCenterDefaultNetworkGetResponse200Network::class => DataCentersDataCenterDefaultNetworkGetResponse200NetworkNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationDiskIoProfilesGetResponse200::class => OrganizationsOrganizationDiskIoProfilesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationDiskBackupPoliciesGetResponse200::class => OrganizationsOrganizationDiskBackupPoliciesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200::class => VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesPostBody::class => VirtualMachinesVirtualMachineDiskBackupPoliciesPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200::class => VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicy::class => VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicyNormalizer::class, + + \KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesGetResponse200::class => DisksDiskDiskBackupPoliciesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesPostBody::class => DisksDiskDiskBackupPoliciesPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesPostResponse200::class => DisksDiskDiskBackupPoliciesPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicy::class => DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicyNormalizer::class, + + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyDeleteBody::class => DiskBackupPoliciesDiskBackupPolicyDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200::class => DiskBackupPoliciesDiskBackupPolicyDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicy::class => DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicyNormalizer::class, + + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyGetResponse200::class => DiskBackupPoliciesDiskBackupPolicyGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicy::class => DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicyNormalizer::class, + + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyPatchBody::class => DiskBackupPoliciesDiskBackupPolicyPatchBodyNormalizer::class, + + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyPatchResponse200::class => DiskBackupPoliciesDiskBackupPolicyPatchResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicy::class => DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicyNormalizer::class, + + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteBody::class => DiskBackupPoliciesDiskBackupPolicyScheduleDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200::class => DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicy::class => DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicyNormalizer::class, + + \KatapultAPI\Core\Model\DiskTemplatesDiskTemplateVersionsGetResponse200::class => DiskTemplatesDiskTemplateVersionsGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionGetResponse200::class => DiskTemplateVersionsDiskTemplateVersionGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersion::class => DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersionNormalizer::class, + + \KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200::class => DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersion::class => DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersionNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationDiskTemplatesGetResponse200::class => OrganizationsOrganizationDiskTemplatesGetResponse200Normalizer::class, - public function supportsNormalization($data, $format = null, array $context = []): bool - { - return is_object($data) && array_key_exists(get_class($data), $this->normalizers); - } + \KatapultAPI\Core\Model\DiskTemplatesDiskTemplateGetResponse200::class => DiskTemplatesDiskTemplateGetResponse200Normalizer::class, - public function normalize(mixed $object, ?string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null - { - $normalizerClass = $this->normalizers[get_class($object)]; - $normalizer = $this->getNormalizer($normalizerClass); + \KatapultAPI\Core\Model\DiskTemplatesDiskTemplateGetResponse200DiskTemplate::class => DiskTemplatesDiskTemplateGetResponse200DiskTemplateNormalizer::class, - return $normalizer->normalize($object, $format, $context); - } + \KatapultAPI\Core\Model\OrganizationsOrganizationDisksGetResponse200::class => OrganizationsOrganizationDisksGetResponse200Normalizer::class, - public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed - { - $denormalizerClass = $this->normalizers[$type]; - $denormalizer = $this->getNormalizer($denormalizerClass); + \KatapultAPI\Core\Model\OrganizationsOrganizationDisksPostBody::class => OrganizationsOrganizationDisksPostBodyNormalizer::class, - return $denormalizer->denormalize($data, $type, $format, $context); - } + \KatapultAPI\Core\Model\OrganizationsOrganizationDisksPostResponse201::class => OrganizationsOrganizationDisksPostResponse201Normalizer::class, - private function getNormalizer(string $normalizerClass) - { - return $this->normalizersCache[$normalizerClass] ?? $this->initNormalizer($normalizerClass); - } + \KatapultAPI\Core\Model\OrganizationsOrganizationDisksPostResponse201Disk::class => OrganizationsOrganizationDisksPostResponse201DiskNormalizer::class, - private function initNormalizer(string $normalizerClass) - { - $normalizer = new $normalizerClass(); - $normalizer->setNormalizer($this->normalizer); - $normalizer->setDenormalizer($this->denormalizer); - $this->normalizersCache[$normalizerClass] = $normalizer; + \KatapultAPI\Core\Model\DisksDiskDeleteBody::class => DisksDiskDeleteBodyNormalizer::class, - return $normalizer; - } + \KatapultAPI\Core\Model\DisksDiskDeleteResponse200::class => DisksDiskDeleteResponse200Normalizer::class, - public function getSupportedTypes(?string $format = null): array - { - return ['KatapultAPI\\Core\\Model\\GetDataCenters200ResponseDataCenters' => false, 'KatapultAPI\\Core\\Model\\GetDataCentersPartCountry' => false, 'KatapultAPI\\Core\\Model\\UnauthorizedNetworkForAPIToken' => false, 'KatapultAPI\\Core\\Model\\UnauthorizedNetworkForAPITokenSchema' => false, 'KatapultAPI\\Core\\Model\\InvalidAPIToken' => false, 'KatapultAPI\\Core\\Model\\InvalidAPITokenSchema' => false, 'KatapultAPI\\Core\\Model\\InvalidCapabilitiesTokenSchema' => false, 'KatapultAPI\\Core\\Model\\ScopeNotGrantedError' => false, 'KatapultAPI\\Core\\Model\\ScopeNotGrantedErrorSchema' => false, 'KatapultAPI\\Core\\Model\\RateLimitReached' => false, 'KatapultAPI\\Core\\Model\\GetDataCenter200ResponseDataCenter' => false, 'KatapultAPI\\Core\\Model\\GetDataCenterPartCountry' => false, 'KatapultAPI\\Core\\Model\\GetDataCenterDefaultNetwork200ResponseNetwork' => false, 'KatapultAPI\\Core\\Model\\GetDataCenterDefaultNetworkPartDataCenter' => false, 'KatapultAPI\\Core\\Model\\GetOrganizations200ResponseOrganizations' => false, 'KatapultAPI\\Core\\Model\\Organization' => false, 'KatapultAPI\\Core\\Model\\OrganizationCountry' => false, 'KatapultAPI\\Core\\Model\\OrganizationCountryState' => false, 'KatapultAPI\\Core\\Model\\Currency' => false, 'KatapultAPI\\Core\\Model\\Country' => false, 'KatapultAPI\\Core\\Model\\CountryState' => false, 'KatapultAPI\\Core\\Model\\OrganizationSuspendedSchema' => false, 'KatapultAPI\\Core\\Model\\OrganizationNotActivatedSchema' => false, 'KatapultAPI\\Core\\Model\\PolicyLimits' => false, 'KatapultAPI\\Core\\Model\\FinancialPolicyLimit' => false, 'KatapultAPI\\Core\\Model\\PolicyLimit' => false, 'KatapultAPI\\Core\\Model\\PolicyLimitWithoutCurrent' => false, 'KatapultAPI\\Core\\Model\\PolicyFeatures' => false, 'KatapultAPI\\Core\\Model\\PolicyFeature' => false, 'KatapultAPI\\Core\\Model\\APIAuthenticator400Schema' => false, 'KatapultAPI\\Core\\Model\\PolicyNotAvailableForManagedOrganizationsSchema' => false, 'KatapultAPI\\Core\\Model\\OrganizationPolicy' => false, 'KatapultAPI\\Core\\Model\\DecimalOrUnlimited' => false, 'KatapultAPI\\Core\\Model\\IntegerOrUnlimited' => false, 'KatapultAPI\\Core\\Model\\IntegerValue' => false, 'KatapultAPI\\Core\\Model\\PriceResourceWithSinglePriceVariant' => false, 'KatapultAPI\\Core\\Model\\SinglePriceVariant' => false, 'KatapultAPI\\Core\\Model\\PricesNotAvailableForManagedOrganizationsSchema' => false, 'KatapultAPI\\Core\\Model\\PaginationObject' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationUsersWithAccess200ResponseUsers' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationUsersWithAccess200ResponseUsersUser' => false, 'KatapultAPI\\Core\\Model\\User' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationManaged200ResponseOrganizations' => false, 'KatapultAPI\\Core\\Model\\OrganizationLookup' => false, 'KatapultAPI\\Core\\Model\\KeyValue' => false, 'KatapultAPI\\Core\\Model\\OrganizationLimitReachedSchema' => false, 'KatapultAPI\\Core\\Model\\ValidationError' => false, 'KatapultAPI\\Core\\Model\\ValidationErrorSchema' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationDisks200ResponseDisk' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationDisks200ResponseDiskVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationDisksPartVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationDisksPartVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\DiskArguments' => false, 'KatapultAPI\\Core\\Model\\DataCenterLookup' => false, 'KatapultAPI\\Core\\Model\\DiskIOProfileLookup' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineDiskArguments' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineLookup' => false, 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDisk' => false, 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskIoProfile' => false, 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskInstallation' => false, 'KatapultAPI\\Core\\Model\\DiskIOProfile' => false, 'KatapultAPI\\Core\\Model\\PostOrganizationDisksPartDataCenter' => false, 'KatapultAPI\\Core\\Model\\PostOrganizationDisksPartVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\PostOrganizationDisksPartVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\DiskInstallation' => false, 'KatapultAPI\\Core\\Model\\DiskTemplateVersion' => false, 'KatapultAPI\\Core\\Model\\DiskTemplate' => false, 'KatapultAPI\\Core\\Model\\DiskTemplateLatestVersion' => false, 'KatapultAPI\\Core\\Model\\DiskTemplateOperatingSystem' => false, 'KatapultAPI\\Core\\Model\\OperatingSystem' => false, 'KatapultAPI\\Core\\Model\\OperatingSystemBadge' => false, 'KatapultAPI\\Core\\Model\\Attachment' => false, 'KatapultAPI\\Core\\Model\\DiskInstallationAttribute' => false, 'KatapultAPI\\Core\\Model\\Task' => false, 'KatapultAPI\\Core\\Model\\PermissionDenied' => false, 'KatapultAPI\\Core\\Model\\PermissionDeniedSchema' => false, 'KatapultAPI\\Core\\Model\\TaskQueueingError' => false, 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDisk' => false, 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskIoProfile' => false, 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskInstallation' => false, 'KatapultAPI\\Core\\Model\\GetDiskPartDataCenter' => false, 'KatapultAPI\\Core\\Model\\GetDiskPartVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\GetDiskPartVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\ObjectInTrash' => false, 'KatapultAPI\\Core\\Model\\ObjectInTrashTrashObject' => false, 'KatapultAPI\\Core\\Model\\TrashObject' => false, 'KatapultAPI\\Core\\Model\\DiskLookup' => false, 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDisk' => false, 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskIoProfile' => false, 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskInstallation' => false, 'KatapultAPI\\Core\\Model\\PatchDiskPartDataCenter' => false, 'KatapultAPI\\Core\\Model\\PatchDiskPartVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\PatchDiskPartVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\UnassignedDiskSchema' => false, 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDisk' => false, 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskIoProfile' => false, 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskInstallation' => false, 'KatapultAPI\\Core\\Model\\DeleteDiskPartDataCenter' => false, 'KatapultAPI\\Core\\Model\\DeleteDiskPartVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\DeleteDiskPartVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDisk' => false, 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskIoProfile' => false, 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskInstallation' => false, 'KatapultAPI\\Core\\Model\\PostDiskAssignPartDataCenter' => false, 'KatapultAPI\\Core\\Model\\PostDiskAssignPartVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\PostDiskAssignPartVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\DiskNotFoundSchema' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineNotFoundSchema' => false, 'KatapultAPI\\Core\\Model\\UnableToAssign' => false, 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDisk' => false, 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskIoProfile' => false, 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskInstallation' => false, 'KatapultAPI\\Core\\Model\\PostDiskUnassignPartDataCenter' => false, 'KatapultAPI\\Core\\Model\\PostDiskUnassignPartVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\PostDiskUnassignPartVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\UnableToUnassign' => false, 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDisk' => false, 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskIoProfile' => false, 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskInstallation' => false, 'KatapultAPI\\Core\\Model\\PostDiskAttachPartDataCenter' => false, 'KatapultAPI\\Core\\Model\\PostDiskAttachPartVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\PostDiskAttachPartVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\ObjectInTrashSchema' => false, 'KatapultAPI\\Core\\Model\\TaskQueueingErrorSchema' => false, 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDisk' => false, 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskIoProfile' => false, 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskInstallation' => false, 'KatapultAPI\\Core\\Model\\PostDiskDetachPartDataCenter' => false, 'KatapultAPI\\Core\\Model\\PostDiskDetachPartVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\PostDiskDetachPartVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDisk' => false, 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskIoProfile' => false, 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskInstallation' => false, 'KatapultAPI\\Core\\Model\\PutDiskResizePartDataCenter' => false, 'KatapultAPI\\Core\\Model\\PutDiskResizePartVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\PutDiskResizePartVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDisk' => false, 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskIoProfile' => false, 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskInstallation' => false, 'KatapultAPI\\Core\\Model\\PutDiskIOProfilePartDataCenter' => false, 'KatapultAPI\\Core\\Model\\PutDiskIOProfilePartVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\PutDiskIOProfilePartVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\DiskIOProfileNotFoundSchema' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachineDisks200ResponseDisks' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachineDisksPartDisk' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplates' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersion' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystem' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplatesPartLatestVersion' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplatesPartOperatingSystem' => false, 'KatapultAPI\\Core\\Model\\OrganizationNotFoundSchema' => false, 'KatapultAPI\\Core\\Model\\OperatingSystemNotFoundSchema' => false, 'KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplate' => false, 'KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplateLatestVersion' => false, 'KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplateOperatingSystem' => false, 'KatapultAPI\\Core\\Model\\GetDiskTemplatePartLatestVersion' => false, 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersions200ResponseDiskTemplate' => false, 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersions200ResponseDiskTemplateVersions' => false, 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersion200ResponseDiskTemplateVersion' => false, 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersionPartDiskTemplate' => false, 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersionSpec200ResponseDiskTemplateVersion' => false, 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersionSpecPartDiskTemplate' => false, 'KatapultAPI\\Core\\Model\\TemplateSpec' => false, 'KatapultAPI\\Core\\Model\\TemplateSpecField' => false, 'KatapultAPI\\Core\\Model\\GetGPUTypes200ResponseGPUTypes' => false, 'KatapultAPI\\Core\\Model\\GetGPUTypes200ResponseGPUTypesDataCentersItem' => false, 'KatapultAPI\\Core\\Model\\GetGPUTypesPartDataCenters' => false, 'KatapultAPI\\Core\\Model\\GetGPUType200ResponseGPUType' => false, 'KatapultAPI\\Core\\Model\\GetGPUType200ResponseGPUTypeDataCentersItem' => false, 'KatapultAPI\\Core\\Model\\GetGPUTypePartDataCenters' => false, 'KatapultAPI\\Core\\Model\\GetDataCenterGPUTypes200ResponseGPUTypes' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachines' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesPackage' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuType' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesHypervisor' => false, 'KatapultAPI\\Core\\Model\\Zone' => false, 'KatapultAPI\\Core\\Model\\DataCenter' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartPackage' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartGPUType' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartIPAddresses' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartHypervisor' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineGroup' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachinePackage' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineAttachedIso' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineGpuType' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineHypervisor' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineGroup' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinePackage' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinePackageIcon' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinePackageGroup' => false, 'KatapultAPI\\Core\\Model\\ISO' => false, 'KatapultAPI\\Core\\Model\\ISOOperatingSystem' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachinePartGPUType' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineGPU' => false, 'KatapultAPI\\Core\\Model\\GPUType' => false, 'KatapultAPI\\Core\\Model\\GPUTypeDataCentersItem' => false, 'KatapultAPI\\Core\\Model\\Tag' => false, 'KatapultAPI\\Core\\Model\\IPAddress' => false, 'KatapultAPI\\Core\\Model\\Network' => false, 'KatapultAPI\\Core\\Model\\Hypervisor' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineArguments' => false, 'KatapultAPI\\Core\\Model\\GPUTypeLookup' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineGroupLookup' => false, 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineGroup' => false, 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachinePackage' => false, 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineAttachedIso' => false, 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineGpuType' => false, 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineHypervisor' => false, 'KatapultAPI\\Core\\Model\\PatchVirtualMachinePartGPUType' => false, 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGroup' => false, 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachinePackage' => false, 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineAttachedIso' => false, 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGpuType' => false, 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineHypervisor' => false, 'KatapultAPI\\Core\\Model\\DeleteVirtualMachinePartGPUType' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinePackageLookup' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinePackageNotFoundSchema' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineFlexibleResources' => false, 'KatapultAPI\\Core\\Model\\FlexibleResourcesUnavailableToOrganizationSchema' => false, 'KatapultAPI\\Core\\Model\\IPAddressLookup' => false, 'KatapultAPI\\Core\\Model\\IPAddressNotFoundSchema' => false, 'KatapultAPI\\Core\\Model\\NoInterfaceAvailableSchema' => false, 'KatapultAPI\\Core\\Model\\IPAlreadyAllocatedSchema' => false, 'KatapultAPI\\Core\\Model\\ZoneLookup' => false, 'KatapultAPI\\Core\\Model\\DiskTemplateLookup' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineBuildDiskArguments' => false, 'KatapultAPI\\Core\\Model\\NetworkLookup' => false, 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuild201ResponseTask' => false, 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuild201ResponseBuild' => false, 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuild' => false, 'KatapultAPI\\Core\\Model\\ResourceCreationRestricted' => false, 'KatapultAPI\\Core\\Model\\ResourceCreationRestrictedSchema' => false, 'KatapultAPI\\Core\\Model\\ZoneNotFoundSchema' => false, 'KatapultAPI\\Core\\Model\\DataCenterNotFoundSchema' => false, 'KatapultAPI\\Core\\Model\\DiskTemplateNotFoundSchema' => false, 'KatapultAPI\\Core\\Model\\NetworkNotFoundSchema' => false, 'KatapultAPI\\Core\\Model\\LocationRequiredSchema' => false, 'KatapultAPI\\Core\\Model\\OneSystemDiskRequiredSchema' => false, 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseTask' => false, 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseBuild' => false, 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuild' => false, 'KatapultAPI\\Core\\Model\\InvalidSpecXML' => false, 'KatapultAPI\\Core\\Model\\InvalidSpecXMLSchema' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuild' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\PostVirtualMachineStart200ResponseTask' => false, 'KatapultAPI\\Core\\Model\\PostVirtualMachineStop200ResponseTask' => false, 'KatapultAPI\\Core\\Model\\PostVirtualMachineShutdown200ResponseTask' => false, 'KatapultAPI\\Core\\Model\\PostVirtualMachineReset200ResponseTask' => false, 'KatapultAPI\\Core\\Model\\PostVirtualMachineConsoleSessions201ResponseConsoleSession' => false, 'KatapultAPI\\Core\\Model\\PostVirtualMachineConsoleSessionsPartVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineMustBeStarted' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineMustBeStartedSchema' => false, 'KatapultAPI\\Core\\Model\\AuthSSHKey' => false, 'KatapultAPI\\Core\\Model\\AuthSSHKeyProperties' => false, 'KatapultAPI\\Core\\Model\\AuthSSHKeyLookup' => false, 'KatapultAPI\\Core\\Model\\DeletionRestricted' => false, 'KatapultAPI\\Core\\Model\\APIToken' => false, 'KatapultAPI\\Core\\Model\\APITokenArguments' => false, 'KatapultAPI\\Core\\Model\\APITokenLookup' => false, 'KatapultAPI\\Core\\Model\\DeleteAPIToken200ResponseAPIToken' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPolicies' => false, 'KatapultAPI\\Core\\Model\\DiskBackupPolicyTarget' => false, 'KatapultAPI\\Core\\Model\\VirtualMachine' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineAttachedIso' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineGpuType' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineHypervisor' => false, 'KatapultAPI\\Core\\Model\\Disk' => false, 'KatapultAPI\\Core\\Model\\DiskIoProfile' => false, 'KatapultAPI\\Core\\Model\\DiskVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationDiskBackupPoliciesPartSchedule' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicies' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachineDiskBackupPoliciesPartSchedule' => false, 'KatapultAPI\\Core\\Model\\GetDiskDiskBackupPolicies200ResponseDiskBackupPolicies' => false, 'KatapultAPI\\Core\\Model\\GetDiskDiskBackupPoliciesPartSchedule' => false, 'KatapultAPI\\Core\\Model\\GetDiskBackupPolicy200ResponseDiskBackupPolicy' => false, 'KatapultAPI\\Core\\Model\\Schedule' => false, 'KatapultAPI\\Core\\Model\\DiskBackupPolicyLookup' => false, 'KatapultAPI\\Core\\Model\\DeleteDiskBackupPolicy200ResponseDiskBackupPolicy' => false, 'KatapultAPI\\Core\\Model\\DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicy' => false, 'KatapultAPI\\Core\\Model\\InvalidTimestampSchema' => false, 'KatapultAPI\\Core\\Model\\DiskBackupPolicyArguments' => false, 'KatapultAPI\\Core\\Model\\ScheduleArguments' => false, 'KatapultAPI\\Core\\Model\\PatchDiskBackupPolicy200ResponseDiskBackupPolicy' => false, 'KatapultAPI\\Core\\Model\\PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicy' => false, 'KatapultAPI\\Core\\Model\\PostDiskDiskBackupPolicies200ResponseDiskBackupPolicy' => false, 'KatapultAPI\\Core\\Model\\DNSZone' => false, 'KatapultAPI\\Core\\Model\\DNSZoneArguments' => false, 'KatapultAPI\\Core\\Model\\DNSZoneLookup' => false, 'KatapultAPI\\Core\\Model\\DNSRecord' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributes' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesA' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesAAAA' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesALIAS' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesCAA' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesCNAME' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesIPS' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesMX' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesNS' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesPTR' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesSRV' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesSSHFP' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesTXT' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\RecordContentAttributesForA' => false, 'KatapultAPI\\Core\\Model\\RecordContentAttributesForAAAA' => false, 'KatapultAPI\\Core\\Model\\RecordContentAttributesForALIAS' => false, 'KatapultAPI\\Core\\Model\\RecordContentAttributesForCAA' => false, 'KatapultAPI\\Core\\Model\\RecordContentAttributesForCNAME' => false, 'KatapultAPI\\Core\\Model\\RecordContentAttributesForIPS' => false, 'KatapultAPI\\Core\\Model\\RecordContentAttributesForMX' => false, 'KatapultAPI\\Core\\Model\\RecordContentAttributesForNS' => false, 'KatapultAPI\\Core\\Model\\RecordContentAttributesForPTR' => false, 'KatapultAPI\\Core\\Model\\RecordContentAttributesForSRV' => false, 'KatapultAPI\\Core\\Model\\RecordContentAttributesForSSHFP' => false, 'KatapultAPI\\Core\\Model\\RecordContentAttributesForTXT' => false, 'KatapultAPI\\Core\\Model\\RecordContentAttributesForVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\DNSRecordArguments' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentArguments' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForA' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForAAAA' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForALIAS' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForCAA' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForCNAME' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForIPS' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForMX' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForNS' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForPTR' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForSRV' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForSSHFP' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForTXT' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\DNSRecordLookup' => false, 'KatapultAPI\\Core\\Model\\SecurityGroup' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupArguments' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupLookup' => false, 'KatapultAPI\\Core\\Model\\DeleteSecurityGroup200ResponseSecurityGroup' => false, 'KatapultAPI\\Core\\Model\\GetSecurityGroupRules200ResponseSecurityGroupRules' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupRuleArguments' => false, 'KatapultAPI\\Core\\Model\\PostSecurityGroupRules200ResponseSecurityGroupRule' => false, 'KatapultAPI\\Core\\Model\\PostSecurityGroupRulesPartSecurityGroup' => false, 'KatapultAPI\\Core\\Model\\GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule' => false, 'KatapultAPI\\Core\\Model\\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupRuleLookup' => false, 'KatapultAPI\\Core\\Model\\PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule' => false, 'KatapultAPI\\Core\\Model\\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup' => false, 'KatapultAPI\\Core\\Model\\DeleteSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumes' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationFileStorageVolumesPartDataCenter' => false, 'KatapultAPI\\Core\\Model\\GetFileStorageVolume200ResponseFileStorageVolume' => false, 'KatapultAPI\\Core\\Model\\GetFileStorageVolumePartDataCenter' => false, 'KatapultAPI\\Core\\Model\\FileStorageVolumeArguments' => false, 'KatapultAPI\\Core\\Model\\PostOrganizationFileStorageVolumes201ResponseFileStorageVolume' => false, 'KatapultAPI\\Core\\Model\\PostOrganizationFileStorageVolumesPartDataCenter' => false, 'KatapultAPI\\Core\\Model\\FileStorageVolumeLookup' => false, 'KatapultAPI\\Core\\Model\\PatchFileStorageVolume200ResponseFileStorageVolume' => false, 'KatapultAPI\\Core\\Model\\PatchFileStorageVolumePartDataCenter' => false, 'KatapultAPI\\Core\\Model\\DeleteFileStorageVolume200ResponseFileStorageVolume' => false, 'KatapultAPI\\Core\\Model\\DeleteFileStorageVolumePartDataCenter' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworks200ResponseNetworks' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworksPartDataCenter' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworks200ResponseVirtualNetworks' => false, 'KatapultAPI\\Core\\Model\\NetworkSpeedProfile' => false, 'KatapultAPI\\Core\\Model\\GetAddressLists200ResponseAddressLists' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationAddressLists200ResponseAddressLists' => false, 'KatapultAPI\\Core\\Model\\AddressList' => false, 'KatapultAPI\\Core\\Model\\AddressListEntry' => false, 'KatapultAPI\\Core\\Model\\AddressListArguments' => false, 'KatapultAPI\\Core\\Model\\AddressListLookup' => false, 'KatapultAPI\\Core\\Model\\AddressListEntryArguments' => false, 'KatapultAPI\\Core\\Model\\AddressListEntryLookup' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationCertificates200ResponseCertificates' => false, 'KatapultAPI\\Core\\Model\\Certificate' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationLoadBalancers200ResponseLoadBalancers' => false, 'KatapultAPI\\Core\\Model\\LoadBalancerResource' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationLoadBalancersPartIPAddress' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationLoadBalancersPartDataCenter' => false, 'KatapultAPI\\Core\\Model\\LoadBalancerArguments' => false, 'KatapultAPI\\Core\\Model\\LoadBalancerWeightsArguments' => false, 'KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancers201ResponseLoadBalancer' => false, 'KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancersPartIPAddress' => false, 'KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancersPartDataCenter' => false, 'KatapultAPI\\Core\\Model\\LoadBalancerWeight' => false, 'KatapultAPI\\Core\\Model\\GetLoadBalancer200ResponseLoadBalancer' => false, 'KatapultAPI\\Core\\Model\\GetLoadBalancerPartIPAddress' => false, 'KatapultAPI\\Core\\Model\\GetLoadBalancerPartDataCenter' => false, 'KatapultAPI\\Core\\Model\\LoadBalancerLookup' => false, 'KatapultAPI\\Core\\Model\\PatchLoadBalancer200ResponseLoadBalancer' => false, 'KatapultAPI\\Core\\Model\\PatchLoadBalancerPartIPAddress' => false, 'KatapultAPI\\Core\\Model\\PatchLoadBalancerPartDataCenter' => false, 'KatapultAPI\\Core\\Model\\DeleteLoadBalancer200ResponseLoadBalancer' => false, 'KatapultAPI\\Core\\Model\\GetLoadBalancerRules200ResponseLoadBalancerRules' => false, 'KatapultAPI\\Core\\Model\\GetLoadBalancerRulesPartCertificates' => false, 'KatapultAPI\\Core\\Model\\LoadBalancerRuleArguments' => false, 'KatapultAPI\\Core\\Model\\CertificateLookup' => false, 'KatapultAPI\\Core\\Model\\PostLoadBalancerRules200ResponseLoadBalancerRule' => false, 'KatapultAPI\\Core\\Model\\PostLoadBalancerRulesPartCertificates' => false, 'KatapultAPI\\Core\\Model\\PostLoadBalancerRulesPartLoadBalancer' => false, 'KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule' => false, 'KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRulePartCertificates' => false, 'KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer' => false, 'KatapultAPI\\Core\\Model\\LoadBalancerRuleLookup' => false, 'KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule' => false, 'KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartCertificates' => false, 'KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer' => false, 'KatapultAPI\\Core\\Model\\DeleteLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationIPAddresses200ResponseIPAddresses' => false, 'KatapultAPI\\Core\\Model\\APIAuthenticator503Schema' => false, 'KatapultAPI\\Core\\Model\\NoAvailableAddressesSchema' => false, 'KatapultAPI\\Core\\Model\\GetIPAddress200ResponseAllocation' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfaces' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacesPartNetwork' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacesPartIPAddresses' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterface' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartNetwork' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartIPAddresses' => false, 'KatapultAPI\\Core\\Model\\InterfaceNotFoundSchema' => false, 'KatapultAPI\\Core\\Model\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterface' => false, 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartNetwork' => false, 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartIPAddresses' => false, 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartSpeedProfile' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfaceLookup' => false, 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterface' => false, 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork' => false, 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfaceNotFoundSchema' => false, 'KatapultAPI\\Core\\Model\\InvalidIPSchema' => false, 'KatapultAPI\\Core\\Model\\NetworkSpeedProfileLookup' => false, 'KatapultAPI\\Core\\Model\\NetworkSpeedProfileNotFoundSchema' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationTags200ResponseTags' => false, 'KatapultAPI\\Core\\Model\\TagArguments' => false, 'KatapultAPI\\Core\\Model\\TagLookup' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineGroupArguments' => false, 'KatapultAPI\\Core\\Model\\GetOperatingSystems200ResponseOperatingSystems' => false, 'KatapultAPI\\Core\\Model\\TrashObjectLookup' => false, 'KatapultAPI\\Core\\Model\\GetZones200ResponseZones' => false, 'KatapultAPI\\Core\\Model\\GetZonesPartDataCenter' => false, 'KatapultAPI\\Core\\Model\\GetCountries200ResponseCountries' => false, 'KatapultAPI\\Core\\Model\\GetCountryCountryStates200ResponseCountryStates' => false, 'KatapultAPI\\Core\\Model\\GetCurrencies200ResponseCurrencies' => false, 'KatapultAPI\\Core\\Model\\GetUsersCurrent200ResponseOrganizations' => false, 'KatapultAPI\\Core\\Model\\IdentityNotLinkedToWebSessionSchema' => false, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response' => false, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response' => false, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response' => false, 'KatapultAPI\\Core\\Model\\ResponseDataCenterNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseTaskQueueingErrorResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseDiskNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseObjectInTrashResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseUnableToAssignResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseUnableToUnassignResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseUnassignedDiskResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseDiskTemplateNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseDiskTemplateVersionNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseGPUTypeNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseNoVirtualMachineForAPITokenResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineBuildNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseVirtualMachinePackageNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseSSHKeyNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseDeletionRestrictedResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseAPITokenNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseDiskBackupPolicyNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseDNSZoneNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseDNSZoneNotVerifiedResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseDNSRecordNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseSecurityGroupNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseSecurityGroupRuleNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseFileStorageVolumeNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseNetworkNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseAddressListNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseAddressListEntryNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseCertificateNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseLoadBalancerNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseLoadBalancerRuleNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseIPAddressNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseResourceDoesNotSupportUnallocationResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseNoAllocationResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineNetworkInterfaceNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseSpeedProfileAlreadyAssignedResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseTagNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineGroupNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseOperatingSystemNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseTrashObjectNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseZoneNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseCountryNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseCountryStateNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseCurrencyNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseTaskNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseNoUserAssociatedWithIdentityResponse' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensPostBody' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensPostResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensPostResponse200ApiToken' => false, 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenDeleteBody' => false, 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenDeleteResponse200ApiToken' => false, 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenPatchBody' => false, 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenPatchResponse200' => false, 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenPatchResponse200ApiToken' => false, 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenRegenerateSecretPostBody' => false, 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenRegenerateSecretPostResponse200' => false, 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenRegenerateSecretPostResponse200ApiToken' => false, 'KatapultAPI\\Core\\Model\\AddressListsGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsPostBody' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsPostResponse201' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsPostResponse201AddressList' => false, 'KatapultAPI\\Core\\Model\\AddressListsAddressListDeleteBody' => false, 'KatapultAPI\\Core\\Model\\AddressListsAddressListDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\AddressListsAddressListDeleteResponse200AddressList' => false, 'KatapultAPI\\Core\\Model\\AddressListsAddressListGetResponse200' => false, 'KatapultAPI\\Core\\Model\\AddressListsAddressListGetResponse200AddressList' => false, 'KatapultAPI\\Core\\Model\\AddressListsAddressListPatchBody' => false, 'KatapultAPI\\Core\\Model\\AddressListsAddressListPatchResponse200' => false, 'KatapultAPI\\Core\\Model\\AddressListsAddressListPatchResponse200AddressList' => false, 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesPostBody' => false, 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesPostResponse201' => false, 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesPostResponse201AddressListEntry' => false, 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryDeleteBody' => false, 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryDeleteResponse200AddressListEntry' => false, 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryGetResponse200' => false, 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryGetResponse200AddressListEntry' => false, 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryPatchBody' => false, 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryPatchResponse200' => false, 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryPatchResponse200AddressListEntry' => false, 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesBulkPostBody' => false, 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesBulkPostResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationCertificatesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\CertificatesCertificateGetResponse200' => false, 'KatapultAPI\\Core\\Model\\CountriesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\CountriesCountryGetResponse200' => false, 'KatapultAPI\\Core\\Model\\CountriesCountryGetResponse200Country' => false, 'KatapultAPI\\Core\\Model\\CountriesCountryCountryStatesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\CountryStatesCountryStateGetResponse200' => false, 'KatapultAPI\\Core\\Model\\CountryStatesCountryStateGetResponse200CountryState' => false, 'KatapultAPI\\Core\\Model\\CurrenciesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\CurrenciesCurrencyGetResponse200' => false, 'KatapultAPI\\Core\\Model\\CurrenciesCurrencyGetResponse200Currency' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesPostBody' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesPostResponse201' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesPostResponse201DnsZone' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesNameserversGetResponse200' => false, 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneDeleteBody' => false, 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneGetResponse200' => false, 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneGetResponse200DnsZone' => false, 'KatapultAPI\\Core\\Model\\DnsZonesDnsZonePatchBody' => false, 'KatapultAPI\\Core\\Model\\DnsZonesDnsZonePatchResponse200' => false, 'KatapultAPI\\Core\\Model\\DnsZonesDnsZonePatchResponse200DnsZone' => false, 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneVerifyPostBody' => false, 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneVerifyPostResponse200' => false, 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneVerifyPostResponse200DnsZone' => false, 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneRecordsGetResponse200' => false, 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneRecordsPostBody' => false, 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneRecordsPostResponse200' => false, 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordDeleteBody' => false, 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordGetResponse200' => false, 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordGetResponse200DnsRecord' => false, 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordPatchBody' => false, 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordPatchResponse200' => false, 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordPatchResponse200DnsRecord' => false, 'KatapultAPI\\Core\\Model\\DataCentersGetResponse200' => false, 'KatapultAPI\\Core\\Model\\DataCentersDataCenterGetResponse200' => false, 'KatapultAPI\\Core\\Model\\DataCentersDataCenterDefaultNetworkGetResponse200' => false, 'KatapultAPI\\Core\\Model\\DataCentersDataCenterDefaultNetworkGetResponse200Network' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDiskIoProfilesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDiskBackupPoliciesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostBody' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicy' => false, 'KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesPostBody' => false, 'KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesPostResponse200' => false, 'KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicy' => false, 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteBody' => false, 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicy' => false, 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyGetResponse200' => false, 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicy' => false, 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchBody' => false, 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200' => false, 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicy' => false, 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteBody' => false, 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicy' => false, 'KatapultAPI\\Core\\Model\\DiskTemplatesDiskTemplateVersionsGetResponse200' => false, 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionGetResponse200' => false, 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersion' => false, 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200' => false, 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersion' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDiskTemplatesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\DiskTemplatesDiskTemplateGetResponse200' => false, 'KatapultAPI\\Core\\Model\\DiskTemplatesDiskTemplateGetResponse200DiskTemplate' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksPostBody' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksPostResponse201' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksPostResponse201Disk' => false, 'KatapultAPI\\Core\\Model\\DisksDiskDeleteBody' => false, 'KatapultAPI\\Core\\Model\\DisksDiskDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\DisksDiskDeleteResponse200Disk' => false, 'KatapultAPI\\Core\\Model\\DisksDiskGetResponse200' => false, 'KatapultAPI\\Core\\Model\\DisksDiskGetResponse200Disk' => false, 'KatapultAPI\\Core\\Model\\DisksDiskPatchBody' => false, 'KatapultAPI\\Core\\Model\\DisksDiskPatchResponse200' => false, 'KatapultAPI\\Core\\Model\\DisksDiskPatchResponse200Disk' => false, 'KatapultAPI\\Core\\Model\\DisksDiskAssignPostBody' => false, 'KatapultAPI\\Core\\Model\\DisksDiskAssignPostResponse200' => false, 'KatapultAPI\\Core\\Model\\DisksDiskAssignPostResponse200Disk' => false, 'KatapultAPI\\Core\\Model\\DisksDiskUnassignPostBody' => false, 'KatapultAPI\\Core\\Model\\DisksDiskUnassignPostResponse200' => false, 'KatapultAPI\\Core\\Model\\DisksDiskUnassignPostResponse200Disk' => false, 'KatapultAPI\\Core\\Model\\DisksDiskAttachPostBody' => false, 'KatapultAPI\\Core\\Model\\DisksDiskAttachPostResponse200' => false, 'KatapultAPI\\Core\\Model\\DisksDiskAttachPostResponse200Disk' => false, 'KatapultAPI\\Core\\Model\\DisksDiskDetachPostBody' => false, 'KatapultAPI\\Core\\Model\\DisksDiskDetachPostResponse200' => false, 'KatapultAPI\\Core\\Model\\DisksDiskDetachPostResponse200Disk' => false, 'KatapultAPI\\Core\\Model\\DisksDiskResizePutBody' => false, 'KatapultAPI\\Core\\Model\\DisksDiskResizePutResponse200' => false, 'KatapultAPI\\Core\\Model\\DisksDiskResizePutResponse200Disk' => false, 'KatapultAPI\\Core\\Model\\DisksDiskIoProfilePutBody' => false, 'KatapultAPI\\Core\\Model\\DisksDiskIoProfilePutResponse200' => false, 'KatapultAPI\\Core\\Model\\DisksDiskIoProfilePutResponse200Disk' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDisksGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesPostBody' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesPostResponse201' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolume' => false, 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeDeleteBody' => false, 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolume' => false, 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeGetResponse200' => false, 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolume' => false, 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumePatchBody' => false, 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumePatchResponse200' => false, 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolume' => false, 'KatapultAPI\\Core\\Model\\GpuTypesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\GpuTypesGpuTypeGetResponse200' => false, 'KatapultAPI\\Core\\Model\\DataCentersDataCenterGpuTypesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesPostBody' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesPostResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesPostResponse200IpAddress' => false, 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressDeleteBody' => false, 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressGetResponse200' => false, 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressGetResponse200IpAddress' => false, 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressGetResponse200Allocation' => false, 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressPatchBody' => false, 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressPatchResponse200' => false, 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressPatchResponse200IpAddress' => false, 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressUnallocatePostBody' => false, 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressUnallocatePostResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersPostBody' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersPostResponse201' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersPostResponse201LoadBalancer' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerDeleteBody' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerDeleteResponse200LoadBalancer' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerGetResponse200' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerGetResponse200LoadBalancer' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerPatchBody' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerPatchResponse200' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerPatchResponse200LoadBalancer' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesPostBody' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesPostResponse200' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRule' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteBody' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRule' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleGetResponse200' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRule' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRulePatchBody' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRulePatchResponse200' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRule' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationNetworkSpeedProfilesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAvailableNetworksGetResponse200' => false, 'KatapultAPI\\Core\\Model\\NetworksNetworkGetResponse200' => false, 'KatapultAPI\\Core\\Model\\NetworksNetworkGetResponse200Network' => false, 'KatapultAPI\\Core\\Model\\OperatingSystemsGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OperatingSystemsOperatingSystemGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OperatingSystemsOperatingSystemGetResponse200OperatingSystem' => false, 'KatapultAPI\\Core\\Model\\OrganizationsGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationPolicyGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationPolicyLimitsGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationPricesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationUsersWithAccessGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationManagedGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationManagedPostBody' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationManagedPostResponse201' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSshKeysGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSshKeysPostBody' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSshKeysPostResponse201' => false, 'KatapultAPI\\Core\\Model\\SshKeysSshKeyDeleteBody' => false, 'KatapultAPI\\Core\\Model\\SshKeysSshKeyDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsPostBody' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsPostResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroup' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupDeleteBody' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupDeleteResponse200SecurityGroup' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupGetResponse200' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupGetResponse200SecurityGroup' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupPatchBody' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupPatchResponse200' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupPatchResponse200SecurityGroup' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesPostBody' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesPostResponse200' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRule' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteBody' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRule' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleGetResponse200' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRule' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRulePatchBody' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRulePatchResponse200' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRule' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsPostBody' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsPostResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsPostResponse200Tag' => false, 'KatapultAPI\\Core\\Model\\TagsTagDeleteBody' => false, 'KatapultAPI\\Core\\Model\\TagsTagDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\TagsTagDeleteResponse200Tag' => false, 'KatapultAPI\\Core\\Model\\TagsTagGetResponse200' => false, 'KatapultAPI\\Core\\Model\\TagsTagGetResponse200Tag' => false, 'KatapultAPI\\Core\\Model\\TagsTagPatchBody' => false, 'KatapultAPI\\Core\\Model\\TagsTagPatchResponse200' => false, 'KatapultAPI\\Core\\Model\\TagsTagPatchResponse200Tag' => false, 'KatapultAPI\\Core\\Model\\TasksTaskGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTrashObjectsGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTrashObjectsPurgeAllPostBody' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200' => false, 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectDeleteBody' => false, 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectGetResponse200' => false, 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectGetResponse200TrashObject' => false, 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectRestorePostBody' => false, 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectRestorePostResponse200' => false, 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectRestorePostResponse200TrashObject' => false, 'KatapultAPI\\Core\\Model\\UsersCurrentGetResponse200' => false, 'KatapultAPI\\Core\\Model\\InvalidateLinkedWebSessionPostBody' => false, 'KatapultAPI\\Core\\Model\\InvalidateLinkedWebSessionPostResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostBody' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroup' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteBody' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroup' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupGetResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroup' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchBody' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroup' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterface' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterface' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsAddressVersionGetResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostBody' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterface' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostBody' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddress' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchBody' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Task' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinePackagesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinePackagesVirtualMachinePackageGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDeleteBody' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineGetResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePatchBody' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePatchResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePatchResponse200VirtualMachine' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePackagePutBody' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePackagePutResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineFlexibleResourcesPutBody' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineAllocateIpPostBody' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineAllocateIpPostResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddress' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostBody' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201Build' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostBody' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Build' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesBuildsVirtualMachineBuildGetResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStartPostBody' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStartPostResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStopPostBody' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStopPostResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineShutdownPostBody' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineShutdownPostResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineResetPostBody' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineResetPostResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineConsoleSessionsPostBody' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineConsoleSessionsPostResponse201' => false, 'KatapultAPI\\Core\\Model\\ZonesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\ZonesZoneGetResponse200' => false, 'KatapultAPI\\Core\\Model\\ZonesZoneGetResponse200Zone' => false, '\\Jane\\Component\\JsonSchemaRuntime\\Reference' => false]; - } - } -} else { - class JaneObjectNormalizer implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface - { - use DenormalizerAwareTrait; - use NormalizerAwareTrait; - use CheckArray; - use ValidatorTrait; - protected $normalizers = [ - 'KatapultAPI\\Core\\Model\\GetDataCenters200ResponseDataCenters' => 'KatapultAPI\\Core\\Normalizer\\GetDataCenters200ResponseDataCentersNormalizer', - 'KatapultAPI\\Core\\Model\\GetDataCentersPartCountry' => 'KatapultAPI\\Core\\Normalizer\\GetDataCentersPartCountryNormalizer', - 'KatapultAPI\\Core\\Model\\UnauthorizedNetworkForAPIToken' => 'KatapultAPI\\Core\\Normalizer\\UnauthorizedNetworkForAPITokenNormalizer', - 'KatapultAPI\\Core\\Model\\UnauthorizedNetworkForAPITokenSchema' => 'KatapultAPI\\Core\\Normalizer\\UnauthorizedNetworkForAPITokenSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\InvalidAPIToken' => 'KatapultAPI\\Core\\Normalizer\\InvalidAPITokenNormalizer', - 'KatapultAPI\\Core\\Model\\InvalidAPITokenSchema' => 'KatapultAPI\\Core\\Normalizer\\InvalidAPITokenSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\InvalidCapabilitiesTokenSchema' => 'KatapultAPI\\Core\\Normalizer\\InvalidCapabilitiesTokenSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\ScopeNotGrantedError' => 'KatapultAPI\\Core\\Normalizer\\ScopeNotGrantedErrorNormalizer', - 'KatapultAPI\\Core\\Model\\ScopeNotGrantedErrorSchema' => 'KatapultAPI\\Core\\Normalizer\\ScopeNotGrantedErrorSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\RateLimitReached' => 'KatapultAPI\\Core\\Normalizer\\RateLimitReachedNormalizer', - 'KatapultAPI\\Core\\Model\\GetDataCenter200ResponseDataCenter' => 'KatapultAPI\\Core\\Normalizer\\GetDataCenter200ResponseDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\GetDataCenterPartCountry' => 'KatapultAPI\\Core\\Normalizer\\GetDataCenterPartCountryNormalizer', - 'KatapultAPI\\Core\\Model\\GetDataCenterDefaultNetwork200ResponseNetwork' => 'KatapultAPI\\Core\\Normalizer\\GetDataCenterDefaultNetwork200ResponseNetworkNormalizer', - 'KatapultAPI\\Core\\Model\\GetDataCenterDefaultNetworkPartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\GetDataCenterDefaultNetworkPartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizations200ResponseOrganizations' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizations200ResponseOrganizationsNormalizer', - 'KatapultAPI\\Core\\Model\\Organization' => 'KatapultAPI\\Core\\Normalizer\\OrganizationNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationCountry' => 'KatapultAPI\\Core\\Normalizer\\OrganizationCountryNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationCountryState' => 'KatapultAPI\\Core\\Normalizer\\OrganizationCountryStateNormalizer', - 'KatapultAPI\\Core\\Model\\Currency' => 'KatapultAPI\\Core\\Normalizer\\CurrencyNormalizer', - 'KatapultAPI\\Core\\Model\\Country' => 'KatapultAPI\\Core\\Normalizer\\CountryNormalizer', - 'KatapultAPI\\Core\\Model\\CountryState' => 'KatapultAPI\\Core\\Normalizer\\CountryStateNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationSuspendedSchema' => 'KatapultAPI\\Core\\Normalizer\\OrganizationSuspendedSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationNotActivatedSchema' => 'KatapultAPI\\Core\\Normalizer\\OrganizationNotActivatedSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\PolicyLimits' => 'KatapultAPI\\Core\\Normalizer\\PolicyLimitsNormalizer', - 'KatapultAPI\\Core\\Model\\FinancialPolicyLimit' => 'KatapultAPI\\Core\\Normalizer\\FinancialPolicyLimitNormalizer', - 'KatapultAPI\\Core\\Model\\PolicyLimit' => 'KatapultAPI\\Core\\Normalizer\\PolicyLimitNormalizer', - 'KatapultAPI\\Core\\Model\\PolicyLimitWithoutCurrent' => 'KatapultAPI\\Core\\Normalizer\\PolicyLimitWithoutCurrentNormalizer', - 'KatapultAPI\\Core\\Model\\PolicyFeatures' => 'KatapultAPI\\Core\\Normalizer\\PolicyFeaturesNormalizer', - 'KatapultAPI\\Core\\Model\\PolicyFeature' => 'KatapultAPI\\Core\\Normalizer\\PolicyFeatureNormalizer', - 'KatapultAPI\\Core\\Model\\APIAuthenticator400Schema' => 'KatapultAPI\\Core\\Normalizer\\APIAuthenticator400SchemaNormalizer', - 'KatapultAPI\\Core\\Model\\PolicyNotAvailableForManagedOrganizationsSchema' => 'KatapultAPI\\Core\\Normalizer\\PolicyNotAvailableForManagedOrganizationsSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationPolicy' => 'KatapultAPI\\Core\\Normalizer\\OrganizationPolicyNormalizer', - 'KatapultAPI\\Core\\Model\\DecimalOrUnlimited' => 'KatapultAPI\\Core\\Normalizer\\DecimalOrUnlimitedNormalizer', - 'KatapultAPI\\Core\\Model\\IntegerOrUnlimited' => 'KatapultAPI\\Core\\Normalizer\\IntegerOrUnlimitedNormalizer', - 'KatapultAPI\\Core\\Model\\IntegerValue' => 'KatapultAPI\\Core\\Normalizer\\IntegerValueNormalizer', - 'KatapultAPI\\Core\\Model\\PriceResourceWithSinglePriceVariant' => 'KatapultAPI\\Core\\Normalizer\\PriceResourceWithSinglePriceVariantNormalizer', - 'KatapultAPI\\Core\\Model\\SinglePriceVariant' => 'KatapultAPI\\Core\\Normalizer\\SinglePriceVariantNormalizer', - 'KatapultAPI\\Core\\Model\\PricesNotAvailableForManagedOrganizationsSchema' => 'KatapultAPI\\Core\\Normalizer\\PricesNotAvailableForManagedOrganizationsSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\PaginationObject' => 'KatapultAPI\\Core\\Normalizer\\PaginationObjectNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationUsersWithAccess200ResponseUsers' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationUsersWithAccess200ResponseUsersNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationUsersWithAccess200ResponseUsersUser' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationUsersWithAccess200ResponseUsersUserNormalizer', - 'KatapultAPI\\Core\\Model\\User' => 'KatapultAPI\\Core\\Normalizer\\UserNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationManaged200ResponseOrganizations' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationManaged200ResponseOrganizationsNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationLookup' => 'KatapultAPI\\Core\\Normalizer\\OrganizationLookupNormalizer', - 'KatapultAPI\\Core\\Model\\KeyValue' => 'KatapultAPI\\Core\\Normalizer\\KeyValueNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationLimitReachedSchema' => 'KatapultAPI\\Core\\Normalizer\\OrganizationLimitReachedSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\ValidationError' => 'KatapultAPI\\Core\\Normalizer\\ValidationErrorNormalizer', - 'KatapultAPI\\Core\\Model\\ValidationErrorSchema' => 'KatapultAPI\\Core\\Normalizer\\ValidationErrorSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationDisks200ResponseDisk' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationDisks200ResponseDiskNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationDisks200ResponseDiskVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationDisks200ResponseDiskVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationDisksPartVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationDisksPartVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationDisksPartVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationDisksPartVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\DiskArguments' => 'KatapultAPI\\Core\\Normalizer\\DiskArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\DataCenterLookup' => 'KatapultAPI\\Core\\Normalizer\\DataCenterLookupNormalizer', - 'KatapultAPI\\Core\\Model\\DiskIOProfileLookup' => 'KatapultAPI\\Core\\Normalizer\\DiskIOProfileLookupNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineDiskArguments' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineDiskArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineLookup' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineLookupNormalizer', - 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDisk' => 'KatapultAPI\\Core\\Normalizer\\PostOrganizationDisks201ResponseDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskIoProfile' => 'KatapultAPI\\Core\\Normalizer\\PostOrganizationDisks201ResponseDiskIoProfileNormalizer', - 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\PostOrganizationDisks201ResponseDiskVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskInstallation' => 'KatapultAPI\\Core\\Normalizer\\PostOrganizationDisks201ResponseDiskInstallationNormalizer', - 'KatapultAPI\\Core\\Model\\DiskIOProfile' => 'KatapultAPI\\Core\\Normalizer\\DiskIOProfileNormalizer', - 'KatapultAPI\\Core\\Model\\PostOrganizationDisksPartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\PostOrganizationDisksPartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\PostOrganizationDisksPartVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\PostOrganizationDisksPartVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PostOrganizationDisksPartVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\PostOrganizationDisksPartVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\DiskInstallation' => 'KatapultAPI\\Core\\Normalizer\\DiskInstallationNormalizer', - 'KatapultAPI\\Core\\Model\\DiskTemplateVersion' => 'KatapultAPI\\Core\\Normalizer\\DiskTemplateVersionNormalizer', - 'KatapultAPI\\Core\\Model\\DiskTemplate' => 'KatapultAPI\\Core\\Normalizer\\DiskTemplateNormalizer', - 'KatapultAPI\\Core\\Model\\DiskTemplateLatestVersion' => 'KatapultAPI\\Core\\Normalizer\\DiskTemplateLatestVersionNormalizer', - 'KatapultAPI\\Core\\Model\\DiskTemplateOperatingSystem' => 'KatapultAPI\\Core\\Normalizer\\DiskTemplateOperatingSystemNormalizer', - 'KatapultAPI\\Core\\Model\\OperatingSystem' => 'KatapultAPI\\Core\\Normalizer\\OperatingSystemNormalizer', - 'KatapultAPI\\Core\\Model\\OperatingSystemBadge' => 'KatapultAPI\\Core\\Normalizer\\OperatingSystemBadgeNormalizer', - 'KatapultAPI\\Core\\Model\\Attachment' => 'KatapultAPI\\Core\\Normalizer\\AttachmentNormalizer', - 'KatapultAPI\\Core\\Model\\DiskInstallationAttribute' => 'KatapultAPI\\Core\\Normalizer\\DiskInstallationAttributeNormalizer', - 'KatapultAPI\\Core\\Model\\Task' => 'KatapultAPI\\Core\\Normalizer\\TaskNormalizer', - 'KatapultAPI\\Core\\Model\\PermissionDenied' => 'KatapultAPI\\Core\\Normalizer\\PermissionDeniedNormalizer', - 'KatapultAPI\\Core\\Model\\PermissionDeniedSchema' => 'KatapultAPI\\Core\\Normalizer\\PermissionDeniedSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\TaskQueueingError' => 'KatapultAPI\\Core\\Normalizer\\TaskQueueingErrorNormalizer', - 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDisk' => 'KatapultAPI\\Core\\Normalizer\\GetDisk200ResponseDiskNormalizer', - 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskIoProfile' => 'KatapultAPI\\Core\\Normalizer\\GetDisk200ResponseDiskIoProfileNormalizer', - 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\GetDisk200ResponseDiskVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskInstallation' => 'KatapultAPI\\Core\\Normalizer\\GetDisk200ResponseDiskInstallationNormalizer', - 'KatapultAPI\\Core\\Model\\GetDiskPartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\GetDiskPartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\GetDiskPartVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\GetDiskPartVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\GetDiskPartVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\GetDiskPartVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\ObjectInTrash' => 'KatapultAPI\\Core\\Normalizer\\ObjectInTrashNormalizer', - 'KatapultAPI\\Core\\Model\\ObjectInTrashTrashObject' => 'KatapultAPI\\Core\\Normalizer\\ObjectInTrashTrashObjectNormalizer', - 'KatapultAPI\\Core\\Model\\TrashObject' => 'KatapultAPI\\Core\\Normalizer\\TrashObjectNormalizer', - 'KatapultAPI\\Core\\Model\\DiskLookup' => 'KatapultAPI\\Core\\Normalizer\\DiskLookupNormalizer', - 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDisk' => 'KatapultAPI\\Core\\Normalizer\\PatchDisk200ResponseDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskIoProfile' => 'KatapultAPI\\Core\\Normalizer\\PatchDisk200ResponseDiskIoProfileNormalizer', - 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\PatchDisk200ResponseDiskVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskInstallation' => 'KatapultAPI\\Core\\Normalizer\\PatchDisk200ResponseDiskInstallationNormalizer', - 'KatapultAPI\\Core\\Model\\PatchDiskPartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\PatchDiskPartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\PatchDiskPartVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\PatchDiskPartVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PatchDiskPartVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\PatchDiskPartVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\UnassignedDiskSchema' => 'KatapultAPI\\Core\\Normalizer\\UnassignedDiskSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDisk' => 'KatapultAPI\\Core\\Normalizer\\DeleteDisk200ResponseDiskNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskIoProfile' => 'KatapultAPI\\Core\\Normalizer\\DeleteDisk200ResponseDiskIoProfileNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\DeleteDisk200ResponseDiskVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskInstallation' => 'KatapultAPI\\Core\\Normalizer\\DeleteDisk200ResponseDiskInstallationNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteDiskPartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\DeleteDiskPartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteDiskPartVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\DeleteDiskPartVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteDiskPartVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\DeleteDiskPartVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDisk' => 'KatapultAPI\\Core\\Normalizer\\PostDiskAssign200ResponseDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskIoProfile' => 'KatapultAPI\\Core\\Normalizer\\PostDiskAssign200ResponseDiskIoProfileNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\PostDiskAssign200ResponseDiskVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskInstallation' => 'KatapultAPI\\Core\\Normalizer\\PostDiskAssign200ResponseDiskInstallationNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskAssignPartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\PostDiskAssignPartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskAssignPartVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\PostDiskAssignPartVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskAssignPartVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\PostDiskAssignPartVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\DiskNotFoundSchema' => 'KatapultAPI\\Core\\Normalizer\\DiskNotFoundSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineNotFoundSchema' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineNotFoundSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\UnableToAssign' => 'KatapultAPI\\Core\\Normalizer\\UnableToAssignNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDisk' => 'KatapultAPI\\Core\\Normalizer\\PostDiskUnassign200ResponseDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskIoProfile' => 'KatapultAPI\\Core\\Normalizer\\PostDiskUnassign200ResponseDiskIoProfileNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\PostDiskUnassign200ResponseDiskVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskInstallation' => 'KatapultAPI\\Core\\Normalizer\\PostDiskUnassign200ResponseDiskInstallationNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskUnassignPartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\PostDiskUnassignPartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskUnassignPartVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\PostDiskUnassignPartVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskUnassignPartVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\PostDiskUnassignPartVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\UnableToUnassign' => 'KatapultAPI\\Core\\Normalizer\\UnableToUnassignNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDisk' => 'KatapultAPI\\Core\\Normalizer\\PostDiskAttach200ResponseDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskIoProfile' => 'KatapultAPI\\Core\\Normalizer\\PostDiskAttach200ResponseDiskIoProfileNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\PostDiskAttach200ResponseDiskVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskInstallation' => 'KatapultAPI\\Core\\Normalizer\\PostDiskAttach200ResponseDiskInstallationNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskAttachPartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\PostDiskAttachPartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskAttachPartVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\PostDiskAttachPartVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskAttachPartVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\PostDiskAttachPartVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\ObjectInTrashSchema' => 'KatapultAPI\\Core\\Normalizer\\ObjectInTrashSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\TaskQueueingErrorSchema' => 'KatapultAPI\\Core\\Normalizer\\TaskQueueingErrorSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDisk' => 'KatapultAPI\\Core\\Normalizer\\PostDiskDetach200ResponseDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskIoProfile' => 'KatapultAPI\\Core\\Normalizer\\PostDiskDetach200ResponseDiskIoProfileNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\PostDiskDetach200ResponseDiskVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskInstallation' => 'KatapultAPI\\Core\\Normalizer\\PostDiskDetach200ResponseDiskInstallationNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskDetachPartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\PostDiskDetachPartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskDetachPartVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\PostDiskDetachPartVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskDetachPartVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\PostDiskDetachPartVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDisk' => 'KatapultAPI\\Core\\Normalizer\\PutDiskResize200ResponseDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskIoProfile' => 'KatapultAPI\\Core\\Normalizer\\PutDiskResize200ResponseDiskIoProfileNormalizer', - 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\PutDiskResize200ResponseDiskVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskInstallation' => 'KatapultAPI\\Core\\Normalizer\\PutDiskResize200ResponseDiskInstallationNormalizer', - 'KatapultAPI\\Core\\Model\\PutDiskResizePartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\PutDiskResizePartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\PutDiskResizePartVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\PutDiskResizePartVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PutDiskResizePartVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\PutDiskResizePartVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDisk' => 'KatapultAPI\\Core\\Normalizer\\PutDiskIOProfile200ResponseDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskIoProfile' => 'KatapultAPI\\Core\\Normalizer\\PutDiskIOProfile200ResponseDiskIoProfileNormalizer', - 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\PutDiskIOProfile200ResponseDiskVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskInstallation' => 'KatapultAPI\\Core\\Normalizer\\PutDiskIOProfile200ResponseDiskInstallationNormalizer', - 'KatapultAPI\\Core\\Model\\PutDiskIOProfilePartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\PutDiskIOProfilePartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\PutDiskIOProfilePartVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\PutDiskIOProfilePartVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\PutDiskIOProfilePartVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\PutDiskIOProfilePartVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\DiskIOProfileNotFoundSchema' => 'KatapultAPI\\Core\\Normalizer\\DiskIOProfileNotFoundSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachineDisks200ResponseDisks' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachineDisks200ResponseDisksNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachineDisksPartDisk' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachineDisksPartDiskNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplates' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationDiskTemplates200ResponseDiskTemplatesNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersion' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersionNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystem' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystemNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplatesPartLatestVersion' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationDiskTemplatesPartLatestVersionNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplatesPartOperatingSystem' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationDiskTemplatesPartOperatingSystemNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationNotFoundSchema' => 'KatapultAPI\\Core\\Normalizer\\OrganizationNotFoundSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\OperatingSystemNotFoundSchema' => 'KatapultAPI\\Core\\Normalizer\\OperatingSystemNotFoundSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplate' => 'KatapultAPI\\Core\\Normalizer\\GetDiskTemplate200ResponseDiskTemplateNormalizer', - 'KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplateLatestVersion' => 'KatapultAPI\\Core\\Normalizer\\GetDiskTemplate200ResponseDiskTemplateLatestVersionNormalizer', - 'KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplateOperatingSystem' => 'KatapultAPI\\Core\\Normalizer\\GetDiskTemplate200ResponseDiskTemplateOperatingSystemNormalizer', - 'KatapultAPI\\Core\\Model\\GetDiskTemplatePartLatestVersion' => 'KatapultAPI\\Core\\Normalizer\\GetDiskTemplatePartLatestVersionNormalizer', - 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersions200ResponseDiskTemplate' => 'KatapultAPI\\Core\\Normalizer\\GetDiskTemplateVersions200ResponseDiskTemplateNormalizer', - 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersions200ResponseDiskTemplateVersions' => 'KatapultAPI\\Core\\Normalizer\\GetDiskTemplateVersions200ResponseDiskTemplateVersionsNormalizer', - 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersion200ResponseDiskTemplateVersion' => 'KatapultAPI\\Core\\Normalizer\\GetDiskTemplateVersion200ResponseDiskTemplateVersionNormalizer', - 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersionPartDiskTemplate' => 'KatapultAPI\\Core\\Normalizer\\GetDiskTemplateVersionPartDiskTemplateNormalizer', - 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersionSpec200ResponseDiskTemplateVersion' => 'KatapultAPI\\Core\\Normalizer\\GetDiskTemplateVersionSpec200ResponseDiskTemplateVersionNormalizer', - 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersionSpecPartDiskTemplate' => 'KatapultAPI\\Core\\Normalizer\\GetDiskTemplateVersionSpecPartDiskTemplateNormalizer', - 'KatapultAPI\\Core\\Model\\TemplateSpec' => 'KatapultAPI\\Core\\Normalizer\\TemplateSpecNormalizer', - 'KatapultAPI\\Core\\Model\\TemplateSpecField' => 'KatapultAPI\\Core\\Normalizer\\TemplateSpecFieldNormalizer', - 'KatapultAPI\\Core\\Model\\GetGPUTypes200ResponseGPUTypes' => 'KatapultAPI\\Core\\Normalizer\\GetGPUTypes200ResponseGPUTypesNormalizer', - 'KatapultAPI\\Core\\Model\\GetGPUTypes200ResponseGPUTypesDataCentersItem' => 'KatapultAPI\\Core\\Normalizer\\GetGPUTypes200ResponseGPUTypesDataCentersItemNormalizer', - 'KatapultAPI\\Core\\Model\\GetGPUTypesPartDataCenters' => 'KatapultAPI\\Core\\Normalizer\\GetGPUTypesPartDataCentersNormalizer', - 'KatapultAPI\\Core\\Model\\GetGPUType200ResponseGPUType' => 'KatapultAPI\\Core\\Normalizer\\GetGPUType200ResponseGPUTypeNormalizer', - 'KatapultAPI\\Core\\Model\\GetGPUType200ResponseGPUTypeDataCentersItem' => 'KatapultAPI\\Core\\Normalizer\\GetGPUType200ResponseGPUTypeDataCentersItemNormalizer', - 'KatapultAPI\\Core\\Model\\GetGPUTypePartDataCenters' => 'KatapultAPI\\Core\\Normalizer\\GetGPUTypePartDataCentersNormalizer', - 'KatapultAPI\\Core\\Model\\GetDataCenterGPUTypes200ResponseGPUTypes' => 'KatapultAPI\\Core\\Normalizer\\GetDataCenterGPUTypes200ResponseGPUTypesNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachines' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationVirtualMachines200ResponseVirtualMachinesNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesPackage' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationVirtualMachines200ResponseVirtualMachinesPackageNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuType' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuTypeNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesHypervisor' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationVirtualMachines200ResponseVirtualMachinesHypervisorNormalizer', - 'KatapultAPI\\Core\\Model\\Zone' => 'KatapultAPI\\Core\\Normalizer\\ZoneNormalizer', - 'KatapultAPI\\Core\\Model\\DataCenter' => 'KatapultAPI\\Core\\Normalizer\\DataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartPackage' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationVirtualMachinesPartPackageNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartGPUType' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationVirtualMachinesPartGPUTypeNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartIPAddresses' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationVirtualMachinesPartIPAddressesNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartHypervisor' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationVirtualMachinesPartHypervisorNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachine200ResponseVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineGroup' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachine200ResponseVirtualMachineGroupNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachinePackage' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachine200ResponseVirtualMachinePackageNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineAttachedIso' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineGpuType' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineHypervisor' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachine200ResponseVirtualMachineHypervisorNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineGroup' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineGroupNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinePackage' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinePackageNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinePackageIcon' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinePackageIconNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinePackageGroup' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinePackageGroupNormalizer', - 'KatapultAPI\\Core\\Model\\ISO' => 'KatapultAPI\\Core\\Normalizer\\ISONormalizer', - 'KatapultAPI\\Core\\Model\\ISOOperatingSystem' => 'KatapultAPI\\Core\\Normalizer\\ISOOperatingSystemNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachinePartGPUType' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachinePartGPUTypeNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineGPU' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineGPUNormalizer', - 'KatapultAPI\\Core\\Model\\GPUType' => 'KatapultAPI\\Core\\Normalizer\\GPUTypeNormalizer', - 'KatapultAPI\\Core\\Model\\GPUTypeDataCentersItem' => 'KatapultAPI\\Core\\Normalizer\\GPUTypeDataCentersItemNormalizer', - 'KatapultAPI\\Core\\Model\\Tag' => 'KatapultAPI\\Core\\Normalizer\\TagNormalizer', - 'KatapultAPI\\Core\\Model\\IPAddress' => 'KatapultAPI\\Core\\Normalizer\\IPAddressNormalizer', - 'KatapultAPI\\Core\\Model\\Network' => 'KatapultAPI\\Core\\Normalizer\\NetworkNormalizer', - 'KatapultAPI\\Core\\Model\\Hypervisor' => 'KatapultAPI\\Core\\Normalizer\\HypervisorNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineArguments' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\GPUTypeLookup' => 'KatapultAPI\\Core\\Normalizer\\GPUTypeLookupNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineGroupLookup' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineGroupLookupNormalizer', - 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\PatchVirtualMachine200ResponseVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineGroup' => 'KatapultAPI\\Core\\Normalizer\\PatchVirtualMachine200ResponseVirtualMachineGroupNormalizer', - 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachinePackage' => 'KatapultAPI\\Core\\Normalizer\\PatchVirtualMachine200ResponseVirtualMachinePackageNormalizer', - 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineAttachedIso' => 'KatapultAPI\\Core\\Normalizer\\PatchVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer', - 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineGpuType' => 'KatapultAPI\\Core\\Normalizer\\PatchVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer', - 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineHypervisor' => 'KatapultAPI\\Core\\Normalizer\\PatchVirtualMachine200ResponseVirtualMachineHypervisorNormalizer', - 'KatapultAPI\\Core\\Model\\PatchVirtualMachinePartGPUType' => 'KatapultAPI\\Core\\Normalizer\\PatchVirtualMachinePartGPUTypeNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\DeleteVirtualMachine200ResponseVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGroup' => 'KatapultAPI\\Core\\Normalizer\\DeleteVirtualMachine200ResponseVirtualMachineGroupNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachinePackage' => 'KatapultAPI\\Core\\Normalizer\\DeleteVirtualMachine200ResponseVirtualMachinePackageNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineAttachedIso' => 'KatapultAPI\\Core\\Normalizer\\DeleteVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGpuType' => 'KatapultAPI\\Core\\Normalizer\\DeleteVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineHypervisor' => 'KatapultAPI\\Core\\Normalizer\\DeleteVirtualMachine200ResponseVirtualMachineHypervisorNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteVirtualMachinePartGPUType' => 'KatapultAPI\\Core\\Normalizer\\DeleteVirtualMachinePartGPUTypeNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinePackageLookup' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinePackageLookupNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinePackageNotFoundSchema' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinePackageNotFoundSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineFlexibleResources' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineFlexibleResourcesNormalizer', - 'KatapultAPI\\Core\\Model\\FlexibleResourcesUnavailableToOrganizationSchema' => 'KatapultAPI\\Core\\Normalizer\\FlexibleResourcesUnavailableToOrganizationSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\IPAddressLookup' => 'KatapultAPI\\Core\\Normalizer\\IPAddressLookupNormalizer', - 'KatapultAPI\\Core\\Model\\IPAddressNotFoundSchema' => 'KatapultAPI\\Core\\Normalizer\\IPAddressNotFoundSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\NoInterfaceAvailableSchema' => 'KatapultAPI\\Core\\Normalizer\\NoInterfaceAvailableSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\IPAlreadyAllocatedSchema' => 'KatapultAPI\\Core\\Normalizer\\IPAlreadyAllocatedSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\ZoneLookup' => 'KatapultAPI\\Core\\Normalizer\\ZoneLookupNormalizer', - 'KatapultAPI\\Core\\Model\\DiskTemplateLookup' => 'KatapultAPI\\Core\\Normalizer\\DiskTemplateLookupNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineBuildDiskArguments' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineBuildDiskArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\NetworkLookup' => 'KatapultAPI\\Core\\Normalizer\\NetworkLookupNormalizer', - 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuild201ResponseTask' => 'KatapultAPI\\Core\\Normalizer\\PostOrganizationVirtualMachinesBuild201ResponseTaskNormalizer', - 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuild201ResponseBuild' => 'KatapultAPI\\Core\\Normalizer\\PostOrganizationVirtualMachinesBuild201ResponseBuildNormalizer', - 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuild' => 'KatapultAPI\\Core\\Normalizer\\PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuildNormalizer', - 'KatapultAPI\\Core\\Model\\ResourceCreationRestricted' => 'KatapultAPI\\Core\\Normalizer\\ResourceCreationRestrictedNormalizer', - 'KatapultAPI\\Core\\Model\\ResourceCreationRestrictedSchema' => 'KatapultAPI\\Core\\Normalizer\\ResourceCreationRestrictedSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\ZoneNotFoundSchema' => 'KatapultAPI\\Core\\Normalizer\\ZoneNotFoundSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\DataCenterNotFoundSchema' => 'KatapultAPI\\Core\\Normalizer\\DataCenterNotFoundSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\DiskTemplateNotFoundSchema' => 'KatapultAPI\\Core\\Normalizer\\DiskTemplateNotFoundSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\NetworkNotFoundSchema' => 'KatapultAPI\\Core\\Normalizer\\NetworkNotFoundSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\LocationRequiredSchema' => 'KatapultAPI\\Core\\Normalizer\\LocationRequiredSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\OneSystemDiskRequiredSchema' => 'KatapultAPI\\Core\\Normalizer\\OneSystemDiskRequiredSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseTask' => 'KatapultAPI\\Core\\Normalizer\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseTaskNormalizer', - 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseBuild' => 'KatapultAPI\\Core\\Normalizer\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseBuildNormalizer', - 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuild' => 'KatapultAPI\\Core\\Normalizer\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuildNormalizer', - 'KatapultAPI\\Core\\Model\\InvalidSpecXML' => 'KatapultAPI\\Core\\Normalizer\\InvalidSpecXMLNormalizer', - 'KatapultAPI\\Core\\Model\\InvalidSpecXMLSchema' => 'KatapultAPI\\Core\\Normalizer\\InvalidSpecXMLSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuild' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\PostVirtualMachineStart200ResponseTask' => 'KatapultAPI\\Core\\Normalizer\\PostVirtualMachineStart200ResponseTaskNormalizer', - 'KatapultAPI\\Core\\Model\\PostVirtualMachineStop200ResponseTask' => 'KatapultAPI\\Core\\Normalizer\\PostVirtualMachineStop200ResponseTaskNormalizer', - 'KatapultAPI\\Core\\Model\\PostVirtualMachineShutdown200ResponseTask' => 'KatapultAPI\\Core\\Normalizer\\PostVirtualMachineShutdown200ResponseTaskNormalizer', - 'KatapultAPI\\Core\\Model\\PostVirtualMachineReset200ResponseTask' => 'KatapultAPI\\Core\\Normalizer\\PostVirtualMachineReset200ResponseTaskNormalizer', - 'KatapultAPI\\Core\\Model\\PostVirtualMachineConsoleSessions201ResponseConsoleSession' => 'KatapultAPI\\Core\\Normalizer\\PostVirtualMachineConsoleSessions201ResponseConsoleSessionNormalizer', - 'KatapultAPI\\Core\\Model\\PostVirtualMachineConsoleSessionsPartVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\PostVirtualMachineConsoleSessionsPartVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineMustBeStarted' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineMustBeStartedNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineMustBeStartedSchema' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineMustBeStartedSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\AuthSSHKey' => 'KatapultAPI\\Core\\Normalizer\\AuthSSHKeyNormalizer', - 'KatapultAPI\\Core\\Model\\AuthSSHKeyProperties' => 'KatapultAPI\\Core\\Normalizer\\AuthSSHKeyPropertiesNormalizer', - 'KatapultAPI\\Core\\Model\\AuthSSHKeyLookup' => 'KatapultAPI\\Core\\Normalizer\\AuthSSHKeyLookupNormalizer', - 'KatapultAPI\\Core\\Model\\DeletionRestricted' => 'KatapultAPI\\Core\\Normalizer\\DeletionRestrictedNormalizer', - 'KatapultAPI\\Core\\Model\\APIToken' => 'KatapultAPI\\Core\\Normalizer\\APITokenNormalizer', - 'KatapultAPI\\Core\\Model\\APITokenArguments' => 'KatapultAPI\\Core\\Normalizer\\APITokenArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\APITokenLookup' => 'KatapultAPI\\Core\\Normalizer\\APITokenLookupNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteAPIToken200ResponseAPIToken' => 'KatapultAPI\\Core\\Normalizer\\DeleteAPIToken200ResponseAPITokenNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPolicies' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer', - 'KatapultAPI\\Core\\Model\\DiskBackupPolicyTarget' => 'KatapultAPI\\Core\\Normalizer\\DiskBackupPolicyTargetNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineAttachedIso' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineAttachedIsoNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineGpuType' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineGpuTypeNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineHypervisor' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineHypervisorNormalizer', - 'KatapultAPI\\Core\\Model\\Disk' => 'KatapultAPI\\Core\\Normalizer\\DiskNormalizer', - 'KatapultAPI\\Core\\Model\\DiskIoProfile' => 'KatapultAPI\\Core\\Normalizer\\DiskIoProfileNormalizer', - 'KatapultAPI\\Core\\Model\\DiskVirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\DiskVirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineDisk' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineDiskNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationDiskBackupPoliciesPartSchedule' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationDiskBackupPoliciesPartScheduleNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicies' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachineDiskBackupPoliciesPartSchedule' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachineDiskBackupPoliciesPartScheduleNormalizer', - 'KatapultAPI\\Core\\Model\\GetDiskDiskBackupPolicies200ResponseDiskBackupPolicies' => 'KatapultAPI\\Core\\Normalizer\\GetDiskDiskBackupPolicies200ResponseDiskBackupPoliciesNormalizer', - 'KatapultAPI\\Core\\Model\\GetDiskDiskBackupPoliciesPartSchedule' => 'KatapultAPI\\Core\\Normalizer\\GetDiskDiskBackupPoliciesPartScheduleNormalizer', - 'KatapultAPI\\Core\\Model\\GetDiskBackupPolicy200ResponseDiskBackupPolicy' => 'KatapultAPI\\Core\\Normalizer\\GetDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer', - 'KatapultAPI\\Core\\Model\\Schedule' => 'KatapultAPI\\Core\\Normalizer\\ScheduleNormalizer', - 'KatapultAPI\\Core\\Model\\DiskBackupPolicyLookup' => 'KatapultAPI\\Core\\Normalizer\\DiskBackupPolicyLookupNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteDiskBackupPolicy200ResponseDiskBackupPolicy' => 'KatapultAPI\\Core\\Normalizer\\DeleteDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicy' => 'KatapultAPI\\Core\\Normalizer\\DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicyNormalizer', - 'KatapultAPI\\Core\\Model\\InvalidTimestampSchema' => 'KatapultAPI\\Core\\Normalizer\\InvalidTimestampSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\DiskBackupPolicyArguments' => 'KatapultAPI\\Core\\Normalizer\\DiskBackupPolicyArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\ScheduleArguments' => 'KatapultAPI\\Core\\Normalizer\\ScheduleArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\PatchDiskBackupPolicy200ResponseDiskBackupPolicy' => 'KatapultAPI\\Core\\Normalizer\\PatchDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer', - 'KatapultAPI\\Core\\Model\\PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicy' => 'KatapultAPI\\Core\\Normalizer\\PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicyNormalizer', - 'KatapultAPI\\Core\\Model\\PostDiskDiskBackupPolicies200ResponseDiskBackupPolicy' => 'KatapultAPI\\Core\\Normalizer\\PostDiskDiskBackupPolicies200ResponseDiskBackupPolicyNormalizer', - 'KatapultAPI\\Core\\Model\\DNSZone' => 'KatapultAPI\\Core\\Normalizer\\DNSZoneNormalizer', - 'KatapultAPI\\Core\\Model\\DNSZoneArguments' => 'KatapultAPI\\Core\\Normalizer\\DNSZoneArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\DNSZoneLookup' => 'KatapultAPI\\Core\\Normalizer\\DNSZoneLookupNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecord' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributes' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentAttributesNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesA' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentAttributesANormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesAAAA' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentAttributesAAAANormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesALIAS' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentAttributesALIASNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesCAA' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentAttributesCAANormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesCNAME' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentAttributesCNAMENormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesIPS' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentAttributesIPSNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesMX' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentAttributesMXNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesNS' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentAttributesNSNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesPTR' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentAttributesPTRNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesSRV' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentAttributesSRVNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesSSHFP' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentAttributesSSHFPNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesTXT' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentAttributesTXTNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentAttributesVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\RecordContentAttributesForA' => 'KatapultAPI\\Core\\Normalizer\\RecordContentAttributesForANormalizer', - 'KatapultAPI\\Core\\Model\\RecordContentAttributesForAAAA' => 'KatapultAPI\\Core\\Normalizer\\RecordContentAttributesForAAAANormalizer', - 'KatapultAPI\\Core\\Model\\RecordContentAttributesForALIAS' => 'KatapultAPI\\Core\\Normalizer\\RecordContentAttributesForALIASNormalizer', - 'KatapultAPI\\Core\\Model\\RecordContentAttributesForCAA' => 'KatapultAPI\\Core\\Normalizer\\RecordContentAttributesForCAANormalizer', - 'KatapultAPI\\Core\\Model\\RecordContentAttributesForCNAME' => 'KatapultAPI\\Core\\Normalizer\\RecordContentAttributesForCNAMENormalizer', - 'KatapultAPI\\Core\\Model\\RecordContentAttributesForIPS' => 'KatapultAPI\\Core\\Normalizer\\RecordContentAttributesForIPSNormalizer', - 'KatapultAPI\\Core\\Model\\RecordContentAttributesForMX' => 'KatapultAPI\\Core\\Normalizer\\RecordContentAttributesForMXNormalizer', - 'KatapultAPI\\Core\\Model\\RecordContentAttributesForNS' => 'KatapultAPI\\Core\\Normalizer\\RecordContentAttributesForNSNormalizer', - 'KatapultAPI\\Core\\Model\\RecordContentAttributesForPTR' => 'KatapultAPI\\Core\\Normalizer\\RecordContentAttributesForPTRNormalizer', - 'KatapultAPI\\Core\\Model\\RecordContentAttributesForSRV' => 'KatapultAPI\\Core\\Normalizer\\RecordContentAttributesForSRVNormalizer', - 'KatapultAPI\\Core\\Model\\RecordContentAttributesForSSHFP' => 'KatapultAPI\\Core\\Normalizer\\RecordContentAttributesForSSHFPNormalizer', - 'KatapultAPI\\Core\\Model\\RecordContentAttributesForTXT' => 'KatapultAPI\\Core\\Normalizer\\RecordContentAttributesForTXTNormalizer', - 'KatapultAPI\\Core\\Model\\RecordContentAttributesForVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\RecordContentAttributesForVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordArguments' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentArguments' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForA' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentArgumentsForANormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForAAAA' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentArgumentsForAAAANormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForALIAS' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentArgumentsForALIASNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForCAA' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentArgumentsForCAANormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForCNAME' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentArgumentsForCNAMENormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForIPS' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentArgumentsForIPSNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForMX' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentArgumentsForMXNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForNS' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentArgumentsForNSNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForPTR' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentArgumentsForPTRNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForSRV' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentArgumentsForSRVNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForSSHFP' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentArgumentsForSSHFPNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForTXT' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentArgumentsForTXTNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordContentArgumentsForVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\DNSRecordLookup' => 'KatapultAPI\\Core\\Normalizer\\DNSRecordLookupNormalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroup' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupNormalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupArguments' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupLookup' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupLookupNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteSecurityGroup200ResponseSecurityGroup' => 'KatapultAPI\\Core\\Normalizer\\DeleteSecurityGroup200ResponseSecurityGroupNormalizer', - 'KatapultAPI\\Core\\Model\\GetSecurityGroupRules200ResponseSecurityGroupRules' => 'KatapultAPI\\Core\\Normalizer\\GetSecurityGroupRules200ResponseSecurityGroupRulesNormalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupRuleArguments' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupRuleArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\PostSecurityGroupRules200ResponseSecurityGroupRule' => 'KatapultAPI\\Core\\Normalizer\\PostSecurityGroupRules200ResponseSecurityGroupRuleNormalizer', - 'KatapultAPI\\Core\\Model\\PostSecurityGroupRulesPartSecurityGroup' => 'KatapultAPI\\Core\\Normalizer\\PostSecurityGroupRulesPartSecurityGroupNormalizer', - 'KatapultAPI\\Core\\Model\\GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule' => 'KatapultAPI\\Core\\Normalizer\\GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer', - 'KatapultAPI\\Core\\Model\\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup' => 'KatapultAPI\\Core\\Normalizer\\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroupNormalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupRuleLookup' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupRuleLookupNormalizer', - 'KatapultAPI\\Core\\Model\\PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule' => 'KatapultAPI\\Core\\Normalizer\\PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer', - 'KatapultAPI\\Core\\Model\\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup' => 'KatapultAPI\\Core\\Normalizer\\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroupNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule' => 'KatapultAPI\\Core\\Normalizer\\DeleteSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumes' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumesNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationFileStorageVolumesPartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationFileStorageVolumesPartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\GetFileStorageVolume200ResponseFileStorageVolume' => 'KatapultAPI\\Core\\Normalizer\\GetFileStorageVolume200ResponseFileStorageVolumeNormalizer', - 'KatapultAPI\\Core\\Model\\GetFileStorageVolumePartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\GetFileStorageVolumePartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\FileStorageVolumeArguments' => 'KatapultAPI\\Core\\Normalizer\\FileStorageVolumeArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\PostOrganizationFileStorageVolumes201ResponseFileStorageVolume' => 'KatapultAPI\\Core\\Normalizer\\PostOrganizationFileStorageVolumes201ResponseFileStorageVolumeNormalizer', - 'KatapultAPI\\Core\\Model\\PostOrganizationFileStorageVolumesPartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\PostOrganizationFileStorageVolumesPartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\FileStorageVolumeLookup' => 'KatapultAPI\\Core\\Normalizer\\FileStorageVolumeLookupNormalizer', - 'KatapultAPI\\Core\\Model\\PatchFileStorageVolume200ResponseFileStorageVolume' => 'KatapultAPI\\Core\\Normalizer\\PatchFileStorageVolume200ResponseFileStorageVolumeNormalizer', - 'KatapultAPI\\Core\\Model\\PatchFileStorageVolumePartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\PatchFileStorageVolumePartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteFileStorageVolume200ResponseFileStorageVolume' => 'KatapultAPI\\Core\\Normalizer\\DeleteFileStorageVolume200ResponseFileStorageVolumeNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteFileStorageVolumePartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\DeleteFileStorageVolumePartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworks200ResponseNetworks' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationAvailableNetworks200ResponseNetworksNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworksPartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationAvailableNetworksPartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworks200ResponseVirtualNetworks' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationAvailableNetworks200ResponseVirtualNetworksNormalizer', - 'KatapultAPI\\Core\\Model\\NetworkSpeedProfile' => 'KatapultAPI\\Core\\Normalizer\\NetworkSpeedProfileNormalizer', - 'KatapultAPI\\Core\\Model\\GetAddressLists200ResponseAddressLists' => 'KatapultAPI\\Core\\Normalizer\\GetAddressLists200ResponseAddressListsNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationAddressLists200ResponseAddressLists' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationAddressLists200ResponseAddressListsNormalizer', - 'KatapultAPI\\Core\\Model\\AddressList' => 'KatapultAPI\\Core\\Normalizer\\AddressListNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListEntry' => 'KatapultAPI\\Core\\Normalizer\\AddressListEntryNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListArguments' => 'KatapultAPI\\Core\\Normalizer\\AddressListArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListLookup' => 'KatapultAPI\\Core\\Normalizer\\AddressListLookupNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListEntryArguments' => 'KatapultAPI\\Core\\Normalizer\\AddressListEntryArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListEntryLookup' => 'KatapultAPI\\Core\\Normalizer\\AddressListEntryLookupNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationCertificates200ResponseCertificates' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationCertificates200ResponseCertificatesNormalizer', - 'KatapultAPI\\Core\\Model\\Certificate' => 'KatapultAPI\\Core\\Normalizer\\CertificateNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationLoadBalancers200ResponseLoadBalancers' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationLoadBalancers200ResponseLoadBalancersNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancerResource' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancerResourceNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationLoadBalancersPartIPAddress' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationLoadBalancersPartIPAddressNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationLoadBalancersPartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationLoadBalancersPartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancerArguments' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancerArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancerWeightsArguments' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancerWeightsArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancers201ResponseLoadBalancer' => 'KatapultAPI\\Core\\Normalizer\\PostOrganizationLoadBalancers201ResponseLoadBalancerNormalizer', - 'KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancersPartIPAddress' => 'KatapultAPI\\Core\\Normalizer\\PostOrganizationLoadBalancersPartIPAddressNormalizer', - 'KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancersPartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\PostOrganizationLoadBalancersPartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancerWeight' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancerWeightNormalizer', - 'KatapultAPI\\Core\\Model\\GetLoadBalancer200ResponseLoadBalancer' => 'KatapultAPI\\Core\\Normalizer\\GetLoadBalancer200ResponseLoadBalancerNormalizer', - 'KatapultAPI\\Core\\Model\\GetLoadBalancerPartIPAddress' => 'KatapultAPI\\Core\\Normalizer\\GetLoadBalancerPartIPAddressNormalizer', - 'KatapultAPI\\Core\\Model\\GetLoadBalancerPartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\GetLoadBalancerPartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancerLookup' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancerLookupNormalizer', - 'KatapultAPI\\Core\\Model\\PatchLoadBalancer200ResponseLoadBalancer' => 'KatapultAPI\\Core\\Normalizer\\PatchLoadBalancer200ResponseLoadBalancerNormalizer', - 'KatapultAPI\\Core\\Model\\PatchLoadBalancerPartIPAddress' => 'KatapultAPI\\Core\\Normalizer\\PatchLoadBalancerPartIPAddressNormalizer', - 'KatapultAPI\\Core\\Model\\PatchLoadBalancerPartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\PatchLoadBalancerPartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteLoadBalancer200ResponseLoadBalancer' => 'KatapultAPI\\Core\\Normalizer\\DeleteLoadBalancer200ResponseLoadBalancerNormalizer', - 'KatapultAPI\\Core\\Model\\GetLoadBalancerRules200ResponseLoadBalancerRules' => 'KatapultAPI\\Core\\Normalizer\\GetLoadBalancerRules200ResponseLoadBalancerRulesNormalizer', - 'KatapultAPI\\Core\\Model\\GetLoadBalancerRulesPartCertificates' => 'KatapultAPI\\Core\\Normalizer\\GetLoadBalancerRulesPartCertificatesNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancerRuleArguments' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancerRuleArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\CertificateLookup' => 'KatapultAPI\\Core\\Normalizer\\CertificateLookupNormalizer', - 'KatapultAPI\\Core\\Model\\PostLoadBalancerRules200ResponseLoadBalancerRule' => 'KatapultAPI\\Core\\Normalizer\\PostLoadBalancerRules200ResponseLoadBalancerRuleNormalizer', - 'KatapultAPI\\Core\\Model\\PostLoadBalancerRulesPartCertificates' => 'KatapultAPI\\Core\\Normalizer\\PostLoadBalancerRulesPartCertificatesNormalizer', - 'KatapultAPI\\Core\\Model\\PostLoadBalancerRulesPartLoadBalancer' => 'KatapultAPI\\Core\\Normalizer\\PostLoadBalancerRulesPartLoadBalancerNormalizer', - 'KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule' => 'KatapultAPI\\Core\\Normalizer\\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer', - 'KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRulePartCertificates' => 'KatapultAPI\\Core\\Normalizer\\GetLoadBalancersRulesLoadBalancerRulePartCertificatesNormalizer', - 'KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer' => 'KatapultAPI\\Core\\Normalizer\\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancerNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancerRuleLookup' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancerRuleLookupNormalizer', - 'KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule' => 'KatapultAPI\\Core\\Normalizer\\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer', - 'KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartCertificates' => 'KatapultAPI\\Core\\Normalizer\\PatchLoadBalancersRulesLoadBalancerRulePartCertificatesNormalizer', - 'KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer' => 'KatapultAPI\\Core\\Normalizer\\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancerNormalizer', - 'KatapultAPI\\Core\\Model\\DeleteLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule' => 'KatapultAPI\\Core\\Normalizer\\DeleteLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationIPAddresses200ResponseIPAddresses' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationIPAddresses200ResponseIPAddressesNormalizer', - 'KatapultAPI\\Core\\Model\\APIAuthenticator503Schema' => 'KatapultAPI\\Core\\Normalizer\\APIAuthenticator503SchemaNormalizer', - 'KatapultAPI\\Core\\Model\\NoAvailableAddressesSchema' => 'KatapultAPI\\Core\\Normalizer\\NoAvailableAddressesSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\GetIPAddress200ResponseAllocation' => 'KatapultAPI\\Core\\Normalizer\\GetIPAddress200ResponseAllocationNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfaces' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfacesNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacesPartNetwork' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachineNetworkInterfacesPartNetworkNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacesPartIPAddresses' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachineNetworkInterfacesPartIPAddressesNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterface' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterfaceNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachineNetworkInterfacePartVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartNetwork' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachineNetworkInterfacePartNetworkNormalizer', - 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartIPAddresses' => 'KatapultAPI\\Core\\Normalizer\\GetVirtualMachineNetworkInterfacePartIPAddressesNormalizer', - 'KatapultAPI\\Core\\Model\\InterfaceNotFoundSchema' => 'KatapultAPI\\Core\\Normalizer\\InterfaceNotFoundSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterface' => 'KatapultAPI\\Core\\Normalizer\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterfaceNormalizer', - 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\GetVMNIVMNIPartVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartNetwork' => 'KatapultAPI\\Core\\Normalizer\\GetVMNIVMNIPartNetworkNormalizer', - 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartIPAddresses' => 'KatapultAPI\\Core\\Normalizer\\GetVMNIVMNIPartIPAddressesNormalizer', - 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartSpeedProfile' => 'KatapultAPI\\Core\\Normalizer\\GetVMNIVMNIPartSpeedProfileNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfaceLookup' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineNetworkInterfaceLookupNormalizer', - 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterface' => 'KatapultAPI\\Core\\Normalizer\\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceNormalizer', - 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork' => 'KatapultAPI\\Core\\Normalizer\\PostVirtualMachineNetworkInterfaceAllocateIPPartNetworkNormalizer', - 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses' => 'KatapultAPI\\Core\\Normalizer\\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddressesNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfaceNotFoundSchema' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineNetworkInterfaceNotFoundSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\InvalidIPSchema' => 'KatapultAPI\\Core\\Normalizer\\InvalidIPSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\NetworkSpeedProfileLookup' => 'KatapultAPI\\Core\\Normalizer\\NetworkSpeedProfileLookupNormalizer', - 'KatapultAPI\\Core\\Model\\NetworkSpeedProfileNotFoundSchema' => 'KatapultAPI\\Core\\Normalizer\\NetworkSpeedProfileNotFoundSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\GetOrganizationTags200ResponseTags' => 'KatapultAPI\\Core\\Normalizer\\GetOrganizationTags200ResponseTagsNormalizer', - 'KatapultAPI\\Core\\Model\\TagArguments' => 'KatapultAPI\\Core\\Normalizer\\TagArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\TagLookup' => 'KatapultAPI\\Core\\Normalizer\\TagLookupNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineGroupArguments' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineGroupArgumentsNormalizer', - 'KatapultAPI\\Core\\Model\\GetOperatingSystems200ResponseOperatingSystems' => 'KatapultAPI\\Core\\Normalizer\\GetOperatingSystems200ResponseOperatingSystemsNormalizer', - 'KatapultAPI\\Core\\Model\\TrashObjectLookup' => 'KatapultAPI\\Core\\Normalizer\\TrashObjectLookupNormalizer', - 'KatapultAPI\\Core\\Model\\GetZones200ResponseZones' => 'KatapultAPI\\Core\\Normalizer\\GetZones200ResponseZonesNormalizer', - 'KatapultAPI\\Core\\Model\\GetZonesPartDataCenter' => 'KatapultAPI\\Core\\Normalizer\\GetZonesPartDataCenterNormalizer', - 'KatapultAPI\\Core\\Model\\GetCountries200ResponseCountries' => 'KatapultAPI\\Core\\Normalizer\\GetCountries200ResponseCountriesNormalizer', - 'KatapultAPI\\Core\\Model\\GetCountryCountryStates200ResponseCountryStates' => 'KatapultAPI\\Core\\Normalizer\\GetCountryCountryStates200ResponseCountryStatesNormalizer', - 'KatapultAPI\\Core\\Model\\GetCurrencies200ResponseCurrencies' => 'KatapultAPI\\Core\\Normalizer\\GetCurrencies200ResponseCurrenciesNormalizer', - 'KatapultAPI\\Core\\Model\\GetUsersCurrent200ResponseOrganizations' => 'KatapultAPI\\Core\\Normalizer\\GetUsersCurrent200ResponseOrganizationsNormalizer', - 'KatapultAPI\\Core\\Model\\IdentityNotLinkedToWebSessionSchema' => 'KatapultAPI\\Core\\Normalizer\\IdentityNotLinkedToWebSessionSchemaNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response' => 'KatapultAPI\\Core\\Normalizer\\ResponseAPIAuthenticator400ResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response' => 'KatapultAPI\\Core\\Normalizer\\ResponseAPIAuthenticator429ResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response' => 'KatapultAPI\\Core\\Normalizer\\ResponseAPIAuthenticator503ResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseDataCenterNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseDataCenterNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseOrganizationNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseTaskQueueingErrorResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseTaskQueueingErrorResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseValidationErrorResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseDiskNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseDiskNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseObjectInTrashResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseObjectInTrashResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseUnableToAssignResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseUnableToAssignResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseUnableToUnassignResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseUnableToUnassignResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseUnassignedDiskResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseUnassignedDiskResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseVirtualMachineNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseDiskTemplateNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseDiskTemplateNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseDiskTemplateVersionNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseDiskTemplateVersionNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseGPUTypeNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseGPUTypeNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseNoVirtualMachineForAPITokenResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseNoVirtualMachineForAPITokenResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineBuildNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseVirtualMachineBuildNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseVirtualMachinePackageNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseVirtualMachinePackageNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseSSHKeyNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseSSHKeyNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseDeletionRestrictedResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseDeletionRestrictedResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseAPITokenNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseAPITokenNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseDiskBackupPolicyNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseDiskBackupPolicyNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseDNSZoneNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseDNSZoneNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseDNSZoneNotVerifiedResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseDNSZoneNotVerifiedResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseDNSRecordNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseDNSRecordNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseSecurityGroupNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseSecurityGroupNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseSecurityGroupRuleNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseSecurityGroupRuleNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseFileStorageVolumeNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseFileStorageVolumeNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseNetworkNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseNetworkNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseAddressListNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseAddressListNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseAddressListEntryNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseAddressListEntryNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseCertificateNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseCertificateNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseLoadBalancerNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseLoadBalancerNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseLoadBalancerRuleNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseLoadBalancerRuleNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseIPAddressNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseIPAddressNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseResourceDoesNotSupportUnallocationResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseResourceDoesNotSupportUnallocationResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseNoAllocationResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseNoAllocationResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineNetworkInterfaceNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseVirtualMachineNetworkInterfaceNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseSpeedProfileAlreadyAssignedResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseSpeedProfileAlreadyAssignedResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseTagNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseTagNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineGroupNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseVirtualMachineGroupNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseOperatingSystemNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseOperatingSystemNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseTrashObjectNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseTrashObjectNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseZoneNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseZoneNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseCountryNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseCountryNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseCountryStateNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseCountryStateNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseCurrencyNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseCurrencyNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseTaskNotFoundResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseTaskNotFoundResponseNormalizer', - 'KatapultAPI\\Core\\Model\\ResponseNoUserAssociatedWithIdentityResponse' => 'KatapultAPI\\Core\\Normalizer\\ResponseNoUserAssociatedWithIdentityResponseNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationApiTokensGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensPostBody' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationApiTokensPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationApiTokensPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensPostResponse200ApiToken' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationApiTokensPostResponse200ApiTokenNormalizer', - 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\ApiTokensApiTokenDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\ApiTokensApiTokenDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenDeleteResponse200ApiToken' => 'KatapultAPI\\Core\\Normalizer\\ApiTokensApiTokenDeleteResponse200ApiTokenNormalizer', - 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenPatchBody' => 'KatapultAPI\\Core\\Normalizer\\ApiTokensApiTokenPatchBodyNormalizer', - 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenPatchResponse200' => 'KatapultAPI\\Core\\Normalizer\\ApiTokensApiTokenPatchResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenPatchResponse200ApiToken' => 'KatapultAPI\\Core\\Normalizer\\ApiTokensApiTokenPatchResponse200ApiTokenNormalizer', - 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenRegenerateSecretPostBody' => 'KatapultAPI\\Core\\Normalizer\\ApiTokensApiTokenRegenerateSecretPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenRegenerateSecretPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\ApiTokensApiTokenRegenerateSecretPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenRegenerateSecretPostResponse200ApiToken' => 'KatapultAPI\\Core\\Normalizer\\ApiTokensApiTokenRegenerateSecretPostResponse200ApiTokenNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListsGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\AddressListsGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationAddressListsGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsPostBody' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationAddressListsPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsPostResponse201' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationAddressListsPostResponse201Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsPostResponse201AddressList' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationAddressListsPostResponse201AddressListNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListsAddressListDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\AddressListsAddressListDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListsAddressListDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\AddressListsAddressListDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\AddressListsAddressListDeleteResponse200AddressList' => 'KatapultAPI\\Core\\Normalizer\\AddressListsAddressListDeleteResponse200AddressListNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListsAddressListGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\AddressListsAddressListGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\AddressListsAddressListGetResponse200AddressList' => 'KatapultAPI\\Core\\Normalizer\\AddressListsAddressListGetResponse200AddressListNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListsAddressListPatchBody' => 'KatapultAPI\\Core\\Normalizer\\AddressListsAddressListPatchBodyNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListsAddressListPatchResponse200' => 'KatapultAPI\\Core\\Normalizer\\AddressListsAddressListPatchResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\AddressListsAddressListPatchResponse200AddressList' => 'KatapultAPI\\Core\\Normalizer\\AddressListsAddressListPatchResponse200AddressListNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\AddressListsAddressListEntriesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesPostBody' => 'KatapultAPI\\Core\\Normalizer\\AddressListsAddressListEntriesPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesPostResponse201' => 'KatapultAPI\\Core\\Normalizer\\AddressListsAddressListEntriesPostResponse201Normalizer', - 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesPostResponse201AddressListEntry' => 'KatapultAPI\\Core\\Normalizer\\AddressListsAddressListEntriesPostResponse201AddressListEntryNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\AddressListEntriesAddressListEntryDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\AddressListEntriesAddressListEntryDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryDeleteResponse200AddressListEntry' => 'KatapultAPI\\Core\\Normalizer\\AddressListEntriesAddressListEntryDeleteResponse200AddressListEntryNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\AddressListEntriesAddressListEntryGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryGetResponse200AddressListEntry' => 'KatapultAPI\\Core\\Normalizer\\AddressListEntriesAddressListEntryGetResponse200AddressListEntryNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryPatchBody' => 'KatapultAPI\\Core\\Normalizer\\AddressListEntriesAddressListEntryPatchBodyNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryPatchResponse200' => 'KatapultAPI\\Core\\Normalizer\\AddressListEntriesAddressListEntryPatchResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryPatchResponse200AddressListEntry' => 'KatapultAPI\\Core\\Normalizer\\AddressListEntriesAddressListEntryPatchResponse200AddressListEntryNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesBulkPostBody' => 'KatapultAPI\\Core\\Normalizer\\AddressListsAddressListEntriesBulkPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesBulkPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\AddressListsAddressListEntriesBulkPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationCertificatesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationCertificatesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\CertificatesCertificateGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\CertificatesCertificateGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\CountriesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\CountriesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\CountriesCountryGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\CountriesCountryGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\CountriesCountryGetResponse200Country' => 'KatapultAPI\\Core\\Normalizer\\CountriesCountryGetResponse200CountryNormalizer', - 'KatapultAPI\\Core\\Model\\CountriesCountryCountryStatesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\CountriesCountryCountryStatesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\CountryStatesCountryStateGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\CountryStatesCountryStateGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\CountryStatesCountryStateGetResponse200CountryState' => 'KatapultAPI\\Core\\Normalizer\\CountryStatesCountryStateGetResponse200CountryStateNormalizer', - 'KatapultAPI\\Core\\Model\\CurrenciesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\CurrenciesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\CurrenciesCurrencyGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\CurrenciesCurrencyGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\CurrenciesCurrencyGetResponse200Currency' => 'KatapultAPI\\Core\\Normalizer\\CurrenciesCurrencyGetResponse200CurrencyNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationDnsZonesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesPostBody' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationDnsZonesPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesPostResponse201' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationDnsZonesPostResponse201Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesPostResponse201DnsZone' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationDnsZonesPostResponse201DnsZoneNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesNameserversGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationDnsZonesNameserversGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\DnsZonesDnsZoneDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\DnsZonesDnsZoneDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\DnsZonesDnsZoneGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneGetResponse200DnsZone' => 'KatapultAPI\\Core\\Normalizer\\DnsZonesDnsZoneGetResponse200DnsZoneNormalizer', - 'KatapultAPI\\Core\\Model\\DnsZonesDnsZonePatchBody' => 'KatapultAPI\\Core\\Normalizer\\DnsZonesDnsZonePatchBodyNormalizer', - 'KatapultAPI\\Core\\Model\\DnsZonesDnsZonePatchResponse200' => 'KatapultAPI\\Core\\Normalizer\\DnsZonesDnsZonePatchResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DnsZonesDnsZonePatchResponse200DnsZone' => 'KatapultAPI\\Core\\Normalizer\\DnsZonesDnsZonePatchResponse200DnsZoneNormalizer', - 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneVerifyPostBody' => 'KatapultAPI\\Core\\Normalizer\\DnsZonesDnsZoneVerifyPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneVerifyPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\DnsZonesDnsZoneVerifyPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneVerifyPostResponse200DnsZone' => 'KatapultAPI\\Core\\Normalizer\\DnsZonesDnsZoneVerifyPostResponse200DnsZoneNormalizer', - 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneRecordsGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\DnsZonesDnsZoneRecordsGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneRecordsPostBody' => 'KatapultAPI\\Core\\Normalizer\\DnsZonesDnsZoneRecordsPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneRecordsPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\DnsZonesDnsZoneRecordsPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\DnsRecordsDnsRecordDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\DnsRecordsDnsRecordDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\DnsRecordsDnsRecordGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordGetResponse200DnsRecord' => 'KatapultAPI\\Core\\Normalizer\\DnsRecordsDnsRecordGetResponse200DnsRecordNormalizer', - 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordPatchBody' => 'KatapultAPI\\Core\\Normalizer\\DnsRecordsDnsRecordPatchBodyNormalizer', - 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordPatchResponse200' => 'KatapultAPI\\Core\\Normalizer\\DnsRecordsDnsRecordPatchResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordPatchResponse200DnsRecord' => 'KatapultAPI\\Core\\Normalizer\\DnsRecordsDnsRecordPatchResponse200DnsRecordNormalizer', - 'KatapultAPI\\Core\\Model\\DataCentersGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\DataCentersGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DataCentersDataCenterGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\DataCentersDataCenterGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DataCentersDataCenterDefaultNetworkGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\DataCentersDataCenterDefaultNetworkGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DataCentersDataCenterDefaultNetworkGetResponse200Network' => 'KatapultAPI\\Core\\Normalizer\\DataCentersDataCenterDefaultNetworkGetResponse200NetworkNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDiskIoProfilesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationDiskIoProfilesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDiskBackupPoliciesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationDiskBackupPoliciesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostBody' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicy' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicyNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskDiskBackupPoliciesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesPostBody' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskDiskBackupPoliciesPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskDiskBackupPoliciesPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicy' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicyNormalizer', - 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicy' => 'KatapultAPI\\Core\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicyNormalizer', - 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicy' => 'KatapultAPI\\Core\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicyNormalizer', - 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchBody' => 'KatapultAPI\\Core\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyPatchBodyNormalizer', - 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200' => 'KatapultAPI\\Core\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicy' => 'KatapultAPI\\Core\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicyNormalizer', - 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicy' => 'KatapultAPI\\Core\\Normalizer\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicyNormalizer', - 'KatapultAPI\\Core\\Model\\DiskTemplatesDiskTemplateVersionsGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\DiskTemplatesDiskTemplateVersionsGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\DiskTemplateVersionsDiskTemplateVersionGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersion' => 'KatapultAPI\\Core\\Normalizer\\DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersionNormalizer', - 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersion' => 'KatapultAPI\\Core\\Normalizer\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersionNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDiskTemplatesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationDiskTemplatesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DiskTemplatesDiskTemplateGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\DiskTemplatesDiskTemplateGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DiskTemplatesDiskTemplateGetResponse200DiskTemplate' => 'KatapultAPI\\Core\\Normalizer\\DiskTemplatesDiskTemplateGetResponse200DiskTemplateNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationDisksGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksPostBody' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationDisksPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksPostResponse201' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationDisksPostResponse201Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksPostResponse201Disk' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationDisksPostResponse201DiskNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskDeleteResponse200Disk' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskDeleteResponse200DiskNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskGetResponse200Disk' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskGetResponse200DiskNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskPatchBody' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskPatchBodyNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskPatchResponse200' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskPatchResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskPatchResponse200Disk' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskPatchResponse200DiskNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskAssignPostBody' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskAssignPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskAssignPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskAssignPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskAssignPostResponse200Disk' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskAssignPostResponse200DiskNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskUnassignPostBody' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskUnassignPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskUnassignPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskUnassignPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskUnassignPostResponse200Disk' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskUnassignPostResponse200DiskNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskAttachPostBody' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskAttachPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskAttachPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskAttachPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskAttachPostResponse200Disk' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskAttachPostResponse200DiskNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskDetachPostBody' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskDetachPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskDetachPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskDetachPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskDetachPostResponse200Disk' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskDetachPostResponse200DiskNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskResizePutBody' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskResizePutBodyNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskResizePutResponse200' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskResizePutResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskResizePutResponse200Disk' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskResizePutResponse200DiskNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskIoProfilePutBody' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskIoProfilePutBodyNormalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskIoProfilePutResponse200' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskIoProfilePutResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DisksDiskIoProfilePutResponse200Disk' => 'KatapultAPI\\Core\\Normalizer\\DisksDiskIoProfilePutResponse200DiskNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDisksGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineDisksGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationFileStorageVolumesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesPostBody' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationFileStorageVolumesPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesPostResponse201' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationFileStorageVolumesPostResponse201Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolume' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolumeNormalizer', - 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\FileStorageVolumesFileStorageVolumeDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\FileStorageVolumesFileStorageVolumeDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolume' => 'KatapultAPI\\Core\\Normalizer\\FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolumeNormalizer', - 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\FileStorageVolumesFileStorageVolumeGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolume' => 'KatapultAPI\\Core\\Normalizer\\FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolumeNormalizer', - 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumePatchBody' => 'KatapultAPI\\Core\\Normalizer\\FileStorageVolumesFileStorageVolumePatchBodyNormalizer', - 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumePatchResponse200' => 'KatapultAPI\\Core\\Normalizer\\FileStorageVolumesFileStorageVolumePatchResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolume' => 'KatapultAPI\\Core\\Normalizer\\FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolumeNormalizer', - 'KatapultAPI\\Core\\Model\\GpuTypesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\GpuTypesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\GpuTypesGpuTypeGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\GpuTypesGpuTypeGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\DataCentersDataCenterGpuTypesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\DataCentersDataCenterGpuTypesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationIpAddressesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesPostBody' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationIpAddressesPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationIpAddressesPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesPostResponse200IpAddress' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationIpAddressesPostResponse200IpAddressNormalizer', - 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\IpAddressesIpAddressDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\IpAddressesIpAddressDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\IpAddressesIpAddressGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressGetResponse200IpAddress' => 'KatapultAPI\\Core\\Normalizer\\IpAddressesIpAddressGetResponse200IpAddressNormalizer', - 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressGetResponse200Allocation' => 'KatapultAPI\\Core\\Normalizer\\IpAddressesIpAddressGetResponse200AllocationNormalizer', - 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressPatchBody' => 'KatapultAPI\\Core\\Normalizer\\IpAddressesIpAddressPatchBodyNormalizer', - 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressPatchResponse200' => 'KatapultAPI\\Core\\Normalizer\\IpAddressesIpAddressPatchResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressPatchResponse200IpAddress' => 'KatapultAPI\\Core\\Normalizer\\IpAddressesIpAddressPatchResponse200IpAddressNormalizer', - 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressUnallocatePostBody' => 'KatapultAPI\\Core\\Normalizer\\IpAddressesIpAddressUnallocatePostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressUnallocatePostResponse200' => 'KatapultAPI\\Core\\Normalizer\\IpAddressesIpAddressUnallocatePostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationLoadBalancersGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersPostBody' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationLoadBalancersPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersPostResponse201' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationLoadBalancersPostResponse201Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersPostResponse201LoadBalancer' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationLoadBalancersPostResponse201LoadBalancerNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersLoadBalancerDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersLoadBalancerDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerDeleteResponse200LoadBalancer' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersLoadBalancerDeleteResponse200LoadBalancerNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersLoadBalancerGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerGetResponse200LoadBalancer' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersLoadBalancerGetResponse200LoadBalancerNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerPatchBody' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersLoadBalancerPatchBodyNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerPatchResponse200' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersLoadBalancerPatchResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerPatchResponse200LoadBalancer' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersLoadBalancerPatchResponse200LoadBalancerNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersLoadBalancerRulesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesPostBody' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersLoadBalancerRulesPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersLoadBalancerRulesPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRule' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRuleNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersRulesLoadBalancerRuleDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRule' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRuleNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersRulesLoadBalancerRuleGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRule' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRuleNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRulePatchBody' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersRulesLoadBalancerRulePatchBodyNormalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRulePatchResponse200' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersRulesLoadBalancerRulePatchResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRule' => 'KatapultAPI\\Core\\Normalizer\\LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRuleNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationNetworkSpeedProfilesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationNetworkSpeedProfilesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAvailableNetworksGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationAvailableNetworksGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\NetworksNetworkGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\NetworksNetworkGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\NetworksNetworkGetResponse200Network' => 'KatapultAPI\\Core\\Normalizer\\NetworksNetworkGetResponse200NetworkNormalizer', - 'KatapultAPI\\Core\\Model\\OperatingSystemsGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OperatingSystemsGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OperatingSystemsOperatingSystemGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OperatingSystemsOperatingSystemGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OperatingSystemsOperatingSystemGetResponse200OperatingSystem' => 'KatapultAPI\\Core\\Normalizer\\OperatingSystemsOperatingSystemGetResponse200OperatingSystemNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationPolicyGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationPolicyGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationPolicyLimitsGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationPolicyLimitsGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationPricesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationPricesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationUsersWithAccessGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationUsersWithAccessGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationManagedGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationManagedGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationManagedPostBody' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationManagedPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationManagedPostResponse201' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationManagedPostResponse201Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSshKeysGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationSshKeysGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSshKeysPostBody' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationSshKeysPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSshKeysPostResponse201' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationSshKeysPostResponse201Normalizer', - 'KatapultAPI\\Core\\Model\\SshKeysSshKeyDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\SshKeysSshKeyDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\SshKeysSshKeyDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\SshKeysSshKeyDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationSecurityGroupsGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsPostBody' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationSecurityGroupsPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationSecurityGroupsPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroup' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroupNormalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsSecurityGroupDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsSecurityGroupDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupDeleteResponse200SecurityGroup' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsSecurityGroupDeleteResponse200SecurityGroupNormalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsSecurityGroupGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupGetResponse200SecurityGroup' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsSecurityGroupGetResponse200SecurityGroupNormalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupPatchBody' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsSecurityGroupPatchBodyNormalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupPatchResponse200' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsSecurityGroupPatchResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupPatchResponse200SecurityGroup' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsSecurityGroupPatchResponse200SecurityGroupNormalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsSecurityGroupRulesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesPostBody' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsSecurityGroupRulesPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsSecurityGroupRulesPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRule' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRuleNormalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsRulesSecurityGroupRuleDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRule' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRuleNormalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsRulesSecurityGroupRuleGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRule' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRuleNormalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRulePatchBody' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsRulesSecurityGroupRulePatchBodyNormalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRulePatchResponse200' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsRulesSecurityGroupRulePatchResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRule' => 'KatapultAPI\\Core\\Normalizer\\SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRuleNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationTagsGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsPostBody' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationTagsPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationTagsPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsPostResponse200Tag' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationTagsPostResponse200TagNormalizer', - 'KatapultAPI\\Core\\Model\\TagsTagDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\TagsTagDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\TagsTagDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\TagsTagDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\TagsTagDeleteResponse200Tag' => 'KatapultAPI\\Core\\Normalizer\\TagsTagDeleteResponse200TagNormalizer', - 'KatapultAPI\\Core\\Model\\TagsTagGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\TagsTagGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\TagsTagGetResponse200Tag' => 'KatapultAPI\\Core\\Normalizer\\TagsTagGetResponse200TagNormalizer', - 'KatapultAPI\\Core\\Model\\TagsTagPatchBody' => 'KatapultAPI\\Core\\Normalizer\\TagsTagPatchBodyNormalizer', - 'KatapultAPI\\Core\\Model\\TagsTagPatchResponse200' => 'KatapultAPI\\Core\\Normalizer\\TagsTagPatchResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\TagsTagPatchResponse200Tag' => 'KatapultAPI\\Core\\Normalizer\\TagsTagPatchResponse200TagNormalizer', - 'KatapultAPI\\Core\\Model\\TasksTaskGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\TasksTaskGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTrashObjectsGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationTrashObjectsGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTrashObjectsPurgeAllPostBody' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationTrashObjectsPurgeAllPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\TrashObjectsTrashObjectDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\TrashObjectsTrashObjectDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\TrashObjectsTrashObjectGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectGetResponse200TrashObject' => 'KatapultAPI\\Core\\Normalizer\\TrashObjectsTrashObjectGetResponse200TrashObjectNormalizer', - 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectRestorePostBody' => 'KatapultAPI\\Core\\Normalizer\\TrashObjectsTrashObjectRestorePostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectRestorePostResponse200' => 'KatapultAPI\\Core\\Normalizer\\TrashObjectsTrashObjectRestorePostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectRestorePostResponse200TrashObject' => 'KatapultAPI\\Core\\Normalizer\\TrashObjectsTrashObjectRestorePostResponse200TrashObjectNormalizer', - 'KatapultAPI\\Core\\Model\\UsersCurrentGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\UsersCurrentGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\InvalidateLinkedWebSessionPostBody' => 'KatapultAPI\\Core\\Normalizer\\InvalidateLinkedWebSessionPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\InvalidateLinkedWebSessionPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\InvalidateLinkedWebSessionPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationVirtualMachineGroupsGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostBody' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationVirtualMachineGroupsPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroup' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroupNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineGroupsVirtualMachineGroupDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroup' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroupNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineGroupsVirtualMachineGroupGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroup' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroupNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchBody' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineGroupsVirtualMachineGroupPatchBodyNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroup' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroupNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterface' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterfaceNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterface' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterfaceNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsAddressVersionGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsAddressVersionGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostBody' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterface' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterfaceNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostBody' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddress' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddressNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchBody' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchBodyNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Task' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200TaskNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinePackagesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinePackagesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinePackagesVirtualMachinePackageGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinePackagesVirtualMachinePackageGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationVirtualMachinesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDeleteBody' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineDeleteBodyNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDeleteResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineDeleteResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePatchBody' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachinePatchBodyNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePatchResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachinePatchResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePatchResponse200VirtualMachine' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachinePatchResponse200VirtualMachineNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePackagePutBody' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachinePackagePutBodyNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePackagePutResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachinePackagePutResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineFlexibleResourcesPutBody' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineFlexibleResourcesPutBodyNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineAllocateIpPostBody' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineAllocateIpPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineAllocateIpPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineAllocateIpPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddress' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddressNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostBody' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationVirtualMachinesBuildPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201Build' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201BuildNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostBody' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Normalizer', - 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Build' => 'KatapultAPI\\Core\\Normalizer\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201BuildNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesBuildsVirtualMachineBuildGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesBuildsVirtualMachineBuildGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStartPostBody' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineStartPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStartPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineStartPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStopPostBody' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineStopPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStopPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineStopPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineShutdownPostBody' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineShutdownPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineShutdownPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineShutdownPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineResetPostBody' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineResetPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineResetPostResponse200' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineResetPostResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineConsoleSessionsPostBody' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineConsoleSessionsPostBodyNormalizer', - 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineConsoleSessionsPostResponse201' => 'KatapultAPI\\Core\\Normalizer\\VirtualMachinesVirtualMachineConsoleSessionsPostResponse201Normalizer', - 'KatapultAPI\\Core\\Model\\ZonesGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\ZonesGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\ZonesZoneGetResponse200' => 'KatapultAPI\\Core\\Normalizer\\ZonesZoneGetResponse200Normalizer', - 'KatapultAPI\\Core\\Model\\ZonesZoneGetResponse200Zone' => 'KatapultAPI\\Core\\Normalizer\\ZonesZoneGetResponse200ZoneNormalizer', - '\\Jane\\Component\\JsonSchemaRuntime\\Reference' => '\\KatapultAPI\\Core\\Runtime\\Normalizer\\ReferenceNormalizer', + \KatapultAPI\Core\Model\DisksDiskDeleteResponse200Disk::class => DisksDiskDeleteResponse200DiskNormalizer::class, + + \KatapultAPI\Core\Model\DisksDiskGetResponse200::class => DisksDiskGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DisksDiskGetResponse200Disk::class => DisksDiskGetResponse200DiskNormalizer::class, + + \KatapultAPI\Core\Model\DisksDiskPatchBody::class => DisksDiskPatchBodyNormalizer::class, + + \KatapultAPI\Core\Model\DisksDiskPatchResponse200::class => DisksDiskPatchResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DisksDiskPatchResponse200Disk::class => DisksDiskPatchResponse200DiskNormalizer::class, + + \KatapultAPI\Core\Model\DisksDiskAssignPostBody::class => DisksDiskAssignPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\DisksDiskAssignPostResponse200::class => DisksDiskAssignPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DisksDiskAssignPostResponse200Disk::class => DisksDiskAssignPostResponse200DiskNormalizer::class, + + \KatapultAPI\Core\Model\DisksDiskUnassignPostBody::class => DisksDiskUnassignPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\DisksDiskUnassignPostResponse200::class => DisksDiskUnassignPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DisksDiskUnassignPostResponse200Disk::class => DisksDiskUnassignPostResponse200DiskNormalizer::class, + + \KatapultAPI\Core\Model\DisksDiskAttachPostBody::class => DisksDiskAttachPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\DisksDiskAttachPostResponse200::class => DisksDiskAttachPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DisksDiskAttachPostResponse200Disk::class => DisksDiskAttachPostResponse200DiskNormalizer::class, + + \KatapultAPI\Core\Model\DisksDiskDetachPostBody::class => DisksDiskDetachPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\DisksDiskDetachPostResponse200::class => DisksDiskDetachPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DisksDiskDetachPostResponse200Disk::class => DisksDiskDetachPostResponse200DiskNormalizer::class, + + \KatapultAPI\Core\Model\DisksDiskResizePutBody::class => DisksDiskResizePutBodyNormalizer::class, + + \KatapultAPI\Core\Model\DisksDiskResizePutResponse200::class => DisksDiskResizePutResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DisksDiskResizePutResponse200Disk::class => DisksDiskResizePutResponse200DiskNormalizer::class, + + \KatapultAPI\Core\Model\DisksDiskIoProfilePutBody::class => DisksDiskIoProfilePutBodyNormalizer::class, + + \KatapultAPI\Core\Model\DisksDiskIoProfilePutResponse200::class => DisksDiskIoProfilePutResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DisksDiskIoProfilePutResponse200Disk::class => DisksDiskIoProfilePutResponse200DiskNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDisksGetResponse200::class => VirtualMachinesVirtualMachineDisksGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesGetResponse200::class => OrganizationsOrganizationFileStorageVolumesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesPostBody::class => OrganizationsOrganizationFileStorageVolumesPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesPostResponse201::class => OrganizationsOrganizationFileStorageVolumesPostResponse201Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolume::class => OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolumeNormalizer::class, + + \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeDeleteBody::class => FileStorageVolumesFileStorageVolumeDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeDeleteResponse200::class => FileStorageVolumesFileStorageVolumeDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolume::class => FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolumeNormalizer::class, + + \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeGetResponse200::class => FileStorageVolumesFileStorageVolumeGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolume::class => FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolumeNormalizer::class, + + \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumePatchBody::class => FileStorageVolumesFileStorageVolumePatchBodyNormalizer::class, + + \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumePatchResponse200::class => FileStorageVolumesFileStorageVolumePatchResponse200Normalizer::class, + + \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolume::class => FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolumeNormalizer::class, + + \KatapultAPI\Core\Model\GpuTypesGetResponse200::class => GpuTypesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\GpuTypesGpuTypeGetResponse200::class => GpuTypesGpuTypeGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\DataCentersDataCenterGpuTypesGetResponse200::class => DataCentersDataCenterGpuTypesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesGetResponse200::class => OrganizationsOrganizationIpAddressesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesPostBody::class => OrganizationsOrganizationIpAddressesPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesPostResponse200::class => OrganizationsOrganizationIpAddressesPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesPostResponse200IpAddress::class => OrganizationsOrganizationIpAddressesPostResponse200IpAddressNormalizer::class, + + \KatapultAPI\Core\Model\IpAddressesIpAddressDeleteBody::class => IpAddressesIpAddressDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\IpAddressesIpAddressDeleteResponse200::class => IpAddressesIpAddressDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\IpAddressesIpAddressGetResponse200::class => IpAddressesIpAddressGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\IpAddressesIpAddressGetResponse200IpAddress::class => IpAddressesIpAddressGetResponse200IpAddressNormalizer::class, + + \KatapultAPI\Core\Model\IpAddressesIpAddressGetResponse200Allocation::class => IpAddressesIpAddressGetResponse200AllocationNormalizer::class, + + \KatapultAPI\Core\Model\IpAddressesIpAddressPatchBody::class => IpAddressesIpAddressPatchBodyNormalizer::class, + + \KatapultAPI\Core\Model\IpAddressesIpAddressPatchResponse200::class => IpAddressesIpAddressPatchResponse200Normalizer::class, + + \KatapultAPI\Core\Model\IpAddressesIpAddressPatchResponse200IpAddress::class => IpAddressesIpAddressPatchResponse200IpAddressNormalizer::class, + + \KatapultAPI\Core\Model\IpAddressesIpAddressUnallocatePostBody::class => IpAddressesIpAddressUnallocatePostBodyNormalizer::class, + + \KatapultAPI\Core\Model\IpAddressesIpAddressUnallocatePostResponse200::class => IpAddressesIpAddressUnallocatePostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersGetResponse200::class => OrganizationsOrganizationLoadBalancersGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersPostBody::class => OrganizationsOrganizationLoadBalancersPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersPostResponse201::class => OrganizationsOrganizationLoadBalancersPostResponse201Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersPostResponse201LoadBalancer::class => OrganizationsOrganizationLoadBalancersPostResponse201LoadBalancerNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerDeleteBody::class => LoadBalancersLoadBalancerDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerDeleteResponse200::class => LoadBalancersLoadBalancerDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerDeleteResponse200LoadBalancer::class => LoadBalancersLoadBalancerDeleteResponse200LoadBalancerNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerGetResponse200::class => LoadBalancersLoadBalancerGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerGetResponse200LoadBalancer::class => LoadBalancersLoadBalancerGetResponse200LoadBalancerNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerPatchBody::class => LoadBalancersLoadBalancerPatchBodyNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerPatchResponse200::class => LoadBalancersLoadBalancerPatchResponse200Normalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerPatchResponse200LoadBalancer::class => LoadBalancersLoadBalancerPatchResponse200LoadBalancerNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesGetResponse200::class => LoadBalancersLoadBalancerRulesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesPostBody::class => LoadBalancersLoadBalancerRulesPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesPostResponse200::class => LoadBalancersLoadBalancerRulesPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRule::class => LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRuleNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleDeleteBody::class => LoadBalancersRulesLoadBalancerRuleDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleDeleteResponse200::class => LoadBalancersRulesLoadBalancerRuleDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRule::class => LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRuleNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleGetResponse200::class => LoadBalancersRulesLoadBalancerRuleGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRule::class => LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRuleNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRulePatchBody::class => LoadBalancersRulesLoadBalancerRulePatchBodyNormalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRulePatchResponse200::class => LoadBalancersRulesLoadBalancerRulePatchResponse200Normalizer::class, + + \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRule::class => LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRuleNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationNetworkSpeedProfilesGetResponse200::class => OrganizationsOrganizationNetworkSpeedProfilesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationAvailableNetworksGetResponse200::class => OrganizationsOrganizationAvailableNetworksGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\NetworksNetworkGetResponse200::class => NetworksNetworkGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\NetworksNetworkGetResponse200Network::class => NetworksNetworkGetResponse200NetworkNormalizer::class, + + \KatapultAPI\Core\Model\OperatingSystemsGetResponse200::class => OperatingSystemsGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OperatingSystemsOperatingSystemGetResponse200::class => OperatingSystemsOperatingSystemGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OperatingSystemsOperatingSystemGetResponse200OperatingSystem::class => OperatingSystemsOperatingSystemGetResponse200OperatingSystemNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsGetResponse200::class => OrganizationsGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationGetResponse200::class => OrganizationsOrganizationGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationPolicyGetResponse200::class => OrganizationsOrganizationPolicyGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationPolicyLimitsGetResponse200::class => OrganizationsOrganizationPolicyLimitsGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationPricesGetResponse200::class => OrganizationsOrganizationPricesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationUsersWithAccessGetResponse200::class => OrganizationsOrganizationUsersWithAccessGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationManagedGetResponse200::class => OrganizationsOrganizationManagedGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationManagedPostBody::class => OrganizationsOrganizationManagedPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationManagedPostResponse201::class => OrganizationsOrganizationManagedPostResponse201Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationSshKeysGetResponse200::class => OrganizationsOrganizationSshKeysGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationSshKeysPostBody::class => OrganizationsOrganizationSshKeysPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationSshKeysPostResponse201::class => OrganizationsOrganizationSshKeysPostResponse201Normalizer::class, + + \KatapultAPI\Core\Model\SshKeysSshKeyDeleteBody::class => SshKeysSshKeyDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\SshKeysSshKeyDeleteResponse200::class => SshKeysSshKeyDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsGetResponse200::class => OrganizationsOrganizationSecurityGroupsGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsPostBody::class => OrganizationsOrganizationSecurityGroupsPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsPostResponse200::class => OrganizationsOrganizationSecurityGroupsPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroup::class => OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroupNormalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupDeleteBody::class => SecurityGroupsSecurityGroupDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupDeleteResponse200::class => SecurityGroupsSecurityGroupDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupDeleteResponse200SecurityGroup::class => SecurityGroupsSecurityGroupDeleteResponse200SecurityGroupNormalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupGetResponse200::class => SecurityGroupsSecurityGroupGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupGetResponse200SecurityGroup::class => SecurityGroupsSecurityGroupGetResponse200SecurityGroupNormalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupPatchBody::class => SecurityGroupsSecurityGroupPatchBodyNormalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupPatchResponse200::class => SecurityGroupsSecurityGroupPatchResponse200Normalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupPatchResponse200SecurityGroup::class => SecurityGroupsSecurityGroupPatchResponse200SecurityGroupNormalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesGetResponse200::class => SecurityGroupsSecurityGroupRulesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesPostBody::class => SecurityGroupsSecurityGroupRulesPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesPostResponse200::class => SecurityGroupsSecurityGroupRulesPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRule::class => SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRuleNormalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleDeleteBody::class => SecurityGroupsRulesSecurityGroupRuleDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200::class => SecurityGroupsRulesSecurityGroupRuleDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRule::class => SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRuleNormalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleGetResponse200::class => SecurityGroupsRulesSecurityGroupRuleGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRule::class => SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRuleNormalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRulePatchBody::class => SecurityGroupsRulesSecurityGroupRulePatchBodyNormalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRulePatchResponse200::class => SecurityGroupsRulesSecurityGroupRulePatchResponse200Normalizer::class, + + \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRule::class => SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRuleNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationTagsGetResponse200::class => OrganizationsOrganizationTagsGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationTagsPostBody::class => OrganizationsOrganizationTagsPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationTagsPostResponse200::class => OrganizationsOrganizationTagsPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationTagsPostResponse200Tag::class => OrganizationsOrganizationTagsPostResponse200TagNormalizer::class, + + \KatapultAPI\Core\Model\TagsTagDeleteBody::class => TagsTagDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\TagsTagDeleteResponse200::class => TagsTagDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\TagsTagDeleteResponse200Tag::class => TagsTagDeleteResponse200TagNormalizer::class, + + \KatapultAPI\Core\Model\TagsTagGetResponse200::class => TagsTagGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\TagsTagGetResponse200Tag::class => TagsTagGetResponse200TagNormalizer::class, + + \KatapultAPI\Core\Model\TagsTagPatchBody::class => TagsTagPatchBodyNormalizer::class, + + \KatapultAPI\Core\Model\TagsTagPatchResponse200::class => TagsTagPatchResponse200Normalizer::class, + + \KatapultAPI\Core\Model\TagsTagPatchResponse200Tag::class => TagsTagPatchResponse200TagNormalizer::class, + + \KatapultAPI\Core\Model\TasksTaskGetResponse200::class => TasksTaskGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationTrashObjectsGetResponse200::class => OrganizationsOrganizationTrashObjectsGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationTrashObjectsPurgeAllPostBody::class => OrganizationsOrganizationTrashObjectsPurgeAllPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200::class => OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\TrashObjectsTrashObjectDeleteBody::class => TrashObjectsTrashObjectDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\TrashObjectsTrashObjectDeleteResponse200::class => TrashObjectsTrashObjectDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\TrashObjectsTrashObjectGetResponse200::class => TrashObjectsTrashObjectGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\TrashObjectsTrashObjectGetResponse200TrashObject::class => TrashObjectsTrashObjectGetResponse200TrashObjectNormalizer::class, + + \KatapultAPI\Core\Model\TrashObjectsTrashObjectRestorePostBody::class => TrashObjectsTrashObjectRestorePostBodyNormalizer::class, + + \KatapultAPI\Core\Model\TrashObjectsTrashObjectRestorePostResponse200::class => TrashObjectsTrashObjectRestorePostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\TrashObjectsTrashObjectRestorePostResponse200TrashObject::class => TrashObjectsTrashObjectRestorePostResponse200TrashObjectNormalizer::class, + + \KatapultAPI\Core\Model\UsersCurrentGetResponse200::class => UsersCurrentGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\InvalidateLinkedWebSessionPostBody::class => InvalidateLinkedWebSessionPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\InvalidateLinkedWebSessionPostResponse200::class => InvalidateLinkedWebSessionPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsGetResponse200::class => OrganizationsOrganizationVirtualMachineGroupsGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsPostBody::class => OrganizationsOrganizationVirtualMachineGroupsPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsPostResponse200::class => OrganizationsOrganizationVirtualMachineGroupsPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroup::class => OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroupNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupDeleteBody::class => VirtualMachineGroupsVirtualMachineGroupDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200::class => VirtualMachineGroupsVirtualMachineGroupDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroup::class => VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroupNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupGetResponse200::class => VirtualMachineGroupsVirtualMachineGroupGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroup::class => VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroupNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupPatchBody::class => VirtualMachineGroupsVirtualMachineGroupPatchBodyNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupPatchResponse200::class => VirtualMachineGroupsVirtualMachineGroupPatchResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroup::class => VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroupNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200::class => VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200::class => VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterface::class => VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterfaceNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200::class => VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterface::class => VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterfaceNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsAddressVersionGetResponse200::class => VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsAddressVersionGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostBody::class => VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200::class => VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterface::class => VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterfaceNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostBody::class => VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200::class => VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddress::class => VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddressNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchBody::class => VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchBodyNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200::class => VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Task::class => VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200TaskNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinePackagesGetResponse200::class => VirtualMachinePackagesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinePackagesVirtualMachinePackageGetResponse200::class => VirtualMachinePackagesVirtualMachinePackageGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesGetResponse200::class => OrganizationsOrganizationVirtualMachinesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDeleteBody::class => VirtualMachinesVirtualMachineDeleteBodyNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDeleteResponse200::class => VirtualMachinesVirtualMachineDeleteResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineGetResponse200::class => VirtualMachinesVirtualMachineGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePatchBody::class => VirtualMachinesVirtualMachinePatchBodyNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePatchResponse200::class => VirtualMachinesVirtualMachinePatchResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePatchResponse200VirtualMachine::class => VirtualMachinesVirtualMachinePatchResponse200VirtualMachineNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePackagePutBody::class => VirtualMachinesVirtualMachinePackagePutBodyNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePackagePutResponse200::class => VirtualMachinesVirtualMachinePackagePutResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineFlexibleResourcesPutBody::class => VirtualMachinesVirtualMachineFlexibleResourcesPutBodyNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200::class => VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineAllocateIpPostBody::class => VirtualMachinesVirtualMachineAllocateIpPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineAllocateIpPostResponse200::class => VirtualMachinesVirtualMachineAllocateIpPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddress::class => VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddressNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildPostBody::class => OrganizationsOrganizationVirtualMachinesBuildPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildPostResponse201::class => OrganizationsOrganizationVirtualMachinesBuildPostResponse201Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildPostResponse201Build::class => OrganizationsOrganizationVirtualMachinesBuildPostResponse201BuildNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostBody::class => OrganizationsOrganizationVirtualMachinesBuildFromSpecPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201::class => OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Normalizer::class, + + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Build::class => OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201BuildNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesBuildsVirtualMachineBuildGetResponse200::class => VirtualMachinesBuildsVirtualMachineBuildGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStartPostBody::class => VirtualMachinesVirtualMachineStartPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStartPostResponse200::class => VirtualMachinesVirtualMachineStartPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStopPostBody::class => VirtualMachinesVirtualMachineStopPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStopPostResponse200::class => VirtualMachinesVirtualMachineStopPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineShutdownPostBody::class => VirtualMachinesVirtualMachineShutdownPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineShutdownPostResponse200::class => VirtualMachinesVirtualMachineShutdownPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineResetPostBody::class => VirtualMachinesVirtualMachineResetPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineResetPostResponse200::class => VirtualMachinesVirtualMachineResetPostResponse200Normalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineConsoleSessionsPostBody::class => VirtualMachinesVirtualMachineConsoleSessionsPostBodyNormalizer::class, + + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineConsoleSessionsPostResponse201::class => VirtualMachinesVirtualMachineConsoleSessionsPostResponse201Normalizer::class, + + \KatapultAPI\Core\Model\ZonesGetResponse200::class => ZonesGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\ZonesZoneGetResponse200::class => ZonesZoneGetResponse200Normalizer::class, + + \KatapultAPI\Core\Model\ZonesZoneGetResponse200Zone::class => ZonesZoneGetResponse200ZoneNormalizer::class, + + \Jane\Component\JsonSchemaRuntime\Reference::class => \KatapultAPI\Core\Runtime\Normalizer\ReferenceNormalizer::class, ]; protected $normalizersCache = []; @@ -1810,7 +4323,846 @@ private function initNormalizer(string $normalizerClass) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\GetDataCenters200ResponseDataCenters' => false, 'KatapultAPI\\Core\\Model\\GetDataCentersPartCountry' => false, 'KatapultAPI\\Core\\Model\\UnauthorizedNetworkForAPIToken' => false, 'KatapultAPI\\Core\\Model\\UnauthorizedNetworkForAPITokenSchema' => false, 'KatapultAPI\\Core\\Model\\InvalidAPIToken' => false, 'KatapultAPI\\Core\\Model\\InvalidAPITokenSchema' => false, 'KatapultAPI\\Core\\Model\\InvalidCapabilitiesTokenSchema' => false, 'KatapultAPI\\Core\\Model\\ScopeNotGrantedError' => false, 'KatapultAPI\\Core\\Model\\ScopeNotGrantedErrorSchema' => false, 'KatapultAPI\\Core\\Model\\RateLimitReached' => false, 'KatapultAPI\\Core\\Model\\GetDataCenter200ResponseDataCenter' => false, 'KatapultAPI\\Core\\Model\\GetDataCenterPartCountry' => false, 'KatapultAPI\\Core\\Model\\GetDataCenterDefaultNetwork200ResponseNetwork' => false, 'KatapultAPI\\Core\\Model\\GetDataCenterDefaultNetworkPartDataCenter' => false, 'KatapultAPI\\Core\\Model\\GetOrganizations200ResponseOrganizations' => false, 'KatapultAPI\\Core\\Model\\Organization' => false, 'KatapultAPI\\Core\\Model\\OrganizationCountry' => false, 'KatapultAPI\\Core\\Model\\OrganizationCountryState' => false, 'KatapultAPI\\Core\\Model\\Currency' => false, 'KatapultAPI\\Core\\Model\\Country' => false, 'KatapultAPI\\Core\\Model\\CountryState' => false, 'KatapultAPI\\Core\\Model\\OrganizationSuspendedSchema' => false, 'KatapultAPI\\Core\\Model\\OrganizationNotActivatedSchema' => false, 'KatapultAPI\\Core\\Model\\PolicyLimits' => false, 'KatapultAPI\\Core\\Model\\FinancialPolicyLimit' => false, 'KatapultAPI\\Core\\Model\\PolicyLimit' => false, 'KatapultAPI\\Core\\Model\\PolicyLimitWithoutCurrent' => false, 'KatapultAPI\\Core\\Model\\PolicyFeatures' => false, 'KatapultAPI\\Core\\Model\\PolicyFeature' => false, 'KatapultAPI\\Core\\Model\\APIAuthenticator400Schema' => false, 'KatapultAPI\\Core\\Model\\PolicyNotAvailableForManagedOrganizationsSchema' => false, 'KatapultAPI\\Core\\Model\\OrganizationPolicy' => false, 'KatapultAPI\\Core\\Model\\DecimalOrUnlimited' => false, 'KatapultAPI\\Core\\Model\\IntegerOrUnlimited' => false, 'KatapultAPI\\Core\\Model\\IntegerValue' => false, 'KatapultAPI\\Core\\Model\\PriceResourceWithSinglePriceVariant' => false, 'KatapultAPI\\Core\\Model\\SinglePriceVariant' => false, 'KatapultAPI\\Core\\Model\\PricesNotAvailableForManagedOrganizationsSchema' => false, 'KatapultAPI\\Core\\Model\\PaginationObject' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationUsersWithAccess200ResponseUsers' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationUsersWithAccess200ResponseUsersUser' => false, 'KatapultAPI\\Core\\Model\\User' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationManaged200ResponseOrganizations' => false, 'KatapultAPI\\Core\\Model\\OrganizationLookup' => false, 'KatapultAPI\\Core\\Model\\KeyValue' => false, 'KatapultAPI\\Core\\Model\\OrganizationLimitReachedSchema' => false, 'KatapultAPI\\Core\\Model\\ValidationError' => false, 'KatapultAPI\\Core\\Model\\ValidationErrorSchema' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationDisks200ResponseDisk' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationDisks200ResponseDiskVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationDisksPartVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationDisksPartVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\DiskArguments' => false, 'KatapultAPI\\Core\\Model\\DataCenterLookup' => false, 'KatapultAPI\\Core\\Model\\DiskIOProfileLookup' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineDiskArguments' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineLookup' => false, 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDisk' => false, 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskIoProfile' => false, 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskInstallation' => false, 'KatapultAPI\\Core\\Model\\DiskIOProfile' => false, 'KatapultAPI\\Core\\Model\\PostOrganizationDisksPartDataCenter' => false, 'KatapultAPI\\Core\\Model\\PostOrganizationDisksPartVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\PostOrganizationDisksPartVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\DiskInstallation' => false, 'KatapultAPI\\Core\\Model\\DiskTemplateVersion' => false, 'KatapultAPI\\Core\\Model\\DiskTemplate' => false, 'KatapultAPI\\Core\\Model\\DiskTemplateLatestVersion' => false, 'KatapultAPI\\Core\\Model\\DiskTemplateOperatingSystem' => false, 'KatapultAPI\\Core\\Model\\OperatingSystem' => false, 'KatapultAPI\\Core\\Model\\OperatingSystemBadge' => false, 'KatapultAPI\\Core\\Model\\Attachment' => false, 'KatapultAPI\\Core\\Model\\DiskInstallationAttribute' => false, 'KatapultAPI\\Core\\Model\\Task' => false, 'KatapultAPI\\Core\\Model\\PermissionDenied' => false, 'KatapultAPI\\Core\\Model\\PermissionDeniedSchema' => false, 'KatapultAPI\\Core\\Model\\TaskQueueingError' => false, 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDisk' => false, 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskIoProfile' => false, 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\GetDisk200ResponseDiskInstallation' => false, 'KatapultAPI\\Core\\Model\\GetDiskPartDataCenter' => false, 'KatapultAPI\\Core\\Model\\GetDiskPartVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\GetDiskPartVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\ObjectInTrash' => false, 'KatapultAPI\\Core\\Model\\ObjectInTrashTrashObject' => false, 'KatapultAPI\\Core\\Model\\TrashObject' => false, 'KatapultAPI\\Core\\Model\\DiskLookup' => false, 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDisk' => false, 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskIoProfile' => false, 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskInstallation' => false, 'KatapultAPI\\Core\\Model\\PatchDiskPartDataCenter' => false, 'KatapultAPI\\Core\\Model\\PatchDiskPartVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\PatchDiskPartVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\UnassignedDiskSchema' => false, 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDisk' => false, 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskIoProfile' => false, 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\DeleteDisk200ResponseDiskInstallation' => false, 'KatapultAPI\\Core\\Model\\DeleteDiskPartDataCenter' => false, 'KatapultAPI\\Core\\Model\\DeleteDiskPartVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\DeleteDiskPartVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDisk' => false, 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskIoProfile' => false, 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskInstallation' => false, 'KatapultAPI\\Core\\Model\\PostDiskAssignPartDataCenter' => false, 'KatapultAPI\\Core\\Model\\PostDiskAssignPartVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\PostDiskAssignPartVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\DiskNotFoundSchema' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineNotFoundSchema' => false, 'KatapultAPI\\Core\\Model\\UnableToAssign' => false, 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDisk' => false, 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskIoProfile' => false, 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskInstallation' => false, 'KatapultAPI\\Core\\Model\\PostDiskUnassignPartDataCenter' => false, 'KatapultAPI\\Core\\Model\\PostDiskUnassignPartVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\PostDiskUnassignPartVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\UnableToUnassign' => false, 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDisk' => false, 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskIoProfile' => false, 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskInstallation' => false, 'KatapultAPI\\Core\\Model\\PostDiskAttachPartDataCenter' => false, 'KatapultAPI\\Core\\Model\\PostDiskAttachPartVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\PostDiskAttachPartVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\ObjectInTrashSchema' => false, 'KatapultAPI\\Core\\Model\\TaskQueueingErrorSchema' => false, 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDisk' => false, 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskIoProfile' => false, 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskInstallation' => false, 'KatapultAPI\\Core\\Model\\PostDiskDetachPartDataCenter' => false, 'KatapultAPI\\Core\\Model\\PostDiskDetachPartVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\PostDiskDetachPartVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDisk' => false, 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskIoProfile' => false, 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskInstallation' => false, 'KatapultAPI\\Core\\Model\\PutDiskResizePartDataCenter' => false, 'KatapultAPI\\Core\\Model\\PutDiskResizePartVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\PutDiskResizePartVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDisk' => false, 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskIoProfile' => false, 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskInstallation' => false, 'KatapultAPI\\Core\\Model\\PutDiskIOProfilePartDataCenter' => false, 'KatapultAPI\\Core\\Model\\PutDiskIOProfilePartVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\PutDiskIOProfilePartVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\DiskIOProfileNotFoundSchema' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachineDisks200ResponseDisks' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachineDisksPartDisk' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplates' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersion' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystem' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplatesPartLatestVersion' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplatesPartOperatingSystem' => false, 'KatapultAPI\\Core\\Model\\OrganizationNotFoundSchema' => false, 'KatapultAPI\\Core\\Model\\OperatingSystemNotFoundSchema' => false, 'KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplate' => false, 'KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplateLatestVersion' => false, 'KatapultAPI\\Core\\Model\\GetDiskTemplate200ResponseDiskTemplateOperatingSystem' => false, 'KatapultAPI\\Core\\Model\\GetDiskTemplatePartLatestVersion' => false, 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersions200ResponseDiskTemplate' => false, 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersions200ResponseDiskTemplateVersions' => false, 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersion200ResponseDiskTemplateVersion' => false, 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersionPartDiskTemplate' => false, 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersionSpec200ResponseDiskTemplateVersion' => false, 'KatapultAPI\\Core\\Model\\GetDiskTemplateVersionSpecPartDiskTemplate' => false, 'KatapultAPI\\Core\\Model\\TemplateSpec' => false, 'KatapultAPI\\Core\\Model\\TemplateSpecField' => false, 'KatapultAPI\\Core\\Model\\GetGPUTypes200ResponseGPUTypes' => false, 'KatapultAPI\\Core\\Model\\GetGPUTypes200ResponseGPUTypesDataCentersItem' => false, 'KatapultAPI\\Core\\Model\\GetGPUTypesPartDataCenters' => false, 'KatapultAPI\\Core\\Model\\GetGPUType200ResponseGPUType' => false, 'KatapultAPI\\Core\\Model\\GetGPUType200ResponseGPUTypeDataCentersItem' => false, 'KatapultAPI\\Core\\Model\\GetGPUTypePartDataCenters' => false, 'KatapultAPI\\Core\\Model\\GetDataCenterGPUTypes200ResponseGPUTypes' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachines' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesPackage' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuType' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachinesHypervisor' => false, 'KatapultAPI\\Core\\Model\\Zone' => false, 'KatapultAPI\\Core\\Model\\DataCenter' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartPackage' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartGPUType' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartIPAddresses' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachinesPartHypervisor' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineGroup' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachinePackage' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineAttachedIso' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineGpuType' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachineHypervisor' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineGroup' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinePackage' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinePackageIcon' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinePackageGroup' => false, 'KatapultAPI\\Core\\Model\\ISO' => false, 'KatapultAPI\\Core\\Model\\ISOOperatingSystem' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachinePartGPUType' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineGPU' => false, 'KatapultAPI\\Core\\Model\\GPUType' => false, 'KatapultAPI\\Core\\Model\\GPUTypeDataCentersItem' => false, 'KatapultAPI\\Core\\Model\\Tag' => false, 'KatapultAPI\\Core\\Model\\IPAddress' => false, 'KatapultAPI\\Core\\Model\\Network' => false, 'KatapultAPI\\Core\\Model\\Hypervisor' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineArguments' => false, 'KatapultAPI\\Core\\Model\\GPUTypeLookup' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineGroupLookup' => false, 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineGroup' => false, 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachinePackage' => false, 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineAttachedIso' => false, 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineGpuType' => false, 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineHypervisor' => false, 'KatapultAPI\\Core\\Model\\PatchVirtualMachinePartGPUType' => false, 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGroup' => false, 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachinePackage' => false, 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineAttachedIso' => false, 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineGpuType' => false, 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachineHypervisor' => false, 'KatapultAPI\\Core\\Model\\DeleteVirtualMachinePartGPUType' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinePackageLookup' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinePackageNotFoundSchema' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineFlexibleResources' => false, 'KatapultAPI\\Core\\Model\\FlexibleResourcesUnavailableToOrganizationSchema' => false, 'KatapultAPI\\Core\\Model\\IPAddressLookup' => false, 'KatapultAPI\\Core\\Model\\IPAddressNotFoundSchema' => false, 'KatapultAPI\\Core\\Model\\NoInterfaceAvailableSchema' => false, 'KatapultAPI\\Core\\Model\\IPAlreadyAllocatedSchema' => false, 'KatapultAPI\\Core\\Model\\ZoneLookup' => false, 'KatapultAPI\\Core\\Model\\DiskTemplateLookup' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineBuildDiskArguments' => false, 'KatapultAPI\\Core\\Model\\NetworkLookup' => false, 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuild201ResponseTask' => false, 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuild201ResponseBuild' => false, 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuild' => false, 'KatapultAPI\\Core\\Model\\ResourceCreationRestricted' => false, 'KatapultAPI\\Core\\Model\\ResourceCreationRestrictedSchema' => false, 'KatapultAPI\\Core\\Model\\ZoneNotFoundSchema' => false, 'KatapultAPI\\Core\\Model\\DataCenterNotFoundSchema' => false, 'KatapultAPI\\Core\\Model\\DiskTemplateNotFoundSchema' => false, 'KatapultAPI\\Core\\Model\\NetworkNotFoundSchema' => false, 'KatapultAPI\\Core\\Model\\LocationRequiredSchema' => false, 'KatapultAPI\\Core\\Model\\OneSystemDiskRequiredSchema' => false, 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseTask' => false, 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseBuild' => false, 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuild' => false, 'KatapultAPI\\Core\\Model\\InvalidSpecXML' => false, 'KatapultAPI\\Core\\Model\\InvalidSpecXMLSchema' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuild' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\PostVirtualMachineStart200ResponseTask' => false, 'KatapultAPI\\Core\\Model\\PostVirtualMachineStop200ResponseTask' => false, 'KatapultAPI\\Core\\Model\\PostVirtualMachineShutdown200ResponseTask' => false, 'KatapultAPI\\Core\\Model\\PostVirtualMachineReset200ResponseTask' => false, 'KatapultAPI\\Core\\Model\\PostVirtualMachineConsoleSessions201ResponseConsoleSession' => false, 'KatapultAPI\\Core\\Model\\PostVirtualMachineConsoleSessionsPartVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineMustBeStarted' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineMustBeStartedSchema' => false, 'KatapultAPI\\Core\\Model\\AuthSSHKey' => false, 'KatapultAPI\\Core\\Model\\AuthSSHKeyProperties' => false, 'KatapultAPI\\Core\\Model\\AuthSSHKeyLookup' => false, 'KatapultAPI\\Core\\Model\\DeletionRestricted' => false, 'KatapultAPI\\Core\\Model\\APIToken' => false, 'KatapultAPI\\Core\\Model\\APITokenArguments' => false, 'KatapultAPI\\Core\\Model\\APITokenLookup' => false, 'KatapultAPI\\Core\\Model\\DeleteAPIToken200ResponseAPIToken' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPolicies' => false, 'KatapultAPI\\Core\\Model\\DiskBackupPolicyTarget' => false, 'KatapultAPI\\Core\\Model\\VirtualMachine' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineAttachedIso' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineGpuType' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineHypervisor' => false, 'KatapultAPI\\Core\\Model\\Disk' => false, 'KatapultAPI\\Core\\Model\\DiskIoProfile' => false, 'KatapultAPI\\Core\\Model\\DiskVirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineDisk' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationDiskBackupPoliciesPartSchedule' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicies' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachineDiskBackupPoliciesPartSchedule' => false, 'KatapultAPI\\Core\\Model\\GetDiskDiskBackupPolicies200ResponseDiskBackupPolicies' => false, 'KatapultAPI\\Core\\Model\\GetDiskDiskBackupPoliciesPartSchedule' => false, 'KatapultAPI\\Core\\Model\\GetDiskBackupPolicy200ResponseDiskBackupPolicy' => false, 'KatapultAPI\\Core\\Model\\Schedule' => false, 'KatapultAPI\\Core\\Model\\DiskBackupPolicyLookup' => false, 'KatapultAPI\\Core\\Model\\DeleteDiskBackupPolicy200ResponseDiskBackupPolicy' => false, 'KatapultAPI\\Core\\Model\\DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicy' => false, 'KatapultAPI\\Core\\Model\\InvalidTimestampSchema' => false, 'KatapultAPI\\Core\\Model\\DiskBackupPolicyArguments' => false, 'KatapultAPI\\Core\\Model\\ScheduleArguments' => false, 'KatapultAPI\\Core\\Model\\PatchDiskBackupPolicy200ResponseDiskBackupPolicy' => false, 'KatapultAPI\\Core\\Model\\PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicy' => false, 'KatapultAPI\\Core\\Model\\PostDiskDiskBackupPolicies200ResponseDiskBackupPolicy' => false, 'KatapultAPI\\Core\\Model\\DNSZone' => false, 'KatapultAPI\\Core\\Model\\DNSZoneArguments' => false, 'KatapultAPI\\Core\\Model\\DNSZoneLookup' => false, 'KatapultAPI\\Core\\Model\\DNSRecord' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributes' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesA' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesAAAA' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesALIAS' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesCAA' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesCNAME' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesIPS' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesMX' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesNS' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesPTR' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesSRV' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesSSHFP' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesTXT' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentAttributesVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\RecordContentAttributesForA' => false, 'KatapultAPI\\Core\\Model\\RecordContentAttributesForAAAA' => false, 'KatapultAPI\\Core\\Model\\RecordContentAttributesForALIAS' => false, 'KatapultAPI\\Core\\Model\\RecordContentAttributesForCAA' => false, 'KatapultAPI\\Core\\Model\\RecordContentAttributesForCNAME' => false, 'KatapultAPI\\Core\\Model\\RecordContentAttributesForIPS' => false, 'KatapultAPI\\Core\\Model\\RecordContentAttributesForMX' => false, 'KatapultAPI\\Core\\Model\\RecordContentAttributesForNS' => false, 'KatapultAPI\\Core\\Model\\RecordContentAttributesForPTR' => false, 'KatapultAPI\\Core\\Model\\RecordContentAttributesForSRV' => false, 'KatapultAPI\\Core\\Model\\RecordContentAttributesForSSHFP' => false, 'KatapultAPI\\Core\\Model\\RecordContentAttributesForTXT' => false, 'KatapultAPI\\Core\\Model\\RecordContentAttributesForVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\DNSRecordArguments' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentArguments' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForA' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForAAAA' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForALIAS' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForCAA' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForCNAME' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForIPS' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForMX' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForNS' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForPTR' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForSRV' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForSSHFP' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForTXT' => false, 'KatapultAPI\\Core\\Model\\DNSRecordContentArgumentsForVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\DNSRecordLookup' => false, 'KatapultAPI\\Core\\Model\\SecurityGroup' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupArguments' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupLookup' => false, 'KatapultAPI\\Core\\Model\\DeleteSecurityGroup200ResponseSecurityGroup' => false, 'KatapultAPI\\Core\\Model\\GetSecurityGroupRules200ResponseSecurityGroupRules' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupRuleArguments' => false, 'KatapultAPI\\Core\\Model\\PostSecurityGroupRules200ResponseSecurityGroupRule' => false, 'KatapultAPI\\Core\\Model\\PostSecurityGroupRulesPartSecurityGroup' => false, 'KatapultAPI\\Core\\Model\\GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule' => false, 'KatapultAPI\\Core\\Model\\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupRuleLookup' => false, 'KatapultAPI\\Core\\Model\\PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule' => false, 'KatapultAPI\\Core\\Model\\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup' => false, 'KatapultAPI\\Core\\Model\\DeleteSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumes' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationFileStorageVolumesPartDataCenter' => false, 'KatapultAPI\\Core\\Model\\GetFileStorageVolume200ResponseFileStorageVolume' => false, 'KatapultAPI\\Core\\Model\\GetFileStorageVolumePartDataCenter' => false, 'KatapultAPI\\Core\\Model\\FileStorageVolumeArguments' => false, 'KatapultAPI\\Core\\Model\\PostOrganizationFileStorageVolumes201ResponseFileStorageVolume' => false, 'KatapultAPI\\Core\\Model\\PostOrganizationFileStorageVolumesPartDataCenter' => false, 'KatapultAPI\\Core\\Model\\FileStorageVolumeLookup' => false, 'KatapultAPI\\Core\\Model\\PatchFileStorageVolume200ResponseFileStorageVolume' => false, 'KatapultAPI\\Core\\Model\\PatchFileStorageVolumePartDataCenter' => false, 'KatapultAPI\\Core\\Model\\DeleteFileStorageVolume200ResponseFileStorageVolume' => false, 'KatapultAPI\\Core\\Model\\DeleteFileStorageVolumePartDataCenter' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworks200ResponseNetworks' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworksPartDataCenter' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworks200ResponseVirtualNetworks' => false, 'KatapultAPI\\Core\\Model\\NetworkSpeedProfile' => false, 'KatapultAPI\\Core\\Model\\GetAddressLists200ResponseAddressLists' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationAddressLists200ResponseAddressLists' => false, 'KatapultAPI\\Core\\Model\\AddressList' => false, 'KatapultAPI\\Core\\Model\\AddressListEntry' => false, 'KatapultAPI\\Core\\Model\\AddressListArguments' => false, 'KatapultAPI\\Core\\Model\\AddressListLookup' => false, 'KatapultAPI\\Core\\Model\\AddressListEntryArguments' => false, 'KatapultAPI\\Core\\Model\\AddressListEntryLookup' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationCertificates200ResponseCertificates' => false, 'KatapultAPI\\Core\\Model\\Certificate' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationLoadBalancers200ResponseLoadBalancers' => false, 'KatapultAPI\\Core\\Model\\LoadBalancerResource' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationLoadBalancersPartIPAddress' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationLoadBalancersPartDataCenter' => false, 'KatapultAPI\\Core\\Model\\LoadBalancerArguments' => false, 'KatapultAPI\\Core\\Model\\LoadBalancerWeightsArguments' => false, 'KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancers201ResponseLoadBalancer' => false, 'KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancersPartIPAddress' => false, 'KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancersPartDataCenter' => false, 'KatapultAPI\\Core\\Model\\LoadBalancerWeight' => false, 'KatapultAPI\\Core\\Model\\GetLoadBalancer200ResponseLoadBalancer' => false, 'KatapultAPI\\Core\\Model\\GetLoadBalancerPartIPAddress' => false, 'KatapultAPI\\Core\\Model\\GetLoadBalancerPartDataCenter' => false, 'KatapultAPI\\Core\\Model\\LoadBalancerLookup' => false, 'KatapultAPI\\Core\\Model\\PatchLoadBalancer200ResponseLoadBalancer' => false, 'KatapultAPI\\Core\\Model\\PatchLoadBalancerPartIPAddress' => false, 'KatapultAPI\\Core\\Model\\PatchLoadBalancerPartDataCenter' => false, 'KatapultAPI\\Core\\Model\\DeleteLoadBalancer200ResponseLoadBalancer' => false, 'KatapultAPI\\Core\\Model\\GetLoadBalancerRules200ResponseLoadBalancerRules' => false, 'KatapultAPI\\Core\\Model\\GetLoadBalancerRulesPartCertificates' => false, 'KatapultAPI\\Core\\Model\\LoadBalancerRuleArguments' => false, 'KatapultAPI\\Core\\Model\\CertificateLookup' => false, 'KatapultAPI\\Core\\Model\\PostLoadBalancerRules200ResponseLoadBalancerRule' => false, 'KatapultAPI\\Core\\Model\\PostLoadBalancerRulesPartCertificates' => false, 'KatapultAPI\\Core\\Model\\PostLoadBalancerRulesPartLoadBalancer' => false, 'KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule' => false, 'KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRulePartCertificates' => false, 'KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer' => false, 'KatapultAPI\\Core\\Model\\LoadBalancerRuleLookup' => false, 'KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule' => false, 'KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartCertificates' => false, 'KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer' => false, 'KatapultAPI\\Core\\Model\\DeleteLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationIPAddresses200ResponseIPAddresses' => false, 'KatapultAPI\\Core\\Model\\APIAuthenticator503Schema' => false, 'KatapultAPI\\Core\\Model\\NoAvailableAddressesSchema' => false, 'KatapultAPI\\Core\\Model\\GetIPAddress200ResponseAllocation' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfaces' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacesPartNetwork' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacesPartIPAddresses' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterface' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartNetwork' => false, 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartIPAddresses' => false, 'KatapultAPI\\Core\\Model\\InterfaceNotFoundSchema' => false, 'KatapultAPI\\Core\\Model\\GetVMNIVMNI200ResponseVirtualMachineNetworkInterface' => false, 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartNetwork' => false, 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartIPAddresses' => false, 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartSpeedProfile' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfaceLookup' => false, 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterface' => false, 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine' => false, 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork' => false, 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfaceNotFoundSchema' => false, 'KatapultAPI\\Core\\Model\\InvalidIPSchema' => false, 'KatapultAPI\\Core\\Model\\NetworkSpeedProfileLookup' => false, 'KatapultAPI\\Core\\Model\\NetworkSpeedProfileNotFoundSchema' => false, 'KatapultAPI\\Core\\Model\\GetOrganizationTags200ResponseTags' => false, 'KatapultAPI\\Core\\Model\\TagArguments' => false, 'KatapultAPI\\Core\\Model\\TagLookup' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineGroupArguments' => false, 'KatapultAPI\\Core\\Model\\GetOperatingSystems200ResponseOperatingSystems' => false, 'KatapultAPI\\Core\\Model\\TrashObjectLookup' => false, 'KatapultAPI\\Core\\Model\\GetZones200ResponseZones' => false, 'KatapultAPI\\Core\\Model\\GetZonesPartDataCenter' => false, 'KatapultAPI\\Core\\Model\\GetCountries200ResponseCountries' => false, 'KatapultAPI\\Core\\Model\\GetCountryCountryStates200ResponseCountryStates' => false, 'KatapultAPI\\Core\\Model\\GetCurrencies200ResponseCurrencies' => false, 'KatapultAPI\\Core\\Model\\GetUsersCurrent200ResponseOrganizations' => false, 'KatapultAPI\\Core\\Model\\IdentityNotLinkedToWebSessionSchema' => false, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response' => false, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response' => false, 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response' => false, 'KatapultAPI\\Core\\Model\\ResponseDataCenterNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseTaskQueueingErrorResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseDiskNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseObjectInTrashResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseUnableToAssignResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseUnableToUnassignResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseUnassignedDiskResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseDiskTemplateNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseDiskTemplateVersionNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseGPUTypeNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseNoVirtualMachineForAPITokenResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineBuildNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseVirtualMachinePackageNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseSSHKeyNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseDeletionRestrictedResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseAPITokenNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseDiskBackupPolicyNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseDNSZoneNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseDNSZoneNotVerifiedResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseDNSRecordNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseSecurityGroupNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseSecurityGroupRuleNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseFileStorageVolumeNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseNetworkNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseAddressListNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseAddressListEntryNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseCertificateNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseLoadBalancerNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseLoadBalancerRuleNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseIPAddressNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseResourceDoesNotSupportUnallocationResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseNoAllocationResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineNetworkInterfaceNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseSpeedProfileAlreadyAssignedResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseTagNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineGroupNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseOperatingSystemNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseTrashObjectNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseZoneNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseCountryNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseCountryStateNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseCurrencyNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseTaskNotFoundResponse' => false, 'KatapultAPI\\Core\\Model\\ResponseNoUserAssociatedWithIdentityResponse' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensPostBody' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensPostResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensPostResponse200ApiToken' => false, 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenDeleteBody' => false, 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenDeleteResponse200ApiToken' => false, 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenPatchBody' => false, 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenPatchResponse200' => false, 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenPatchResponse200ApiToken' => false, 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenRegenerateSecretPostBody' => false, 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenRegenerateSecretPostResponse200' => false, 'KatapultAPI\\Core\\Model\\ApiTokensApiTokenRegenerateSecretPostResponse200ApiToken' => false, 'KatapultAPI\\Core\\Model\\AddressListsGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsPostBody' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsPostResponse201' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsPostResponse201AddressList' => false, 'KatapultAPI\\Core\\Model\\AddressListsAddressListDeleteBody' => false, 'KatapultAPI\\Core\\Model\\AddressListsAddressListDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\AddressListsAddressListDeleteResponse200AddressList' => false, 'KatapultAPI\\Core\\Model\\AddressListsAddressListGetResponse200' => false, 'KatapultAPI\\Core\\Model\\AddressListsAddressListGetResponse200AddressList' => false, 'KatapultAPI\\Core\\Model\\AddressListsAddressListPatchBody' => false, 'KatapultAPI\\Core\\Model\\AddressListsAddressListPatchResponse200' => false, 'KatapultAPI\\Core\\Model\\AddressListsAddressListPatchResponse200AddressList' => false, 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesPostBody' => false, 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesPostResponse201' => false, 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesPostResponse201AddressListEntry' => false, 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryDeleteBody' => false, 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryDeleteResponse200AddressListEntry' => false, 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryGetResponse200' => false, 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryGetResponse200AddressListEntry' => false, 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryPatchBody' => false, 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryPatchResponse200' => false, 'KatapultAPI\\Core\\Model\\AddressListEntriesAddressListEntryPatchResponse200AddressListEntry' => false, 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesBulkPostBody' => false, 'KatapultAPI\\Core\\Model\\AddressListsAddressListEntriesBulkPostResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationCertificatesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\CertificatesCertificateGetResponse200' => false, 'KatapultAPI\\Core\\Model\\CountriesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\CountriesCountryGetResponse200' => false, 'KatapultAPI\\Core\\Model\\CountriesCountryGetResponse200Country' => false, 'KatapultAPI\\Core\\Model\\CountriesCountryCountryStatesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\CountryStatesCountryStateGetResponse200' => false, 'KatapultAPI\\Core\\Model\\CountryStatesCountryStateGetResponse200CountryState' => false, 'KatapultAPI\\Core\\Model\\CurrenciesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\CurrenciesCurrencyGetResponse200' => false, 'KatapultAPI\\Core\\Model\\CurrenciesCurrencyGetResponse200Currency' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesPostBody' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesPostResponse201' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesPostResponse201DnsZone' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesNameserversGetResponse200' => false, 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneDeleteBody' => false, 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneGetResponse200' => false, 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneGetResponse200DnsZone' => false, 'KatapultAPI\\Core\\Model\\DnsZonesDnsZonePatchBody' => false, 'KatapultAPI\\Core\\Model\\DnsZonesDnsZonePatchResponse200' => false, 'KatapultAPI\\Core\\Model\\DnsZonesDnsZonePatchResponse200DnsZone' => false, 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneVerifyPostBody' => false, 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneVerifyPostResponse200' => false, 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneVerifyPostResponse200DnsZone' => false, 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneRecordsGetResponse200' => false, 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneRecordsPostBody' => false, 'KatapultAPI\\Core\\Model\\DnsZonesDnsZoneRecordsPostResponse200' => false, 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordDeleteBody' => false, 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordGetResponse200' => false, 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordGetResponse200DnsRecord' => false, 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordPatchBody' => false, 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordPatchResponse200' => false, 'KatapultAPI\\Core\\Model\\DnsRecordsDnsRecordPatchResponse200DnsRecord' => false, 'KatapultAPI\\Core\\Model\\DataCentersGetResponse200' => false, 'KatapultAPI\\Core\\Model\\DataCentersDataCenterGetResponse200' => false, 'KatapultAPI\\Core\\Model\\DataCentersDataCenterDefaultNetworkGetResponse200' => false, 'KatapultAPI\\Core\\Model\\DataCentersDataCenterDefaultNetworkGetResponse200Network' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDiskIoProfilesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDiskBackupPoliciesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostBody' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicy' => false, 'KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesPostBody' => false, 'KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesPostResponse200' => false, 'KatapultAPI\\Core\\Model\\DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicy' => false, 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteBody' => false, 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicy' => false, 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyGetResponse200' => false, 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicy' => false, 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchBody' => false, 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200' => false, 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicy' => false, 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteBody' => false, 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicy' => false, 'KatapultAPI\\Core\\Model\\DiskTemplatesDiskTemplateVersionsGetResponse200' => false, 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionGetResponse200' => false, 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersion' => false, 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200' => false, 'KatapultAPI\\Core\\Model\\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersion' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDiskTemplatesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\DiskTemplatesDiskTemplateGetResponse200' => false, 'KatapultAPI\\Core\\Model\\DiskTemplatesDiskTemplateGetResponse200DiskTemplate' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksPostBody' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksPostResponse201' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksPostResponse201Disk' => false, 'KatapultAPI\\Core\\Model\\DisksDiskDeleteBody' => false, 'KatapultAPI\\Core\\Model\\DisksDiskDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\DisksDiskDeleteResponse200Disk' => false, 'KatapultAPI\\Core\\Model\\DisksDiskGetResponse200' => false, 'KatapultAPI\\Core\\Model\\DisksDiskGetResponse200Disk' => false, 'KatapultAPI\\Core\\Model\\DisksDiskPatchBody' => false, 'KatapultAPI\\Core\\Model\\DisksDiskPatchResponse200' => false, 'KatapultAPI\\Core\\Model\\DisksDiskPatchResponse200Disk' => false, 'KatapultAPI\\Core\\Model\\DisksDiskAssignPostBody' => false, 'KatapultAPI\\Core\\Model\\DisksDiskAssignPostResponse200' => false, 'KatapultAPI\\Core\\Model\\DisksDiskAssignPostResponse200Disk' => false, 'KatapultAPI\\Core\\Model\\DisksDiskUnassignPostBody' => false, 'KatapultAPI\\Core\\Model\\DisksDiskUnassignPostResponse200' => false, 'KatapultAPI\\Core\\Model\\DisksDiskUnassignPostResponse200Disk' => false, 'KatapultAPI\\Core\\Model\\DisksDiskAttachPostBody' => false, 'KatapultAPI\\Core\\Model\\DisksDiskAttachPostResponse200' => false, 'KatapultAPI\\Core\\Model\\DisksDiskAttachPostResponse200Disk' => false, 'KatapultAPI\\Core\\Model\\DisksDiskDetachPostBody' => false, 'KatapultAPI\\Core\\Model\\DisksDiskDetachPostResponse200' => false, 'KatapultAPI\\Core\\Model\\DisksDiskDetachPostResponse200Disk' => false, 'KatapultAPI\\Core\\Model\\DisksDiskResizePutBody' => false, 'KatapultAPI\\Core\\Model\\DisksDiskResizePutResponse200' => false, 'KatapultAPI\\Core\\Model\\DisksDiskResizePutResponse200Disk' => false, 'KatapultAPI\\Core\\Model\\DisksDiskIoProfilePutBody' => false, 'KatapultAPI\\Core\\Model\\DisksDiskIoProfilePutResponse200' => false, 'KatapultAPI\\Core\\Model\\DisksDiskIoProfilePutResponse200Disk' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDisksGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesPostBody' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesPostResponse201' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolume' => false, 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeDeleteBody' => false, 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolume' => false, 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeGetResponse200' => false, 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolume' => false, 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumePatchBody' => false, 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumePatchResponse200' => false, 'KatapultAPI\\Core\\Model\\FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolume' => false, 'KatapultAPI\\Core\\Model\\GpuTypesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\GpuTypesGpuTypeGetResponse200' => false, 'KatapultAPI\\Core\\Model\\DataCentersDataCenterGpuTypesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesPostBody' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesPostResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesPostResponse200IpAddress' => false, 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressDeleteBody' => false, 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressGetResponse200' => false, 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressGetResponse200IpAddress' => false, 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressGetResponse200Allocation' => false, 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressPatchBody' => false, 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressPatchResponse200' => false, 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressPatchResponse200IpAddress' => false, 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressUnallocatePostBody' => false, 'KatapultAPI\\Core\\Model\\IpAddressesIpAddressUnallocatePostResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersPostBody' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersPostResponse201' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersPostResponse201LoadBalancer' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerDeleteBody' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerDeleteResponse200LoadBalancer' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerGetResponse200' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerGetResponse200LoadBalancer' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerPatchBody' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerPatchResponse200' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerPatchResponse200LoadBalancer' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesPostBody' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesPostResponse200' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRule' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteBody' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRule' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleGetResponse200' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRule' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRulePatchBody' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRulePatchResponse200' => false, 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRule' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationNetworkSpeedProfilesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAvailableNetworksGetResponse200' => false, 'KatapultAPI\\Core\\Model\\NetworksNetworkGetResponse200' => false, 'KatapultAPI\\Core\\Model\\NetworksNetworkGetResponse200Network' => false, 'KatapultAPI\\Core\\Model\\OperatingSystemsGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OperatingSystemsOperatingSystemGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OperatingSystemsOperatingSystemGetResponse200OperatingSystem' => false, 'KatapultAPI\\Core\\Model\\OrganizationsGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationPolicyGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationPolicyLimitsGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationPricesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationUsersWithAccessGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationManagedGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationManagedPostBody' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationManagedPostResponse201' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSshKeysGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSshKeysPostBody' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSshKeysPostResponse201' => false, 'KatapultAPI\\Core\\Model\\SshKeysSshKeyDeleteBody' => false, 'KatapultAPI\\Core\\Model\\SshKeysSshKeyDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsPostBody' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsPostResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroup' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupDeleteBody' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupDeleteResponse200SecurityGroup' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupGetResponse200' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupGetResponse200SecurityGroup' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupPatchBody' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupPatchResponse200' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupPatchResponse200SecurityGroup' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesPostBody' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesPostResponse200' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRule' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteBody' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRule' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleGetResponse200' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRule' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRulePatchBody' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRulePatchResponse200' => false, 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRule' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsPostBody' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsPostResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsPostResponse200Tag' => false, 'KatapultAPI\\Core\\Model\\TagsTagDeleteBody' => false, 'KatapultAPI\\Core\\Model\\TagsTagDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\TagsTagDeleteResponse200Tag' => false, 'KatapultAPI\\Core\\Model\\TagsTagGetResponse200' => false, 'KatapultAPI\\Core\\Model\\TagsTagGetResponse200Tag' => false, 'KatapultAPI\\Core\\Model\\TagsTagPatchBody' => false, 'KatapultAPI\\Core\\Model\\TagsTagPatchResponse200' => false, 'KatapultAPI\\Core\\Model\\TagsTagPatchResponse200Tag' => false, 'KatapultAPI\\Core\\Model\\TasksTaskGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTrashObjectsGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTrashObjectsPurgeAllPostBody' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200' => false, 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectDeleteBody' => false, 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectGetResponse200' => false, 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectGetResponse200TrashObject' => false, 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectRestorePostBody' => false, 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectRestorePostResponse200' => false, 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectRestorePostResponse200TrashObject' => false, 'KatapultAPI\\Core\\Model\\UsersCurrentGetResponse200' => false, 'KatapultAPI\\Core\\Model\\InvalidateLinkedWebSessionPostBody' => false, 'KatapultAPI\\Core\\Model\\InvalidateLinkedWebSessionPostResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostBody' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroup' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteBody' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroup' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupGetResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroup' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchBody' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroup' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterface' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterface' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsAddressVersionGetResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostBody' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterface' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostBody' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddress' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchBody' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Task' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinePackagesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinePackagesVirtualMachinePackageGetResponse200' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDeleteBody' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDeleteResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineGetResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePatchBody' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePatchResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePatchResponse200VirtualMachine' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePackagePutBody' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePackagePutResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineFlexibleResourcesPutBody' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineAllocateIpPostBody' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineAllocateIpPostResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddress' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostBody' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201Build' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostBody' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201' => false, 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Build' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesBuildsVirtualMachineBuildGetResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStartPostBody' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStartPostResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStopPostBody' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStopPostResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineShutdownPostBody' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineShutdownPostResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineResetPostBody' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineResetPostResponse200' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineConsoleSessionsPostBody' => false, 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineConsoleSessionsPostResponse201' => false, 'KatapultAPI\\Core\\Model\\ZonesGetResponse200' => false, 'KatapultAPI\\Core\\Model\\ZonesZoneGetResponse200' => false, 'KatapultAPI\\Core\\Model\\ZonesZoneGetResponse200Zone' => false, '\\Jane\\Component\\JsonSchemaRuntime\\Reference' => false]; + return [ + \KatapultAPI\Core\Model\GetDataCenters200ResponseDataCenters::class => false, + \KatapultAPI\Core\Model\GetDataCentersPartCountry::class => false, + \KatapultAPI\Core\Model\UnauthorizedNetworkForAPIToken::class => false, + \KatapultAPI\Core\Model\UnauthorizedNetworkForAPITokenSchema::class => false, + \KatapultAPI\Core\Model\InvalidAPIToken::class => false, + \KatapultAPI\Core\Model\InvalidAPITokenSchema::class => false, + \KatapultAPI\Core\Model\InvalidCapabilitiesTokenSchema::class => false, + \KatapultAPI\Core\Model\ScopeNotGrantedError::class => false, + \KatapultAPI\Core\Model\ScopeNotGrantedErrorSchema::class => false, + \KatapultAPI\Core\Model\RateLimitReached::class => false, + \KatapultAPI\Core\Model\GetDataCenter200ResponseDataCenter::class => false, + \KatapultAPI\Core\Model\GetDataCenterPartCountry::class => false, + \KatapultAPI\Core\Model\GetDataCenterDefaultNetwork200ResponseNetwork::class => false, + \KatapultAPI\Core\Model\GetDataCenterDefaultNetworkPartDataCenter::class => false, + \KatapultAPI\Core\Model\GetOrganizations200ResponseOrganizations::class => false, + \KatapultAPI\Core\Model\Organization::class => false, + \KatapultAPI\Core\Model\OrganizationCountry::class => false, + \KatapultAPI\Core\Model\OrganizationCountryState::class => false, + \KatapultAPI\Core\Model\Currency::class => false, + \KatapultAPI\Core\Model\Country::class => false, + \KatapultAPI\Core\Model\CountryState::class => false, + \KatapultAPI\Core\Model\OrganizationSuspendedSchema::class => false, + \KatapultAPI\Core\Model\OrganizationNotActivatedSchema::class => false, + \KatapultAPI\Core\Model\PolicyLimits::class => false, + \KatapultAPI\Core\Model\FinancialPolicyLimit::class => false, + \KatapultAPI\Core\Model\PolicyLimit::class => false, + \KatapultAPI\Core\Model\PolicyLimitWithoutCurrent::class => false, + \KatapultAPI\Core\Model\PolicyFeatures::class => false, + \KatapultAPI\Core\Model\PolicyFeature::class => false, + \KatapultAPI\Core\Model\APIAuthenticator400Schema::class => false, + \KatapultAPI\Core\Model\PolicyNotAvailableForManagedOrganizationsSchema::class => false, + \KatapultAPI\Core\Model\OrganizationPolicy::class => false, + \KatapultAPI\Core\Model\DecimalOrUnlimited::class => false, + \KatapultAPI\Core\Model\IntegerOrUnlimited::class => false, + \KatapultAPI\Core\Model\IntegerValue::class => false, + \KatapultAPI\Core\Model\PriceResourceWithSinglePriceVariant::class => false, + \KatapultAPI\Core\Model\SinglePriceVariant::class => false, + \KatapultAPI\Core\Model\PricesNotAvailableForManagedOrganizationsSchema::class => false, + \KatapultAPI\Core\Model\PaginationObject::class => false, + \KatapultAPI\Core\Model\GetOrganizationUsersWithAccess200ResponseUsers::class => false, + \KatapultAPI\Core\Model\GetOrganizationUsersWithAccess200ResponseUsersUser::class => false, + \KatapultAPI\Core\Model\User::class => false, + \KatapultAPI\Core\Model\GetOrganizationManaged200ResponseOrganizations::class => false, + \KatapultAPI\Core\Model\OrganizationLookup::class => false, + \KatapultAPI\Core\Model\KeyValue::class => false, + \KatapultAPI\Core\Model\OrganizationLimitReachedSchema::class => false, + \KatapultAPI\Core\Model\ValidationError::class => false, + \KatapultAPI\Core\Model\ValidationErrorSchema::class => false, + \KatapultAPI\Core\Model\GetOrganizationDisks200ResponseDisk::class => false, + \KatapultAPI\Core\Model\GetOrganizationDisks200ResponseDiskVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\GetOrganizationDisksPartVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\GetOrganizationDisksPartVirtualMachine::class => false, + \KatapultAPI\Core\Model\DiskArguments::class => false, + \KatapultAPI\Core\Model\DataCenterLookup::class => false, + \KatapultAPI\Core\Model\DiskIOProfileLookup::class => false, + \KatapultAPI\Core\Model\VirtualMachineDiskArguments::class => false, + \KatapultAPI\Core\Model\VirtualMachineLookup::class => false, + \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDisk::class => false, + \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskIoProfile::class => false, + \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskInstallation::class => false, + \KatapultAPI\Core\Model\DiskIOProfile::class => false, + \KatapultAPI\Core\Model\PostOrganizationDisksPartDataCenter::class => false, + \KatapultAPI\Core\Model\PostOrganizationDisksPartVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\PostOrganizationDisksPartVirtualMachine::class => false, + \KatapultAPI\Core\Model\DiskInstallation::class => false, + \KatapultAPI\Core\Model\DiskTemplateVersion::class => false, + \KatapultAPI\Core\Model\DiskTemplate::class => false, + \KatapultAPI\Core\Model\DiskTemplateLatestVersion::class => false, + \KatapultAPI\Core\Model\DiskTemplateOperatingSystem::class => false, + \KatapultAPI\Core\Model\OperatingSystem::class => false, + \KatapultAPI\Core\Model\OperatingSystemBadge::class => false, + \KatapultAPI\Core\Model\Attachment::class => false, + \KatapultAPI\Core\Model\DiskInstallationAttribute::class => false, + \KatapultAPI\Core\Model\Task::class => false, + \KatapultAPI\Core\Model\PermissionDenied::class => false, + \KatapultAPI\Core\Model\PermissionDeniedSchema::class => false, + \KatapultAPI\Core\Model\TaskQueueingError::class => false, + \KatapultAPI\Core\Model\GetDisk200ResponseDisk::class => false, + \KatapultAPI\Core\Model\GetDisk200ResponseDiskIoProfile::class => false, + \KatapultAPI\Core\Model\GetDisk200ResponseDiskVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\GetDisk200ResponseDiskInstallation::class => false, + \KatapultAPI\Core\Model\GetDiskPartDataCenter::class => false, + \KatapultAPI\Core\Model\GetDiskPartVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\GetDiskPartVirtualMachine::class => false, + \KatapultAPI\Core\Model\ObjectInTrash::class => false, + \KatapultAPI\Core\Model\ObjectInTrashTrashObject::class => false, + \KatapultAPI\Core\Model\TrashObject::class => false, + \KatapultAPI\Core\Model\DiskLookup::class => false, + \KatapultAPI\Core\Model\PatchDisk200ResponseDisk::class => false, + \KatapultAPI\Core\Model\PatchDisk200ResponseDiskIoProfile::class => false, + \KatapultAPI\Core\Model\PatchDisk200ResponseDiskVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\PatchDisk200ResponseDiskInstallation::class => false, + \KatapultAPI\Core\Model\PatchDiskPartDataCenter::class => false, + \KatapultAPI\Core\Model\PatchDiskPartVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\PatchDiskPartVirtualMachine::class => false, + \KatapultAPI\Core\Model\UnassignedDiskSchema::class => false, + \KatapultAPI\Core\Model\DeleteDisk200ResponseDisk::class => false, + \KatapultAPI\Core\Model\DeleteDisk200ResponseDiskIoProfile::class => false, + \KatapultAPI\Core\Model\DeleteDisk200ResponseDiskVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\DeleteDisk200ResponseDiskInstallation::class => false, + \KatapultAPI\Core\Model\DeleteDiskPartDataCenter::class => false, + \KatapultAPI\Core\Model\DeleteDiskPartVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\DeleteDiskPartVirtualMachine::class => false, + \KatapultAPI\Core\Model\PostDiskAssign200ResponseDisk::class => false, + \KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskIoProfile::class => false, + \KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskInstallation::class => false, + \KatapultAPI\Core\Model\PostDiskAssignPartDataCenter::class => false, + \KatapultAPI\Core\Model\PostDiskAssignPartVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\PostDiskAssignPartVirtualMachine::class => false, + \KatapultAPI\Core\Model\DiskNotFoundSchema::class => false, + \KatapultAPI\Core\Model\VirtualMachineNotFoundSchema::class => false, + \KatapultAPI\Core\Model\UnableToAssign::class => false, + \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDisk::class => false, + \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskIoProfile::class => false, + \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskInstallation::class => false, + \KatapultAPI\Core\Model\PostDiskUnassignPartDataCenter::class => false, + \KatapultAPI\Core\Model\PostDiskUnassignPartVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\PostDiskUnassignPartVirtualMachine::class => false, + \KatapultAPI\Core\Model\UnableToUnassign::class => false, + \KatapultAPI\Core\Model\PostDiskAttach200ResponseDisk::class => false, + \KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskIoProfile::class => false, + \KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskInstallation::class => false, + \KatapultAPI\Core\Model\PostDiskAttachPartDataCenter::class => false, + \KatapultAPI\Core\Model\PostDiskAttachPartVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\PostDiskAttachPartVirtualMachine::class => false, + \KatapultAPI\Core\Model\ObjectInTrashSchema::class => false, + \KatapultAPI\Core\Model\TaskQueueingErrorSchema::class => false, + \KatapultAPI\Core\Model\PostDiskDetach200ResponseDisk::class => false, + \KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskIoProfile::class => false, + \KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskInstallation::class => false, + \KatapultAPI\Core\Model\PostDiskDetachPartDataCenter::class => false, + \KatapultAPI\Core\Model\PostDiskDetachPartVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\PostDiskDetachPartVirtualMachine::class => false, + \KatapultAPI\Core\Model\PutDiskResize200ResponseDisk::class => false, + \KatapultAPI\Core\Model\PutDiskResize200ResponseDiskIoProfile::class => false, + \KatapultAPI\Core\Model\PutDiskResize200ResponseDiskVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\PutDiskResize200ResponseDiskInstallation::class => false, + \KatapultAPI\Core\Model\PutDiskResizePartDataCenter::class => false, + \KatapultAPI\Core\Model\PutDiskResizePartVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\PutDiskResizePartVirtualMachine::class => false, + \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDisk::class => false, + \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskIoProfile::class => false, + \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskInstallation::class => false, + \KatapultAPI\Core\Model\PutDiskIOProfilePartDataCenter::class => false, + \KatapultAPI\Core\Model\PutDiskIOProfilePartVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\PutDiskIOProfilePartVirtualMachine::class => false, + \KatapultAPI\Core\Model\DiskIOProfileNotFoundSchema::class => false, + \KatapultAPI\Core\Model\GetVirtualMachineDisks200ResponseDisks::class => false, + \KatapultAPI\Core\Model\GetVirtualMachineDisksPartDisk::class => false, + \KatapultAPI\Core\Model\GetOrganizationDiskTemplates200ResponseDiskTemplates::class => false, + \KatapultAPI\Core\Model\GetOrganizationDiskTemplates200ResponseDiskTemplatesLatestVersion::class => false, + \KatapultAPI\Core\Model\GetOrganizationDiskTemplates200ResponseDiskTemplatesOperatingSystem::class => false, + \KatapultAPI\Core\Model\GetOrganizationDiskTemplatesPartLatestVersion::class => false, + \KatapultAPI\Core\Model\GetOrganizationDiskTemplatesPartOperatingSystem::class => false, + \KatapultAPI\Core\Model\OrganizationNotFoundSchema::class => false, + \KatapultAPI\Core\Model\OperatingSystemNotFoundSchema::class => false, + \KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplate::class => false, + \KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplateLatestVersion::class => false, + \KatapultAPI\Core\Model\GetDiskTemplate200ResponseDiskTemplateOperatingSystem::class => false, + \KatapultAPI\Core\Model\GetDiskTemplatePartLatestVersion::class => false, + \KatapultAPI\Core\Model\GetDiskTemplateVersions200ResponseDiskTemplate::class => false, + \KatapultAPI\Core\Model\GetDiskTemplateVersions200ResponseDiskTemplateVersions::class => false, + \KatapultAPI\Core\Model\GetDiskTemplateVersion200ResponseDiskTemplateVersion::class => false, + \KatapultAPI\Core\Model\GetDiskTemplateVersionPartDiskTemplate::class => false, + \KatapultAPI\Core\Model\GetDiskTemplateVersionSpec200ResponseDiskTemplateVersion::class => false, + \KatapultAPI\Core\Model\GetDiskTemplateVersionSpecPartDiskTemplate::class => false, + \KatapultAPI\Core\Model\TemplateSpec::class => false, + \KatapultAPI\Core\Model\TemplateSpecField::class => false, + \KatapultAPI\Core\Model\GetGPUTypes200ResponseGPUTypes::class => false, + \KatapultAPI\Core\Model\GetGPUTypes200ResponseGPUTypesDataCentersItem::class => false, + \KatapultAPI\Core\Model\GetGPUTypesPartDataCenters::class => false, + \KatapultAPI\Core\Model\GetGPUType200ResponseGPUType::class => false, + \KatapultAPI\Core\Model\GetGPUType200ResponseGPUTypeDataCentersItem::class => false, + \KatapultAPI\Core\Model\GetGPUTypePartDataCenters::class => false, + \KatapultAPI\Core\Model\GetDataCenterGPUTypes200ResponseGPUTypes::class => false, + \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachines::class => false, + \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachinesPackage::class => false, + \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachinesGpuType::class => false, + \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachinesHypervisor::class => false, + \KatapultAPI\Core\Model\Zone::class => false, + \KatapultAPI\Core\Model\DataCenter::class => false, + \KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartPackage::class => false, + \KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartGPUType::class => false, + \KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartIPAddresses::class => false, + \KatapultAPI\Core\Model\GetOrganizationVirtualMachinesPartHypervisor::class => false, + \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachine::class => false, + \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineGroup::class => false, + \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachinePackage::class => false, + \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineAttachedIso::class => false, + \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineGpuType::class => false, + \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachineHypervisor::class => false, + \KatapultAPI\Core\Model\VirtualMachineGroup::class => false, + \KatapultAPI\Core\Model\VirtualMachinePackage::class => false, + \KatapultAPI\Core\Model\VirtualMachinePackageIcon::class => false, + \KatapultAPI\Core\Model\VirtualMachinePackageGroup::class => false, + \KatapultAPI\Core\Model\ISO::class => false, + \KatapultAPI\Core\Model\ISOOperatingSystem::class => false, + \KatapultAPI\Core\Model\GetVirtualMachinePartGPUType::class => false, + \KatapultAPI\Core\Model\VirtualMachineGPU::class => false, + \KatapultAPI\Core\Model\GPUType::class => false, + \KatapultAPI\Core\Model\GPUTypeDataCentersItem::class => false, + \KatapultAPI\Core\Model\Tag::class => false, + \KatapultAPI\Core\Model\IPAddress::class => false, + \KatapultAPI\Core\Model\Network::class => false, + \KatapultAPI\Core\Model\Hypervisor::class => false, + \KatapultAPI\Core\Model\VirtualMachineArguments::class => false, + \KatapultAPI\Core\Model\GPUTypeLookup::class => false, + \KatapultAPI\Core\Model\VirtualMachineGroupLookup::class => false, + \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachine::class => false, + \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineGroup::class => false, + \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachinePackage::class => false, + \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineAttachedIso::class => false, + \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineGpuType::class => false, + \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineHypervisor::class => false, + \KatapultAPI\Core\Model\PatchVirtualMachinePartGPUType::class => false, + \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachine::class => false, + \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineGroup::class => false, + \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachinePackage::class => false, + \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineAttachedIso::class => false, + \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineGpuType::class => false, + \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachineHypervisor::class => false, + \KatapultAPI\Core\Model\DeleteVirtualMachinePartGPUType::class => false, + \KatapultAPI\Core\Model\VirtualMachinePackageLookup::class => false, + \KatapultAPI\Core\Model\VirtualMachinePackageNotFoundSchema::class => false, + \KatapultAPI\Core\Model\VirtualMachineFlexibleResources::class => false, + \KatapultAPI\Core\Model\FlexibleResourcesUnavailableToOrganizationSchema::class => false, + \KatapultAPI\Core\Model\IPAddressLookup::class => false, + \KatapultAPI\Core\Model\IPAddressNotFoundSchema::class => false, + \KatapultAPI\Core\Model\NoInterfaceAvailableSchema::class => false, + \KatapultAPI\Core\Model\IPAlreadyAllocatedSchema::class => false, + \KatapultAPI\Core\Model\ZoneLookup::class => false, + \KatapultAPI\Core\Model\DiskTemplateLookup::class => false, + \KatapultAPI\Core\Model\VirtualMachineBuildDiskArguments::class => false, + \KatapultAPI\Core\Model\NetworkLookup::class => false, + \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuild201ResponseTask::class => false, + \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuild201ResponseBuild::class => false, + \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuild::class => false, + \KatapultAPI\Core\Model\ResourceCreationRestricted::class => false, + \KatapultAPI\Core\Model\ResourceCreationRestrictedSchema::class => false, + \KatapultAPI\Core\Model\ZoneNotFoundSchema::class => false, + \KatapultAPI\Core\Model\DataCenterNotFoundSchema::class => false, + \KatapultAPI\Core\Model\DiskTemplateNotFoundSchema::class => false, + \KatapultAPI\Core\Model\NetworkNotFoundSchema::class => false, + \KatapultAPI\Core\Model\LocationRequiredSchema::class => false, + \KatapultAPI\Core\Model\OneSystemDiskRequiredSchema::class => false, + \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuildFromSpec201ResponseTask::class => false, + \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuildFromSpec201ResponseBuild::class => false, + \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuild::class => false, + \KatapultAPI\Core\Model\InvalidSpecXML::class => false, + \KatapultAPI\Core\Model\InvalidSpecXMLSchema::class => false, + \KatapultAPI\Core\Model\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuild::class => false, + \KatapultAPI\Core\Model\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuildVirtualMachine::class => false, + \KatapultAPI\Core\Model\GetVirtualMachinesBuildsVirtualMachineBuildPartVirtualMachine::class => false, + \KatapultAPI\Core\Model\PostVirtualMachineStart200ResponseTask::class => false, + \KatapultAPI\Core\Model\PostVirtualMachineStop200ResponseTask::class => false, + \KatapultAPI\Core\Model\PostVirtualMachineShutdown200ResponseTask::class => false, + \KatapultAPI\Core\Model\PostVirtualMachineReset200ResponseTask::class => false, + \KatapultAPI\Core\Model\PostVirtualMachineConsoleSessions201ResponseConsoleSession::class => false, + \KatapultAPI\Core\Model\PostVirtualMachineConsoleSessionsPartVirtualMachine::class => false, + \KatapultAPI\Core\Model\VirtualMachineMustBeStarted::class => false, + \KatapultAPI\Core\Model\VirtualMachineMustBeStartedSchema::class => false, + \KatapultAPI\Core\Model\AuthSSHKey::class => false, + \KatapultAPI\Core\Model\AuthSSHKeyProperties::class => false, + \KatapultAPI\Core\Model\AuthSSHKeyLookup::class => false, + \KatapultAPI\Core\Model\DeletionRestricted::class => false, + \KatapultAPI\Core\Model\APIToken::class => false, + \KatapultAPI\Core\Model\APITokenArguments::class => false, + \KatapultAPI\Core\Model\APITokenLookup::class => false, + \KatapultAPI\Core\Model\DeleteAPIToken200ResponseAPIToken::class => false, + \KatapultAPI\Core\Model\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPolicies::class => false, + \KatapultAPI\Core\Model\DiskBackupPolicyTarget::class => false, + \KatapultAPI\Core\Model\VirtualMachine::class => false, + \KatapultAPI\Core\Model\VirtualMachineAttachedIso::class => false, + \KatapultAPI\Core\Model\VirtualMachineGpuType::class => false, + \KatapultAPI\Core\Model\VirtualMachineHypervisor::class => false, + \KatapultAPI\Core\Model\Disk::class => false, + \KatapultAPI\Core\Model\DiskIoProfile::class => false, + \KatapultAPI\Core\Model\DiskVirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\VirtualMachineDisk::class => false, + \KatapultAPI\Core\Model\GetOrganizationDiskBackupPoliciesPartSchedule::class => false, + \KatapultAPI\Core\Model\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicies::class => false, + \KatapultAPI\Core\Model\GetVirtualMachineDiskBackupPoliciesPartSchedule::class => false, + \KatapultAPI\Core\Model\GetDiskDiskBackupPolicies200ResponseDiskBackupPolicies::class => false, + \KatapultAPI\Core\Model\GetDiskDiskBackupPoliciesPartSchedule::class => false, + \KatapultAPI\Core\Model\GetDiskBackupPolicy200ResponseDiskBackupPolicy::class => false, + \KatapultAPI\Core\Model\Schedule::class => false, + \KatapultAPI\Core\Model\DiskBackupPolicyLookup::class => false, + \KatapultAPI\Core\Model\DeleteDiskBackupPolicy200ResponseDiskBackupPolicy::class => false, + \KatapultAPI\Core\Model\DeleteDiskBackupPolicySchedule200ResponseDiskBackupPolicy::class => false, + \KatapultAPI\Core\Model\InvalidTimestampSchema::class => false, + \KatapultAPI\Core\Model\DiskBackupPolicyArguments::class => false, + \KatapultAPI\Core\Model\ScheduleArguments::class => false, + \KatapultAPI\Core\Model\PatchDiskBackupPolicy200ResponseDiskBackupPolicy::class => false, + \KatapultAPI\Core\Model\PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicy::class => false, + \KatapultAPI\Core\Model\PostDiskDiskBackupPolicies200ResponseDiskBackupPolicy::class => false, + \KatapultAPI\Core\Model\DNSZone::class => false, + \KatapultAPI\Core\Model\DNSZoneArguments::class => false, + \KatapultAPI\Core\Model\DNSZoneLookup::class => false, + \KatapultAPI\Core\Model\DNSRecord::class => false, + \KatapultAPI\Core\Model\DNSRecordContentAttributes::class => false, + \KatapultAPI\Core\Model\DNSRecordContentAttributesA::class => false, + \KatapultAPI\Core\Model\DNSRecordContentAttributesAAAA::class => false, + \KatapultAPI\Core\Model\DNSRecordContentAttributesALIAS::class => false, + \KatapultAPI\Core\Model\DNSRecordContentAttributesCAA::class => false, + \KatapultAPI\Core\Model\DNSRecordContentAttributesCNAME::class => false, + \KatapultAPI\Core\Model\DNSRecordContentAttributesIPS::class => false, + \KatapultAPI\Core\Model\DNSRecordContentAttributesMX::class => false, + \KatapultAPI\Core\Model\DNSRecordContentAttributesNS::class => false, + \KatapultAPI\Core\Model\DNSRecordContentAttributesPTR::class => false, + \KatapultAPI\Core\Model\DNSRecordContentAttributesSRV::class => false, + \KatapultAPI\Core\Model\DNSRecordContentAttributesSSHFP::class => false, + \KatapultAPI\Core\Model\DNSRecordContentAttributesTXT::class => false, + \KatapultAPI\Core\Model\DNSRecordContentAttributesVirtualMachine::class => false, + \KatapultAPI\Core\Model\RecordContentAttributesForA::class => false, + \KatapultAPI\Core\Model\RecordContentAttributesForAAAA::class => false, + \KatapultAPI\Core\Model\RecordContentAttributesForALIAS::class => false, + \KatapultAPI\Core\Model\RecordContentAttributesForCAA::class => false, + \KatapultAPI\Core\Model\RecordContentAttributesForCNAME::class => false, + \KatapultAPI\Core\Model\RecordContentAttributesForIPS::class => false, + \KatapultAPI\Core\Model\RecordContentAttributesForMX::class => false, + \KatapultAPI\Core\Model\RecordContentAttributesForNS::class => false, + \KatapultAPI\Core\Model\RecordContentAttributesForPTR::class => false, + \KatapultAPI\Core\Model\RecordContentAttributesForSRV::class => false, + \KatapultAPI\Core\Model\RecordContentAttributesForSSHFP::class => false, + \KatapultAPI\Core\Model\RecordContentAttributesForTXT::class => false, + \KatapultAPI\Core\Model\RecordContentAttributesForVirtualMachine::class => false, + \KatapultAPI\Core\Model\DNSRecordArguments::class => false, + \KatapultAPI\Core\Model\DNSRecordContentArguments::class => false, + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForA::class => false, + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForAAAA::class => false, + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForALIAS::class => false, + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForCAA::class => false, + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForCNAME::class => false, + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForIPS::class => false, + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForMX::class => false, + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForNS::class => false, + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForPTR::class => false, + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForSRV::class => false, + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForSSHFP::class => false, + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForTXT::class => false, + \KatapultAPI\Core\Model\DNSRecordContentArgumentsForVirtualMachine::class => false, + \KatapultAPI\Core\Model\DNSRecordLookup::class => false, + \KatapultAPI\Core\Model\SecurityGroup::class => false, + \KatapultAPI\Core\Model\SecurityGroupArguments::class => false, + \KatapultAPI\Core\Model\SecurityGroupLookup::class => false, + \KatapultAPI\Core\Model\DeleteSecurityGroup200ResponseSecurityGroup::class => false, + \KatapultAPI\Core\Model\GetSecurityGroupRules200ResponseSecurityGroupRules::class => false, + \KatapultAPI\Core\Model\SecurityGroupRuleArguments::class => false, + \KatapultAPI\Core\Model\PostSecurityGroupRules200ResponseSecurityGroupRule::class => false, + \KatapultAPI\Core\Model\PostSecurityGroupRulesPartSecurityGroup::class => false, + \KatapultAPI\Core\Model\GetSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule::class => false, + \KatapultAPI\Core\Model\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup::class => false, + \KatapultAPI\Core\Model\SecurityGroupRuleLookup::class => false, + \KatapultAPI\Core\Model\PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule::class => false, + \KatapultAPI\Core\Model\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup::class => false, + \KatapultAPI\Core\Model\DeleteSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule::class => false, + \KatapultAPI\Core\Model\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumes::class => false, + \KatapultAPI\Core\Model\GetOrganizationFileStorageVolumesPartDataCenter::class => false, + \KatapultAPI\Core\Model\GetFileStorageVolume200ResponseFileStorageVolume::class => false, + \KatapultAPI\Core\Model\GetFileStorageVolumePartDataCenter::class => false, + \KatapultAPI\Core\Model\FileStorageVolumeArguments::class => false, + \KatapultAPI\Core\Model\PostOrganizationFileStorageVolumes201ResponseFileStorageVolume::class => false, + \KatapultAPI\Core\Model\PostOrganizationFileStorageVolumesPartDataCenter::class => false, + \KatapultAPI\Core\Model\FileStorageVolumeLookup::class => false, + \KatapultAPI\Core\Model\PatchFileStorageVolume200ResponseFileStorageVolume::class => false, + \KatapultAPI\Core\Model\PatchFileStorageVolumePartDataCenter::class => false, + \KatapultAPI\Core\Model\DeleteFileStorageVolume200ResponseFileStorageVolume::class => false, + \KatapultAPI\Core\Model\DeleteFileStorageVolumePartDataCenter::class => false, + \KatapultAPI\Core\Model\GetOrganizationAvailableNetworks200ResponseNetworks::class => false, + \KatapultAPI\Core\Model\GetOrganizationAvailableNetworksPartDataCenter::class => false, + \KatapultAPI\Core\Model\GetOrganizationAvailableNetworks200ResponseVirtualNetworks::class => false, + \KatapultAPI\Core\Model\NetworkSpeedProfile::class => false, + \KatapultAPI\Core\Model\GetAddressLists200ResponseAddressLists::class => false, + \KatapultAPI\Core\Model\GetOrganizationAddressLists200ResponseAddressLists::class => false, + \KatapultAPI\Core\Model\AddressList::class => false, + \KatapultAPI\Core\Model\AddressListEntry::class => false, + \KatapultAPI\Core\Model\AddressListArguments::class => false, + \KatapultAPI\Core\Model\AddressListLookup::class => false, + \KatapultAPI\Core\Model\AddressListEntryArguments::class => false, + \KatapultAPI\Core\Model\AddressListEntryLookup::class => false, + \KatapultAPI\Core\Model\GetOrganizationCertificates200ResponseCertificates::class => false, + \KatapultAPI\Core\Model\Certificate::class => false, + \KatapultAPI\Core\Model\GetOrganizationLoadBalancers200ResponseLoadBalancers::class => false, + \KatapultAPI\Core\Model\LoadBalancerResource::class => false, + \KatapultAPI\Core\Model\GetOrganizationLoadBalancersPartIPAddress::class => false, + \KatapultAPI\Core\Model\GetOrganizationLoadBalancersPartDataCenter::class => false, + \KatapultAPI\Core\Model\LoadBalancerArguments::class => false, + \KatapultAPI\Core\Model\LoadBalancerWeightsArguments::class => false, + \KatapultAPI\Core\Model\PostOrganizationLoadBalancers201ResponseLoadBalancer::class => false, + \KatapultAPI\Core\Model\PostOrganizationLoadBalancersPartIPAddress::class => false, + \KatapultAPI\Core\Model\PostOrganizationLoadBalancersPartDataCenter::class => false, + \KatapultAPI\Core\Model\LoadBalancerWeight::class => false, + \KatapultAPI\Core\Model\GetLoadBalancer200ResponseLoadBalancer::class => false, + \KatapultAPI\Core\Model\GetLoadBalancerPartIPAddress::class => false, + \KatapultAPI\Core\Model\GetLoadBalancerPartDataCenter::class => false, + \KatapultAPI\Core\Model\LoadBalancerLookup::class => false, + \KatapultAPI\Core\Model\PatchLoadBalancer200ResponseLoadBalancer::class => false, + \KatapultAPI\Core\Model\PatchLoadBalancerPartIPAddress::class => false, + \KatapultAPI\Core\Model\PatchLoadBalancerPartDataCenter::class => false, + \KatapultAPI\Core\Model\DeleteLoadBalancer200ResponseLoadBalancer::class => false, + \KatapultAPI\Core\Model\GetLoadBalancerRules200ResponseLoadBalancerRules::class => false, + \KatapultAPI\Core\Model\GetLoadBalancerRulesPartCertificates::class => false, + \KatapultAPI\Core\Model\LoadBalancerRuleArguments::class => false, + \KatapultAPI\Core\Model\CertificateLookup::class => false, + \KatapultAPI\Core\Model\PostLoadBalancerRules200ResponseLoadBalancerRule::class => false, + \KatapultAPI\Core\Model\PostLoadBalancerRulesPartCertificates::class => false, + \KatapultAPI\Core\Model\PostLoadBalancerRulesPartLoadBalancer::class => false, + \KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule::class => false, + \KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRulePartCertificates::class => false, + \KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer::class => false, + \KatapultAPI\Core\Model\LoadBalancerRuleLookup::class => false, + \KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule::class => false, + \KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRulePartCertificates::class => false, + \KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer::class => false, + \KatapultAPI\Core\Model\DeleteLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule::class => false, + \KatapultAPI\Core\Model\GetOrganizationIPAddresses200ResponseIPAddresses::class => false, + \KatapultAPI\Core\Model\APIAuthenticator503Schema::class => false, + \KatapultAPI\Core\Model\NoAvailableAddressesSchema::class => false, + \KatapultAPI\Core\Model\GetIPAddress200ResponseAllocation::class => false, + \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfaces::class => false, + \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacesPartNetwork::class => false, + \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacesPartIPAddresses::class => false, + \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterface200ResponseVirtualMachineNetworkInterface::class => false, + \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartVirtualMachine::class => false, + \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartNetwork::class => false, + \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartIPAddresses::class => false, + \KatapultAPI\Core\Model\InterfaceNotFoundSchema::class => false, + \KatapultAPI\Core\Model\GetVMNIVMNI200ResponseVirtualMachineNetworkInterface::class => false, + \KatapultAPI\Core\Model\GetVMNIVMNIPartVirtualMachine::class => false, + \KatapultAPI\Core\Model\GetVMNIVMNIPartNetwork::class => false, + \KatapultAPI\Core\Model\GetVMNIVMNIPartIPAddresses::class => false, + \KatapultAPI\Core\Model\GetVMNIVMNIPartSpeedProfile::class => false, + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfaceLookup::class => false, + \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterface::class => false, + \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine::class => false, + \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork::class => false, + \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses::class => false, + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfaceNotFoundSchema::class => false, + \KatapultAPI\Core\Model\InvalidIPSchema::class => false, + \KatapultAPI\Core\Model\NetworkSpeedProfileLookup::class => false, + \KatapultAPI\Core\Model\NetworkSpeedProfileNotFoundSchema::class => false, + \KatapultAPI\Core\Model\GetOrganizationTags200ResponseTags::class => false, + \KatapultAPI\Core\Model\TagArguments::class => false, + \KatapultAPI\Core\Model\TagLookup::class => false, + \KatapultAPI\Core\Model\VirtualMachineGroupArguments::class => false, + \KatapultAPI\Core\Model\GetOperatingSystems200ResponseOperatingSystems::class => false, + \KatapultAPI\Core\Model\TrashObjectLookup::class => false, + \KatapultAPI\Core\Model\GetZones200ResponseZones::class => false, + \KatapultAPI\Core\Model\GetZonesPartDataCenter::class => false, + \KatapultAPI\Core\Model\GetCountries200ResponseCountries::class => false, + \KatapultAPI\Core\Model\GetCountryCountryStates200ResponseCountryStates::class => false, + \KatapultAPI\Core\Model\GetCurrencies200ResponseCurrencies::class => false, + \KatapultAPI\Core\Model\GetUsersCurrent200ResponseOrganizations::class => false, + \KatapultAPI\Core\Model\IdentityNotLinkedToWebSessionSchema::class => false, + \KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response::class => false, + \KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response::class => false, + \KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response::class => false, + \KatapultAPI\Core\Model\ResponseDataCenterNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseTaskQueueingErrorResponse::class => false, + \KatapultAPI\Core\Model\ResponseValidationErrorResponse::class => false, + \KatapultAPI\Core\Model\ResponseDiskNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseObjectInTrashResponse::class => false, + \KatapultAPI\Core\Model\ResponseUnableToAssignResponse::class => false, + \KatapultAPI\Core\Model\ResponseUnableToUnassignResponse::class => false, + \KatapultAPI\Core\Model\ResponseUnassignedDiskResponse::class => false, + \KatapultAPI\Core\Model\ResponseVirtualMachineNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseDiskTemplateNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseDiskTemplateVersionNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseGPUTypeNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseNoVirtualMachineForAPITokenResponse::class => false, + \KatapultAPI\Core\Model\ResponseVirtualMachineBuildNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseVirtualMachinePackageNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseSSHKeyNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseDeletionRestrictedResponse::class => false, + \KatapultAPI\Core\Model\ResponseAPITokenNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseDiskBackupPolicyNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseDNSZoneNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseDNSZoneNotVerifiedResponse::class => false, + \KatapultAPI\Core\Model\ResponseDNSRecordNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseSecurityGroupNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseSecurityGroupRuleNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseFileStorageVolumeNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseNetworkNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseAddressListNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseAddressListEntryNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseCertificateNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseLoadBalancerNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseLoadBalancerRuleNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseIPAddressNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseResourceDoesNotSupportUnallocationResponse::class => false, + \KatapultAPI\Core\Model\ResponseNoAllocationResponse::class => false, + \KatapultAPI\Core\Model\ResponseVirtualMachineNetworkInterfaceNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseSpeedProfileAlreadyAssignedResponse::class => false, + \KatapultAPI\Core\Model\ResponseTagNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseVirtualMachineGroupNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseOperatingSystemNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseTrashObjectNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseZoneNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseCountryNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseCountryStateNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseCurrencyNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseTaskNotFoundResponse::class => false, + \KatapultAPI\Core\Model\ResponseNoUserAssociatedWithIdentityResponse::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensPostBody::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensPostResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensPostResponse200ApiToken::class => false, + \KatapultAPI\Core\Model\ApiTokensApiTokenDeleteBody::class => false, + \KatapultAPI\Core\Model\ApiTokensApiTokenDeleteResponse200::class => false, + \KatapultAPI\Core\Model\ApiTokensApiTokenDeleteResponse200ApiToken::class => false, + \KatapultAPI\Core\Model\ApiTokensApiTokenPatchBody::class => false, + \KatapultAPI\Core\Model\ApiTokensApiTokenPatchResponse200::class => false, + \KatapultAPI\Core\Model\ApiTokensApiTokenPatchResponse200ApiToken::class => false, + \KatapultAPI\Core\Model\ApiTokensApiTokenRegenerateSecretPostBody::class => false, + \KatapultAPI\Core\Model\ApiTokensApiTokenRegenerateSecretPostResponse200::class => false, + \KatapultAPI\Core\Model\ApiTokensApiTokenRegenerateSecretPostResponse200ApiToken::class => false, + \KatapultAPI\Core\Model\AddressListsGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsPostBody::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsPostResponse201::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsPostResponse201AddressList::class => false, + \KatapultAPI\Core\Model\AddressListsAddressListDeleteBody::class => false, + \KatapultAPI\Core\Model\AddressListsAddressListDeleteResponse200::class => false, + \KatapultAPI\Core\Model\AddressListsAddressListDeleteResponse200AddressList::class => false, + \KatapultAPI\Core\Model\AddressListsAddressListGetResponse200::class => false, + \KatapultAPI\Core\Model\AddressListsAddressListGetResponse200AddressList::class => false, + \KatapultAPI\Core\Model\AddressListsAddressListPatchBody::class => false, + \KatapultAPI\Core\Model\AddressListsAddressListPatchResponse200::class => false, + \KatapultAPI\Core\Model\AddressListsAddressListPatchResponse200AddressList::class => false, + \KatapultAPI\Core\Model\AddressListsAddressListEntriesGetResponse200::class => false, + \KatapultAPI\Core\Model\AddressListsAddressListEntriesPostBody::class => false, + \KatapultAPI\Core\Model\AddressListsAddressListEntriesPostResponse201::class => false, + \KatapultAPI\Core\Model\AddressListsAddressListEntriesPostResponse201AddressListEntry::class => false, + \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryDeleteBody::class => false, + \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryDeleteResponse200::class => false, + \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryDeleteResponse200AddressListEntry::class => false, + \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryGetResponse200::class => false, + \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryGetResponse200AddressListEntry::class => false, + \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryPatchBody::class => false, + \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryPatchResponse200::class => false, + \KatapultAPI\Core\Model\AddressListEntriesAddressListEntryPatchResponse200AddressListEntry::class => false, + \KatapultAPI\Core\Model\AddressListsAddressListEntriesBulkPostBody::class => false, + \KatapultAPI\Core\Model\AddressListsAddressListEntriesBulkPostResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationCertificatesGetResponse200::class => false, + \KatapultAPI\Core\Model\CertificatesCertificateGetResponse200::class => false, + \KatapultAPI\Core\Model\CountriesGetResponse200::class => false, + \KatapultAPI\Core\Model\CountriesCountryGetResponse200::class => false, + \KatapultAPI\Core\Model\CountriesCountryGetResponse200Country::class => false, + \KatapultAPI\Core\Model\CountriesCountryCountryStatesGetResponse200::class => false, + \KatapultAPI\Core\Model\CountryStatesCountryStateGetResponse200::class => false, + \KatapultAPI\Core\Model\CountryStatesCountryStateGetResponse200CountryState::class => false, + \KatapultAPI\Core\Model\CurrenciesGetResponse200::class => false, + \KatapultAPI\Core\Model\CurrenciesCurrencyGetResponse200::class => false, + \KatapultAPI\Core\Model\CurrenciesCurrencyGetResponse200Currency::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesPostBody::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesPostResponse201::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesPostResponse201DnsZone::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesNameserversGetResponse200::class => false, + \KatapultAPI\Core\Model\DnsZonesDnsZoneDeleteBody::class => false, + \KatapultAPI\Core\Model\DnsZonesDnsZoneDeleteResponse200::class => false, + \KatapultAPI\Core\Model\DnsZonesDnsZoneGetResponse200::class => false, + \KatapultAPI\Core\Model\DnsZonesDnsZoneGetResponse200DnsZone::class => false, + \KatapultAPI\Core\Model\DnsZonesDnsZonePatchBody::class => false, + \KatapultAPI\Core\Model\DnsZonesDnsZonePatchResponse200::class => false, + \KatapultAPI\Core\Model\DnsZonesDnsZonePatchResponse200DnsZone::class => false, + \KatapultAPI\Core\Model\DnsZonesDnsZoneVerifyPostBody::class => false, + \KatapultAPI\Core\Model\DnsZonesDnsZoneVerifyPostResponse200::class => false, + \KatapultAPI\Core\Model\DnsZonesDnsZoneVerifyPostResponse200DnsZone::class => false, + \KatapultAPI\Core\Model\DnsZonesDnsZoneRecordsGetResponse200::class => false, + \KatapultAPI\Core\Model\DnsZonesDnsZoneRecordsPostBody::class => false, + \KatapultAPI\Core\Model\DnsZonesDnsZoneRecordsPostResponse200::class => false, + \KatapultAPI\Core\Model\DnsRecordsDnsRecordDeleteBody::class => false, + \KatapultAPI\Core\Model\DnsRecordsDnsRecordDeleteResponse200::class => false, + \KatapultAPI\Core\Model\DnsRecordsDnsRecordGetResponse200::class => false, + \KatapultAPI\Core\Model\DnsRecordsDnsRecordGetResponse200DnsRecord::class => false, + \KatapultAPI\Core\Model\DnsRecordsDnsRecordPatchBody::class => false, + \KatapultAPI\Core\Model\DnsRecordsDnsRecordPatchResponse200::class => false, + \KatapultAPI\Core\Model\DnsRecordsDnsRecordPatchResponse200DnsRecord::class => false, + \KatapultAPI\Core\Model\DataCentersGetResponse200::class => false, + \KatapultAPI\Core\Model\DataCentersDataCenterGetResponse200::class => false, + \KatapultAPI\Core\Model\DataCentersDataCenterDefaultNetworkGetResponse200::class => false, + \KatapultAPI\Core\Model\DataCentersDataCenterDefaultNetworkGetResponse200Network::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationDiskIoProfilesGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationDiskBackupPoliciesGetResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesPostBody::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicy::class => false, + \KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesGetResponse200::class => false, + \KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesPostBody::class => false, + \KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesPostResponse200::class => false, + \KatapultAPI\Core\Model\DisksDiskDiskBackupPoliciesPostResponse200DiskBackupPolicy::class => false, + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyDeleteBody::class => false, + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200::class => false, + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyDeleteResponse200DiskBackupPolicy::class => false, + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyGetResponse200::class => false, + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyGetResponse200DiskBackupPolicy::class => false, + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyPatchBody::class => false, + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyPatchResponse200::class => false, + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyPatchResponse200DiskBackupPolicy::class => false, + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteBody::class => false, + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200::class => false, + \KatapultAPI\Core\Model\DiskBackupPoliciesDiskBackupPolicyScheduleDeleteResponse200DiskBackupPolicy::class => false, + \KatapultAPI\Core\Model\DiskTemplatesDiskTemplateVersionsGetResponse200::class => false, + \KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionGetResponse200::class => false, + \KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionGetResponse200DiskTemplateVersion::class => false, + \KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200::class => false, + \KatapultAPI\Core\Model\DiskTemplateVersionsDiskTemplateVersionSpecGetResponse200DiskTemplateVersion::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationDiskTemplatesGetResponse200::class => false, + \KatapultAPI\Core\Model\DiskTemplatesDiskTemplateGetResponse200::class => false, + \KatapultAPI\Core\Model\DiskTemplatesDiskTemplateGetResponse200DiskTemplate::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationDisksGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationDisksPostBody::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationDisksPostResponse201::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationDisksPostResponse201Disk::class => false, + \KatapultAPI\Core\Model\DisksDiskDeleteBody::class => false, + \KatapultAPI\Core\Model\DisksDiskDeleteResponse200::class => false, + \KatapultAPI\Core\Model\DisksDiskDeleteResponse200Disk::class => false, + \KatapultAPI\Core\Model\DisksDiskGetResponse200::class => false, + \KatapultAPI\Core\Model\DisksDiskGetResponse200Disk::class => false, + \KatapultAPI\Core\Model\DisksDiskPatchBody::class => false, + \KatapultAPI\Core\Model\DisksDiskPatchResponse200::class => false, + \KatapultAPI\Core\Model\DisksDiskPatchResponse200Disk::class => false, + \KatapultAPI\Core\Model\DisksDiskAssignPostBody::class => false, + \KatapultAPI\Core\Model\DisksDiskAssignPostResponse200::class => false, + \KatapultAPI\Core\Model\DisksDiskAssignPostResponse200Disk::class => false, + \KatapultAPI\Core\Model\DisksDiskUnassignPostBody::class => false, + \KatapultAPI\Core\Model\DisksDiskUnassignPostResponse200::class => false, + \KatapultAPI\Core\Model\DisksDiskUnassignPostResponse200Disk::class => false, + \KatapultAPI\Core\Model\DisksDiskAttachPostBody::class => false, + \KatapultAPI\Core\Model\DisksDiskAttachPostResponse200::class => false, + \KatapultAPI\Core\Model\DisksDiskAttachPostResponse200Disk::class => false, + \KatapultAPI\Core\Model\DisksDiskDetachPostBody::class => false, + \KatapultAPI\Core\Model\DisksDiskDetachPostResponse200::class => false, + \KatapultAPI\Core\Model\DisksDiskDetachPostResponse200Disk::class => false, + \KatapultAPI\Core\Model\DisksDiskResizePutBody::class => false, + \KatapultAPI\Core\Model\DisksDiskResizePutResponse200::class => false, + \KatapultAPI\Core\Model\DisksDiskResizePutResponse200Disk::class => false, + \KatapultAPI\Core\Model\DisksDiskIoProfilePutBody::class => false, + \KatapultAPI\Core\Model\DisksDiskIoProfilePutResponse200::class => false, + \KatapultAPI\Core\Model\DisksDiskIoProfilePutResponse200Disk::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDisksGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesPostBody::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesPostResponse201::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolume::class => false, + \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeDeleteBody::class => false, + \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeDeleteResponse200::class => false, + \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeDeleteResponse200FileStorageVolume::class => false, + \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeGetResponse200::class => false, + \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumeGetResponse200FileStorageVolume::class => false, + \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumePatchBody::class => false, + \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumePatchResponse200::class => false, + \KatapultAPI\Core\Model\FileStorageVolumesFileStorageVolumePatchResponse200FileStorageVolume::class => false, + \KatapultAPI\Core\Model\GpuTypesGetResponse200::class => false, + \KatapultAPI\Core\Model\GpuTypesGpuTypeGetResponse200::class => false, + \KatapultAPI\Core\Model\DataCentersDataCenterGpuTypesGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesPostBody::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesPostResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesPostResponse200IpAddress::class => false, + \KatapultAPI\Core\Model\IpAddressesIpAddressDeleteBody::class => false, + \KatapultAPI\Core\Model\IpAddressesIpAddressDeleteResponse200::class => false, + \KatapultAPI\Core\Model\IpAddressesIpAddressGetResponse200::class => false, + \KatapultAPI\Core\Model\IpAddressesIpAddressGetResponse200IpAddress::class => false, + \KatapultAPI\Core\Model\IpAddressesIpAddressGetResponse200Allocation::class => false, + \KatapultAPI\Core\Model\IpAddressesIpAddressPatchBody::class => false, + \KatapultAPI\Core\Model\IpAddressesIpAddressPatchResponse200::class => false, + \KatapultAPI\Core\Model\IpAddressesIpAddressPatchResponse200IpAddress::class => false, + \KatapultAPI\Core\Model\IpAddressesIpAddressUnallocatePostBody::class => false, + \KatapultAPI\Core\Model\IpAddressesIpAddressUnallocatePostResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersPostBody::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersPostResponse201::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersPostResponse201LoadBalancer::class => false, + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerDeleteBody::class => false, + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerDeleteResponse200::class => false, + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerDeleteResponse200LoadBalancer::class => false, + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerGetResponse200::class => false, + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerGetResponse200LoadBalancer::class => false, + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerPatchBody::class => false, + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerPatchResponse200::class => false, + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerPatchResponse200LoadBalancer::class => false, + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesGetResponse200::class => false, + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesPostBody::class => false, + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesPostResponse200::class => false, + \KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRule::class => false, + \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleDeleteBody::class => false, + \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleDeleteResponse200::class => false, + \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRule::class => false, + \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleGetResponse200::class => false, + \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRule::class => false, + \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRulePatchBody::class => false, + \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRulePatchResponse200::class => false, + \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRule::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationNetworkSpeedProfilesGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationAvailableNetworksGetResponse200::class => false, + \KatapultAPI\Core\Model\NetworksNetworkGetResponse200::class => false, + \KatapultAPI\Core\Model\NetworksNetworkGetResponse200Network::class => false, + \KatapultAPI\Core\Model\OperatingSystemsGetResponse200::class => false, + \KatapultAPI\Core\Model\OperatingSystemsOperatingSystemGetResponse200::class => false, + \KatapultAPI\Core\Model\OperatingSystemsOperatingSystemGetResponse200OperatingSystem::class => false, + \KatapultAPI\Core\Model\OrganizationsGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationPolicyGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationPolicyLimitsGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationPricesGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationUsersWithAccessGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationManagedGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationManagedPostBody::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationManagedPostResponse201::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationSshKeysGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationSshKeysPostBody::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationSshKeysPostResponse201::class => false, + \KatapultAPI\Core\Model\SshKeysSshKeyDeleteBody::class => false, + \KatapultAPI\Core\Model\SshKeysSshKeyDeleteResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsPostBody::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsPostResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroup::class => false, + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupDeleteBody::class => false, + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupDeleteResponse200::class => false, + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupDeleteResponse200SecurityGroup::class => false, + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupGetResponse200::class => false, + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupGetResponse200SecurityGroup::class => false, + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupPatchBody::class => false, + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupPatchResponse200::class => false, + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupPatchResponse200SecurityGroup::class => false, + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesGetResponse200::class => false, + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesPostBody::class => false, + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesPostResponse200::class => false, + \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRule::class => false, + \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleDeleteBody::class => false, + \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200::class => false, + \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRule::class => false, + \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleGetResponse200::class => false, + \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRule::class => false, + \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRulePatchBody::class => false, + \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRulePatchResponse200::class => false, + \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRule::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationTagsGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationTagsPostBody::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationTagsPostResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationTagsPostResponse200Tag::class => false, + \KatapultAPI\Core\Model\TagsTagDeleteBody::class => false, + \KatapultAPI\Core\Model\TagsTagDeleteResponse200::class => false, + \KatapultAPI\Core\Model\TagsTagDeleteResponse200Tag::class => false, + \KatapultAPI\Core\Model\TagsTagGetResponse200::class => false, + \KatapultAPI\Core\Model\TagsTagGetResponse200Tag::class => false, + \KatapultAPI\Core\Model\TagsTagPatchBody::class => false, + \KatapultAPI\Core\Model\TagsTagPatchResponse200::class => false, + \KatapultAPI\Core\Model\TagsTagPatchResponse200Tag::class => false, + \KatapultAPI\Core\Model\TasksTaskGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationTrashObjectsGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationTrashObjectsPurgeAllPostBody::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200::class => false, + \KatapultAPI\Core\Model\TrashObjectsTrashObjectDeleteBody::class => false, + \KatapultAPI\Core\Model\TrashObjectsTrashObjectDeleteResponse200::class => false, + \KatapultAPI\Core\Model\TrashObjectsTrashObjectGetResponse200::class => false, + \KatapultAPI\Core\Model\TrashObjectsTrashObjectGetResponse200TrashObject::class => false, + \KatapultAPI\Core\Model\TrashObjectsTrashObjectRestorePostBody::class => false, + \KatapultAPI\Core\Model\TrashObjectsTrashObjectRestorePostResponse200::class => false, + \KatapultAPI\Core\Model\TrashObjectsTrashObjectRestorePostResponse200TrashObject::class => false, + \KatapultAPI\Core\Model\UsersCurrentGetResponse200::class => false, + \KatapultAPI\Core\Model\InvalidateLinkedWebSessionPostBody::class => false, + \KatapultAPI\Core\Model\InvalidateLinkedWebSessionPostResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsPostBody::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsPostResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroup::class => false, + \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupDeleteBody::class => false, + \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroup::class => false, + \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupGetResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroup::class => false, + \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupPatchBody::class => false, + \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupPatchResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroup::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterface::class => false, + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterface::class => false, + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsAddressVersionGetResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostBody::class => false, + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterface::class => false, + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostBody::class => false, + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddress::class => false, + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchBody::class => false, + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Task::class => false, + \KatapultAPI\Core\Model\VirtualMachinePackagesGetResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachinePackagesVirtualMachinePackageGetResponse200::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesGetResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDeleteBody::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDeleteResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineGetResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePatchBody::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePatchResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePatchResponse200VirtualMachine::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePackagePutBody::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePackagePutResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineFlexibleResourcesPutBody::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineAllocateIpPostBody::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineAllocateIpPostResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddress::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildPostBody::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildPostResponse201::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildPostResponse201Build::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostBody::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201::class => false, + \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Build::class => false, + \KatapultAPI\Core\Model\VirtualMachinesBuildsVirtualMachineBuildGetResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStartPostBody::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStartPostResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStopPostBody::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStopPostResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineShutdownPostBody::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineShutdownPostResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineResetPostBody::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineResetPostResponse200::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineConsoleSessionsPostBody::class => false, + \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineConsoleSessionsPostResponse201::class => false, + \KatapultAPI\Core\Model\ZonesGetResponse200::class => false, + \KatapultAPI\Core\Model\ZonesZoneGetResponse200::class => false, + \KatapultAPI\Core\Model\ZonesZoneGetResponse200Zone::class => false, + \Jane\Component\JsonSchemaRuntime\Reference::class => false, + ]; } } } diff --git a/src/Core/Normalizer/KeyValueNormalizer.php b/src/Core/Normalizer/KeyValueNormalizer.php index 24d06682..41a02559 100644 --- a/src/Core/Normalizer/KeyValueNormalizer.php +++ b/src/Core/Normalizer/KeyValueNormalizer.php @@ -31,12 +31,12 @@ class KeyValueNormalizer implements DenormalizerInterface, NormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\KeyValue'; + return $type === \KatapultAPI\Core\Model\KeyValue::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\KeyValue'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\KeyValue::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -86,7 +86,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\KeyValue' => false]; + return [\KatapultAPI\Core\Model\KeyValue::class => false]; } } } else { @@ -99,12 +99,12 @@ class KeyValueNormalizer implements DenormalizerInterface, NormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\KeyValue'; + return $type === \KatapultAPI\Core\Model\KeyValue::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\KeyValue'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\KeyValue::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -157,7 +157,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\KeyValue' => false]; + return [\KatapultAPI\Core\Model\KeyValue::class => false]; } } } diff --git a/src/Core/Normalizer/LoadBalancerArgumentsNormalizer.php b/src/Core/Normalizer/LoadBalancerArgumentsNormalizer.php index a303a168..c0f70844 100644 --- a/src/Core/Normalizer/LoadBalancerArgumentsNormalizer.php +++ b/src/Core/Normalizer/LoadBalancerArgumentsNormalizer.php @@ -31,12 +31,12 @@ class LoadBalancerArgumentsNormalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancerArguments'; + return $type === \KatapultAPI\Core\Model\LoadBalancerArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancerArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancerArguments::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -72,7 +72,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['resource_ids']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\DataCenterLookup', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\DataCenterLookup::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('https_redirect', $data)) { @@ -86,7 +86,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('weights', $data)) { $values_1 = []; foreach ($data['weights'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'KatapultAPI\\Core\\Model\\LoadBalancerWeightsArguments', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, \KatapultAPI\Core\Model\LoadBalancerWeightsArguments::class, 'json', $context); } $object->setWeights($values_1); unset($data['weights']); @@ -161,7 +161,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancerArguments' => false]; + return [\KatapultAPI\Core\Model\LoadBalancerArguments::class => false]; } } } else { @@ -174,12 +174,12 @@ class LoadBalancerArgumentsNormalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancerArguments'; + return $type === \KatapultAPI\Core\Model\LoadBalancerArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancerArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancerArguments::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -215,7 +215,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['resource_ids']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\DataCenterLookup', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\DataCenterLookup::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('https_redirect', $data)) { @@ -229,7 +229,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('weights', $data)) { $values_1 = []; foreach ($data['weights'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'KatapultAPI\\Core\\Model\\LoadBalancerWeightsArguments', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, \KatapultAPI\Core\Model\LoadBalancerWeightsArguments::class, 'json', $context); } $object->setWeights($values_1); unset($data['weights']); @@ -307,7 +307,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancerArguments' => false]; + return [\KatapultAPI\Core\Model\LoadBalancerArguments::class => false]; } } } diff --git a/src/Core/Normalizer/LoadBalancerLookupNormalizer.php b/src/Core/Normalizer/LoadBalancerLookupNormalizer.php index 7c53aa0f..efc9e8e1 100644 --- a/src/Core/Normalizer/LoadBalancerLookupNormalizer.php +++ b/src/Core/Normalizer/LoadBalancerLookupNormalizer.php @@ -31,12 +31,12 @@ class LoadBalancerLookupNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancerLookup'; + return $type === \KatapultAPI\Core\Model\LoadBalancerLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancerLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancerLookup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancerLookup' => false]; + return [\KatapultAPI\Core\Model\LoadBalancerLookup::class => false]; } } } else { @@ -101,12 +101,12 @@ class LoadBalancerLookupNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancerLookup'; + return $type === \KatapultAPI\Core\Model\LoadBalancerLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancerLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancerLookup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancerLookup' => false]; + return [\KatapultAPI\Core\Model\LoadBalancerLookup::class => false]; } } } diff --git a/src/Core/Normalizer/LoadBalancerResourceNormalizer.php b/src/Core/Normalizer/LoadBalancerResourceNormalizer.php index 09173e64..d6329808 100644 --- a/src/Core/Normalizer/LoadBalancerResourceNormalizer.php +++ b/src/Core/Normalizer/LoadBalancerResourceNormalizer.php @@ -31,12 +31,12 @@ class LoadBalancerResourceNormalizer implements DenormalizerInterface, Normalize public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancerResource'; + return $type === \KatapultAPI\Core\Model\LoadBalancerResource::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancerResource'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancerResource::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancerResource' => false]; + return [\KatapultAPI\Core\Model\LoadBalancerResource::class => false]; } } } else { @@ -94,12 +94,12 @@ class LoadBalancerResourceNormalizer implements DenormalizerInterface, Normalize public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancerResource'; + return $type === \KatapultAPI\Core\Model\LoadBalancerResource::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancerResource'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancerResource::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancerResource' => false]; + return [\KatapultAPI\Core\Model\LoadBalancerResource::class => false]; } } } diff --git a/src/Core/Normalizer/LoadBalancerRuleArgumentsNormalizer.php b/src/Core/Normalizer/LoadBalancerRuleArgumentsNormalizer.php index 72d66e34..84669c9c 100644 --- a/src/Core/Normalizer/LoadBalancerRuleArgumentsNormalizer.php +++ b/src/Core/Normalizer/LoadBalancerRuleArgumentsNormalizer.php @@ -31,12 +31,12 @@ class LoadBalancerRuleArgumentsNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancerRuleArguments'; + return $type === \KatapultAPI\Core\Model\LoadBalancerRuleArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancerRuleArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancerRuleArguments::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -82,7 +82,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('certificates', $data)) { $values = []; foreach ($data['certificates'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\CertificateLookup', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\CertificateLookup::class, 'json', $context); } $object->setCertificates($values); unset($data['certificates']); @@ -194,7 +194,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancerRuleArguments' => false]; + return [\KatapultAPI\Core\Model\LoadBalancerRuleArguments::class => false]; } } } else { @@ -207,12 +207,12 @@ class LoadBalancerRuleArgumentsNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancerRuleArguments'; + return $type === \KatapultAPI\Core\Model\LoadBalancerRuleArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancerRuleArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancerRuleArguments::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -258,7 +258,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('certificates', $data)) { $values = []; foreach ($data['certificates'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\CertificateLookup', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\CertificateLookup::class, 'json', $context); } $object->setCertificates($values); unset($data['certificates']); @@ -373,7 +373,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancerRuleArguments' => false]; + return [\KatapultAPI\Core\Model\LoadBalancerRuleArguments::class => false]; } } } diff --git a/src/Core/Normalizer/LoadBalancerRuleLookupNormalizer.php b/src/Core/Normalizer/LoadBalancerRuleLookupNormalizer.php index 960e4c40..57b915ff 100644 --- a/src/Core/Normalizer/LoadBalancerRuleLookupNormalizer.php +++ b/src/Core/Normalizer/LoadBalancerRuleLookupNormalizer.php @@ -31,12 +31,12 @@ class LoadBalancerRuleLookupNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancerRuleLookup'; + return $type === \KatapultAPI\Core\Model\LoadBalancerRuleLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancerRuleLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancerRuleLookup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancerRuleLookup' => false]; + return [\KatapultAPI\Core\Model\LoadBalancerRuleLookup::class => false]; } } } else { @@ -94,12 +94,12 @@ class LoadBalancerRuleLookupNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancerRuleLookup'; + return $type === \KatapultAPI\Core\Model\LoadBalancerRuleLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancerRuleLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancerRuleLookup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancerRuleLookup' => false]; + return [\KatapultAPI\Core\Model\LoadBalancerRuleLookup::class => false]; } } } diff --git a/src/Core/Normalizer/LoadBalancerWeightNormalizer.php b/src/Core/Normalizer/LoadBalancerWeightNormalizer.php index a52a4475..bc440107 100644 --- a/src/Core/Normalizer/LoadBalancerWeightNormalizer.php +++ b/src/Core/Normalizer/LoadBalancerWeightNormalizer.php @@ -31,12 +31,12 @@ class LoadBalancerWeightNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancerWeight'; + return $type === \KatapultAPI\Core\Model\LoadBalancerWeight::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancerWeight'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancerWeight::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancerWeight' => false]; + return [\KatapultAPI\Core\Model\LoadBalancerWeight::class => false]; } } } else { @@ -101,12 +101,12 @@ class LoadBalancerWeightNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancerWeight'; + return $type === \KatapultAPI\Core\Model\LoadBalancerWeight::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancerWeight'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancerWeight::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancerWeight' => false]; + return [\KatapultAPI\Core\Model\LoadBalancerWeight::class => false]; } } } diff --git a/src/Core/Normalizer/LoadBalancerWeightsArgumentsNormalizer.php b/src/Core/Normalizer/LoadBalancerWeightsArgumentsNormalizer.php index 30155eba..3d14de61 100644 --- a/src/Core/Normalizer/LoadBalancerWeightsArgumentsNormalizer.php +++ b/src/Core/Normalizer/LoadBalancerWeightsArgumentsNormalizer.php @@ -31,12 +31,12 @@ class LoadBalancerWeightsArgumentsNormalizer implements DenormalizerInterface, N public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancerWeightsArguments'; + return $type === \KatapultAPI\Core\Model\LoadBalancerWeightsArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancerWeightsArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancerWeightsArguments::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancerWeightsArguments' => false]; + return [\KatapultAPI\Core\Model\LoadBalancerWeightsArguments::class => false]; } } } else { @@ -101,12 +101,12 @@ class LoadBalancerWeightsArgumentsNormalizer implements DenormalizerInterface, N public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancerWeightsArguments'; + return $type === \KatapultAPI\Core\Model\LoadBalancerWeightsArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancerWeightsArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancerWeightsArguments::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancerWeightsArguments' => false]; + return [\KatapultAPI\Core\Model\LoadBalancerWeightsArguments::class => false]; } } } diff --git a/src/Core/Normalizer/LoadBalancersLoadBalancerDeleteBodyNormalizer.php b/src/Core/Normalizer/LoadBalancersLoadBalancerDeleteBodyNormalizer.php index 4056db09..001c4bca 100644 --- a/src/Core/Normalizer/LoadBalancersLoadBalancerDeleteBodyNormalizer.php +++ b/src/Core/Normalizer/LoadBalancersLoadBalancerDeleteBodyNormalizer.php @@ -31,12 +31,12 @@ class LoadBalancersLoadBalancerDeleteBodyNormalizer implements DenormalizerInter public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerDeleteBody'; + return $type === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerDeleteBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('load_balancer', $data)) { - $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'KatapultAPI\\Core\\Model\\LoadBalancerLookup', 'json', $context)); + $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], \KatapultAPI\Core\Model\LoadBalancerLookup::class, 'json', $context)); unset($data['load_balancer']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerDeleteBody' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersLoadBalancerDeleteBody::class => false]; } } } else { @@ -92,12 +92,12 @@ class LoadBalancersLoadBalancerDeleteBodyNormalizer implements DenormalizerInter public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerDeleteBody'; + return $type === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerDeleteBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('load_balancer', $data)) { - $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'KatapultAPI\\Core\\Model\\LoadBalancerLookup', 'json', $context)); + $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], \KatapultAPI\Core\Model\LoadBalancerLookup::class, 'json', $context)); unset($data['load_balancer']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerDeleteBody' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersLoadBalancerDeleteBody::class => false]; } } } diff --git a/src/Core/Normalizer/LoadBalancersLoadBalancerDeleteResponse200LoadBalancerNormalizer.php b/src/Core/Normalizer/LoadBalancersLoadBalancerDeleteResponse200LoadBalancerNormalizer.php index 7f2b1d8a..23a8d7ce 100644 --- a/src/Core/Normalizer/LoadBalancersLoadBalancerDeleteResponse200LoadBalancerNormalizer.php +++ b/src/Core/Normalizer/LoadBalancersLoadBalancerDeleteResponse200LoadBalancerNormalizer.php @@ -31,12 +31,12 @@ class LoadBalancersLoadBalancerDeleteResponse200LoadBalancerNormalizer implement public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerDeleteResponse200LoadBalancer'; + return $type === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerDeleteResponse200LoadBalancer::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerDeleteResponse200LoadBalancer'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerDeleteResponse200LoadBalancer::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -97,7 +97,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerDeleteResponse200LoadBalancer' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersLoadBalancerDeleteResponse200LoadBalancer::class => false]; } } } else { @@ -110,12 +110,12 @@ class LoadBalancersLoadBalancerDeleteResponse200LoadBalancerNormalizer implement public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerDeleteResponse200LoadBalancer'; + return $type === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerDeleteResponse200LoadBalancer::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerDeleteResponse200LoadBalancer'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerDeleteResponse200LoadBalancer::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -179,7 +179,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerDeleteResponse200LoadBalancer' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersLoadBalancerDeleteResponse200LoadBalancer::class => false]; } } } diff --git a/src/Core/Normalizer/LoadBalancersLoadBalancerDeleteResponse200Normalizer.php b/src/Core/Normalizer/LoadBalancersLoadBalancerDeleteResponse200Normalizer.php index 5ee7140a..ac77a28a 100644 --- a/src/Core/Normalizer/LoadBalancersLoadBalancerDeleteResponse200Normalizer.php +++ b/src/Core/Normalizer/LoadBalancersLoadBalancerDeleteResponse200Normalizer.php @@ -31,12 +31,12 @@ class LoadBalancersLoadBalancerDeleteResponse200Normalizer implements Denormaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerDeleteResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('load_balancer', $data)) { - $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerDeleteResponse200LoadBalancer', 'json', $context)); + $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], \KatapultAPI\Core\Model\LoadBalancersLoadBalancerDeleteResponse200LoadBalancer::class, 'json', $context)); unset($data['load_balancer']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersLoadBalancerDeleteResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class LoadBalancersLoadBalancerDeleteResponse200Normalizer implements Denormaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerDeleteResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('load_balancer', $data)) { - $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerDeleteResponse200LoadBalancer', 'json', $context)); + $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], \KatapultAPI\Core\Model\LoadBalancersLoadBalancerDeleteResponse200LoadBalancer::class, 'json', $context)); unset($data['load_balancer']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersLoadBalancerDeleteResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/LoadBalancersLoadBalancerGetResponse200LoadBalancerNormalizer.php b/src/Core/Normalizer/LoadBalancersLoadBalancerGetResponse200LoadBalancerNormalizer.php index fa9d0977..9ac875a0 100644 --- a/src/Core/Normalizer/LoadBalancersLoadBalancerGetResponse200LoadBalancerNormalizer.php +++ b/src/Core/Normalizer/LoadBalancersLoadBalancerGetResponse200LoadBalancerNormalizer.php @@ -31,12 +31,12 @@ class LoadBalancersLoadBalancerGetResponse200LoadBalancerNormalizer implements D public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerGetResponse200LoadBalancer'; + return $type === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerGetResponse200LoadBalancer::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerGetResponse200LoadBalancer'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerGetResponse200LoadBalancer::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -72,7 +72,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('resources', $data)) { $values = []; foreach ($data['resources'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\LoadBalancerResource', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\LoadBalancerResource::class, 'json', $context); } $object->setResources($values); unset($data['resources']); @@ -86,7 +86,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['resource_ids']); } if (\array_key_exists('ip_address', $data)) { - $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], 'KatapultAPI\\Core\\Model\\GetLoadBalancerPartIPAddress', 'json', $context)); + $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], \KatapultAPI\Core\Model\GetLoadBalancerPartIPAddress::class, 'json', $context)); unset($data['ip_address']); } if (\array_key_exists('https_redirect', $data)) { @@ -102,7 +102,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['backend_certificate_key']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\GetLoadBalancerPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\GetLoadBalancerPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('enable_weighting', $data)) { @@ -112,7 +112,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('weights', $data)) { $values_2 = []; foreach ($data['weights'] as $value_2) { - $values_2[] = $this->denormalizer->denormalize($value_2, 'KatapultAPI\\Core\\Model\\LoadBalancerWeight', 'json', $context); + $values_2[] = $this->denormalizer->denormalize($value_2, \KatapultAPI\Core\Model\LoadBalancerWeight::class, 'json', $context); } $object->setWeights($values_2); unset($data['weights']); @@ -206,7 +206,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerGetResponse200LoadBalancer' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersLoadBalancerGetResponse200LoadBalancer::class => false]; } } } else { @@ -219,12 +219,12 @@ class LoadBalancersLoadBalancerGetResponse200LoadBalancerNormalizer implements D public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerGetResponse200LoadBalancer'; + return $type === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerGetResponse200LoadBalancer::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerGetResponse200LoadBalancer'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerGetResponse200LoadBalancer::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -260,7 +260,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('resources', $data)) { $values = []; foreach ($data['resources'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\LoadBalancerResource', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\LoadBalancerResource::class, 'json', $context); } $object->setResources($values); unset($data['resources']); @@ -274,7 +274,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['resource_ids']); } if (\array_key_exists('ip_address', $data)) { - $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], 'KatapultAPI\\Core\\Model\\GetLoadBalancerPartIPAddress', 'json', $context)); + $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], \KatapultAPI\Core\Model\GetLoadBalancerPartIPAddress::class, 'json', $context)); unset($data['ip_address']); } if (\array_key_exists('https_redirect', $data)) { @@ -290,7 +290,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['backend_certificate_key']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\GetLoadBalancerPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\GetLoadBalancerPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('enable_weighting', $data)) { @@ -300,7 +300,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('weights', $data)) { $values_2 = []; foreach ($data['weights'] as $value_2) { - $values_2[] = $this->denormalizer->denormalize($value_2, 'KatapultAPI\\Core\\Model\\LoadBalancerWeight', 'json', $context); + $values_2[] = $this->denormalizer->denormalize($value_2, \KatapultAPI\Core\Model\LoadBalancerWeight::class, 'json', $context); } $object->setWeights($values_2); unset($data['weights']); @@ -397,7 +397,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerGetResponse200LoadBalancer' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersLoadBalancerGetResponse200LoadBalancer::class => false]; } } } diff --git a/src/Core/Normalizer/LoadBalancersLoadBalancerGetResponse200Normalizer.php b/src/Core/Normalizer/LoadBalancersLoadBalancerGetResponse200Normalizer.php index 955c4b6e..22b04e96 100644 --- a/src/Core/Normalizer/LoadBalancersLoadBalancerGetResponse200Normalizer.php +++ b/src/Core/Normalizer/LoadBalancersLoadBalancerGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class LoadBalancersLoadBalancerGetResponse200Normalizer implements DenormalizerI public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerGetResponse200'; + return $type === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('load_balancer', $data)) { - $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerGetResponse200LoadBalancer', 'json', $context)); + $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], \KatapultAPI\Core\Model\LoadBalancersLoadBalancerGetResponse200LoadBalancer::class, 'json', $context)); unset($data['load_balancer']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerGetResponse200' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersLoadBalancerGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class LoadBalancersLoadBalancerGetResponse200Normalizer implements DenormalizerI public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerGetResponse200'; + return $type === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('load_balancer', $data)) { - $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerGetResponse200LoadBalancer', 'json', $context)); + $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], \KatapultAPI\Core\Model\LoadBalancersLoadBalancerGetResponse200LoadBalancer::class, 'json', $context)); unset($data['load_balancer']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerGetResponse200' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersLoadBalancerGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/LoadBalancersLoadBalancerPatchBodyNormalizer.php b/src/Core/Normalizer/LoadBalancersLoadBalancerPatchBodyNormalizer.php index 6807c4a1..4cdb0d00 100644 --- a/src/Core/Normalizer/LoadBalancersLoadBalancerPatchBodyNormalizer.php +++ b/src/Core/Normalizer/LoadBalancersLoadBalancerPatchBodyNormalizer.php @@ -31,12 +31,12 @@ class LoadBalancersLoadBalancerPatchBodyNormalizer implements DenormalizerInterf public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerPatchBody'; + return $type === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerPatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerPatchBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerPatchBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,17 +52,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('load_balancer', $data)) { - $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'KatapultAPI\\Core\\Model\\LoadBalancerLookup', 'json', $context)); + $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], \KatapultAPI\Core\Model\LoadBalancerLookup::class, 'json', $context)); unset($data['load_balancer']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\LoadBalancerArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\LoadBalancerArguments::class, 'json', $context)); unset($data['properties']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -99,7 +99,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerPatchBody' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersLoadBalancerPatchBody::class => false]; } } } else { @@ -112,12 +112,12 @@ class LoadBalancersLoadBalancerPatchBodyNormalizer implements DenormalizerInterf public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerPatchBody'; + return $type === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerPatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerPatchBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerPatchBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -133,17 +133,17 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('load_balancer', $data)) { - $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'KatapultAPI\\Core\\Model\\LoadBalancerLookup', 'json', $context)); + $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], \KatapultAPI\Core\Model\LoadBalancerLookup::class, 'json', $context)); unset($data['load_balancer']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\LoadBalancerArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\LoadBalancerArguments::class, 'json', $context)); unset($data['properties']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -183,7 +183,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerPatchBody' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersLoadBalancerPatchBody::class => false]; } } } diff --git a/src/Core/Normalizer/LoadBalancersLoadBalancerPatchResponse200LoadBalancerNormalizer.php b/src/Core/Normalizer/LoadBalancersLoadBalancerPatchResponse200LoadBalancerNormalizer.php index a32a2995..d5514eef 100644 --- a/src/Core/Normalizer/LoadBalancersLoadBalancerPatchResponse200LoadBalancerNormalizer.php +++ b/src/Core/Normalizer/LoadBalancersLoadBalancerPatchResponse200LoadBalancerNormalizer.php @@ -31,12 +31,12 @@ class LoadBalancersLoadBalancerPatchResponse200LoadBalancerNormalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerPatchResponse200LoadBalancer'; + return $type === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerPatchResponse200LoadBalancer::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerPatchResponse200LoadBalancer'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerPatchResponse200LoadBalancer::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -72,7 +72,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('resources', $data)) { $values = []; foreach ($data['resources'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\LoadBalancerResource', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\LoadBalancerResource::class, 'json', $context); } $object->setResources($values); unset($data['resources']); @@ -86,7 +86,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['resource_ids']); } if (\array_key_exists('ip_address', $data)) { - $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], 'KatapultAPI\\Core\\Model\\PatchLoadBalancerPartIPAddress', 'json', $context)); + $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], \KatapultAPI\Core\Model\PatchLoadBalancerPartIPAddress::class, 'json', $context)); unset($data['ip_address']); } if (\array_key_exists('https_redirect', $data)) { @@ -102,7 +102,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['backend_certificate_key']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PatchLoadBalancerPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PatchLoadBalancerPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('enable_weighting', $data)) { @@ -112,7 +112,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('weights', $data)) { $values_2 = []; foreach ($data['weights'] as $value_2) { - $values_2[] = $this->denormalizer->denormalize($value_2, 'KatapultAPI\\Core\\Model\\LoadBalancerWeight', 'json', $context); + $values_2[] = $this->denormalizer->denormalize($value_2, \KatapultAPI\Core\Model\LoadBalancerWeight::class, 'json', $context); } $object->setWeights($values_2); unset($data['weights']); @@ -206,7 +206,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerPatchResponse200LoadBalancer' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersLoadBalancerPatchResponse200LoadBalancer::class => false]; } } } else { @@ -219,12 +219,12 @@ class LoadBalancersLoadBalancerPatchResponse200LoadBalancerNormalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerPatchResponse200LoadBalancer'; + return $type === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerPatchResponse200LoadBalancer::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerPatchResponse200LoadBalancer'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerPatchResponse200LoadBalancer::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -260,7 +260,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('resources', $data)) { $values = []; foreach ($data['resources'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\LoadBalancerResource', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\LoadBalancerResource::class, 'json', $context); } $object->setResources($values); unset($data['resources']); @@ -274,7 +274,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['resource_ids']); } if (\array_key_exists('ip_address', $data)) { - $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], 'KatapultAPI\\Core\\Model\\PatchLoadBalancerPartIPAddress', 'json', $context)); + $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], \KatapultAPI\Core\Model\PatchLoadBalancerPartIPAddress::class, 'json', $context)); unset($data['ip_address']); } if (\array_key_exists('https_redirect', $data)) { @@ -290,7 +290,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['backend_certificate_key']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PatchLoadBalancerPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PatchLoadBalancerPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('enable_weighting', $data)) { @@ -300,7 +300,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('weights', $data)) { $values_2 = []; foreach ($data['weights'] as $value_2) { - $values_2[] = $this->denormalizer->denormalize($value_2, 'KatapultAPI\\Core\\Model\\LoadBalancerWeight', 'json', $context); + $values_2[] = $this->denormalizer->denormalize($value_2, \KatapultAPI\Core\Model\LoadBalancerWeight::class, 'json', $context); } $object->setWeights($values_2); unset($data['weights']); @@ -397,7 +397,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerPatchResponse200LoadBalancer' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersLoadBalancerPatchResponse200LoadBalancer::class => false]; } } } diff --git a/src/Core/Normalizer/LoadBalancersLoadBalancerPatchResponse200Normalizer.php b/src/Core/Normalizer/LoadBalancersLoadBalancerPatchResponse200Normalizer.php index 5de3a385..f06fa231 100644 --- a/src/Core/Normalizer/LoadBalancersLoadBalancerPatchResponse200Normalizer.php +++ b/src/Core/Normalizer/LoadBalancersLoadBalancerPatchResponse200Normalizer.php @@ -31,12 +31,12 @@ class LoadBalancersLoadBalancerPatchResponse200Normalizer implements Denormalize public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerPatchResponse200'; + return $type === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerPatchResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerPatchResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerPatchResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('load_balancer', $data)) { - $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerPatchResponse200LoadBalancer', 'json', $context)); + $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], \KatapultAPI\Core\Model\LoadBalancersLoadBalancerPatchResponse200LoadBalancer::class, 'json', $context)); unset($data['load_balancer']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerPatchResponse200' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersLoadBalancerPatchResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class LoadBalancersLoadBalancerPatchResponse200Normalizer implements Denormalize public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerPatchResponse200'; + return $type === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerPatchResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerPatchResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerPatchResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('load_balancer', $data)) { - $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerPatchResponse200LoadBalancer', 'json', $context)); + $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], \KatapultAPI\Core\Model\LoadBalancersLoadBalancerPatchResponse200LoadBalancer::class, 'json', $context)); unset($data['load_balancer']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerPatchResponse200' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersLoadBalancerPatchResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/LoadBalancersLoadBalancerRulesGetResponse200Normalizer.php b/src/Core/Normalizer/LoadBalancersLoadBalancerRulesGetResponse200Normalizer.php index ecf22d21..e2e8839b 100644 --- a/src/Core/Normalizer/LoadBalancersLoadBalancerRulesGetResponse200Normalizer.php +++ b/src/Core/Normalizer/LoadBalancersLoadBalancerRulesGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class LoadBalancersLoadBalancerRulesGetResponse200Normalizer implements Denormal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesGetResponse200'; + return $type === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('load_balancer_rules', $data)) { $values = []; foreach ($data['load_balancer_rules'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetLoadBalancerRules200ResponseLoadBalancerRules', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetLoadBalancerRules200ResponseLoadBalancerRules::class, 'json', $context); } $object->setLoadBalancerRules($values); unset($data['load_balancer_rules']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class LoadBalancersLoadBalancerRulesGetResponse200Normalizer implements Denormal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesGetResponse200'; + return $type === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('load_balancer_rules', $data)) { $values = []; foreach ($data['load_balancer_rules'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetLoadBalancerRules200ResponseLoadBalancerRules', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetLoadBalancerRules200ResponseLoadBalancerRules::class, 'json', $context); } $object->setLoadBalancerRules($values); unset($data['load_balancer_rules']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/LoadBalancersLoadBalancerRulesPostBodyNormalizer.php b/src/Core/Normalizer/LoadBalancersLoadBalancerRulesPostBodyNormalizer.php index 4cfec217..336e3cdd 100644 --- a/src/Core/Normalizer/LoadBalancersLoadBalancerRulesPostBodyNormalizer.php +++ b/src/Core/Normalizer/LoadBalancersLoadBalancerRulesPostBodyNormalizer.php @@ -31,12 +31,12 @@ class LoadBalancersLoadBalancerRulesPostBodyNormalizer implements DenormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesPostBody'; + return $type === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('load_balancer', $data)) { - $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'KatapultAPI\\Core\\Model\\LoadBalancerLookup', 'json', $context)); + $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], \KatapultAPI\Core\Model\LoadBalancerLookup::class, 'json', $context)); unset($data['load_balancer']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\LoadBalancerRuleArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\LoadBalancerRuleArguments::class, 'json', $context)); unset($data['properties']); } foreach ($data as $key => $value) { @@ -84,7 +84,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesPostBody' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesPostBody::class => false]; } } } else { @@ -97,12 +97,12 @@ class LoadBalancersLoadBalancerRulesPostBodyNormalizer implements DenormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesPostBody'; + return $type === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -118,11 +118,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('load_balancer', $data)) { - $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'KatapultAPI\\Core\\Model\\LoadBalancerLookup', 'json', $context)); + $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], \KatapultAPI\Core\Model\LoadBalancerLookup::class, 'json', $context)); unset($data['load_balancer']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\LoadBalancerRuleArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\LoadBalancerRuleArguments::class, 'json', $context)); unset($data['properties']); } foreach ($data as $key => $value) { @@ -153,7 +153,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesPostBody' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRuleNormalizer.php b/src/Core/Normalizer/LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRuleNormalizer.php index 29693996..a9af4694 100644 --- a/src/Core/Normalizer/LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRuleNormalizer.php +++ b/src/Core/Normalizer/LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRuleNormalizer.php @@ -31,12 +31,12 @@ class LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRuleNormalizer im public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRule'; + return $type === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRule::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -78,7 +78,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('certificates', $data)) { $values = []; foreach ($data['certificates'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\PostLoadBalancerRulesPartCertificates', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\PostLoadBalancerRulesPartCertificates::class, 'json', $context); } $object->setCertificates($values); unset($data['certificates']); @@ -128,7 +128,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setCheckHttpStatuses(null); } if (\array_key_exists('load_balancer', $data)) { - $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'KatapultAPI\\Core\\Model\\PostLoadBalancerRulesPartLoadBalancer', 'json', $context)); + $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], \KatapultAPI\Core\Model\PostLoadBalancerRulesPartLoadBalancer::class, 'json', $context)); unset($data['load_balancer']); } foreach ($data as $key => $value_1) { @@ -212,7 +212,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRule' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRule::class => false]; } } } else { @@ -225,12 +225,12 @@ class LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRuleNormalizer im public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRule'; + return $type === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRule::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -272,7 +272,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('certificates', $data)) { $values = []; foreach ($data['certificates'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\PostLoadBalancerRulesPartCertificates', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\PostLoadBalancerRulesPartCertificates::class, 'json', $context); } $object->setCertificates($values); unset($data['certificates']); @@ -322,7 +322,7 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setCheckHttpStatuses(null); } if (\array_key_exists('load_balancer', $data)) { - $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'KatapultAPI\\Core\\Model\\PostLoadBalancerRulesPartLoadBalancer', 'json', $context)); + $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], \KatapultAPI\Core\Model\PostLoadBalancerRulesPartLoadBalancer::class, 'json', $context)); unset($data['load_balancer']); } foreach ($data as $key => $value_1) { @@ -409,7 +409,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRule' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRule::class => false]; } } } diff --git a/src/Core/Normalizer/LoadBalancersLoadBalancerRulesPostResponse200Normalizer.php b/src/Core/Normalizer/LoadBalancersLoadBalancerRulesPostResponse200Normalizer.php index 59463178..355f7734 100644 --- a/src/Core/Normalizer/LoadBalancersLoadBalancerRulesPostResponse200Normalizer.php +++ b/src/Core/Normalizer/LoadBalancersLoadBalancerRulesPostResponse200Normalizer.php @@ -31,12 +31,12 @@ class LoadBalancersLoadBalancerRulesPostResponse200Normalizer implements Denorma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesPostResponse200'; + return $type === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesPostResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('load_balancer_rule', $data)) { - $object->setLoadBalancerRule($this->denormalizer->denormalize($data['load_balancer_rule'], 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRule', 'json', $context)); + $object->setLoadBalancerRule($this->denormalizer->denormalize($data['load_balancer_rule'], \KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRule::class, 'json', $context)); unset($data['load_balancer_rule']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesPostResponse200' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesPostResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class LoadBalancersLoadBalancerRulesPostResponse200Normalizer implements Denorma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesPostResponse200'; + return $type === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesPostResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('load_balancer_rule', $data)) { - $object->setLoadBalancerRule($this->denormalizer->denormalize($data['load_balancer_rule'], 'KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRule', 'json', $context)); + $object->setLoadBalancerRule($this->denormalizer->denormalize($data['load_balancer_rule'], \KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesPostResponse200LoadBalancerRule::class, 'json', $context)); unset($data['load_balancer_rule']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersLoadBalancerRulesPostResponse200' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersLoadBalancerRulesPostResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/LoadBalancersRulesLoadBalancerRuleDeleteBodyNormalizer.php b/src/Core/Normalizer/LoadBalancersRulesLoadBalancerRuleDeleteBodyNormalizer.php index 82b3eed0..9c24e78f 100644 --- a/src/Core/Normalizer/LoadBalancersRulesLoadBalancerRuleDeleteBodyNormalizer.php +++ b/src/Core/Normalizer/LoadBalancersRulesLoadBalancerRuleDeleteBodyNormalizer.php @@ -31,12 +31,12 @@ class LoadBalancersRulesLoadBalancerRuleDeleteBodyNormalizer implements Denormal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteBody'; + return $type === \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleDeleteBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('load_balancer_rule', $data)) { - $object->setLoadBalancerRule($this->denormalizer->denormalize($data['load_balancer_rule'], 'KatapultAPI\\Core\\Model\\LoadBalancerRuleLookup', 'json', $context)); + $object->setLoadBalancerRule($this->denormalizer->denormalize($data['load_balancer_rule'], \KatapultAPI\Core\Model\LoadBalancerRuleLookup::class, 'json', $context)); unset($data['load_balancer_rule']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteBody' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleDeleteBody::class => false]; } } } else { @@ -92,12 +92,12 @@ class LoadBalancersRulesLoadBalancerRuleDeleteBodyNormalizer implements Denormal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteBody'; + return $type === \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleDeleteBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('load_balancer_rule', $data)) { - $object->setLoadBalancerRule($this->denormalizer->denormalize($data['load_balancer_rule'], 'KatapultAPI\\Core\\Model\\LoadBalancerRuleLookup', 'json', $context)); + $object->setLoadBalancerRule($this->denormalizer->denormalize($data['load_balancer_rule'], \KatapultAPI\Core\Model\LoadBalancerRuleLookup::class, 'json', $context)); unset($data['load_balancer_rule']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteBody' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleDeleteBody::class => false]; } } } diff --git a/src/Core/Normalizer/LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRuleNormalizer.php b/src/Core/Normalizer/LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRuleNormalizer.php index 0b490453..2c82c354 100644 --- a/src/Core/Normalizer/LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRuleNormalizer.php +++ b/src/Core/Normalizer/LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRuleNormalizer.php @@ -31,12 +31,12 @@ class LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRuleNormali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRule'; + return $type === \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRule::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRule' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRule::class => false]; } } } else { @@ -94,12 +94,12 @@ class LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRuleNormali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRule'; + return $type === \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRule::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRule' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRule::class => false]; } } } diff --git a/src/Core/Normalizer/LoadBalancersRulesLoadBalancerRuleDeleteResponse200Normalizer.php b/src/Core/Normalizer/LoadBalancersRulesLoadBalancerRuleDeleteResponse200Normalizer.php index 08a8c8e8..48f4af5e 100644 --- a/src/Core/Normalizer/LoadBalancersRulesLoadBalancerRuleDeleteResponse200Normalizer.php +++ b/src/Core/Normalizer/LoadBalancersRulesLoadBalancerRuleDeleteResponse200Normalizer.php @@ -31,12 +31,12 @@ class LoadBalancersRulesLoadBalancerRuleDeleteResponse200Normalizer implements D public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleDeleteResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('load_balancer_rule', $data)) { - $object->setLoadBalancerRule($this->denormalizer->denormalize($data['load_balancer_rule'], 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRule', 'json', $context)); + $object->setLoadBalancerRule($this->denormalizer->denormalize($data['load_balancer_rule'], \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRule::class, 'json', $context)); unset($data['load_balancer_rule']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleDeleteResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class LoadBalancersRulesLoadBalancerRuleDeleteResponse200Normalizer implements D public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleDeleteResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('load_balancer_rule', $data)) { - $object->setLoadBalancerRule($this->denormalizer->denormalize($data['load_balancer_rule'], 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRule', 'json', $context)); + $object->setLoadBalancerRule($this->denormalizer->denormalize($data['load_balancer_rule'], \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleDeleteResponse200LoadBalancerRule::class, 'json', $context)); unset($data['load_balancer_rule']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleDeleteResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRuleNormalizer.php b/src/Core/Normalizer/LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRuleNormalizer.php index 57b90dae..29289930 100644 --- a/src/Core/Normalizer/LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRuleNormalizer.php +++ b/src/Core/Normalizer/LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRuleNormalizer.php @@ -31,12 +31,12 @@ class LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRuleNormalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRule'; + return $type === \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRule::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -78,7 +78,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('certificates', $data)) { $values = []; foreach ($data['certificates'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRulePartCertificates', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRulePartCertificates::class, 'json', $context); } $object->setCertificates($values); unset($data['certificates']); @@ -128,7 +128,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setCheckHttpStatuses(null); } if (\array_key_exists('load_balancer', $data)) { - $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer', 'json', $context)); + $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], \KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer::class, 'json', $context)); unset($data['load_balancer']); } foreach ($data as $key => $value_1) { @@ -212,7 +212,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRule' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRule::class => false]; } } } else { @@ -225,12 +225,12 @@ class LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRuleNormalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRule'; + return $type === \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRule::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -272,7 +272,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('certificates', $data)) { $values = []; foreach ($data['certificates'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRulePartCertificates', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRulePartCertificates::class, 'json', $context); } $object->setCertificates($values); unset($data['certificates']); @@ -322,7 +322,7 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setCheckHttpStatuses(null); } if (\array_key_exists('load_balancer', $data)) { - $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'KatapultAPI\\Core\\Model\\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer', 'json', $context)); + $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], \KatapultAPI\Core\Model\GetLoadBalancersRulesLoadBalancerRulePartLoadBalancer::class, 'json', $context)); unset($data['load_balancer']); } foreach ($data as $key => $value_1) { @@ -409,7 +409,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRule' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRule::class => false]; } } } diff --git a/src/Core/Normalizer/LoadBalancersRulesLoadBalancerRuleGetResponse200Normalizer.php b/src/Core/Normalizer/LoadBalancersRulesLoadBalancerRuleGetResponse200Normalizer.php index 375b3ff6..e3c8d27b 100644 --- a/src/Core/Normalizer/LoadBalancersRulesLoadBalancerRuleGetResponse200Normalizer.php +++ b/src/Core/Normalizer/LoadBalancersRulesLoadBalancerRuleGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class LoadBalancersRulesLoadBalancerRuleGetResponse200Normalizer implements Deno public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleGetResponse200'; + return $type === \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('load_balancer_rule', $data)) { - $object->setLoadBalancerRule($this->denormalizer->denormalize($data['load_balancer_rule'], 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRule', 'json', $context)); + $object->setLoadBalancerRule($this->denormalizer->denormalize($data['load_balancer_rule'], \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRule::class, 'json', $context)); unset($data['load_balancer_rule']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleGetResponse200' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleGetResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class LoadBalancersRulesLoadBalancerRuleGetResponse200Normalizer implements Deno public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleGetResponse200'; + return $type === \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('load_balancer_rule', $data)) { - $object->setLoadBalancerRule($this->denormalizer->denormalize($data['load_balancer_rule'], 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRule', 'json', $context)); + $object->setLoadBalancerRule($this->denormalizer->denormalize($data['load_balancer_rule'], \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleGetResponse200LoadBalancerRule::class, 'json', $context)); unset($data['load_balancer_rule']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRuleGetResponse200' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRuleGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/LoadBalancersRulesLoadBalancerRulePatchBodyNormalizer.php b/src/Core/Normalizer/LoadBalancersRulesLoadBalancerRulePatchBodyNormalizer.php index 3a42af80..2e0d851a 100644 --- a/src/Core/Normalizer/LoadBalancersRulesLoadBalancerRulePatchBodyNormalizer.php +++ b/src/Core/Normalizer/LoadBalancersRulesLoadBalancerRulePatchBodyNormalizer.php @@ -31,12 +31,12 @@ class LoadBalancersRulesLoadBalancerRulePatchBodyNormalizer implements Denormali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRulePatchBody'; + return $type === \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRulePatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRulePatchBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRulePatchBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('load_balancer_rule', $data)) { - $object->setLoadBalancerRule($this->denormalizer->denormalize($data['load_balancer_rule'], 'KatapultAPI\\Core\\Model\\LoadBalancerRuleLookup', 'json', $context)); + $object->setLoadBalancerRule($this->denormalizer->denormalize($data['load_balancer_rule'], \KatapultAPI\Core\Model\LoadBalancerRuleLookup::class, 'json', $context)); unset($data['load_balancer_rule']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\LoadBalancerRuleArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\LoadBalancerRuleArguments::class, 'json', $context)); unset($data['properties']); } foreach ($data as $key => $value) { @@ -84,7 +84,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRulePatchBody' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRulePatchBody::class => false]; } } } else { @@ -97,12 +97,12 @@ class LoadBalancersRulesLoadBalancerRulePatchBodyNormalizer implements Denormali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRulePatchBody'; + return $type === \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRulePatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRulePatchBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRulePatchBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -118,11 +118,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('load_balancer_rule', $data)) { - $object->setLoadBalancerRule($this->denormalizer->denormalize($data['load_balancer_rule'], 'KatapultAPI\\Core\\Model\\LoadBalancerRuleLookup', 'json', $context)); + $object->setLoadBalancerRule($this->denormalizer->denormalize($data['load_balancer_rule'], \KatapultAPI\Core\Model\LoadBalancerRuleLookup::class, 'json', $context)); unset($data['load_balancer_rule']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\LoadBalancerRuleArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\LoadBalancerRuleArguments::class, 'json', $context)); unset($data['properties']); } foreach ($data as $key => $value) { @@ -153,7 +153,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRulePatchBody' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRulePatchBody::class => false]; } } } diff --git a/src/Core/Normalizer/LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRuleNormalizer.php b/src/Core/Normalizer/LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRuleNormalizer.php index 10b43f4c..92fbab6d 100644 --- a/src/Core/Normalizer/LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRuleNormalizer.php +++ b/src/Core/Normalizer/LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRuleNormalizer.php @@ -31,12 +31,12 @@ class LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRuleNormaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRule'; + return $type === \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRule::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -78,7 +78,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('certificates', $data)) { $values = []; foreach ($data['certificates'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartCertificates', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRulePartCertificates::class, 'json', $context); } $object->setCertificates($values); unset($data['certificates']); @@ -128,7 +128,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setCheckHttpStatuses(null); } if (\array_key_exists('load_balancer', $data)) { - $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer', 'json', $context)); + $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], \KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer::class, 'json', $context)); unset($data['load_balancer']); } foreach ($data as $key => $value_1) { @@ -212,7 +212,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRule' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRule::class => false]; } } } else { @@ -225,12 +225,12 @@ class LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRuleNormaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRule'; + return $type === \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRule::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -272,7 +272,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('certificates', $data)) { $values = []; foreach ($data['certificates'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartCertificates', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRulePartCertificates::class, 'json', $context); } $object->setCertificates($values); unset($data['certificates']); @@ -322,7 +322,7 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setCheckHttpStatuses(null); } if (\array_key_exists('load_balancer', $data)) { - $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer', 'json', $context)); + $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], \KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer::class, 'json', $context)); unset($data['load_balancer']); } foreach ($data as $key => $value_1) { @@ -409,7 +409,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRule' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRule::class => false]; } } } diff --git a/src/Core/Normalizer/LoadBalancersRulesLoadBalancerRulePatchResponse200Normalizer.php b/src/Core/Normalizer/LoadBalancersRulesLoadBalancerRulePatchResponse200Normalizer.php index 2d469618..05ac7a26 100644 --- a/src/Core/Normalizer/LoadBalancersRulesLoadBalancerRulePatchResponse200Normalizer.php +++ b/src/Core/Normalizer/LoadBalancersRulesLoadBalancerRulePatchResponse200Normalizer.php @@ -31,12 +31,12 @@ class LoadBalancersRulesLoadBalancerRulePatchResponse200Normalizer implements De public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRulePatchResponse200'; + return $type === \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRulePatchResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRulePatchResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRulePatchResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('load_balancer_rule', $data)) { - $object->setLoadBalancerRule($this->denormalizer->denormalize($data['load_balancer_rule'], 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRule', 'json', $context)); + $object->setLoadBalancerRule($this->denormalizer->denormalize($data['load_balancer_rule'], \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRule::class, 'json', $context)); unset($data['load_balancer_rule']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRulePatchResponse200' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRulePatchResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class LoadBalancersRulesLoadBalancerRulePatchResponse200Normalizer implements De public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRulePatchResponse200'; + return $type === \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRulePatchResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRulePatchResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRulePatchResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('load_balancer_rule', $data)) { - $object->setLoadBalancerRule($this->denormalizer->denormalize($data['load_balancer_rule'], 'KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRule', 'json', $context)); + $object->setLoadBalancerRule($this->denormalizer->denormalize($data['load_balancer_rule'], \KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRulePatchResponse200LoadBalancerRule::class, 'json', $context)); unset($data['load_balancer_rule']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LoadBalancersRulesLoadBalancerRulePatchResponse200' => false]; + return [\KatapultAPI\Core\Model\LoadBalancersRulesLoadBalancerRulePatchResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/LocationRequiredSchemaNormalizer.php b/src/Core/Normalizer/LocationRequiredSchemaNormalizer.php index e2466c26..0caed87c 100644 --- a/src/Core/Normalizer/LocationRequiredSchemaNormalizer.php +++ b/src/Core/Normalizer/LocationRequiredSchemaNormalizer.php @@ -31,12 +31,12 @@ class LocationRequiredSchemaNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LocationRequiredSchema'; + return $type === \KatapultAPI\Core\Model\LocationRequiredSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LocationRequiredSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LocationRequiredSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LocationRequiredSchema' => false]; + return [\KatapultAPI\Core\Model\LocationRequiredSchema::class => false]; } } } else { @@ -116,12 +116,12 @@ class LocationRequiredSchemaNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\LocationRequiredSchema'; + return $type === \KatapultAPI\Core\Model\LocationRequiredSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\LocationRequiredSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\LocationRequiredSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\LocationRequiredSchema' => false]; + return [\KatapultAPI\Core\Model\LocationRequiredSchema::class => false]; } } } diff --git a/src/Core/Normalizer/NetworkLookupNormalizer.php b/src/Core/Normalizer/NetworkLookupNormalizer.php index 417d8754..41c6ae61 100644 --- a/src/Core/Normalizer/NetworkLookupNormalizer.php +++ b/src/Core/Normalizer/NetworkLookupNormalizer.php @@ -31,12 +31,12 @@ class NetworkLookupNormalizer implements DenormalizerInterface, NormalizerInterf public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\NetworkLookup'; + return $type === \KatapultAPI\Core\Model\NetworkLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\NetworkLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\NetworkLookup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\NetworkLookup' => false]; + return [\KatapultAPI\Core\Model\NetworkLookup::class => false]; } } } else { @@ -101,12 +101,12 @@ class NetworkLookupNormalizer implements DenormalizerInterface, NormalizerInterf public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\NetworkLookup'; + return $type === \KatapultAPI\Core\Model\NetworkLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\NetworkLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\NetworkLookup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\NetworkLookup' => false]; + return [\KatapultAPI\Core\Model\NetworkLookup::class => false]; } } } diff --git a/src/Core/Normalizer/NetworkNormalizer.php b/src/Core/Normalizer/NetworkNormalizer.php index ebfbed77..4806b7e6 100644 --- a/src/Core/Normalizer/NetworkNormalizer.php +++ b/src/Core/Normalizer/NetworkNormalizer.php @@ -31,12 +31,12 @@ class NetworkNormalizer implements DenormalizerInterface, NormalizerInterface, D public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\Network'; + return $type === \KatapultAPI\Core\Model\Network::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\Network'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\Network::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -66,7 +66,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setPermalink(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\DataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\DataCenter::class, 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value) { @@ -104,7 +104,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\Network' => false]; + return [\KatapultAPI\Core\Model\Network::class => false]; } } } else { @@ -117,12 +117,12 @@ class NetworkNormalizer implements DenormalizerInterface, NormalizerInterface, D public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\Network'; + return $type === \KatapultAPI\Core\Model\Network::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\Network'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\Network::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -152,7 +152,7 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setPermalink(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\DataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\DataCenter::class, 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value) { @@ -193,7 +193,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\Network' => false]; + return [\KatapultAPI\Core\Model\Network::class => false]; } } } diff --git a/src/Core/Normalizer/NetworkNotFoundSchemaNormalizer.php b/src/Core/Normalizer/NetworkNotFoundSchemaNormalizer.php index 49d8bcf5..ec487c05 100644 --- a/src/Core/Normalizer/NetworkNotFoundSchemaNormalizer.php +++ b/src/Core/Normalizer/NetworkNotFoundSchemaNormalizer.php @@ -31,12 +31,12 @@ class NetworkNotFoundSchemaNormalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\NetworkNotFoundSchema'; + return $type === \KatapultAPI\Core\Model\NetworkNotFoundSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\NetworkNotFoundSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\NetworkNotFoundSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\NetworkNotFoundSchema' => false]; + return [\KatapultAPI\Core\Model\NetworkNotFoundSchema::class => false]; } } } else { @@ -116,12 +116,12 @@ class NetworkNotFoundSchemaNormalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\NetworkNotFoundSchema'; + return $type === \KatapultAPI\Core\Model\NetworkNotFoundSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\NetworkNotFoundSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\NetworkNotFoundSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\NetworkNotFoundSchema' => false]; + return [\KatapultAPI\Core\Model\NetworkNotFoundSchema::class => false]; } } } diff --git a/src/Core/Normalizer/NetworkSpeedProfileLookupNormalizer.php b/src/Core/Normalizer/NetworkSpeedProfileLookupNormalizer.php index cc13d701..75ddd5df 100644 --- a/src/Core/Normalizer/NetworkSpeedProfileLookupNormalizer.php +++ b/src/Core/Normalizer/NetworkSpeedProfileLookupNormalizer.php @@ -31,12 +31,12 @@ class NetworkSpeedProfileLookupNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\NetworkSpeedProfileLookup'; + return $type === \KatapultAPI\Core\Model\NetworkSpeedProfileLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\NetworkSpeedProfileLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\NetworkSpeedProfileLookup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\NetworkSpeedProfileLookup' => false]; + return [\KatapultAPI\Core\Model\NetworkSpeedProfileLookup::class => false]; } } } else { @@ -101,12 +101,12 @@ class NetworkSpeedProfileLookupNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\NetworkSpeedProfileLookup'; + return $type === \KatapultAPI\Core\Model\NetworkSpeedProfileLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\NetworkSpeedProfileLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\NetworkSpeedProfileLookup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\NetworkSpeedProfileLookup' => false]; + return [\KatapultAPI\Core\Model\NetworkSpeedProfileLookup::class => false]; } } } diff --git a/src/Core/Normalizer/NetworkSpeedProfileNormalizer.php b/src/Core/Normalizer/NetworkSpeedProfileNormalizer.php index e11b12bf..b14611db 100644 --- a/src/Core/Normalizer/NetworkSpeedProfileNormalizer.php +++ b/src/Core/Normalizer/NetworkSpeedProfileNormalizer.php @@ -31,12 +31,12 @@ class NetworkSpeedProfileNormalizer implements DenormalizerInterface, Normalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\NetworkSpeedProfile'; + return $type === \KatapultAPI\Core\Model\NetworkSpeedProfile::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\NetworkSpeedProfile'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\NetworkSpeedProfile::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -113,7 +113,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\NetworkSpeedProfile' => false]; + return [\KatapultAPI\Core\Model\NetworkSpeedProfile::class => false]; } } } else { @@ -126,12 +126,12 @@ class NetworkSpeedProfileNormalizer implements DenormalizerInterface, Normalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\NetworkSpeedProfile'; + return $type === \KatapultAPI\Core\Model\NetworkSpeedProfile::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\NetworkSpeedProfile'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\NetworkSpeedProfile::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -211,7 +211,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\NetworkSpeedProfile' => false]; + return [\KatapultAPI\Core\Model\NetworkSpeedProfile::class => false]; } } } diff --git a/src/Core/Normalizer/NetworkSpeedProfileNotFoundSchemaNormalizer.php b/src/Core/Normalizer/NetworkSpeedProfileNotFoundSchemaNormalizer.php index 32f012f5..e879a444 100644 --- a/src/Core/Normalizer/NetworkSpeedProfileNotFoundSchemaNormalizer.php +++ b/src/Core/Normalizer/NetworkSpeedProfileNotFoundSchemaNormalizer.php @@ -31,12 +31,12 @@ class NetworkSpeedProfileNotFoundSchemaNormalizer implements DenormalizerInterfa public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\NetworkSpeedProfileNotFoundSchema'; + return $type === \KatapultAPI\Core\Model\NetworkSpeedProfileNotFoundSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\NetworkSpeedProfileNotFoundSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\NetworkSpeedProfileNotFoundSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\NetworkSpeedProfileNotFoundSchema' => false]; + return [\KatapultAPI\Core\Model\NetworkSpeedProfileNotFoundSchema::class => false]; } } } else { @@ -116,12 +116,12 @@ class NetworkSpeedProfileNotFoundSchemaNormalizer implements DenormalizerInterfa public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\NetworkSpeedProfileNotFoundSchema'; + return $type === \KatapultAPI\Core\Model\NetworkSpeedProfileNotFoundSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\NetworkSpeedProfileNotFoundSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\NetworkSpeedProfileNotFoundSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\NetworkSpeedProfileNotFoundSchema' => false]; + return [\KatapultAPI\Core\Model\NetworkSpeedProfileNotFoundSchema::class => false]; } } } diff --git a/src/Core/Normalizer/NetworksNetworkGetResponse200NetworkNormalizer.php b/src/Core/Normalizer/NetworksNetworkGetResponse200NetworkNormalizer.php index 541e79f3..32597293 100644 --- a/src/Core/Normalizer/NetworksNetworkGetResponse200NetworkNormalizer.php +++ b/src/Core/Normalizer/NetworksNetworkGetResponse200NetworkNormalizer.php @@ -31,12 +31,12 @@ class NetworksNetworkGetResponse200NetworkNormalizer implements DenormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\NetworksNetworkGetResponse200Network'; + return $type === \KatapultAPI\Core\Model\NetworksNetworkGetResponse200Network::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\NetworksNetworkGetResponse200Network'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\NetworksNetworkGetResponse200Network::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -66,7 +66,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setPermalink(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\DataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\DataCenter::class, 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value) { @@ -104,7 +104,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\NetworksNetworkGetResponse200Network' => false]; + return [\KatapultAPI\Core\Model\NetworksNetworkGetResponse200Network::class => false]; } } } else { @@ -117,12 +117,12 @@ class NetworksNetworkGetResponse200NetworkNormalizer implements DenormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\NetworksNetworkGetResponse200Network'; + return $type === \KatapultAPI\Core\Model\NetworksNetworkGetResponse200Network::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\NetworksNetworkGetResponse200Network'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\NetworksNetworkGetResponse200Network::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -152,7 +152,7 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setPermalink(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\DataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\DataCenter::class, 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value) { @@ -193,7 +193,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\NetworksNetworkGetResponse200Network' => false]; + return [\KatapultAPI\Core\Model\NetworksNetworkGetResponse200Network::class => false]; } } } diff --git a/src/Core/Normalizer/NetworksNetworkGetResponse200Normalizer.php b/src/Core/Normalizer/NetworksNetworkGetResponse200Normalizer.php index 01ee5182..511fcb47 100644 --- a/src/Core/Normalizer/NetworksNetworkGetResponse200Normalizer.php +++ b/src/Core/Normalizer/NetworksNetworkGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class NetworksNetworkGetResponse200Normalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\NetworksNetworkGetResponse200'; + return $type === \KatapultAPI\Core\Model\NetworksNetworkGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\NetworksNetworkGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\NetworksNetworkGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'KatapultAPI\\Core\\Model\\NetworksNetworkGetResponse200Network', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], \KatapultAPI\Core\Model\NetworksNetworkGetResponse200Network::class, 'json', $context)); unset($data['network']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\NetworksNetworkGetResponse200' => false]; + return [\KatapultAPI\Core\Model\NetworksNetworkGetResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class NetworksNetworkGetResponse200Normalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\NetworksNetworkGetResponse200'; + return $type === \KatapultAPI\Core\Model\NetworksNetworkGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\NetworksNetworkGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\NetworksNetworkGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'KatapultAPI\\Core\\Model\\NetworksNetworkGetResponse200Network', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], \KatapultAPI\Core\Model\NetworksNetworkGetResponse200Network::class, 'json', $context)); unset($data['network']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\NetworksNetworkGetResponse200' => false]; + return [\KatapultAPI\Core\Model\NetworksNetworkGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/NoAvailableAddressesSchemaNormalizer.php b/src/Core/Normalizer/NoAvailableAddressesSchemaNormalizer.php index 1f16d2e7..44cb960f 100644 --- a/src/Core/Normalizer/NoAvailableAddressesSchemaNormalizer.php +++ b/src/Core/Normalizer/NoAvailableAddressesSchemaNormalizer.php @@ -31,12 +31,12 @@ class NoAvailableAddressesSchemaNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\NoAvailableAddressesSchema'; + return $type === \KatapultAPI\Core\Model\NoAvailableAddressesSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\NoAvailableAddressesSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\NoAvailableAddressesSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\NoAvailableAddressesSchema' => false]; + return [\KatapultAPI\Core\Model\NoAvailableAddressesSchema::class => false]; } } } else { @@ -116,12 +116,12 @@ class NoAvailableAddressesSchemaNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\NoAvailableAddressesSchema'; + return $type === \KatapultAPI\Core\Model\NoAvailableAddressesSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\NoAvailableAddressesSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\NoAvailableAddressesSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\NoAvailableAddressesSchema' => false]; + return [\KatapultAPI\Core\Model\NoAvailableAddressesSchema::class => false]; } } } diff --git a/src/Core/Normalizer/NoInterfaceAvailableSchemaNormalizer.php b/src/Core/Normalizer/NoInterfaceAvailableSchemaNormalizer.php index 28e2a6d1..fad7961e 100644 --- a/src/Core/Normalizer/NoInterfaceAvailableSchemaNormalizer.php +++ b/src/Core/Normalizer/NoInterfaceAvailableSchemaNormalizer.php @@ -31,12 +31,12 @@ class NoInterfaceAvailableSchemaNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\NoInterfaceAvailableSchema'; + return $type === \KatapultAPI\Core\Model\NoInterfaceAvailableSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\NoInterfaceAvailableSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\NoInterfaceAvailableSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\NoInterfaceAvailableSchema' => false]; + return [\KatapultAPI\Core\Model\NoInterfaceAvailableSchema::class => false]; } } } else { @@ -116,12 +116,12 @@ class NoInterfaceAvailableSchemaNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\NoInterfaceAvailableSchema'; + return $type === \KatapultAPI\Core\Model\NoInterfaceAvailableSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\NoInterfaceAvailableSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\NoInterfaceAvailableSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\NoInterfaceAvailableSchema' => false]; + return [\KatapultAPI\Core\Model\NoInterfaceAvailableSchema::class => false]; } } } diff --git a/src/Core/Normalizer/ObjectInTrashNormalizer.php b/src/Core/Normalizer/ObjectInTrashNormalizer.php index 875fcb02..b489cc21 100644 --- a/src/Core/Normalizer/ObjectInTrashNormalizer.php +++ b/src/Core/Normalizer/ObjectInTrashNormalizer.php @@ -31,12 +31,12 @@ class ObjectInTrashNormalizer implements DenormalizerInterface, NormalizerInterf public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ObjectInTrash'; + return $type === \KatapultAPI\Core\Model\ObjectInTrash::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ObjectInTrash'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ObjectInTrash::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('trash_object', $data) && $data['trash_object'] !== null) { - $object->setTrashObject($this->denormalizer->denormalize($data['trash_object'], 'KatapultAPI\\Core\\Model\\ObjectInTrashTrashObject', 'json', $context)); + $object->setTrashObject($this->denormalizer->denormalize($data['trash_object'], \KatapultAPI\Core\Model\ObjectInTrashTrashObject::class, 'json', $context)); unset($data['trash_object']); } elseif (\array_key_exists('trash_object', $data) && $data['trash_object'] === null) { $object->setTrashObject(null); @@ -83,7 +83,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ObjectInTrash' => false]; + return [\KatapultAPI\Core\Model\ObjectInTrash::class => false]; } } } else { @@ -96,12 +96,12 @@ class ObjectInTrashNormalizer implements DenormalizerInterface, NormalizerInterf public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ObjectInTrash'; + return $type === \KatapultAPI\Core\Model\ObjectInTrash::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ObjectInTrash'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ObjectInTrash::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -117,7 +117,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('trash_object', $data) && $data['trash_object'] !== null) { - $object->setTrashObject($this->denormalizer->denormalize($data['trash_object'], 'KatapultAPI\\Core\\Model\\ObjectInTrashTrashObject', 'json', $context)); + $object->setTrashObject($this->denormalizer->denormalize($data['trash_object'], \KatapultAPI\Core\Model\ObjectInTrashTrashObject::class, 'json', $context)); unset($data['trash_object']); } elseif (\array_key_exists('trash_object', $data) && $data['trash_object'] === null) { $object->setTrashObject(null); @@ -151,7 +151,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ObjectInTrash' => false]; + return [\KatapultAPI\Core\Model\ObjectInTrash::class => false]; } } } diff --git a/src/Core/Normalizer/ObjectInTrashSchemaNormalizer.php b/src/Core/Normalizer/ObjectInTrashSchemaNormalizer.php index 5857ced1..2aa78856 100644 --- a/src/Core/Normalizer/ObjectInTrashSchemaNormalizer.php +++ b/src/Core/Normalizer/ObjectInTrashSchemaNormalizer.php @@ -31,12 +31,12 @@ class ObjectInTrashSchemaNormalizer implements DenormalizerInterface, Normalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ObjectInTrashSchema'; + return $type === \KatapultAPI\Core\Model\ObjectInTrashSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ObjectInTrashSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ObjectInTrashSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Core\\Model\\ObjectInTrash', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Core\Model\ObjectInTrash::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ObjectInTrashSchema' => false]; + return [\KatapultAPI\Core\Model\ObjectInTrashSchema::class => false]; } } } else { @@ -108,12 +108,12 @@ class ObjectInTrashSchemaNormalizer implements DenormalizerInterface, Normalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ObjectInTrashSchema'; + return $type === \KatapultAPI\Core\Model\ObjectInTrashSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ObjectInTrashSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ObjectInTrashSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -137,7 +137,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Core\\Model\\ObjectInTrash', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Core\Model\ObjectInTrash::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ObjectInTrashSchema' => false]; + return [\KatapultAPI\Core\Model\ObjectInTrashSchema::class => false]; } } } diff --git a/src/Core/Normalizer/ObjectInTrashTrashObjectNormalizer.php b/src/Core/Normalizer/ObjectInTrashTrashObjectNormalizer.php index 62a3f341..92844767 100644 --- a/src/Core/Normalizer/ObjectInTrashTrashObjectNormalizer.php +++ b/src/Core/Normalizer/ObjectInTrashTrashObjectNormalizer.php @@ -31,12 +31,12 @@ class ObjectInTrashTrashObjectNormalizer implements DenormalizerInterface, Norma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ObjectInTrashTrashObject'; + return $type === \KatapultAPI\Core\Model\ObjectInTrashTrashObject::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ObjectInTrashTrashObject'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ObjectInTrashTrashObject::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ObjectInTrashTrashObject' => false]; + return [\KatapultAPI\Core\Model\ObjectInTrashTrashObject::class => false]; } } } else { @@ -115,12 +115,12 @@ class ObjectInTrashTrashObjectNormalizer implements DenormalizerInterface, Norma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ObjectInTrashTrashObject'; + return $type === \KatapultAPI\Core\Model\ObjectInTrashTrashObject::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ObjectInTrashTrashObject'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ObjectInTrashTrashObject::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ObjectInTrashTrashObject' => false]; + return [\KatapultAPI\Core\Model\ObjectInTrashTrashObject::class => false]; } } } diff --git a/src/Core/Normalizer/OneSystemDiskRequiredSchemaNormalizer.php b/src/Core/Normalizer/OneSystemDiskRequiredSchemaNormalizer.php index 324b46a0..3b163429 100644 --- a/src/Core/Normalizer/OneSystemDiskRequiredSchemaNormalizer.php +++ b/src/Core/Normalizer/OneSystemDiskRequiredSchemaNormalizer.php @@ -31,12 +31,12 @@ class OneSystemDiskRequiredSchemaNormalizer implements DenormalizerInterface, No public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OneSystemDiskRequiredSchema'; + return $type === \KatapultAPI\Core\Model\OneSystemDiskRequiredSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OneSystemDiskRequiredSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OneSystemDiskRequiredSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OneSystemDiskRequiredSchema' => false]; + return [\KatapultAPI\Core\Model\OneSystemDiskRequiredSchema::class => false]; } } } else { @@ -116,12 +116,12 @@ class OneSystemDiskRequiredSchemaNormalizer implements DenormalizerInterface, No public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OneSystemDiskRequiredSchema'; + return $type === \KatapultAPI\Core\Model\OneSystemDiskRequiredSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OneSystemDiskRequiredSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OneSystemDiskRequiredSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OneSystemDiskRequiredSchema' => false]; + return [\KatapultAPI\Core\Model\OneSystemDiskRequiredSchema::class => false]; } } } diff --git a/src/Core/Normalizer/OperatingSystemBadgeNormalizer.php b/src/Core/Normalizer/OperatingSystemBadgeNormalizer.php index 81582d96..231dbafb 100644 --- a/src/Core/Normalizer/OperatingSystemBadgeNormalizer.php +++ b/src/Core/Normalizer/OperatingSystemBadgeNormalizer.php @@ -31,12 +31,12 @@ class OperatingSystemBadgeNormalizer implements DenormalizerInterface, Normalize public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OperatingSystemBadge'; + return $type === \KatapultAPI\Core\Model\OperatingSystemBadge::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OperatingSystemBadge'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OperatingSystemBadge::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -116,7 +116,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OperatingSystemBadge' => false]; + return [\KatapultAPI\Core\Model\OperatingSystemBadge::class => false]; } } } else { @@ -129,12 +129,12 @@ class OperatingSystemBadgeNormalizer implements DenormalizerInterface, Normalize public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OperatingSystemBadge'; + return $type === \KatapultAPI\Core\Model\OperatingSystemBadge::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OperatingSystemBadge'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OperatingSystemBadge::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -217,7 +217,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OperatingSystemBadge' => false]; + return [\KatapultAPI\Core\Model\OperatingSystemBadge::class => false]; } } } diff --git a/src/Core/Normalizer/OperatingSystemNormalizer.php b/src/Core/Normalizer/OperatingSystemNormalizer.php index 1d55ccf4..377fdf29 100644 --- a/src/Core/Normalizer/OperatingSystemNormalizer.php +++ b/src/Core/Normalizer/OperatingSystemNormalizer.php @@ -31,12 +31,12 @@ class OperatingSystemNormalizer implements DenormalizerInterface, NormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OperatingSystem'; + return $type === \KatapultAPI\Core\Model\OperatingSystem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OperatingSystem'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OperatingSystem::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['name']); } if (\array_key_exists('badge', $data) && $data['badge'] !== null) { - $object->setBadge($this->denormalizer->denormalize($data['badge'], 'KatapultAPI\\Core\\Model\\OperatingSystemBadge', 'json', $context)); + $object->setBadge($this->denormalizer->denormalize($data['badge'], \KatapultAPI\Core\Model\OperatingSystemBadge::class, 'json', $context)); unset($data['badge']); } elseif (\array_key_exists('badge', $data) && $data['badge'] === null) { $object->setBadge(null); @@ -97,7 +97,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OperatingSystem' => false]; + return [\KatapultAPI\Core\Model\OperatingSystem::class => false]; } } } else { @@ -110,12 +110,12 @@ class OperatingSystemNormalizer implements DenormalizerInterface, NormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OperatingSystem'; + return $type === \KatapultAPI\Core\Model\OperatingSystem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OperatingSystem'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OperatingSystem::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -139,7 +139,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('badge', $data) && $data['badge'] !== null) { - $object->setBadge($this->denormalizer->denormalize($data['badge'], 'KatapultAPI\\Core\\Model\\OperatingSystemBadge', 'json', $context)); + $object->setBadge($this->denormalizer->denormalize($data['badge'], \KatapultAPI\Core\Model\OperatingSystemBadge::class, 'json', $context)); unset($data['badge']); } elseif (\array_key_exists('badge', $data) && $data['badge'] === null) { $object->setBadge(null); @@ -179,7 +179,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OperatingSystem' => false]; + return [\KatapultAPI\Core\Model\OperatingSystem::class => false]; } } } diff --git a/src/Core/Normalizer/OperatingSystemNotFoundSchemaNormalizer.php b/src/Core/Normalizer/OperatingSystemNotFoundSchemaNormalizer.php index 5592bee4..b67b4e49 100644 --- a/src/Core/Normalizer/OperatingSystemNotFoundSchemaNormalizer.php +++ b/src/Core/Normalizer/OperatingSystemNotFoundSchemaNormalizer.php @@ -31,12 +31,12 @@ class OperatingSystemNotFoundSchemaNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OperatingSystemNotFoundSchema'; + return $type === \KatapultAPI\Core\Model\OperatingSystemNotFoundSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OperatingSystemNotFoundSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OperatingSystemNotFoundSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OperatingSystemNotFoundSchema' => false]; + return [\KatapultAPI\Core\Model\OperatingSystemNotFoundSchema::class => false]; } } } else { @@ -116,12 +116,12 @@ class OperatingSystemNotFoundSchemaNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OperatingSystemNotFoundSchema'; + return $type === \KatapultAPI\Core\Model\OperatingSystemNotFoundSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OperatingSystemNotFoundSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OperatingSystemNotFoundSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OperatingSystemNotFoundSchema' => false]; + return [\KatapultAPI\Core\Model\OperatingSystemNotFoundSchema::class => false]; } } } diff --git a/src/Core/Normalizer/OperatingSystemsGetResponse200Normalizer.php b/src/Core/Normalizer/OperatingSystemsGetResponse200Normalizer.php index ceabdfd0..6a504fb4 100644 --- a/src/Core/Normalizer/OperatingSystemsGetResponse200Normalizer.php +++ b/src/Core/Normalizer/OperatingSystemsGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class OperatingSystemsGetResponse200Normalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OperatingSystemsGetResponse200'; + return $type === \KatapultAPI\Core\Model\OperatingSystemsGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OperatingSystemsGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OperatingSystemsGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('operating_systems', $data)) { $values = []; foreach ($data['operating_systems'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetOperatingSystems200ResponseOperatingSystems', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetOperatingSystems200ResponseOperatingSystems::class, 'json', $context); } $object->setOperatingSystems($values); unset($data['operating_systems']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OperatingSystemsGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OperatingSystemsGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class OperatingSystemsGetResponse200Normalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OperatingSystemsGetResponse200'; + return $type === \KatapultAPI\Core\Model\OperatingSystemsGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OperatingSystemsGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OperatingSystemsGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('operating_systems', $data)) { $values = []; foreach ($data['operating_systems'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetOperatingSystems200ResponseOperatingSystems', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetOperatingSystems200ResponseOperatingSystems::class, 'json', $context); } $object->setOperatingSystems($values); unset($data['operating_systems']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OperatingSystemsGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OperatingSystemsGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/OperatingSystemsOperatingSystemGetResponse200Normalizer.php b/src/Core/Normalizer/OperatingSystemsOperatingSystemGetResponse200Normalizer.php index 3e8c4d35..e741e49a 100644 --- a/src/Core/Normalizer/OperatingSystemsOperatingSystemGetResponse200Normalizer.php +++ b/src/Core/Normalizer/OperatingSystemsOperatingSystemGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class OperatingSystemsOperatingSystemGetResponse200Normalizer implements Denorma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OperatingSystemsOperatingSystemGetResponse200'; + return $type === \KatapultAPI\Core\Model\OperatingSystemsOperatingSystemGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OperatingSystemsOperatingSystemGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OperatingSystemsOperatingSystemGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('operating_system', $data)) { - $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'KatapultAPI\\Core\\Model\\OperatingSystemsOperatingSystemGetResponse200OperatingSystem', 'json', $context)); + $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], \KatapultAPI\Core\Model\OperatingSystemsOperatingSystemGetResponse200OperatingSystem::class, 'json', $context)); unset($data['operating_system']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OperatingSystemsOperatingSystemGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OperatingSystemsOperatingSystemGetResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class OperatingSystemsOperatingSystemGetResponse200Normalizer implements Denorma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OperatingSystemsOperatingSystemGetResponse200'; + return $type === \KatapultAPI\Core\Model\OperatingSystemsOperatingSystemGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OperatingSystemsOperatingSystemGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OperatingSystemsOperatingSystemGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('operating_system', $data)) { - $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'KatapultAPI\\Core\\Model\\OperatingSystemsOperatingSystemGetResponse200OperatingSystem', 'json', $context)); + $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], \KatapultAPI\Core\Model\OperatingSystemsOperatingSystemGetResponse200OperatingSystem::class, 'json', $context)); unset($data['operating_system']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OperatingSystemsOperatingSystemGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OperatingSystemsOperatingSystemGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/OperatingSystemsOperatingSystemGetResponse200OperatingSystemNormalizer.php b/src/Core/Normalizer/OperatingSystemsOperatingSystemGetResponse200OperatingSystemNormalizer.php index 9e121ce6..07e1cb37 100644 --- a/src/Core/Normalizer/OperatingSystemsOperatingSystemGetResponse200OperatingSystemNormalizer.php +++ b/src/Core/Normalizer/OperatingSystemsOperatingSystemGetResponse200OperatingSystemNormalizer.php @@ -31,12 +31,12 @@ class OperatingSystemsOperatingSystemGetResponse200OperatingSystemNormalizer imp public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OperatingSystemsOperatingSystemGetResponse200OperatingSystem'; + return $type === \KatapultAPI\Core\Model\OperatingSystemsOperatingSystemGetResponse200OperatingSystem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OperatingSystemsOperatingSystemGetResponse200OperatingSystem'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OperatingSystemsOperatingSystemGetResponse200OperatingSystem::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['name']); } if (\array_key_exists('badge', $data) && $data['badge'] !== null) { - $object->setBadge($this->denormalizer->denormalize($data['badge'], 'KatapultAPI\\Core\\Model\\OperatingSystemBadge', 'json', $context)); + $object->setBadge($this->denormalizer->denormalize($data['badge'], \KatapultAPI\Core\Model\OperatingSystemBadge::class, 'json', $context)); unset($data['badge']); } elseif (\array_key_exists('badge', $data) && $data['badge'] === null) { $object->setBadge(null); @@ -97,7 +97,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OperatingSystemsOperatingSystemGetResponse200OperatingSystem' => false]; + return [\KatapultAPI\Core\Model\OperatingSystemsOperatingSystemGetResponse200OperatingSystem::class => false]; } } } else { @@ -110,12 +110,12 @@ class OperatingSystemsOperatingSystemGetResponse200OperatingSystemNormalizer imp public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OperatingSystemsOperatingSystemGetResponse200OperatingSystem'; + return $type === \KatapultAPI\Core\Model\OperatingSystemsOperatingSystemGetResponse200OperatingSystem::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OperatingSystemsOperatingSystemGetResponse200OperatingSystem'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OperatingSystemsOperatingSystemGetResponse200OperatingSystem::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -139,7 +139,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('badge', $data) && $data['badge'] !== null) { - $object->setBadge($this->denormalizer->denormalize($data['badge'], 'KatapultAPI\\Core\\Model\\OperatingSystemBadge', 'json', $context)); + $object->setBadge($this->denormalizer->denormalize($data['badge'], \KatapultAPI\Core\Model\OperatingSystemBadge::class, 'json', $context)); unset($data['badge']); } elseif (\array_key_exists('badge', $data) && $data['badge'] === null) { $object->setBadge(null); @@ -179,7 +179,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OperatingSystemsOperatingSystemGetResponse200OperatingSystem' => false]; + return [\KatapultAPI\Core\Model\OperatingSystemsOperatingSystemGetResponse200OperatingSystem::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationCountryNormalizer.php b/src/Core/Normalizer/OrganizationCountryNormalizer.php index 263260b2..a12eecf6 100644 --- a/src/Core/Normalizer/OrganizationCountryNormalizer.php +++ b/src/Core/Normalizer/OrganizationCountryNormalizer.php @@ -31,12 +31,12 @@ class OrganizationCountryNormalizer implements DenormalizerInterface, Normalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationCountry'; + return $type === \KatapultAPI\Core\Model\OrganizationCountry::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationCountry'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationCountry::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -118,7 +118,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationCountry' => false]; + return [\KatapultAPI\Core\Model\OrganizationCountry::class => false]; } } } else { @@ -131,12 +131,12 @@ class OrganizationCountryNormalizer implements DenormalizerInterface, Normalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationCountry'; + return $type === \KatapultAPI\Core\Model\OrganizationCountry::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationCountry'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationCountry::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -221,7 +221,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationCountry' => false]; + return [\KatapultAPI\Core\Model\OrganizationCountry::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationCountryStateNormalizer.php b/src/Core/Normalizer/OrganizationCountryStateNormalizer.php index 176653f4..d12963bf 100644 --- a/src/Core/Normalizer/OrganizationCountryStateNormalizer.php +++ b/src/Core/Normalizer/OrganizationCountryStateNormalizer.php @@ -31,12 +31,12 @@ class OrganizationCountryStateNormalizer implements DenormalizerInterface, Norma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationCountryState'; + return $type === \KatapultAPI\Core\Model\OrganizationCountryState::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationCountryState'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationCountryState::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -64,7 +64,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['code']); } if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'KatapultAPI\\Core\\Model\\Country', 'json', $context)); + $object->setCountry($this->denormalizer->denormalize($data['country'], \KatapultAPI\Core\Model\Country::class, 'json', $context)); unset($data['country']); } foreach ($data as $key => $value) { @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationCountryState' => false]; + return [\KatapultAPI\Core\Model\OrganizationCountryState::class => false]; } } } else { @@ -115,12 +115,12 @@ class OrganizationCountryStateNormalizer implements DenormalizerInterface, Norma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationCountryState'; + return $type === \KatapultAPI\Core\Model\OrganizationCountryState::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationCountryState'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationCountryState::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -148,7 +148,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['code']); } if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'KatapultAPI\\Core\\Model\\Country', 'json', $context)); + $object->setCountry($this->denormalizer->denormalize($data['country'], \KatapultAPI\Core\Model\Country::class, 'json', $context)); unset($data['country']); } foreach ($data as $key => $value) { @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationCountryState' => false]; + return [\KatapultAPI\Core\Model\OrganizationCountryState::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationLimitReachedSchemaNormalizer.php b/src/Core/Normalizer/OrganizationLimitReachedSchemaNormalizer.php index 4f110223..8de4a75f 100644 --- a/src/Core/Normalizer/OrganizationLimitReachedSchemaNormalizer.php +++ b/src/Core/Normalizer/OrganizationLimitReachedSchemaNormalizer.php @@ -31,12 +31,12 @@ class OrganizationLimitReachedSchemaNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationLimitReachedSchema'; + return $type === \KatapultAPI\Core\Model\OrganizationLimitReachedSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationLimitReachedSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationLimitReachedSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationLimitReachedSchema' => false]; + return [\KatapultAPI\Core\Model\OrganizationLimitReachedSchema::class => false]; } } } else { @@ -116,12 +116,12 @@ class OrganizationLimitReachedSchemaNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationLimitReachedSchema'; + return $type === \KatapultAPI\Core\Model\OrganizationLimitReachedSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationLimitReachedSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationLimitReachedSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationLimitReachedSchema' => false]; + return [\KatapultAPI\Core\Model\OrganizationLimitReachedSchema::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationLookupNormalizer.php b/src/Core/Normalizer/OrganizationLookupNormalizer.php index e7f1768c..d3fcaef7 100644 --- a/src/Core/Normalizer/OrganizationLookupNormalizer.php +++ b/src/Core/Normalizer/OrganizationLookupNormalizer.php @@ -31,12 +31,12 @@ class OrganizationLookupNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationLookup'; + return $type === \KatapultAPI\Core\Model\OrganizationLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationLookup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationLookup' => false]; + return [\KatapultAPI\Core\Model\OrganizationLookup::class => false]; } } } else { @@ -101,12 +101,12 @@ class OrganizationLookupNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationLookup'; + return $type === \KatapultAPI\Core\Model\OrganizationLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationLookup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationLookup' => false]; + return [\KatapultAPI\Core\Model\OrganizationLookup::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationNormalizer.php b/src/Core/Normalizer/OrganizationNormalizer.php index 3635e9ef..679d4ebd 100644 --- a/src/Core/Normalizer/OrganizationNormalizer.php +++ b/src/Core/Normalizer/OrganizationNormalizer.php @@ -31,12 +31,12 @@ class OrganizationNormalizer implements DenormalizerInterface, NormalizerInterfa public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\Organization'; + return $type === \KatapultAPI\Core\Model\Organization::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\Organization'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\Organization::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -134,17 +134,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setPhoneNumber(null); } if (\array_key_exists('currency', $data)) { - $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'KatapultAPI\\Core\\Model\\Currency', 'json', $context)); + $object->setCurrency($this->denormalizer->denormalize($data['currency'], \KatapultAPI\Core\Model\Currency::class, 'json', $context)); unset($data['currency']); } if (\array_key_exists('country', $data) && $data['country'] !== null) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'KatapultAPI\\Core\\Model\\OrganizationCountry', 'json', $context)); + $object->setCountry($this->denormalizer->denormalize($data['country'], \KatapultAPI\Core\Model\OrganizationCountry::class, 'json', $context)); unset($data['country']); } elseif (\array_key_exists('country', $data) && $data['country'] === null) { $object->setCountry(null); } if (\array_key_exists('country_state', $data) && $data['country_state'] !== null) { - $object->setCountryState($this->denormalizer->denormalize($data['country_state'], 'KatapultAPI\\Core\\Model\\OrganizationCountryState', 'json', $context)); + $object->setCountryState($this->denormalizer->denormalize($data['country_state'], \KatapultAPI\Core\Model\OrganizationCountryState::class, 'json', $context)); unset($data['country_state']); } elseif (\array_key_exists('country_state', $data) && $data['country_state'] === null) { $object->setCountryState(null); @@ -229,7 +229,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\Organization' => false]; + return [\KatapultAPI\Core\Model\Organization::class => false]; } } } else { @@ -242,12 +242,12 @@ class OrganizationNormalizer implements DenormalizerInterface, NormalizerInterfa public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\Organization'; + return $type === \KatapultAPI\Core\Model\Organization::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\Organization'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\Organization::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -345,17 +345,17 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setPhoneNumber(null); } if (\array_key_exists('currency', $data)) { - $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'KatapultAPI\\Core\\Model\\Currency', 'json', $context)); + $object->setCurrency($this->denormalizer->denormalize($data['currency'], \KatapultAPI\Core\Model\Currency::class, 'json', $context)); unset($data['currency']); } if (\array_key_exists('country', $data) && $data['country'] !== null) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'KatapultAPI\\Core\\Model\\OrganizationCountry', 'json', $context)); + $object->setCountry($this->denormalizer->denormalize($data['country'], \KatapultAPI\Core\Model\OrganizationCountry::class, 'json', $context)); unset($data['country']); } elseif (\array_key_exists('country', $data) && $data['country'] === null) { $object->setCountry(null); } if (\array_key_exists('country_state', $data) && $data['country_state'] !== null) { - $object->setCountryState($this->denormalizer->denormalize($data['country_state'], 'KatapultAPI\\Core\\Model\\OrganizationCountryState', 'json', $context)); + $object->setCountryState($this->denormalizer->denormalize($data['country_state'], \KatapultAPI\Core\Model\OrganizationCountryState::class, 'json', $context)); unset($data['country_state']); } elseif (\array_key_exists('country_state', $data) && $data['country_state'] === null) { $object->setCountryState(null); @@ -443,7 +443,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\Organization' => false]; + return [\KatapultAPI\Core\Model\Organization::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationNotActivatedSchemaNormalizer.php b/src/Core/Normalizer/OrganizationNotActivatedSchemaNormalizer.php index 4e12bee0..458de832 100644 --- a/src/Core/Normalizer/OrganizationNotActivatedSchemaNormalizer.php +++ b/src/Core/Normalizer/OrganizationNotActivatedSchemaNormalizer.php @@ -31,12 +31,12 @@ class OrganizationNotActivatedSchemaNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationNotActivatedSchema'; + return $type === \KatapultAPI\Core\Model\OrganizationNotActivatedSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationNotActivatedSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationNotActivatedSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationNotActivatedSchema' => false]; + return [\KatapultAPI\Core\Model\OrganizationNotActivatedSchema::class => false]; } } } else { @@ -116,12 +116,12 @@ class OrganizationNotActivatedSchemaNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationNotActivatedSchema'; + return $type === \KatapultAPI\Core\Model\OrganizationNotActivatedSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationNotActivatedSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationNotActivatedSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationNotActivatedSchema' => false]; + return [\KatapultAPI\Core\Model\OrganizationNotActivatedSchema::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationNotFoundSchemaNormalizer.php b/src/Core/Normalizer/OrganizationNotFoundSchemaNormalizer.php index 530a2aaa..90a8c7c1 100644 --- a/src/Core/Normalizer/OrganizationNotFoundSchemaNormalizer.php +++ b/src/Core/Normalizer/OrganizationNotFoundSchemaNormalizer.php @@ -31,12 +31,12 @@ class OrganizationNotFoundSchemaNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationNotFoundSchema'; + return $type === \KatapultAPI\Core\Model\OrganizationNotFoundSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationNotFoundSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationNotFoundSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationNotFoundSchema' => false]; + return [\KatapultAPI\Core\Model\OrganizationNotFoundSchema::class => false]; } } } else { @@ -116,12 +116,12 @@ class OrganizationNotFoundSchemaNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationNotFoundSchema'; + return $type === \KatapultAPI\Core\Model\OrganizationNotFoundSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationNotFoundSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationNotFoundSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationNotFoundSchema' => false]; + return [\KatapultAPI\Core\Model\OrganizationNotFoundSchema::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationPolicyNormalizer.php b/src/Core/Normalizer/OrganizationPolicyNormalizer.php index 29d77fa3..fde70c1a 100644 --- a/src/Core/Normalizer/OrganizationPolicyNormalizer.php +++ b/src/Core/Normalizer/OrganizationPolicyNormalizer.php @@ -31,12 +31,12 @@ class OrganizationPolicyNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationPolicy'; + return $type === \KatapultAPI\Core\Model\OrganizationPolicy::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationPolicy'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationPolicy::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,63 +52,63 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('maximum_uninvoiced_balance', $data)) { - $object->setMaximumUninvoicedBalance($this->denormalizer->denormalize($data['maximum_uninvoiced_balance'], 'KatapultAPI\\Core\\Model\\DecimalOrUnlimited', 'json', $context)); + $object->setMaximumUninvoicedBalance($this->denormalizer->denormalize($data['maximum_uninvoiced_balance'], \KatapultAPI\Core\Model\DecimalOrUnlimited::class, 'json', $context)); unset($data['maximum_uninvoiced_balance']); } if (\array_key_exists('maximum_virtual_machines', $data)) { - $object->setMaximumVirtualMachines($this->denormalizer->denormalize($data['maximum_virtual_machines'], 'KatapultAPI\\Core\\Model\\IntegerOrUnlimited', 'json', $context)); + $object->setMaximumVirtualMachines($this->denormalizer->denormalize($data['maximum_virtual_machines'], \KatapultAPI\Core\Model\IntegerOrUnlimited::class, 'json', $context)); unset($data['maximum_virtual_machines']); } if (\array_key_exists('maximum_virtual_machine_memory', $data)) { - $object->setMaximumVirtualMachineMemory($this->denormalizer->denormalize($data['maximum_virtual_machine_memory'], 'KatapultAPI\\Core\\Model\\IntegerOrUnlimited', 'json', $context)); + $object->setMaximumVirtualMachineMemory($this->denormalizer->denormalize($data['maximum_virtual_machine_memory'], \KatapultAPI\Core\Model\IntegerOrUnlimited::class, 'json', $context)); unset($data['maximum_virtual_machine_memory']); } if (\array_key_exists('maximum_disk_space', $data)) { - $object->setMaximumDiskSpace($this->denormalizer->denormalize($data['maximum_disk_space'], 'KatapultAPI\\Core\\Model\\IntegerOrUnlimited', 'json', $context)); + $object->setMaximumDiskSpace($this->denormalizer->denormalize($data['maximum_disk_space'], \KatapultAPI\Core\Model\IntegerOrUnlimited::class, 'json', $context)); unset($data['maximum_disk_space']); } if (\array_key_exists('maximum_managed_organizations', $data)) { - $object->setMaximumManagedOrganizations($this->denormalizer->denormalize($data['maximum_managed_organizations'], 'KatapultAPI\\Core\\Model\\IntegerOrUnlimited', 'json', $context)); + $object->setMaximumManagedOrganizations($this->denormalizer->denormalize($data['maximum_managed_organizations'], \KatapultAPI\Core\Model\IntegerOrUnlimited::class, 'json', $context)); unset($data['maximum_managed_organizations']); } if (\array_key_exists('maximum_unallocated_ip_addresses', $data)) { - $object->setMaximumUnallocatedIpAddresses($this->denormalizer->denormalize($data['maximum_unallocated_ip_addresses'], 'KatapultAPI\\Core\\Model\\IntegerOrUnlimited', 'json', $context)); + $object->setMaximumUnallocatedIpAddresses($this->denormalizer->denormalize($data['maximum_unallocated_ip_addresses'], \KatapultAPI\Core\Model\IntegerOrUnlimited::class, 'json', $context)); unset($data['maximum_unallocated_ip_addresses']); } if (\array_key_exists('maximum_security_groups', $data)) { - $object->setMaximumSecurityGroups($this->denormalizer->denormalize($data['maximum_security_groups'], 'KatapultAPI\\Core\\Model\\IntegerOrUnlimited', 'json', $context)); + $object->setMaximumSecurityGroups($this->denormalizer->denormalize($data['maximum_security_groups'], \KatapultAPI\Core\Model\IntegerOrUnlimited::class, 'json', $context)); unset($data['maximum_security_groups']); } if (\array_key_exists('maximum_virtual_networks', $data)) { - $object->setMaximumVirtualNetworks($this->denormalizer->denormalize($data['maximum_virtual_networks'], 'KatapultAPI\\Core\\Model\\IntegerOrUnlimited', 'json', $context)); + $object->setMaximumVirtualNetworks($this->denormalizer->denormalize($data['maximum_virtual_networks'], \KatapultAPI\Core\Model\IntegerOrUnlimited::class, 'json', $context)); unset($data['maximum_virtual_networks']); } if (\array_key_exists('maximum_load_balancers', $data)) { - $object->setMaximumLoadBalancers($this->denormalizer->denormalize($data['maximum_load_balancers'], 'KatapultAPI\\Core\\Model\\IntegerOrUnlimited', 'json', $context)); + $object->setMaximumLoadBalancers($this->denormalizer->denormalize($data['maximum_load_balancers'], \KatapultAPI\Core\Model\IntegerOrUnlimited::class, 'json', $context)); unset($data['maximum_load_balancers']); } if (\array_key_exists('maximum_dns_zones', $data)) { - $object->setMaximumDnsZones($this->denormalizer->denormalize($data['maximum_dns_zones'], 'KatapultAPI\\Core\\Model\\IntegerOrUnlimited', 'json', $context)); + $object->setMaximumDnsZones($this->denormalizer->denormalize($data['maximum_dns_zones'], \KatapultAPI\Core\Model\IntegerOrUnlimited::class, 'json', $context)); unset($data['maximum_dns_zones']); } if (\array_key_exists('maximum_certificates', $data)) { - $object->setMaximumCertificates($this->denormalizer->denormalize($data['maximum_certificates'], 'KatapultAPI\\Core\\Model\\IntegerOrUnlimited', 'json', $context)); + $object->setMaximumCertificates($this->denormalizer->denormalize($data['maximum_certificates'], \KatapultAPI\Core\Model\IntegerOrUnlimited::class, 'json', $context)); unset($data['maximum_certificates']); } if (\array_key_exists('maximum_file_storage_volumes', $data)) { - $object->setMaximumFileStorageVolumes($this->denormalizer->denormalize($data['maximum_file_storage_volumes'], 'KatapultAPI\\Core\\Model\\IntegerOrUnlimited', 'json', $context)); + $object->setMaximumFileStorageVolumes($this->denormalizer->denormalize($data['maximum_file_storage_volumes'], \KatapultAPI\Core\Model\IntegerOrUnlimited::class, 'json', $context)); unset($data['maximum_file_storage_volumes']); } if (\array_key_exists('maximum_isos', $data)) { - $object->setMaximumIsos($this->denormalizer->denormalize($data['maximum_isos'], 'KatapultAPI\\Core\\Model\\IntegerOrUnlimited', 'json', $context)); + $object->setMaximumIsos($this->denormalizer->denormalize($data['maximum_isos'], \KatapultAPI\Core\Model\IntegerOrUnlimited::class, 'json', $context)); unset($data['maximum_isos']); } if (\array_key_exists('maximum_disk_size', $data)) { - $object->setMaximumDiskSize($this->denormalizer->denormalize($data['maximum_disk_size'], 'KatapultAPI\\Core\\Model\\IntegerOrUnlimited', 'json', $context)); + $object->setMaximumDiskSize($this->denormalizer->denormalize($data['maximum_disk_size'], \KatapultAPI\Core\Model\IntegerOrUnlimited::class, 'json', $context)); unset($data['maximum_disk_size']); } if (\array_key_exists('minimum_disk_size', $data)) { - $object->setMinimumDiskSize($this->denormalizer->denormalize($data['minimum_disk_size'], 'KatapultAPI\\Core\\Model\\IntegerValue', 'json', $context)); + $object->setMinimumDiskSize($this->denormalizer->denormalize($data['minimum_disk_size'], \KatapultAPI\Core\Model\IntegerValue::class, 'json', $context)); unset($data['minimum_disk_size']); } if (\array_key_exists('flexible_virtual_machine_resources', $data)) { @@ -200,7 +200,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationPolicy' => false]; + return [\KatapultAPI\Core\Model\OrganizationPolicy::class => false]; } } } else { @@ -213,12 +213,12 @@ class OrganizationPolicyNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationPolicy'; + return $type === \KatapultAPI\Core\Model\OrganizationPolicy::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationPolicy'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationPolicy::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -234,63 +234,63 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('maximum_uninvoiced_balance', $data)) { - $object->setMaximumUninvoicedBalance($this->denormalizer->denormalize($data['maximum_uninvoiced_balance'], 'KatapultAPI\\Core\\Model\\DecimalOrUnlimited', 'json', $context)); + $object->setMaximumUninvoicedBalance($this->denormalizer->denormalize($data['maximum_uninvoiced_balance'], \KatapultAPI\Core\Model\DecimalOrUnlimited::class, 'json', $context)); unset($data['maximum_uninvoiced_balance']); } if (\array_key_exists('maximum_virtual_machines', $data)) { - $object->setMaximumVirtualMachines($this->denormalizer->denormalize($data['maximum_virtual_machines'], 'KatapultAPI\\Core\\Model\\IntegerOrUnlimited', 'json', $context)); + $object->setMaximumVirtualMachines($this->denormalizer->denormalize($data['maximum_virtual_machines'], \KatapultAPI\Core\Model\IntegerOrUnlimited::class, 'json', $context)); unset($data['maximum_virtual_machines']); } if (\array_key_exists('maximum_virtual_machine_memory', $data)) { - $object->setMaximumVirtualMachineMemory($this->denormalizer->denormalize($data['maximum_virtual_machine_memory'], 'KatapultAPI\\Core\\Model\\IntegerOrUnlimited', 'json', $context)); + $object->setMaximumVirtualMachineMemory($this->denormalizer->denormalize($data['maximum_virtual_machine_memory'], \KatapultAPI\Core\Model\IntegerOrUnlimited::class, 'json', $context)); unset($data['maximum_virtual_machine_memory']); } if (\array_key_exists('maximum_disk_space', $data)) { - $object->setMaximumDiskSpace($this->denormalizer->denormalize($data['maximum_disk_space'], 'KatapultAPI\\Core\\Model\\IntegerOrUnlimited', 'json', $context)); + $object->setMaximumDiskSpace($this->denormalizer->denormalize($data['maximum_disk_space'], \KatapultAPI\Core\Model\IntegerOrUnlimited::class, 'json', $context)); unset($data['maximum_disk_space']); } if (\array_key_exists('maximum_managed_organizations', $data)) { - $object->setMaximumManagedOrganizations($this->denormalizer->denormalize($data['maximum_managed_organizations'], 'KatapultAPI\\Core\\Model\\IntegerOrUnlimited', 'json', $context)); + $object->setMaximumManagedOrganizations($this->denormalizer->denormalize($data['maximum_managed_organizations'], \KatapultAPI\Core\Model\IntegerOrUnlimited::class, 'json', $context)); unset($data['maximum_managed_organizations']); } if (\array_key_exists('maximum_unallocated_ip_addresses', $data)) { - $object->setMaximumUnallocatedIpAddresses($this->denormalizer->denormalize($data['maximum_unallocated_ip_addresses'], 'KatapultAPI\\Core\\Model\\IntegerOrUnlimited', 'json', $context)); + $object->setMaximumUnallocatedIpAddresses($this->denormalizer->denormalize($data['maximum_unallocated_ip_addresses'], \KatapultAPI\Core\Model\IntegerOrUnlimited::class, 'json', $context)); unset($data['maximum_unallocated_ip_addresses']); } if (\array_key_exists('maximum_security_groups', $data)) { - $object->setMaximumSecurityGroups($this->denormalizer->denormalize($data['maximum_security_groups'], 'KatapultAPI\\Core\\Model\\IntegerOrUnlimited', 'json', $context)); + $object->setMaximumSecurityGroups($this->denormalizer->denormalize($data['maximum_security_groups'], \KatapultAPI\Core\Model\IntegerOrUnlimited::class, 'json', $context)); unset($data['maximum_security_groups']); } if (\array_key_exists('maximum_virtual_networks', $data)) { - $object->setMaximumVirtualNetworks($this->denormalizer->denormalize($data['maximum_virtual_networks'], 'KatapultAPI\\Core\\Model\\IntegerOrUnlimited', 'json', $context)); + $object->setMaximumVirtualNetworks($this->denormalizer->denormalize($data['maximum_virtual_networks'], \KatapultAPI\Core\Model\IntegerOrUnlimited::class, 'json', $context)); unset($data['maximum_virtual_networks']); } if (\array_key_exists('maximum_load_balancers', $data)) { - $object->setMaximumLoadBalancers($this->denormalizer->denormalize($data['maximum_load_balancers'], 'KatapultAPI\\Core\\Model\\IntegerOrUnlimited', 'json', $context)); + $object->setMaximumLoadBalancers($this->denormalizer->denormalize($data['maximum_load_balancers'], \KatapultAPI\Core\Model\IntegerOrUnlimited::class, 'json', $context)); unset($data['maximum_load_balancers']); } if (\array_key_exists('maximum_dns_zones', $data)) { - $object->setMaximumDnsZones($this->denormalizer->denormalize($data['maximum_dns_zones'], 'KatapultAPI\\Core\\Model\\IntegerOrUnlimited', 'json', $context)); + $object->setMaximumDnsZones($this->denormalizer->denormalize($data['maximum_dns_zones'], \KatapultAPI\Core\Model\IntegerOrUnlimited::class, 'json', $context)); unset($data['maximum_dns_zones']); } if (\array_key_exists('maximum_certificates', $data)) { - $object->setMaximumCertificates($this->denormalizer->denormalize($data['maximum_certificates'], 'KatapultAPI\\Core\\Model\\IntegerOrUnlimited', 'json', $context)); + $object->setMaximumCertificates($this->denormalizer->denormalize($data['maximum_certificates'], \KatapultAPI\Core\Model\IntegerOrUnlimited::class, 'json', $context)); unset($data['maximum_certificates']); } if (\array_key_exists('maximum_file_storage_volumes', $data)) { - $object->setMaximumFileStorageVolumes($this->denormalizer->denormalize($data['maximum_file_storage_volumes'], 'KatapultAPI\\Core\\Model\\IntegerOrUnlimited', 'json', $context)); + $object->setMaximumFileStorageVolumes($this->denormalizer->denormalize($data['maximum_file_storage_volumes'], \KatapultAPI\Core\Model\IntegerOrUnlimited::class, 'json', $context)); unset($data['maximum_file_storage_volumes']); } if (\array_key_exists('maximum_isos', $data)) { - $object->setMaximumIsos($this->denormalizer->denormalize($data['maximum_isos'], 'KatapultAPI\\Core\\Model\\IntegerOrUnlimited', 'json', $context)); + $object->setMaximumIsos($this->denormalizer->denormalize($data['maximum_isos'], \KatapultAPI\Core\Model\IntegerOrUnlimited::class, 'json', $context)); unset($data['maximum_isos']); } if (\array_key_exists('maximum_disk_size', $data)) { - $object->setMaximumDiskSize($this->denormalizer->denormalize($data['maximum_disk_size'], 'KatapultAPI\\Core\\Model\\IntegerOrUnlimited', 'json', $context)); + $object->setMaximumDiskSize($this->denormalizer->denormalize($data['maximum_disk_size'], \KatapultAPI\Core\Model\IntegerOrUnlimited::class, 'json', $context)); unset($data['maximum_disk_size']); } if (\array_key_exists('minimum_disk_size', $data)) { - $object->setMinimumDiskSize($this->denormalizer->denormalize($data['minimum_disk_size'], 'KatapultAPI\\Core\\Model\\IntegerValue', 'json', $context)); + $object->setMinimumDiskSize($this->denormalizer->denormalize($data['minimum_disk_size'], \KatapultAPI\Core\Model\IntegerValue::class, 'json', $context)); unset($data['minimum_disk_size']); } if (\array_key_exists('flexible_virtual_machine_resources', $data)) { @@ -385,7 +385,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationPolicy' => false]; + return [\KatapultAPI\Core\Model\OrganizationPolicy::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationSuspendedSchemaNormalizer.php b/src/Core/Normalizer/OrganizationSuspendedSchemaNormalizer.php index 5fb40956..fe1fa456 100644 --- a/src/Core/Normalizer/OrganizationSuspendedSchemaNormalizer.php +++ b/src/Core/Normalizer/OrganizationSuspendedSchemaNormalizer.php @@ -31,12 +31,12 @@ class OrganizationSuspendedSchemaNormalizer implements DenormalizerInterface, No public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationSuspendedSchema'; + return $type === \KatapultAPI\Core\Model\OrganizationSuspendedSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationSuspendedSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationSuspendedSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationSuspendedSchema' => false]; + return [\KatapultAPI\Core\Model\OrganizationSuspendedSchema::class => false]; } } } else { @@ -116,12 +116,12 @@ class OrganizationSuspendedSchemaNormalizer implements DenormalizerInterface, No public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationSuspendedSchema'; + return $type === \KatapultAPI\Core\Model\OrganizationSuspendedSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationSuspendedSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationSuspendedSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationSuspendedSchema' => false]; + return [\KatapultAPI\Core\Model\OrganizationSuspendedSchema::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsGetResponse200Normalizer.php b/src/Core/Normalizer/OrganizationsGetResponse200Normalizer.php index 25e3b8f0..6ca02eb6 100644 --- a/src/Core/Normalizer/OrganizationsGetResponse200Normalizer.php +++ b/src/Core/Normalizer/OrganizationsGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsGetResponse200Normalizer implements DenormalizerInterface, No public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -54,7 +54,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('organizations', $data)) { $values = []; foreach ($data['organizations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetOrganizations200ResponseOrganizations', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetOrganizations200ResponseOrganizations::class, 'json', $context); } $object->setOrganizations($values); unset($data['organizations']); @@ -87,7 +87,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsGetResponse200::class => false]; } } } else { @@ -100,12 +100,12 @@ class OrganizationsGetResponse200Normalizer implements DenormalizerInterface, No public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -123,7 +123,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('organizations', $data)) { $values = []; foreach ($data['organizations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetOrganizations200ResponseOrganizations', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetOrganizations200ResponseOrganizations::class, 'json', $context); } $object->setOrganizations($values); unset($data['organizations']); @@ -159,7 +159,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationAddressListsGetResponse200Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationAddressListsGetResponse200Normalizer.php index 7131bf4d..0e8e22d0 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationAddressListsGetResponse200Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationAddressListsGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationAddressListsGetResponse200Normalizer implements D public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('address_lists', $data)) { $values = []; foreach ($data['address_lists'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetOrganizationAddressLists200ResponseAddressLists', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetOrganizationAddressLists200ResponseAddressLists::class, 'json', $context); } $object->setAddressLists($values); unset($data['address_lists']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class OrganizationsOrganizationAddressListsGetResponse200Normalizer implements D public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('address_lists', $data)) { $values = []; foreach ($data['address_lists'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetOrganizationAddressLists200ResponseAddressLists', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetOrganizationAddressLists200ResponseAddressLists::class, 'json', $context); } $object->setAddressLists($values); unset($data['address_lists']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationAddressListsPostBodyNormalizer.php b/src/Core/Normalizer/OrganizationsOrganizationAddressListsPostBodyNormalizer.php index 297bf85a..bf498790 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationAddressListsPostBodyNormalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationAddressListsPostBodyNormalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationAddressListsPostBodyNormalizer implements Denorma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsPostBody'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,17 +52,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\OrganizationLookup', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\OrganizationLookup::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\AddressListArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\AddressListArguments::class, 'json', $context)); unset($data['properties']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -99,7 +99,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsPostBody' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsPostBody::class => false]; } } } else { @@ -112,12 +112,12 @@ class OrganizationsOrganizationAddressListsPostBodyNormalizer implements Denorma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsPostBody'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -133,17 +133,17 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\OrganizationLookup', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\OrganizationLookup::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\AddressListArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\AddressListArguments::class, 'json', $context)); unset($data['properties']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -183,7 +183,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsPostBody' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationAddressListsPostResponse201AddressListNormalizer.php b/src/Core/Normalizer/OrganizationsOrganizationAddressListsPostResponse201AddressListNormalizer.php index 25ac3158..f0dc6b62 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationAddressListsPostResponse201AddressListNormalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationAddressListsPostResponse201AddressListNormalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationAddressListsPostResponse201AddressListNormalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsPostResponse201AddressList'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsPostResponse201AddressList::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsPostResponse201AddressList'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsPostResponse201AddressList::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -66,7 +66,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('entries', $data)) { $values = []; foreach ($data['entries'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\AddressListEntry', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\AddressListEntry::class, 'json', $context); } $object->setEntries($values); unset($data['entries']); @@ -110,7 +110,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsPostResponse201AddressList' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsPostResponse201AddressList::class => false]; } } } else { @@ -123,12 +123,12 @@ class OrganizationsOrganizationAddressListsPostResponse201AddressListNormalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsPostResponse201AddressList'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsPostResponse201AddressList::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsPostResponse201AddressList'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsPostResponse201AddressList::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -158,7 +158,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('entries', $data)) { $values = []; foreach ($data['entries'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\AddressListEntry', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\AddressListEntry::class, 'json', $context); } $object->setEntries($values); unset($data['entries']); @@ -205,7 +205,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsPostResponse201AddressList' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsPostResponse201AddressList::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationAddressListsPostResponse201Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationAddressListsPostResponse201Normalizer.php index f9e7feb5..cebeed5c 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationAddressListsPostResponse201Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationAddressListsPostResponse201Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationAddressListsPostResponse201Normalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsPostResponse201'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsPostResponse201::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsPostResponse201'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsPostResponse201::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('address_list', $data)) { - $object->setAddressList($this->denormalizer->denormalize($data['address_list'], 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsPostResponse201AddressList', 'json', $context)); + $object->setAddressList($this->denormalizer->denormalize($data['address_list'], \KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsPostResponse201AddressList::class, 'json', $context)); unset($data['address_list']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsPostResponse201' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsPostResponse201::class => false]; } } } else { @@ -105,12 +105,12 @@ class OrganizationsOrganizationAddressListsPostResponse201Normalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsPostResponse201'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsPostResponse201::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsPostResponse201'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsPostResponse201::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('address_list', $data)) { - $object->setAddressList($this->denormalizer->denormalize($data['address_list'], 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsPostResponse201AddressList', 'json', $context)); + $object->setAddressList($this->denormalizer->denormalize($data['address_list'], \KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsPostResponse201AddressList::class, 'json', $context)); unset($data['address_list']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationAddressListsPostResponse201' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationAddressListsPostResponse201::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationApiTokensGetResponse200Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationApiTokensGetResponse200Normalizer.php index 850b40b8..15e7a059 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationApiTokensGetResponse200Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationApiTokensGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationApiTokensGetResponse200Normalizer implements Deno public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('api_tokens', $data)) { $values = []; foreach ($data['api_tokens'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\APIToken', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\APIToken::class, 'json', $context); } $object->setApiTokens($values); unset($data['api_tokens']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class OrganizationsOrganizationApiTokensGetResponse200Normalizer implements Deno public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('api_tokens', $data)) { $values = []; foreach ($data['api_tokens'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\APIToken', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\APIToken::class, 'json', $context); } $object->setApiTokens($values); unset($data['api_tokens']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationApiTokensPostBodyNormalizer.php b/src/Core/Normalizer/OrganizationsOrganizationApiTokensPostBodyNormalizer.php index 3b95646d..e6d3433b 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationApiTokensPostBodyNormalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationApiTokensPostBodyNormalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationApiTokensPostBodyNormalizer implements Denormaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensPostBody'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,17 +52,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\OrganizationLookup', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\OrganizationLookup::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\APITokenArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\APITokenArguments::class, 'json', $context)); unset($data['properties']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -99,7 +99,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensPostBody' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensPostBody::class => false]; } } } else { @@ -112,12 +112,12 @@ class OrganizationsOrganizationApiTokensPostBodyNormalizer implements Denormaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensPostBody'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -133,17 +133,17 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\OrganizationLookup', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\OrganizationLookup::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\APITokenArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\APITokenArguments::class, 'json', $context)); unset($data['properties']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -183,7 +183,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensPostBody' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationApiTokensPostResponse200ApiTokenNormalizer.php b/src/Core/Normalizer/OrganizationsOrganizationApiTokensPostResponse200ApiTokenNormalizer.php index 2b2c7b7e..4743f688 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationApiTokensPostResponse200ApiTokenNormalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationApiTokensPostResponse200ApiTokenNormalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationApiTokensPostResponse200ApiTokenNormalizer implem public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensPostResponse200ApiToken'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensPostResponse200ApiToken::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensPostResponse200ApiToken'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensPostResponse200ApiToken::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -152,7 +152,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensPostResponse200ApiToken' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensPostResponse200ApiToken::class => false]; } } } else { @@ -165,12 +165,12 @@ class OrganizationsOrganizationApiTokensPostResponse200ApiTokenNormalizer implem public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensPostResponse200ApiToken'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensPostResponse200ApiToken::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensPostResponse200ApiToken'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensPostResponse200ApiToken::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -289,7 +289,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensPostResponse200ApiToken' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensPostResponse200ApiToken::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationApiTokensPostResponse200Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationApiTokensPostResponse200Normalizer.php index 2e37d8ea..adb36e50 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationApiTokensPostResponse200Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationApiTokensPostResponse200Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationApiTokensPostResponse200Normalizer implements Den public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensPostResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensPostResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('api_token', $data)) { - $object->setApiToken($this->denormalizer->denormalize($data['api_token'], 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensPostResponse200ApiToken', 'json', $context)); + $object->setApiToken($this->denormalizer->denormalize($data['api_token'], \KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensPostResponse200ApiToken::class, 'json', $context)); unset($data['api_token']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensPostResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensPostResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class OrganizationsOrganizationApiTokensPostResponse200Normalizer implements Den public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensPostResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensPostResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('api_token', $data)) { - $object->setApiToken($this->denormalizer->denormalize($data['api_token'], 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensPostResponse200ApiToken', 'json', $context)); + $object->setApiToken($this->denormalizer->denormalize($data['api_token'], \KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensPostResponse200ApiToken::class, 'json', $context)); unset($data['api_token']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationApiTokensPostResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationApiTokensPostResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationAvailableNetworksGetResponse200Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationAvailableNetworksGetResponse200Normalizer.php index 4e7792aa..34f9f074 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationAvailableNetworksGetResponse200Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationAvailableNetworksGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationAvailableNetworksGetResponse200Normalizer impleme public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAvailableNetworksGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationAvailableNetworksGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAvailableNetworksGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationAvailableNetworksGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -54,7 +54,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('networks', $data)) { $values = []; foreach ($data['networks'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworks200ResponseNetworks', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetOrganizationAvailableNetworks200ResponseNetworks::class, 'json', $context); } $object->setNetworks($values); unset($data['networks']); @@ -62,7 +62,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('virtual_networks', $data)) { $values_1 = []; foreach ($data['virtual_networks'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworks200ResponseVirtualNetworks', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, \KatapultAPI\Core\Model\GetOrganizationAvailableNetworks200ResponseVirtualNetworks::class, 'json', $context); } $object->setVirtualNetworks($values_1); unset($data['virtual_networks']); @@ -100,7 +100,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationAvailableNetworksGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationAvailableNetworksGetResponse200::class => false]; } } } else { @@ -113,12 +113,12 @@ class OrganizationsOrganizationAvailableNetworksGetResponse200Normalizer impleme public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAvailableNetworksGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationAvailableNetworksGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationAvailableNetworksGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationAvailableNetworksGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -136,7 +136,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('networks', $data)) { $values = []; foreach ($data['networks'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworks200ResponseNetworks', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetOrganizationAvailableNetworks200ResponseNetworks::class, 'json', $context); } $object->setNetworks($values); unset($data['networks']); @@ -144,7 +144,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('virtual_networks', $data)) { $values_1 = []; foreach ($data['virtual_networks'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'KatapultAPI\\Core\\Model\\GetOrganizationAvailableNetworks200ResponseVirtualNetworks', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, \KatapultAPI\Core\Model\GetOrganizationAvailableNetworks200ResponseVirtualNetworks::class, 'json', $context); } $object->setVirtualNetworks($values_1); unset($data['virtual_networks']); @@ -185,7 +185,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationAvailableNetworksGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationAvailableNetworksGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationCertificatesGetResponse200Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationCertificatesGetResponse200Normalizer.php index 78be76bf..3664bf39 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationCertificatesGetResponse200Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationCertificatesGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationCertificatesGetResponse200Normalizer implements D public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationCertificatesGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationCertificatesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationCertificatesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationCertificatesGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('certificates', $data)) { $values = []; foreach ($data['certificates'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetOrganizationCertificates200ResponseCertificates', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetOrganizationCertificates200ResponseCertificates::class, 'json', $context); } $object->setCertificates($values); unset($data['certificates']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationCertificatesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationCertificatesGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class OrganizationsOrganizationCertificatesGetResponse200Normalizer implements D public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationCertificatesGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationCertificatesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationCertificatesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationCertificatesGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('certificates', $data)) { $values = []; foreach ($data['certificates'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetOrganizationCertificates200ResponseCertificates', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetOrganizationCertificates200ResponseCertificates::class, 'json', $context); } $object->setCertificates($values); unset($data['certificates']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationCertificatesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationCertificatesGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationDiskBackupPoliciesGetResponse200Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationDiskBackupPoliciesGetResponse200Normalizer.php index 1016298c..42fa7628 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationDiskBackupPoliciesGetResponse200Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationDiskBackupPoliciesGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationDiskBackupPoliciesGetResponse200Normalizer implem public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDiskBackupPoliciesGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationDiskBackupPoliciesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDiskBackupPoliciesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationDiskBackupPoliciesGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('disk_backup_policies', $data)) { $values = []; foreach ($data['disk_backup_policies'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPolicies', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPolicies::class, 'json', $context); } $object->setDiskBackupPolicies($values); unset($data['disk_backup_policies']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationDiskBackupPoliciesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationDiskBackupPoliciesGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class OrganizationsOrganizationDiskBackupPoliciesGetResponse200Normalizer implem public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDiskBackupPoliciesGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationDiskBackupPoliciesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDiskBackupPoliciesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationDiskBackupPoliciesGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('disk_backup_policies', $data)) { $values = []; foreach ($data['disk_backup_policies'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPolicies', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetOrganizationDiskBackupPolicies200ResponseDiskBackupPolicies::class, 'json', $context); } $object->setDiskBackupPolicies($values); unset($data['disk_backup_policies']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationDiskBackupPoliciesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationDiskBackupPoliciesGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationDiskIoProfilesGetResponse200Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationDiskIoProfilesGetResponse200Normalizer.php index 93f386af..875a05fb 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationDiskIoProfilesGetResponse200Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationDiskIoProfilesGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationDiskIoProfilesGetResponse200Normalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDiskIoProfilesGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationDiskIoProfilesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDiskIoProfilesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationDiskIoProfilesGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('disk_io_profiles', $data)) { $values = []; foreach ($data['disk_io_profiles'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\DiskIOProfile', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\DiskIOProfile::class, 'json', $context); } $object->setDiskIoProfiles($values); unset($data['disk_io_profiles']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationDiskIoProfilesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationDiskIoProfilesGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class OrganizationsOrganizationDiskIoProfilesGetResponse200Normalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDiskIoProfilesGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationDiskIoProfilesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDiskIoProfilesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationDiskIoProfilesGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('disk_io_profiles', $data)) { $values = []; foreach ($data['disk_io_profiles'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\DiskIOProfile', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\DiskIOProfile::class, 'json', $context); } $object->setDiskIoProfiles($values); unset($data['disk_io_profiles']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationDiskIoProfilesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationDiskIoProfilesGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationDiskTemplatesGetResponse200Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationDiskTemplatesGetResponse200Normalizer.php index 6cf73cdc..7550e8db 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationDiskTemplatesGetResponse200Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationDiskTemplatesGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationDiskTemplatesGetResponse200Normalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDiskTemplatesGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationDiskTemplatesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDiskTemplatesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationDiskTemplatesGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('disk_templates', $data)) { $values = []; foreach ($data['disk_templates'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplates', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetOrganizationDiskTemplates200ResponseDiskTemplates::class, 'json', $context); } $object->setDiskTemplates($values); unset($data['disk_templates']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationDiskTemplatesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationDiskTemplatesGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class OrganizationsOrganizationDiskTemplatesGetResponse200Normalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDiskTemplatesGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationDiskTemplatesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDiskTemplatesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationDiskTemplatesGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('disk_templates', $data)) { $values = []; foreach ($data['disk_templates'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetOrganizationDiskTemplates200ResponseDiskTemplates', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetOrganizationDiskTemplates200ResponseDiskTemplates::class, 'json', $context); } $object->setDiskTemplates($values); unset($data['disk_templates']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationDiskTemplatesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationDiskTemplatesGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationDisksGetResponse200Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationDisksGetResponse200Normalizer.php index 2b467c71..8932a7c0 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationDisksGetResponse200Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationDisksGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationDisksGetResponse200Normalizer implements Denormal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationDisksGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationDisksGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('disk', $data)) { $values = []; foreach ($data['disk'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetOrganizationDisks200ResponseDisk', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetOrganizationDisks200ResponseDisk::class, 'json', $context); } $object->setDisk($values); unset($data['disk']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationDisksGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class OrganizationsOrganizationDisksGetResponse200Normalizer implements Denormal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationDisksGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationDisksGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('disk', $data)) { $values = []; foreach ($data['disk'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetOrganizationDisks200ResponseDisk', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetOrganizationDisks200ResponseDisk::class, 'json', $context); } $object->setDisk($values); unset($data['disk']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationDisksGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationDisksPostBodyNormalizer.php b/src/Core/Normalizer/OrganizationsOrganizationDisksPostBodyNormalizer.php index ab36dd62..15c1b37a 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationDisksPostBodyNormalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationDisksPostBodyNormalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationDisksPostBodyNormalizer implements DenormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksPostBody'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationDisksPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationDisksPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,17 +52,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\OrganizationLookup', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\OrganizationLookup::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\DiskArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\DiskArguments::class, 'json', $context)); unset($data['properties']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -99,7 +99,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksPostBody' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationDisksPostBody::class => false]; } } } else { @@ -112,12 +112,12 @@ class OrganizationsOrganizationDisksPostBodyNormalizer implements DenormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksPostBody'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationDisksPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationDisksPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -133,17 +133,17 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\OrganizationLookup', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\OrganizationLookup::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\DiskArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\DiskArguments::class, 'json', $context)); unset($data['properties']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -183,7 +183,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksPostBody' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationDisksPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationDisksPostResponse201DiskNormalizer.php b/src/Core/Normalizer/OrganizationsOrganizationDisksPostResponse201DiskNormalizer.php index 5c3db626..75c67aef 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationDisksPostResponse201DiskNormalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationDisksPostResponse201DiskNormalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationDisksPostResponse201DiskNormalizer implements Den public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksPostResponse201Disk'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationDisksPostResponse201Disk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksPostResponse201Disk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationDisksPostResponse201Disk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -80,7 +80,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -92,17 +92,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PostOrganizationDisksPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PostOrganizationDisksPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -166,7 +166,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksPostResponse201Disk' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationDisksPostResponse201Disk::class => false]; } } } else { @@ -179,12 +179,12 @@ class OrganizationsOrganizationDisksPostResponse201DiskNormalizer implements Den public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksPostResponse201Disk'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationDisksPostResponse201Disk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksPostResponse201Disk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationDisksPostResponse201Disk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -228,7 +228,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -240,17 +240,17 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PostOrganizationDisksPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PostOrganizationDisksPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -317,7 +317,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksPostResponse201Disk' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationDisksPostResponse201Disk::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationDisksPostResponse201Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationDisksPostResponse201Normalizer.php index 76f397f4..75cdeb40 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationDisksPostResponse201Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationDisksPostResponse201Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationDisksPostResponse201Normalizer implements Denorma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksPostResponse201'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationDisksPostResponse201::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksPostResponse201'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationDisksPostResponse201::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,17 +52,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksPostResponse201Disk', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\OrganizationsOrganizationDisksPostResponse201Disk::class, 'json', $context)); unset($data['disk']); } if (\array_key_exists('task', $data)) { - $object->setTask($this->denormalizer->denormalize($data['task'], 'KatapultAPI\\Core\\Model\\Task', 'json', $context)); + $object->setTask($this->denormalizer->denormalize($data['task'], \KatapultAPI\Core\Model\Task::class, 'json', $context)); unset($data['task']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -97,7 +97,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksPostResponse201' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationDisksPostResponse201::class => false]; } } } else { @@ -110,12 +110,12 @@ class OrganizationsOrganizationDisksPostResponse201Normalizer implements Denorma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksPostResponse201'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationDisksPostResponse201::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksPostResponse201'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationDisksPostResponse201::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -131,17 +131,17 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksPostResponse201Disk', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\OrganizationsOrganizationDisksPostResponse201Disk::class, 'json', $context)); unset($data['disk']); } if (\array_key_exists('task', $data)) { - $object->setTask($this->denormalizer->denormalize($data['task'], 'KatapultAPI\\Core\\Model\\Task', 'json', $context)); + $object->setTask($this->denormalizer->denormalize($data['task'], \KatapultAPI\Core\Model\Task::class, 'json', $context)); unset($data['task']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -179,7 +179,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationDisksPostResponse201' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationDisksPostResponse201::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationDnsZonesGetResponse200Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationDnsZonesGetResponse200Normalizer.php index 15f7d9bd..aa84d1f5 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationDnsZonesGetResponse200Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationDnsZonesGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationDnsZonesGetResponse200Normalizer implements Denor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('dns_zones', $data)) { $values = []; foreach ($data['dns_zones'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\DNSZone', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\DNSZone::class, 'json', $context); } $object->setDnsZones($values); unset($data['dns_zones']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class OrganizationsOrganizationDnsZonesGetResponse200Normalizer implements Denor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('dns_zones', $data)) { $values = []; foreach ($data['dns_zones'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\DNSZone', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\DNSZone::class, 'json', $context); } $object->setDnsZones($values); unset($data['dns_zones']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationDnsZonesNameserversGetResponse200Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationDnsZonesNameserversGetResponse200Normalizer.php index 057b7c8f..48c804b7 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationDnsZonesNameserversGetResponse200Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationDnsZonesNameserversGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationDnsZonesNameserversGetResponse200Normalizer imple public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesNameserversGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesNameserversGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesNameserversGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesNameserversGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -87,7 +87,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesNameserversGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesNameserversGetResponse200::class => false]; } } } else { @@ -100,12 +100,12 @@ class OrganizationsOrganizationDnsZonesNameserversGetResponse200Normalizer imple public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesNameserversGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesNameserversGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesNameserversGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesNameserversGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -159,7 +159,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesNameserversGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesNameserversGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationDnsZonesPostBodyNormalizer.php b/src/Core/Normalizer/OrganizationsOrganizationDnsZonesPostBodyNormalizer.php index 5d1751c9..9719f073 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationDnsZonesPostBodyNormalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationDnsZonesPostBodyNormalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationDnsZonesPostBodyNormalizer implements Denormalize public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesPostBody'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\OrganizationLookup', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\OrganizationLookup::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\DNSZoneArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\DNSZoneArguments::class, 'json', $context)); unset($data['properties']); } if (\array_key_exists('verified', $data)) { @@ -91,7 +91,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesPostBody' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesPostBody::class => false]; } } } else { @@ -104,12 +104,12 @@ class OrganizationsOrganizationDnsZonesPostBodyNormalizer implements Denormalize public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesPostBody'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -125,11 +125,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\OrganizationLookup', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\OrganizationLookup::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\DNSZoneArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\DNSZoneArguments::class, 'json', $context)); unset($data['properties']); } if (\array_key_exists('verified', $data)) { @@ -167,7 +167,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesPostBody' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationDnsZonesPostResponse201DnsZoneNormalizer.php b/src/Core/Normalizer/OrganizationsOrganizationDnsZonesPostResponse201DnsZoneNormalizer.php index 2c8f670a..8b88fbef 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationDnsZonesPostResponse201DnsZoneNormalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationDnsZonesPostResponse201DnsZoneNormalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationDnsZonesPostResponse201DnsZoneNormalizer implemen public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesPostResponse201DnsZone'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesPostResponse201DnsZone::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesPostResponse201DnsZone'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesPostResponse201DnsZone::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesPostResponse201DnsZone' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesPostResponse201DnsZone::class => false]; } } } else { @@ -115,12 +115,12 @@ class OrganizationsOrganizationDnsZonesPostResponse201DnsZoneNormalizer implemen public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesPostResponse201DnsZone'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesPostResponse201DnsZone::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesPostResponse201DnsZone'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesPostResponse201DnsZone::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesPostResponse201DnsZone' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesPostResponse201DnsZone::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationDnsZonesPostResponse201Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationDnsZonesPostResponse201Normalizer.php index 74f6a5b1..68c2c39d 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationDnsZonesPostResponse201Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationDnsZonesPostResponse201Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationDnsZonesPostResponse201Normalizer implements Deno public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesPostResponse201'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesPostResponse201::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesPostResponse201'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesPostResponse201::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('dns_zone', $data)) { - $object->setDnsZone($this->denormalizer->denormalize($data['dns_zone'], 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesPostResponse201DnsZone', 'json', $context)); + $object->setDnsZone($this->denormalizer->denormalize($data['dns_zone'], \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesPostResponse201DnsZone::class, 'json', $context)); unset($data['dns_zone']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesPostResponse201' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesPostResponse201::class => false]; } } } else { @@ -92,12 +92,12 @@ class OrganizationsOrganizationDnsZonesPostResponse201Normalizer implements Deno public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesPostResponse201'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesPostResponse201::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesPostResponse201'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesPostResponse201::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('dns_zone', $data)) { - $object->setDnsZone($this->denormalizer->denormalize($data['dns_zone'], 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesPostResponse201DnsZone', 'json', $context)); + $object->setDnsZone($this->denormalizer->denormalize($data['dns_zone'], \KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesPostResponse201DnsZone::class, 'json', $context)); unset($data['dns_zone']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationDnsZonesPostResponse201' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationDnsZonesPostResponse201::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationFileStorageVolumesGetResponse200Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationFileStorageVolumesGetResponse200Normalizer.php index 5432b6fb..7b43c410 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationFileStorageVolumesGetResponse200Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationFileStorageVolumesGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationFileStorageVolumesGetResponse200Normalizer implem public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('file_storage_volumes', $data)) { $values = []; foreach ($data['file_storage_volumes'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumes', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumes::class, 'json', $context); } $object->setFileStorageVolumes($values); unset($data['file_storage_volumes']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class OrganizationsOrganizationFileStorageVolumesGetResponse200Normalizer implem public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('file_storage_volumes', $data)) { $values = []; foreach ($data['file_storage_volumes'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumes', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetOrganizationFileStorageVolumes200ResponseFileStorageVolumes::class, 'json', $context); } $object->setFileStorageVolumes($values); unset($data['file_storage_volumes']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationFileStorageVolumesPostBodyNormalizer.php b/src/Core/Normalizer/OrganizationsOrganizationFileStorageVolumesPostBodyNormalizer.php index 960d7dda..aa38b60c 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationFileStorageVolumesPostBodyNormalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationFileStorageVolumesPostBodyNormalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationFileStorageVolumesPostBodyNormalizer implements D public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesPostBody'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,17 +52,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\OrganizationLookup', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\OrganizationLookup::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\FileStorageVolumeArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\FileStorageVolumeArguments::class, 'json', $context)); unset($data['properties']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -99,7 +99,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesPostBody' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesPostBody::class => false]; } } } else { @@ -112,12 +112,12 @@ class OrganizationsOrganizationFileStorageVolumesPostBodyNormalizer implements D public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesPostBody'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -133,17 +133,17 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\OrganizationLookup', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\OrganizationLookup::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\FileStorageVolumeArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\FileStorageVolumeArguments::class, 'json', $context)); unset($data['properties']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -183,7 +183,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesPostBody' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolumeNormalizer.php b/src/Core/Normalizer/OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolumeNormalizer.php index a4872987..6924fa91 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolumeNormalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolumeNormalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolum public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolume'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolume::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolume'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolume::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['name']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PostOrganizationFileStorageVolumesPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PostOrganizationFileStorageVolumesPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('associations', $data)) { @@ -135,7 +135,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolume' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolume::class => false]; } } } else { @@ -148,12 +148,12 @@ class OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolum public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolume'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolume::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolume'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolume::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -177,7 +177,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PostOrganizationFileStorageVolumesPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PostOrganizationFileStorageVolumesPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('associations', $data)) { @@ -255,7 +255,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolume' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolume::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationFileStorageVolumesPostResponse201Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationFileStorageVolumesPostResponse201Normalizer.php index ccb03b60..1b99f0c9 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationFileStorageVolumesPostResponse201Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationFileStorageVolumesPostResponse201Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationFileStorageVolumesPostResponse201Normalizer imple public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesPostResponse201'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesPostResponse201::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesPostResponse201'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesPostResponse201::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('file_storage_volume', $data)) { - $object->setFileStorageVolume($this->denormalizer->denormalize($data['file_storage_volume'], 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolume', 'json', $context)); + $object->setFileStorageVolume($this->denormalizer->denormalize($data['file_storage_volume'], \KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolume::class, 'json', $context)); unset($data['file_storage_volume']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesPostResponse201' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesPostResponse201::class => false]; } } } else { @@ -105,12 +105,12 @@ class OrganizationsOrganizationFileStorageVolumesPostResponse201Normalizer imple public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesPostResponse201'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesPostResponse201::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesPostResponse201'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesPostResponse201::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('file_storage_volume', $data)) { - $object->setFileStorageVolume($this->denormalizer->denormalize($data['file_storage_volume'], 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolume', 'json', $context)); + $object->setFileStorageVolume($this->denormalizer->denormalize($data['file_storage_volume'], \KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesPostResponse201FileStorageVolume::class, 'json', $context)); unset($data['file_storage_volume']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationFileStorageVolumesPostResponse201' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationFileStorageVolumesPostResponse201::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationGetResponse200Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationGetResponse200Normalizer.php index 70829c73..0e529736 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationGetResponse200Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationGetResponse200Normalizer implements DenormalizerI public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\Organization', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\Organization::class, 'json', $context)); unset($data['organization']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationGetResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class OrganizationsOrganizationGetResponse200Normalizer implements DenormalizerI public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\Organization', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\Organization::class, 'json', $context)); unset($data['organization']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationIpAddressesGetResponse200Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationIpAddressesGetResponse200Normalizer.php index 403ee8fe..5dd14624 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationIpAddressesGetResponse200Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationIpAddressesGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationIpAddressesGetResponse200Normalizer implements De public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('ip_addresses', $data)) { $values = []; foreach ($data['ip_addresses'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetOrganizationIPAddresses200ResponseIPAddresses', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetOrganizationIPAddresses200ResponseIPAddresses::class, 'json', $context); } $object->setIpAddresses($values); unset($data['ip_addresses']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class OrganizationsOrganizationIpAddressesGetResponse200Normalizer implements De public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('ip_addresses', $data)) { $values = []; foreach ($data['ip_addresses'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetOrganizationIPAddresses200ResponseIPAddresses', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetOrganizationIPAddresses200ResponseIPAddresses::class, 'json', $context); } $object->setIpAddresses($values); unset($data['ip_addresses']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationIpAddressesPostBodyNormalizer.php b/src/Core/Normalizer/OrganizationsOrganizationIpAddressesPostBodyNormalizer.php index a3c6b8c4..bdf26b77 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationIpAddressesPostBodyNormalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationIpAddressesPostBodyNormalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationIpAddressesPostBodyNormalizer implements Denormal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesPostBody'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\OrganizationLookup', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\OrganizationLookup::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'KatapultAPI\\Core\\Model\\NetworkLookup', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], \KatapultAPI\Core\Model\NetworkLookup::class, 'json', $context)); unset($data['network']); } if (\array_key_exists('version', $data)) { @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesPostBody' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesPostBody::class => false]; } } } else { @@ -116,12 +116,12 @@ class OrganizationsOrganizationIpAddressesPostBodyNormalizer implements Denormal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesPostBody'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -137,11 +137,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\OrganizationLookup', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\OrganizationLookup::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'KatapultAPI\\Core\\Model\\NetworkLookup', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], \KatapultAPI\Core\Model\NetworkLookup::class, 'json', $context)); unset($data['network']); } if (\array_key_exists('version', $data)) { @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesPostBody' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationIpAddressesPostResponse200IpAddressNormalizer.php b/src/Core/Normalizer/OrganizationsOrganizationIpAddressesPostResponse200IpAddressNormalizer.php index ae025dc6..2e6ff968 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationIpAddressesPostResponse200IpAddressNormalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationIpAddressesPostResponse200IpAddressNormalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationIpAddressesPostResponse200IpAddressNormalizer imp public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesPostResponse200IpAddress'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesPostResponse200IpAddress::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesPostResponse200IpAddress'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesPostResponse200IpAddress::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -78,7 +78,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['address_with_mask']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'KatapultAPI\\Core\\Model\\Network', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], \KatapultAPI\Core\Model\Network::class, 'json', $context)); unset($data['network']); } if (\array_key_exists('allocation_id', $data) && $data['allocation_id'] !== null) { @@ -143,7 +143,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesPostResponse200IpAddress' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesPostResponse200IpAddress::class => false]; } } } else { @@ -156,12 +156,12 @@ class OrganizationsOrganizationIpAddressesPostResponse200IpAddressNormalizer imp public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesPostResponse200IpAddress'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesPostResponse200IpAddress::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesPostResponse200IpAddress'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesPostResponse200IpAddress::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -203,7 +203,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['address_with_mask']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'KatapultAPI\\Core\\Model\\Network', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], \KatapultAPI\Core\Model\Network::class, 'json', $context)); unset($data['network']); } if (\array_key_exists('allocation_id', $data) && $data['allocation_id'] !== null) { @@ -271,7 +271,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesPostResponse200IpAddress' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesPostResponse200IpAddress::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationIpAddressesPostResponse200Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationIpAddressesPostResponse200Normalizer.php index ba2ef0be..a3704f40 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationIpAddressesPostResponse200Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationIpAddressesPostResponse200Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationIpAddressesPostResponse200Normalizer implements D public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesPostResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesPostResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('ip_address', $data)) { - $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesPostResponse200IpAddress', 'json', $context)); + $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], \KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesPostResponse200IpAddress::class, 'json', $context)); unset($data['ip_address']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesPostResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesPostResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class OrganizationsOrganizationIpAddressesPostResponse200Normalizer implements D public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesPostResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesPostResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('ip_address', $data)) { - $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesPostResponse200IpAddress', 'json', $context)); + $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], \KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesPostResponse200IpAddress::class, 'json', $context)); unset($data['ip_address']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationIpAddressesPostResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationIpAddressesPostResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationLoadBalancersGetResponse200Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationLoadBalancersGetResponse200Normalizer.php index 49f912b7..d7bcec04 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationLoadBalancersGetResponse200Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationLoadBalancersGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationLoadBalancersGetResponse200Normalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('load_balancers', $data)) { $values = []; foreach ($data['load_balancers'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetOrganizationLoadBalancers200ResponseLoadBalancers', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetOrganizationLoadBalancers200ResponseLoadBalancers::class, 'json', $context); } $object->setLoadBalancers($values); unset($data['load_balancers']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class OrganizationsOrganizationLoadBalancersGetResponse200Normalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('load_balancers', $data)) { $values = []; foreach ($data['load_balancers'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetOrganizationLoadBalancers200ResponseLoadBalancers', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetOrganizationLoadBalancers200ResponseLoadBalancers::class, 'json', $context); } $object->setLoadBalancers($values); unset($data['load_balancers']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationLoadBalancersPostBodyNormalizer.php b/src/Core/Normalizer/OrganizationsOrganizationLoadBalancersPostBodyNormalizer.php index debecde2..5969921b 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationLoadBalancersPostBodyNormalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationLoadBalancersPostBodyNormalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationLoadBalancersPostBodyNormalizer implements Denorm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersPostBody'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,17 +52,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\OrganizationLookup', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\OrganizationLookup::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\LoadBalancerArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\LoadBalancerArguments::class, 'json', $context)); unset($data['properties']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -99,7 +99,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersPostBody' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersPostBody::class => false]; } } } else { @@ -112,12 +112,12 @@ class OrganizationsOrganizationLoadBalancersPostBodyNormalizer implements Denorm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersPostBody'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -133,17 +133,17 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\OrganizationLookup', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\OrganizationLookup::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\LoadBalancerArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\LoadBalancerArguments::class, 'json', $context)); unset($data['properties']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -183,7 +183,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersPostBody' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationLoadBalancersPostResponse201LoadBalancerNormalizer.php b/src/Core/Normalizer/OrganizationsOrganizationLoadBalancersPostResponse201LoadBalancerNormalizer.php index 46170a85..03b0198c 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationLoadBalancersPostResponse201LoadBalancerNormalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationLoadBalancersPostResponse201LoadBalancerNormalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationLoadBalancersPostResponse201LoadBalancerNormalize public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersPostResponse201LoadBalancer'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersPostResponse201LoadBalancer::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersPostResponse201LoadBalancer'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersPostResponse201LoadBalancer::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -72,7 +72,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('resources', $data)) { $values = []; foreach ($data['resources'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\LoadBalancerResource', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\LoadBalancerResource::class, 'json', $context); } $object->setResources($values); unset($data['resources']); @@ -86,7 +86,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['resource_ids']); } if (\array_key_exists('ip_address', $data)) { - $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], 'KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancersPartIPAddress', 'json', $context)); + $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], \KatapultAPI\Core\Model\PostOrganizationLoadBalancersPartIPAddress::class, 'json', $context)); unset($data['ip_address']); } if (\array_key_exists('https_redirect', $data)) { @@ -102,7 +102,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['backend_certificate_key']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancersPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PostOrganizationLoadBalancersPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('enable_weighting', $data)) { @@ -112,7 +112,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('weights', $data)) { $values_2 = []; foreach ($data['weights'] as $value_2) { - $values_2[] = $this->denormalizer->denormalize($value_2, 'KatapultAPI\\Core\\Model\\LoadBalancerWeight', 'json', $context); + $values_2[] = $this->denormalizer->denormalize($value_2, \KatapultAPI\Core\Model\LoadBalancerWeight::class, 'json', $context); } $object->setWeights($values_2); unset($data['weights']); @@ -206,7 +206,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersPostResponse201LoadBalancer' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersPostResponse201LoadBalancer::class => false]; } } } else { @@ -219,12 +219,12 @@ class OrganizationsOrganizationLoadBalancersPostResponse201LoadBalancerNormalize public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersPostResponse201LoadBalancer'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersPostResponse201LoadBalancer::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersPostResponse201LoadBalancer'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersPostResponse201LoadBalancer::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -260,7 +260,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('resources', $data)) { $values = []; foreach ($data['resources'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\LoadBalancerResource', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\LoadBalancerResource::class, 'json', $context); } $object->setResources($values); unset($data['resources']); @@ -274,7 +274,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['resource_ids']); } if (\array_key_exists('ip_address', $data)) { - $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], 'KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancersPartIPAddress', 'json', $context)); + $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], \KatapultAPI\Core\Model\PostOrganizationLoadBalancersPartIPAddress::class, 'json', $context)); unset($data['ip_address']); } if (\array_key_exists('https_redirect', $data)) { @@ -290,7 +290,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['backend_certificate_key']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancersPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PostOrganizationLoadBalancersPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('enable_weighting', $data)) { @@ -300,7 +300,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('weights', $data)) { $values_2 = []; foreach ($data['weights'] as $value_2) { - $values_2[] = $this->denormalizer->denormalize($value_2, 'KatapultAPI\\Core\\Model\\LoadBalancerWeight', 'json', $context); + $values_2[] = $this->denormalizer->denormalize($value_2, \KatapultAPI\Core\Model\LoadBalancerWeight::class, 'json', $context); } $object->setWeights($values_2); unset($data['weights']); @@ -397,7 +397,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersPostResponse201LoadBalancer' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersPostResponse201LoadBalancer::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationLoadBalancersPostResponse201Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationLoadBalancersPostResponse201Normalizer.php index 73e7b4ab..46fbf713 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationLoadBalancersPostResponse201Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationLoadBalancersPostResponse201Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationLoadBalancersPostResponse201Normalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersPostResponse201'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersPostResponse201::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersPostResponse201'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersPostResponse201::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('load_balancer', $data)) { - $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersPostResponse201LoadBalancer', 'json', $context)); + $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], \KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersPostResponse201LoadBalancer::class, 'json', $context)); unset($data['load_balancer']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersPostResponse201' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersPostResponse201::class => false]; } } } else { @@ -105,12 +105,12 @@ class OrganizationsOrganizationLoadBalancersPostResponse201Normalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersPostResponse201'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersPostResponse201::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersPostResponse201'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersPostResponse201::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('load_balancer', $data)) { - $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersPostResponse201LoadBalancer', 'json', $context)); + $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], \KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersPostResponse201LoadBalancer::class, 'json', $context)); unset($data['load_balancer']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationLoadBalancersPostResponse201' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationLoadBalancersPostResponse201::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationManagedGetResponse200Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationManagedGetResponse200Normalizer.php index e226ac83..190ea0f5 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationManagedGetResponse200Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationManagedGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationManagedGetResponse200Normalizer implements Denorm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationManagedGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationManagedGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationManagedGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationManagedGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('organizations', $data)) { $values = []; foreach ($data['organizations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetOrganizationManaged200ResponseOrganizations', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetOrganizationManaged200ResponseOrganizations::class, 'json', $context); } $object->setOrganizations($values); unset($data['organizations']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationManagedGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationManagedGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class OrganizationsOrganizationManagedGetResponse200Normalizer implements Denorm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationManagedGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationManagedGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationManagedGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationManagedGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('organizations', $data)) { $values = []; foreach ($data['organizations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetOrganizationManaged200ResponseOrganizations', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetOrganizationManaged200ResponseOrganizations::class, 'json', $context); } $object->setOrganizations($values); unset($data['organizations']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationManagedGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationManagedGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationManagedPostBodyNormalizer.php b/src/Core/Normalizer/OrganizationsOrganizationManagedPostBodyNormalizer.php index 91ff3839..771560c5 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationManagedPostBodyNormalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationManagedPostBodyNormalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationManagedPostBodyNormalizer implements Denormalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationManagedPostBody'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationManagedPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationManagedPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationManagedPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\OrganizationLookup', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\OrganizationLookup::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('name', $data)) { @@ -66,7 +66,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -104,7 +104,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationManagedPostBody' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationManagedPostBody::class => false]; } } } else { @@ -117,12 +117,12 @@ class OrganizationsOrganizationManagedPostBodyNormalizer implements Denormalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationManagedPostBody'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationManagedPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationManagedPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationManagedPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -138,7 +138,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\OrganizationLookup', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\OrganizationLookup::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('name', $data)) { @@ -152,7 +152,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -193,7 +193,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationManagedPostBody' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationManagedPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationManagedPostResponse201Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationManagedPostResponse201Normalizer.php index feac3ee4..d92dcb6e 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationManagedPostResponse201Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationManagedPostResponse201Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationManagedPostResponse201Normalizer implements Denor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationManagedPostResponse201'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationManagedPostResponse201::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationManagedPostResponse201'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationManagedPostResponse201::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\Organization', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\Organization::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationManagedPostResponse201' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationManagedPostResponse201::class => false]; } } } else { @@ -105,12 +105,12 @@ class OrganizationsOrganizationManagedPostResponse201Normalizer implements Denor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationManagedPostResponse201'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationManagedPostResponse201::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationManagedPostResponse201'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationManagedPostResponse201::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\Organization', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\Organization::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationManagedPostResponse201' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationManagedPostResponse201::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationNetworkSpeedProfilesGetResponse200Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationNetworkSpeedProfilesGetResponse200Normalizer.php index f200b18a..18205877 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationNetworkSpeedProfilesGetResponse200Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationNetworkSpeedProfilesGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationNetworkSpeedProfilesGetResponse200Normalizer impl public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationNetworkSpeedProfilesGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationNetworkSpeedProfilesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationNetworkSpeedProfilesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationNetworkSpeedProfilesGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('network_speed_profiles', $data)) { $values = []; foreach ($data['network_speed_profiles'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\NetworkSpeedProfile', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\NetworkSpeedProfile::class, 'json', $context); } $object->setNetworkSpeedProfiles($values); unset($data['network_speed_profiles']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationNetworkSpeedProfilesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationNetworkSpeedProfilesGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class OrganizationsOrganizationNetworkSpeedProfilesGetResponse200Normalizer impl public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationNetworkSpeedProfilesGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationNetworkSpeedProfilesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationNetworkSpeedProfilesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationNetworkSpeedProfilesGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('network_speed_profiles', $data)) { $values = []; foreach ($data['network_speed_profiles'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\NetworkSpeedProfile', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\NetworkSpeedProfile::class, 'json', $context); } $object->setNetworkSpeedProfiles($values); unset($data['network_speed_profiles']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationNetworkSpeedProfilesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationNetworkSpeedProfilesGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationPolicyGetResponse200Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationPolicyGetResponse200Normalizer.php index 39446348..53a70158 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationPolicyGetResponse200Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationPolicyGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationPolicyGetResponse200Normalizer implements Denorma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationPolicyGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationPolicyGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationPolicyGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationPolicyGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -62,11 +62,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setPolicyName(null); } if (\array_key_exists('limits', $data)) { - $object->setLimits($this->denormalizer->denormalize($data['limits'], 'KatapultAPI\\Core\\Model\\PolicyLimits', 'json', $context)); + $object->setLimits($this->denormalizer->denormalize($data['limits'], \KatapultAPI\Core\Model\PolicyLimits::class, 'json', $context)); unset($data['limits']); } if (\array_key_exists('features', $data)) { - $object->setFeatures($this->denormalizer->denormalize($data['features'], 'KatapultAPI\\Core\\Model\\PolicyFeatures', 'json', $context)); + $object->setFeatures($this->denormalizer->denormalize($data['features'], \KatapultAPI\Core\Model\PolicyFeatures::class, 'json', $context)); unset($data['features']); } if (\array_key_exists('reasons_for_disallowing_resource_creation', $data)) { @@ -109,7 +109,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationPolicyGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationPolicyGetResponse200::class => false]; } } } else { @@ -122,12 +122,12 @@ class OrganizationsOrganizationPolicyGetResponse200Normalizer implements Denorma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationPolicyGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationPolicyGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationPolicyGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationPolicyGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -153,11 +153,11 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setPolicyName(null); } if (\array_key_exists('limits', $data)) { - $object->setLimits($this->denormalizer->denormalize($data['limits'], 'KatapultAPI\\Core\\Model\\PolicyLimits', 'json', $context)); + $object->setLimits($this->denormalizer->denormalize($data['limits'], \KatapultAPI\Core\Model\PolicyLimits::class, 'json', $context)); unset($data['limits']); } if (\array_key_exists('features', $data)) { - $object->setFeatures($this->denormalizer->denormalize($data['features'], 'KatapultAPI\\Core\\Model\\PolicyFeatures', 'json', $context)); + $object->setFeatures($this->denormalizer->denormalize($data['features'], \KatapultAPI\Core\Model\PolicyFeatures::class, 'json', $context)); unset($data['features']); } if (\array_key_exists('reasons_for_disallowing_resource_creation', $data)) { @@ -203,7 +203,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationPolicyGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationPolicyGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationPolicyLimitsGetResponse200Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationPolicyLimitsGetResponse200Normalizer.php index 81c8448c..b67dd323 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationPolicyLimitsGetResponse200Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationPolicyLimitsGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationPolicyLimitsGetResponse200Normalizer implements D public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationPolicyLimitsGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationPolicyLimitsGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationPolicyLimitsGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationPolicyLimitsGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('policy_limits', $data)) { - $object->setPolicyLimits($this->denormalizer->denormalize($data['policy_limits'], 'KatapultAPI\\Core\\Model\\OrganizationPolicy', 'json', $context)); + $object->setPolicyLimits($this->denormalizer->denormalize($data['policy_limits'], \KatapultAPI\Core\Model\OrganizationPolicy::class, 'json', $context)); unset($data['policy_limits']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationPolicyLimitsGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationPolicyLimitsGetResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class OrganizationsOrganizationPolicyLimitsGetResponse200Normalizer implements D public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationPolicyLimitsGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationPolicyLimitsGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationPolicyLimitsGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationPolicyLimitsGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('policy_limits', $data)) { - $object->setPolicyLimits($this->denormalizer->denormalize($data['policy_limits'], 'KatapultAPI\\Core\\Model\\OrganizationPolicy', 'json', $context)); + $object->setPolicyLimits($this->denormalizer->denormalize($data['policy_limits'], \KatapultAPI\Core\Model\OrganizationPolicy::class, 'json', $context)); unset($data['policy_limits']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationPolicyLimitsGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationPolicyLimitsGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationPricesGetResponse200Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationPricesGetResponse200Normalizer.php index 846e831f..8e0b1fd8 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationPricesGetResponse200Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationPricesGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationPricesGetResponse200Normalizer implements Denorma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationPricesGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationPricesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationPricesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationPricesGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('currency', $data)) { - $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'KatapultAPI\\Core\\Model\\Currency', 'json', $context)); + $object->setCurrency($this->denormalizer->denormalize($data['currency'], \KatapultAPI\Core\Model\Currency::class, 'json', $context)); unset($data['currency']); } if (\array_key_exists('prices', $data)) { $values = []; foreach ($data['prices'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\PriceResourceWithSinglePriceVariant', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\PriceResourceWithSinglePriceVariant::class, 'json', $context); } $object->setPrices($values); unset($data['prices']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationPricesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationPricesGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class OrganizationsOrganizationPricesGetResponse200Normalizer implements Denorma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationPricesGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationPricesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationPricesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationPricesGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('currency', $data)) { - $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'KatapultAPI\\Core\\Model\\Currency', 'json', $context)); + $object->setCurrency($this->denormalizer->denormalize($data['currency'], \KatapultAPI\Core\Model\Currency::class, 'json', $context)); unset($data['currency']); } if (\array_key_exists('prices', $data)) { $values = []; foreach ($data['prices'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\PriceResourceWithSinglePriceVariant', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\PriceResourceWithSinglePriceVariant::class, 'json', $context); } $object->setPrices($values); unset($data['prices']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationPricesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationPricesGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationSecurityGroupsGetResponse200Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationSecurityGroupsGetResponse200Normalizer.php index 1f253f34..dfbda32c 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationSecurityGroupsGetResponse200Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationSecurityGroupsGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationSecurityGroupsGetResponse200Normalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('security_groups', $data)) { $values = []; foreach ($data['security_groups'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\SecurityGroup', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\SecurityGroup::class, 'json', $context); } $object->setSecurityGroups($values); unset($data['security_groups']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class OrganizationsOrganizationSecurityGroupsGetResponse200Normalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('security_groups', $data)) { $values = []; foreach ($data['security_groups'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\SecurityGroup', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\SecurityGroup::class, 'json', $context); } $object->setSecurityGroups($values); unset($data['security_groups']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationSecurityGroupsPostBodyNormalizer.php b/src/Core/Normalizer/OrganizationsOrganizationSecurityGroupsPostBodyNormalizer.php index a47be4e6..3db46e43 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationSecurityGroupsPostBodyNormalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationSecurityGroupsPostBodyNormalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationSecurityGroupsPostBodyNormalizer implements Denor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsPostBody'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,17 +52,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\OrganizationLookup', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\OrganizationLookup::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\SecurityGroupArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\SecurityGroupArguments::class, 'json', $context)); unset($data['properties']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -99,7 +99,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsPostBody' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsPostBody::class => false]; } } } else { @@ -112,12 +112,12 @@ class OrganizationsOrganizationSecurityGroupsPostBodyNormalizer implements Denor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsPostBody'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -133,17 +133,17 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\OrganizationLookup', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\OrganizationLookup::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\SecurityGroupArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\SecurityGroupArguments::class, 'json', $context)); unset($data['properties']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -183,7 +183,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsPostBody' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationSecurityGroupsPostResponse200Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationSecurityGroupsPostResponse200Normalizer.php index 8b5a2cfb..ec9525e2 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationSecurityGroupsPostResponse200Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationSecurityGroupsPostResponse200Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationSecurityGroupsPostResponse200Normalizer implement public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsPostResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsPostResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('security_group', $data)) { - $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroup', 'json', $context)); + $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], \KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroup::class, 'json', $context)); unset($data['security_group']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsPostResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsPostResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class OrganizationsOrganizationSecurityGroupsPostResponse200Normalizer implement public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsPostResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsPostResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('security_group', $data)) { - $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroup', 'json', $context)); + $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], \KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroup::class, 'json', $context)); unset($data['security_group']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsPostResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsPostResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroupNormalizer.php b/src/Core/Normalizer/OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroupNormalizer.php index b6e01963..caf419c8 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroupNormalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroupNormalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroupNormali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroup'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -117,7 +117,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroup' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroup::class => false]; } } } else { @@ -130,12 +130,12 @@ class OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroupNormali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroup'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -219,7 +219,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroup' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationSecurityGroupsPostResponse200SecurityGroup::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationSshKeysGetResponse200Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationSshKeysGetResponse200Normalizer.php index 9567964e..69ec8d6f 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationSshKeysGetResponse200Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationSshKeysGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationSshKeysGetResponse200Normalizer implements Denorm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSshKeysGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationSshKeysGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSshKeysGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationSshKeysGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('ssh_keys', $data)) { $values = []; foreach ($data['ssh_keys'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\AuthSSHKey', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\AuthSSHKey::class, 'json', $context); } $object->setSshKeys($values); unset($data['ssh_keys']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationSshKeysGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationSshKeysGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class OrganizationsOrganizationSshKeysGetResponse200Normalizer implements Denorm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSshKeysGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationSshKeysGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSshKeysGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationSshKeysGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('ssh_keys', $data)) { $values = []; foreach ($data['ssh_keys'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\AuthSSHKey', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\AuthSSHKey::class, 'json', $context); } $object->setSshKeys($values); unset($data['ssh_keys']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationSshKeysGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationSshKeysGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationSshKeysPostBodyNormalizer.php b/src/Core/Normalizer/OrganizationsOrganizationSshKeysPostBodyNormalizer.php index e5f93318..00f3aa12 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationSshKeysPostBodyNormalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationSshKeysPostBodyNormalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationSshKeysPostBodyNormalizer implements Denormalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSshKeysPostBody'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationSshKeysPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSshKeysPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationSshKeysPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\OrganizationLookup', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\OrganizationLookup::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('ssh_key', $data)) { - $object->setSshKey($this->denormalizer->denormalize($data['ssh_key'], 'KatapultAPI\\Core\\Model\\AuthSSHKeyProperties', 'json', $context)); + $object->setSshKey($this->denormalizer->denormalize($data['ssh_key'], \KatapultAPI\Core\Model\AuthSSHKeyProperties::class, 'json', $context)); unset($data['ssh_key']); } foreach ($data as $key => $value) { @@ -84,7 +84,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationSshKeysPostBody' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationSshKeysPostBody::class => false]; } } } else { @@ -97,12 +97,12 @@ class OrganizationsOrganizationSshKeysPostBodyNormalizer implements Denormalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSshKeysPostBody'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationSshKeysPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSshKeysPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationSshKeysPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -118,11 +118,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\OrganizationLookup', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\OrganizationLookup::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('ssh_key', $data)) { - $object->setSshKey($this->denormalizer->denormalize($data['ssh_key'], 'KatapultAPI\\Core\\Model\\AuthSSHKeyProperties', 'json', $context)); + $object->setSshKey($this->denormalizer->denormalize($data['ssh_key'], \KatapultAPI\Core\Model\AuthSSHKeyProperties::class, 'json', $context)); unset($data['ssh_key']); } foreach ($data as $key => $value) { @@ -153,7 +153,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationSshKeysPostBody' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationSshKeysPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationSshKeysPostResponse201Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationSshKeysPostResponse201Normalizer.php index c757b969..97f3e8f5 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationSshKeysPostResponse201Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationSshKeysPostResponse201Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationSshKeysPostResponse201Normalizer implements Denor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSshKeysPostResponse201'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationSshKeysPostResponse201::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSshKeysPostResponse201'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationSshKeysPostResponse201::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('ssh_key', $data)) { - $object->setSshKey($this->denormalizer->denormalize($data['ssh_key'], 'KatapultAPI\\Core\\Model\\AuthSSHKey', 'json', $context)); + $object->setSshKey($this->denormalizer->denormalize($data['ssh_key'], \KatapultAPI\Core\Model\AuthSSHKey::class, 'json', $context)); unset($data['ssh_key']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationSshKeysPostResponse201' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationSshKeysPostResponse201::class => false]; } } } else { @@ -92,12 +92,12 @@ class OrganizationsOrganizationSshKeysPostResponse201Normalizer implements Denor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSshKeysPostResponse201'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationSshKeysPostResponse201::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationSshKeysPostResponse201'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationSshKeysPostResponse201::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('ssh_key', $data)) { - $object->setSshKey($this->denormalizer->denormalize($data['ssh_key'], 'KatapultAPI\\Core\\Model\\AuthSSHKey', 'json', $context)); + $object->setSshKey($this->denormalizer->denormalize($data['ssh_key'], \KatapultAPI\Core\Model\AuthSSHKey::class, 'json', $context)); unset($data['ssh_key']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationSshKeysPostResponse201' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationSshKeysPostResponse201::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationTagsGetResponse200Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationTagsGetResponse200Normalizer.php index 13d6a85d..cbd5ba54 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationTagsGetResponse200Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationTagsGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationTagsGetResponse200Normalizer implements Denormali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationTagsGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationTagsGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('tags', $data)) { $values = []; foreach ($data['tags'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetOrganizationTags200ResponseTags', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetOrganizationTags200ResponseTags::class, 'json', $context); } $object->setTags($values); unset($data['tags']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationTagsGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class OrganizationsOrganizationTagsGetResponse200Normalizer implements Denormali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationTagsGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationTagsGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('tags', $data)) { $values = []; foreach ($data['tags'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetOrganizationTags200ResponseTags', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetOrganizationTags200ResponseTags::class, 'json', $context); } $object->setTags($values); unset($data['tags']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationTagsGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationTagsPostBodyNormalizer.php b/src/Core/Normalizer/OrganizationsOrganizationTagsPostBodyNormalizer.php index 67bd1a71..6bd5d6d3 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationTagsPostBodyNormalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationTagsPostBodyNormalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationTagsPostBodyNormalizer implements DenormalizerInt public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsPostBody'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationTagsPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationTagsPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\OrganizationLookup', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\OrganizationLookup::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\TagArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\TagArguments::class, 'json', $context)); unset($data['properties']); } foreach ($data as $key => $value) { @@ -84,7 +84,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsPostBody' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationTagsPostBody::class => false]; } } } else { @@ -97,12 +97,12 @@ class OrganizationsOrganizationTagsPostBodyNormalizer implements DenormalizerInt public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsPostBody'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationTagsPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationTagsPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -118,11 +118,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\OrganizationLookup', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\OrganizationLookup::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\TagArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\TagArguments::class, 'json', $context)); unset($data['properties']); } foreach ($data as $key => $value) { @@ -153,7 +153,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsPostBody' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationTagsPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationTagsPostResponse200Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationTagsPostResponse200Normalizer.php index c05951d3..773d6fb7 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationTagsPostResponse200Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationTagsPostResponse200Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationTagsPostResponse200Normalizer implements Denormal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsPostResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationTagsPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationTagsPostResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('tag', $data)) { - $object->setTag($this->denormalizer->denormalize($data['tag'], 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsPostResponse200Tag', 'json', $context)); + $object->setTag($this->denormalizer->denormalize($data['tag'], \KatapultAPI\Core\Model\OrganizationsOrganizationTagsPostResponse200Tag::class, 'json', $context)); unset($data['tag']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsPostResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationTagsPostResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class OrganizationsOrganizationTagsPostResponse200Normalizer implements Denormal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsPostResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationTagsPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationTagsPostResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('tag', $data)) { - $object->setTag($this->denormalizer->denormalize($data['tag'], 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsPostResponse200Tag', 'json', $context)); + $object->setTag($this->denormalizer->denormalize($data['tag'], \KatapultAPI\Core\Model\OrganizationsOrganizationTagsPostResponse200Tag::class, 'json', $context)); unset($data['tag']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsPostResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationTagsPostResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationTagsPostResponse200TagNormalizer.php b/src/Core/Normalizer/OrganizationsOrganizationTagsPostResponse200TagNormalizer.php index 4ab5cfe6..abc3e431 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationTagsPostResponse200TagNormalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationTagsPostResponse200TagNormalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationTagsPostResponse200TagNormalizer implements Denor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsPostResponse200Tag'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationTagsPostResponse200Tag::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsPostResponse200Tag'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationTagsPostResponse200Tag::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsPostResponse200Tag' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationTagsPostResponse200Tag::class => false]; } } } else { @@ -115,12 +115,12 @@ class OrganizationsOrganizationTagsPostResponse200TagNormalizer implements Denor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsPostResponse200Tag'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationTagsPostResponse200Tag::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsPostResponse200Tag'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationTagsPostResponse200Tag::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationTagsPostResponse200Tag' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationTagsPostResponse200Tag::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationTrashObjectsGetResponse200Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationTrashObjectsGetResponse200Normalizer.php index 8df12a05..826e7969 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationTrashObjectsGetResponse200Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationTrashObjectsGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationTrashObjectsGetResponse200Normalizer implements D public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTrashObjectsGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationTrashObjectsGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTrashObjectsGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationTrashObjectsGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('trash_objects', $data)) { $values = []; foreach ($data['trash_objects'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\TrashObject', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\TrashObject::class, 'json', $context); } $object->setTrashObjects($values); unset($data['trash_objects']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationTrashObjectsGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationTrashObjectsGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class OrganizationsOrganizationTrashObjectsGetResponse200Normalizer implements D public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTrashObjectsGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationTrashObjectsGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTrashObjectsGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationTrashObjectsGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('trash_objects', $data)) { $values = []; foreach ($data['trash_objects'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\TrashObject', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\TrashObject::class, 'json', $context); } $object->setTrashObjects($values); unset($data['trash_objects']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationTrashObjectsGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationTrashObjectsGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationTrashObjectsPurgeAllPostBodyNormalizer.php b/src/Core/Normalizer/OrganizationsOrganizationTrashObjectsPurgeAllPostBodyNormalizer.php index 1b79d196..5247fbff 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationTrashObjectsPurgeAllPostBodyNormalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationTrashObjectsPurgeAllPostBodyNormalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationTrashObjectsPurgeAllPostBodyNormalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTrashObjectsPurgeAllPostBody'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationTrashObjectsPurgeAllPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTrashObjectsPurgeAllPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationTrashObjectsPurgeAllPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\OrganizationLookup', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\OrganizationLookup::class, 'json', $context)); unset($data['organization']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationTrashObjectsPurgeAllPostBody' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationTrashObjectsPurgeAllPostBody::class => false]; } } } else { @@ -92,12 +92,12 @@ class OrganizationsOrganizationTrashObjectsPurgeAllPostBodyNormalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTrashObjectsPurgeAllPostBody'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationTrashObjectsPurgeAllPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTrashObjectsPurgeAllPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationTrashObjectsPurgeAllPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\OrganizationLookup', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\OrganizationLookup::class, 'json', $context)); unset($data['organization']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationTrashObjectsPurgeAllPostBody' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationTrashObjectsPurgeAllPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200Normalizer.php index da7b96a9..feaf9625 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200Normalizer imp public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('task', $data)) { - $object->setTask($this->denormalizer->denormalize($data['task'], 'KatapultAPI\\Core\\Model\\Task', 'json', $context)); + $object->setTask($this->denormalizer->denormalize($data['task'], \KatapultAPI\Core\Model\Task::class, 'json', $context)); unset($data['task']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200Normalizer imp public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('task', $data)) { - $object->setTask($this->denormalizer->denormalize($data['task'], 'KatapultAPI\\Core\\Model\\Task', 'json', $context)); + $object->setTask($this->denormalizer->denormalize($data['task'], \KatapultAPI\Core\Model\Task::class, 'json', $context)); unset($data['task']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationTrashObjectsPurgeAllPostResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationUsersWithAccessGetResponse200Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationUsersWithAccessGetResponse200Normalizer.php index e4525390..206eda01 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationUsersWithAccessGetResponse200Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationUsersWithAccessGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationUsersWithAccessGetResponse200Normalizer implement public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationUsersWithAccessGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationUsersWithAccessGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationUsersWithAccessGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationUsersWithAccessGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('users', $data)) { $values = []; foreach ($data['users'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetOrganizationUsersWithAccess200ResponseUsers', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetOrganizationUsersWithAccess200ResponseUsers::class, 'json', $context); } $object->setUsers($values); unset($data['users']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationUsersWithAccessGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationUsersWithAccessGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class OrganizationsOrganizationUsersWithAccessGetResponse200Normalizer implement public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationUsersWithAccessGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationUsersWithAccessGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationUsersWithAccessGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationUsersWithAccessGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('users', $data)) { $values = []; foreach ($data['users'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetOrganizationUsersWithAccess200ResponseUsers', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetOrganizationUsersWithAccess200ResponseUsers::class, 'json', $context); } $object->setUsers($values); unset($data['users']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationUsersWithAccessGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationUsersWithAccessGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationVirtualMachineGroupsGetResponse200Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationVirtualMachineGroupsGetResponse200Normalizer.php index 1fe4f8d8..91873e4a 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationVirtualMachineGroupsGetResponse200Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationVirtualMachineGroupsGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationVirtualMachineGroupsGetResponse200Normalizer impl public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -54,7 +54,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('virtual_machine_groups', $data)) { $values = []; foreach ($data['virtual_machine_groups'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\VirtualMachineGroup', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\VirtualMachineGroup::class, 'json', $context); } $object->setVirtualMachineGroups($values); unset($data['virtual_machine_groups']); @@ -87,7 +87,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsGetResponse200::class => false]; } } } else { @@ -100,12 +100,12 @@ class OrganizationsOrganizationVirtualMachineGroupsGetResponse200Normalizer impl public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -123,7 +123,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('virtual_machine_groups', $data)) { $values = []; foreach ($data['virtual_machine_groups'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\VirtualMachineGroup', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\VirtualMachineGroup::class, 'json', $context); } $object->setVirtualMachineGroups($values); unset($data['virtual_machine_groups']); @@ -159,7 +159,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationVirtualMachineGroupsPostBodyNormalizer.php b/src/Core/Normalizer/OrganizationsOrganizationVirtualMachineGroupsPostBodyNormalizer.php index 945e438f..96e8b4d0 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationVirtualMachineGroupsPostBodyNormalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationVirtualMachineGroupsPostBodyNormalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationVirtualMachineGroupsPostBodyNormalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostBody'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\OrganizationLookup', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\OrganizationLookup::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\VirtualMachineGroupArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\VirtualMachineGroupArguments::class, 'json', $context)); unset($data['properties']); } foreach ($data as $key => $value) { @@ -84,7 +84,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostBody' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsPostBody::class => false]; } } } else { @@ -97,12 +97,12 @@ class OrganizationsOrganizationVirtualMachineGroupsPostBodyNormalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostBody'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -118,11 +118,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\OrganizationLookup', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\OrganizationLookup::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\VirtualMachineGroupArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\VirtualMachineGroupArguments::class, 'json', $context)); unset($data['properties']); } foreach ($data as $key => $value) { @@ -153,7 +153,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostBody' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationVirtualMachineGroupsPostResponse200Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationVirtualMachineGroupsPostResponse200Normalizer.php index 57457af1..0af155cc 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationVirtualMachineGroupsPostResponse200Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationVirtualMachineGroupsPostResponse200Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationVirtualMachineGroupsPostResponse200Normalizer imp public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsPostResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine_group', $data)) { - $object->setVirtualMachineGroup($this->denormalizer->denormalize($data['virtual_machine_group'], 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroup', 'json', $context)); + $object->setVirtualMachineGroup($this->denormalizer->denormalize($data['virtual_machine_group'], \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroup::class, 'json', $context)); unset($data['virtual_machine_group']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsPostResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class OrganizationsOrganizationVirtualMachineGroupsPostResponse200Normalizer imp public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsPostResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine_group', $data)) { - $object->setVirtualMachineGroup($this->denormalizer->denormalize($data['virtual_machine_group'], 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroup', 'json', $context)); + $object->setVirtualMachineGroup($this->denormalizer->denormalize($data['virtual_machine_group'], \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroup::class, 'json', $context)); unset($data['virtual_machine_group']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsPostResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroupNormalizer.php b/src/Core/Normalizer/OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroupNormalizer.php index 4c64ec81..177fb57c 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroupNormalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroupNormalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachine public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroup'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -109,7 +109,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroup' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroup::class => false]; } } } else { @@ -122,12 +122,12 @@ class OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachine public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroup'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -203,7 +203,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroup' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachineGroupsPostResponse200VirtualMachineGroup::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationVirtualMachinesBuildFromSpecPostBodyNormalizer.php b/src/Core/Normalizer/OrganizationsOrganizationVirtualMachinesBuildFromSpecPostBodyNormalizer.php index 4b1bbb14..82ff9a17 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationVirtualMachinesBuildFromSpecPostBodyNormalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationVirtualMachinesBuildFromSpecPostBodyNormalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationVirtualMachinesBuildFromSpecPostBodyNormalizer im public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostBody'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\OrganizationLookup', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\OrganizationLookup::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('xml', $data)) { @@ -62,7 +62,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -99,7 +99,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostBody' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostBody::class => false]; } } } else { @@ -112,12 +112,12 @@ class OrganizationsOrganizationVirtualMachinesBuildFromSpecPostBodyNormalizer im public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostBody'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -133,7 +133,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\OrganizationLookup', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\OrganizationLookup::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('xml', $data)) { @@ -143,7 +143,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -183,7 +183,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostBody' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201BuildNormalizer.php b/src/Core/Normalizer/OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201BuildNormalizer.php index 0772ea1a..7dc83ef2 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201BuildNormalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201BuildNormalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201BuildN public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Build'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Build::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Build'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Build::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Build' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Build::class => false]; } } } else { @@ -101,12 +101,12 @@ class OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201BuildN public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Build'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Build::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Build'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Build::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Build' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Build::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Normalizer.php index 9733da78..6a4711a8 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Normal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,15 +52,15 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('task', $data)) { - $object->setTask($this->denormalizer->denormalize($data['task'], 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseTask', 'json', $context)); + $object->setTask($this->denormalizer->denormalize($data['task'], \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuildFromSpec201ResponseTask::class, 'json', $context)); unset($data['task']); } if (\array_key_exists('build', $data)) { - $object->setBuild($this->denormalizer->denormalize($data['build'], 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Build', 'json', $context)); + $object->setBuild($this->denormalizer->denormalize($data['build'], \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Build::class, 'json', $context)); unset($data['build']); } if (\array_key_exists('virtual_machine_build', $data)) { - $object->setVirtualMachineBuild($this->denormalizer->denormalize($data['virtual_machine_build'], 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuild', 'json', $context)); + $object->setVirtualMachineBuild($this->denormalizer->denormalize($data['virtual_machine_build'], \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuild::class, 'json', $context)); unset($data['virtual_machine_build']); } if (\array_key_exists('hostname', $data)) { @@ -70,7 +70,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -107,7 +107,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201::class => false]; } } } else { @@ -120,12 +120,12 @@ class OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Normal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -141,15 +141,15 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('task', $data)) { - $object->setTask($this->denormalizer->denormalize($data['task'], 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseTask', 'json', $context)); + $object->setTask($this->denormalizer->denormalize($data['task'], \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuildFromSpec201ResponseTask::class, 'json', $context)); unset($data['task']); } if (\array_key_exists('build', $data)) { - $object->setBuild($this->denormalizer->denormalize($data['build'], 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Build', 'json', $context)); + $object->setBuild($this->denormalizer->denormalize($data['build'], \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201Build::class, 'json', $context)); unset($data['build']); } if (\array_key_exists('virtual_machine_build', $data)) { - $object->setVirtualMachineBuild($this->denormalizer->denormalize($data['virtual_machine_build'], 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuild', 'json', $context)); + $object->setVirtualMachineBuild($this->denormalizer->denormalize($data['virtual_machine_build'], \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuild::class, 'json', $context)); unset($data['virtual_machine_build']); } if (\array_key_exists('hostname', $data)) { @@ -159,7 +159,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -199,7 +199,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildFromSpecPostResponse201::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationVirtualMachinesBuildPostBodyNormalizer.php b/src/Core/Normalizer/OrganizationsOrganizationVirtualMachinesBuildPostBodyNormalizer.php index 97449ce8..b6291098 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationVirtualMachinesBuildPostBodyNormalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationVirtualMachinesBuildPostBodyNormalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationVirtualMachinesBuildPostBodyNormalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostBody'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,29 +52,29 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\OrganizationLookup', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\OrganizationLookup::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('zone', $data)) { - $object->setZone($this->denormalizer->denormalize($data['zone'], 'KatapultAPI\\Core\\Model\\ZoneLookup', 'json', $context)); + $object->setZone($this->denormalizer->denormalize($data['zone'], \KatapultAPI\Core\Model\ZoneLookup::class, 'json', $context)); unset($data['zone']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\DataCenterLookup', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\DataCenterLookup::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('package', $data)) { - $object->setPackage($this->denormalizer->denormalize($data['package'], 'KatapultAPI\\Core\\Model\\VirtualMachinePackageLookup', 'json', $context)); + $object->setPackage($this->denormalizer->denormalize($data['package'], \KatapultAPI\Core\Model\VirtualMachinePackageLookup::class, 'json', $context)); unset($data['package']); } if (\array_key_exists('disk_template', $data)) { - $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], 'KatapultAPI\\Core\\Model\\DiskTemplateLookup', 'json', $context)); + $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], \KatapultAPI\Core\Model\DiskTemplateLookup::class, 'json', $context)); unset($data['disk_template']); } if (\array_key_exists('disk_template_options', $data)) { $values = []; foreach ($data['disk_template_options'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setDiskTemplateOptions($values); unset($data['disk_template_options']); @@ -82,13 +82,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('disks', $data)) { $values_1 = []; foreach ($data['disks'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'KatapultAPI\\Core\\Model\\VirtualMachineBuildDiskArguments', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, \KatapultAPI\Core\Model\VirtualMachineBuildDiskArguments::class, 'json', $context); } $object->setDisks($values_1); unset($data['disks']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'KatapultAPI\\Core\\Model\\NetworkLookup', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], \KatapultAPI\Core\Model\NetworkLookup::class, 'json', $context)); unset($data['network']); } if (\array_key_exists('hostname', $data)) { @@ -98,7 +98,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('annotations', $data)) { $values_2 = []; foreach ($data['annotations'] as $value_2) { - $values_2[] = $this->denormalizer->denormalize($value_2, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values_2[] = $this->denormalizer->denormalize($value_2, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values_2); unset($data['annotations']); @@ -164,7 +164,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostBody' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildPostBody::class => false]; } } } else { @@ -177,12 +177,12 @@ class OrganizationsOrganizationVirtualMachinesBuildPostBodyNormalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostBody'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -198,29 +198,29 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\OrganizationLookup', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\OrganizationLookup::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('zone', $data)) { - $object->setZone($this->denormalizer->denormalize($data['zone'], 'KatapultAPI\\Core\\Model\\ZoneLookup', 'json', $context)); + $object->setZone($this->denormalizer->denormalize($data['zone'], \KatapultAPI\Core\Model\ZoneLookup::class, 'json', $context)); unset($data['zone']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\DataCenterLookup', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\DataCenterLookup::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('package', $data)) { - $object->setPackage($this->denormalizer->denormalize($data['package'], 'KatapultAPI\\Core\\Model\\VirtualMachinePackageLookup', 'json', $context)); + $object->setPackage($this->denormalizer->denormalize($data['package'], \KatapultAPI\Core\Model\VirtualMachinePackageLookup::class, 'json', $context)); unset($data['package']); } if (\array_key_exists('disk_template', $data)) { - $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], 'KatapultAPI\\Core\\Model\\DiskTemplateLookup', 'json', $context)); + $object->setDiskTemplate($this->denormalizer->denormalize($data['disk_template'], \KatapultAPI\Core\Model\DiskTemplateLookup::class, 'json', $context)); unset($data['disk_template']); } if (\array_key_exists('disk_template_options', $data)) { $values = []; foreach ($data['disk_template_options'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setDiskTemplateOptions($values); unset($data['disk_template_options']); @@ -228,13 +228,13 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('disks', $data)) { $values_1 = []; foreach ($data['disks'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'KatapultAPI\\Core\\Model\\VirtualMachineBuildDiskArguments', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, \KatapultAPI\Core\Model\VirtualMachineBuildDiskArguments::class, 'json', $context); } $object->setDisks($values_1); unset($data['disks']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'KatapultAPI\\Core\\Model\\NetworkLookup', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], \KatapultAPI\Core\Model\NetworkLookup::class, 'json', $context)); unset($data['network']); } if (\array_key_exists('hostname', $data)) { @@ -244,7 +244,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('annotations', $data)) { $values_2 = []; foreach ($data['annotations'] as $value_2) { - $values_2[] = $this->denormalizer->denormalize($value_2, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values_2[] = $this->denormalizer->denormalize($value_2, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values_2); unset($data['annotations']); @@ -313,7 +313,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostBody' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationVirtualMachinesBuildPostResponse201BuildNormalizer.php b/src/Core/Normalizer/OrganizationsOrganizationVirtualMachinesBuildPostResponse201BuildNormalizer.php index 7fa6b1b5..c05c0187 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationVirtualMachinesBuildPostResponse201BuildNormalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationVirtualMachinesBuildPostResponse201BuildNormalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationVirtualMachinesBuildPostResponse201BuildNormalize public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201Build'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildPostResponse201Build::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201Build'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildPostResponse201Build::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201Build' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildPostResponse201Build::class => false]; } } } else { @@ -101,12 +101,12 @@ class OrganizationsOrganizationVirtualMachinesBuildPostResponse201BuildNormalize public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201Build'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildPostResponse201Build::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201Build'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildPostResponse201Build::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201Build' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildPostResponse201Build::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationVirtualMachinesBuildPostResponse201Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationVirtualMachinesBuildPostResponse201Normalizer.php index ad8725df..358b5bb8 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationVirtualMachinesBuildPostResponse201Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationVirtualMachinesBuildPostResponse201Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationVirtualMachinesBuildPostResponse201Normalizer imp public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildPostResponse201::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildPostResponse201::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,15 +52,15 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('task', $data)) { - $object->setTask($this->denormalizer->denormalize($data['task'], 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuild201ResponseTask', 'json', $context)); + $object->setTask($this->denormalizer->denormalize($data['task'], \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuild201ResponseTask::class, 'json', $context)); unset($data['task']); } if (\array_key_exists('build', $data)) { - $object->setBuild($this->denormalizer->denormalize($data['build'], 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201Build', 'json', $context)); + $object->setBuild($this->denormalizer->denormalize($data['build'], \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildPostResponse201Build::class, 'json', $context)); unset($data['build']); } if (\array_key_exists('virtual_machine_build', $data)) { - $object->setVirtualMachineBuild($this->denormalizer->denormalize($data['virtual_machine_build'], 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuild', 'json', $context)); + $object->setVirtualMachineBuild($this->denormalizer->denormalize($data['virtual_machine_build'], \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuild::class, 'json', $context)); unset($data['virtual_machine_build']); } if (\array_key_exists('hostname', $data)) { @@ -70,7 +70,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -107,7 +107,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildPostResponse201::class => false]; } } } else { @@ -120,12 +120,12 @@ class OrganizationsOrganizationVirtualMachinesBuildPostResponse201Normalizer imp public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildPostResponse201::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildPostResponse201::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -141,15 +141,15 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('task', $data)) { - $object->setTask($this->denormalizer->denormalize($data['task'], 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuild201ResponseTask', 'json', $context)); + $object->setTask($this->denormalizer->denormalize($data['task'], \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuild201ResponseTask::class, 'json', $context)); unset($data['task']); } if (\array_key_exists('build', $data)) { - $object->setBuild($this->denormalizer->denormalize($data['build'], 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201Build', 'json', $context)); + $object->setBuild($this->denormalizer->denormalize($data['build'], \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildPostResponse201Build::class, 'json', $context)); unset($data['build']); } if (\array_key_exists('virtual_machine_build', $data)) { - $object->setVirtualMachineBuild($this->denormalizer->denormalize($data['virtual_machine_build'], 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuild', 'json', $context)); + $object->setVirtualMachineBuild($this->denormalizer->denormalize($data['virtual_machine_build'], \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuild::class, 'json', $context)); unset($data['virtual_machine_build']); } if (\array_key_exists('hostname', $data)) { @@ -159,7 +159,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -199,7 +199,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesBuildPostResponse201' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesBuildPostResponse201::class => false]; } } } diff --git a/src/Core/Normalizer/OrganizationsOrganizationVirtualMachinesGetResponse200Normalizer.php b/src/Core/Normalizer/OrganizationsOrganizationVirtualMachinesGetResponse200Normalizer.php index 6b2277b1..77f6a712 100644 --- a/src/Core/Normalizer/OrganizationsOrganizationVirtualMachinesGetResponse200Normalizer.php +++ b/src/Core/Normalizer/OrganizationsOrganizationVirtualMachinesGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class OrganizationsOrganizationVirtualMachinesGetResponse200Normalizer implement public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('virtual_machines', $data)) { $values = []; foreach ($data['virtual_machines'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachines', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachines::class, 'json', $context); } $object->setVirtualMachines($values); unset($data['virtual_machines']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class OrganizationsOrganizationVirtualMachinesGetResponse200Normalizer implement public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesGetResponse200'; + return $type === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('virtual_machines', $data)) { $values = []; foreach ($data['virtual_machines'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetOrganizationVirtualMachines200ResponseVirtualMachines', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetOrganizationVirtualMachines200ResponseVirtualMachines::class, 'json', $context); } $object->setVirtualMachines($values); unset($data['virtual_machines']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\OrganizationsOrganizationVirtualMachinesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\OrganizationsOrganizationVirtualMachinesGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/PaginationObjectNormalizer.php b/src/Core/Normalizer/PaginationObjectNormalizer.php index 82c4c1e2..a60a7f6b 100644 --- a/src/Core/Normalizer/PaginationObjectNormalizer.php +++ b/src/Core/Normalizer/PaginationObjectNormalizer.php @@ -31,12 +31,12 @@ class PaginationObjectNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PaginationObject'; + return $type === \KatapultAPI\Core\Model\PaginationObject::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PaginationObject'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PaginationObject::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -113,7 +113,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PaginationObject' => false]; + return [\KatapultAPI\Core\Model\PaginationObject::class => false]; } } } else { @@ -126,12 +126,12 @@ class PaginationObjectNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PaginationObject'; + return $type === \KatapultAPI\Core\Model\PaginationObject::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PaginationObject'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PaginationObject::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -211,7 +211,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PaginationObject' => false]; + return [\KatapultAPI\Core\Model\PaginationObject::class => false]; } } } diff --git a/src/Core/Normalizer/PatchDisk200ResponseDiskInstallationNormalizer.php b/src/Core/Normalizer/PatchDisk200ResponseDiskInstallationNormalizer.php index acfc8389..939f1c01 100644 --- a/src/Core/Normalizer/PatchDisk200ResponseDiskInstallationNormalizer.php +++ b/src/Core/Normalizer/PatchDisk200ResponseDiskInstallationNormalizer.php @@ -31,12 +31,12 @@ class PatchDisk200ResponseDiskInstallationNormalizer implements DenormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskInstallation'; + return $type === \KatapultAPI\Core\Model\PatchDisk200ResponseDiskInstallation::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskInstallation'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchDisk200ResponseDiskInstallation::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -56,13 +56,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['id']); } if (\array_key_exists('disk_template_version', $data)) { - $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], 'KatapultAPI\\Core\\Model\\DiskTemplateVersion', 'json', $context)); + $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], \KatapultAPI\Core\Model\DiskTemplateVersion::class, 'json', $context)); unset($data['disk_template_version']); } if (\array_key_exists('attributes', $data)) { $values = []; foreach ($data['attributes'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\DiskInstallationAttribute', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\DiskInstallationAttribute::class, 'json', $context); } $object->setAttributes($values); unset($data['attributes']); @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskInstallation' => false]; + return [\KatapultAPI\Core\Model\PatchDisk200ResponseDiskInstallation::class => false]; } } } else { @@ -116,12 +116,12 @@ class PatchDisk200ResponseDiskInstallationNormalizer implements DenormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskInstallation'; + return $type === \KatapultAPI\Core\Model\PatchDisk200ResponseDiskInstallation::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskInstallation'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchDisk200ResponseDiskInstallation::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -141,13 +141,13 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('disk_template_version', $data)) { - $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], 'KatapultAPI\\Core\\Model\\DiskTemplateVersion', 'json', $context)); + $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], \KatapultAPI\Core\Model\DiskTemplateVersion::class, 'json', $context)); unset($data['disk_template_version']); } if (\array_key_exists('attributes', $data)) { $values = []; foreach ($data['attributes'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\DiskInstallationAttribute', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\DiskInstallationAttribute::class, 'json', $context); } $object->setAttributes($values); unset($data['attributes']); @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskInstallation' => false]; + return [\KatapultAPI\Core\Model\PatchDisk200ResponseDiskInstallation::class => false]; } } } diff --git a/src/Core/Normalizer/PatchDisk200ResponseDiskIoProfileNormalizer.php b/src/Core/Normalizer/PatchDisk200ResponseDiskIoProfileNormalizer.php index 3eb9a720..23011ce8 100644 --- a/src/Core/Normalizer/PatchDisk200ResponseDiskIoProfileNormalizer.php +++ b/src/Core/Normalizer/PatchDisk200ResponseDiskIoProfileNormalizer.php @@ -31,12 +31,12 @@ class PatchDisk200ResponseDiskIoProfileNormalizer implements DenormalizerInterfa public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskIoProfile'; + return $type === \KatapultAPI\Core\Model\PatchDisk200ResponseDiskIoProfile::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskIoProfile'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchDisk200ResponseDiskIoProfile::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -113,7 +113,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskIoProfile' => false]; + return [\KatapultAPI\Core\Model\PatchDisk200ResponseDiskIoProfile::class => false]; } } } else { @@ -126,12 +126,12 @@ class PatchDisk200ResponseDiskIoProfileNormalizer implements DenormalizerInterfa public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskIoProfile'; + return $type === \KatapultAPI\Core\Model\PatchDisk200ResponseDiskIoProfile::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskIoProfile'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchDisk200ResponseDiskIoProfile::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -211,7 +211,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskIoProfile' => false]; + return [\KatapultAPI\Core\Model\PatchDisk200ResponseDiskIoProfile::class => false]; } } } diff --git a/src/Core/Normalizer/PatchDisk200ResponseDiskNormalizer.php b/src/Core/Normalizer/PatchDisk200ResponseDiskNormalizer.php index 28d871f8..e4e8ff0a 100644 --- a/src/Core/Normalizer/PatchDisk200ResponseDiskNormalizer.php +++ b/src/Core/Normalizer/PatchDisk200ResponseDiskNormalizer.php @@ -31,12 +31,12 @@ class PatchDisk200ResponseDiskNormalizer implements DenormalizerInterface, Norma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDisk'; + return $type === \KatapultAPI\Core\Model\PatchDisk200ResponseDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchDisk200ResponseDisk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -80,7 +80,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\PatchDisk200ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -92,17 +92,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PatchDiskPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PatchDiskPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\PatchDisk200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\PatchDisk200ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -166,7 +166,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchDisk200ResponseDisk' => false]; + return [\KatapultAPI\Core\Model\PatchDisk200ResponseDisk::class => false]; } } } else { @@ -179,12 +179,12 @@ class PatchDisk200ResponseDiskNormalizer implements DenormalizerInterface, Norma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDisk'; + return $type === \KatapultAPI\Core\Model\PatchDisk200ResponseDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchDisk200ResponseDisk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -228,7 +228,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\PatchDisk200ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -240,17 +240,17 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PatchDiskPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PatchDiskPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\PatchDisk200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\PatchDisk200ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -317,7 +317,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchDisk200ResponseDisk' => false]; + return [\KatapultAPI\Core\Model\PatchDisk200ResponseDisk::class => false]; } } } diff --git a/src/Core/Normalizer/PatchDisk200ResponseDiskVirtualMachineDiskNormalizer.php b/src/Core/Normalizer/PatchDisk200ResponseDiskVirtualMachineDiskNormalizer.php index 41a7f844..50d7efc4 100644 --- a/src/Core/Normalizer/PatchDisk200ResponseDiskVirtualMachineDiskNormalizer.php +++ b/src/Core/Normalizer/PatchDisk200ResponseDiskVirtualMachineDiskNormalizer.php @@ -31,12 +31,12 @@ class PatchDisk200ResponseDiskVirtualMachineDiskNormalizer implements Denormaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\PatchDisk200ResponseDiskVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchDisk200ResponseDiskVirtualMachineDisk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PatchDiskPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PatchDiskPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\PatchDisk200ResponseDiskVirtualMachineDisk::class => false]; } } } else { @@ -115,12 +115,12 @@ class PatchDisk200ResponseDiskVirtualMachineDiskNormalizer implements Denormaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\PatchDisk200ResponseDiskVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchDisk200ResponseDiskVirtualMachineDisk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -136,7 +136,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PatchDiskPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PatchDiskPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchDisk200ResponseDiskVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\PatchDisk200ResponseDiskVirtualMachineDisk::class => false]; } } } diff --git a/src/Core/Normalizer/PatchDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer.php b/src/Core/Normalizer/PatchDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer.php index beacf54c..caa69c75 100644 --- a/src/Core/Normalizer/PatchDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer.php +++ b/src/Core/Normalizer/PatchDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer.php @@ -31,12 +31,12 @@ class PatchDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer implements Deno public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchDiskBackupPolicy200ResponseDiskBackupPolicy'; + return $type === \KatapultAPI\Core\Model\PatchDiskBackupPolicy200ResponseDiskBackupPolicy::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchDiskBackupPolicy200ResponseDiskBackupPolicy'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchDiskBackupPolicy200ResponseDiskBackupPolicy::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['retention']); } if (\array_key_exists('target', $data)) { - $object->setTarget($this->denormalizer->denormalize($data['target'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyTarget', 'json', $context)); + $object->setTarget($this->denormalizer->denormalize($data['target'], \KatapultAPI\Core\Model\DiskBackupPolicyTarget::class, 'json', $context)); unset($data['target']); } if (\array_key_exists('schedule', $data)) { @@ -110,7 +110,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchDiskBackupPolicy200ResponseDiskBackupPolicy' => false]; + return [\KatapultAPI\Core\Model\PatchDiskBackupPolicy200ResponseDiskBackupPolicy::class => false]; } } } else { @@ -123,12 +123,12 @@ class PatchDiskBackupPolicy200ResponseDiskBackupPolicyNormalizer implements Deno public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchDiskBackupPolicy200ResponseDiskBackupPolicy'; + return $type === \KatapultAPI\Core\Model\PatchDiskBackupPolicy200ResponseDiskBackupPolicy::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchDiskBackupPolicy200ResponseDiskBackupPolicy'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchDiskBackupPolicy200ResponseDiskBackupPolicy::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -152,7 +152,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['retention']); } if (\array_key_exists('target', $data)) { - $object->setTarget($this->denormalizer->denormalize($data['target'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyTarget', 'json', $context)); + $object->setTarget($this->denormalizer->denormalize($data['target'], \KatapultAPI\Core\Model\DiskBackupPolicyTarget::class, 'json', $context)); unset($data['target']); } if (\array_key_exists('schedule', $data)) { @@ -205,7 +205,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchDiskBackupPolicy200ResponseDiskBackupPolicy' => false]; + return [\KatapultAPI\Core\Model\PatchDiskBackupPolicy200ResponseDiskBackupPolicy::class => false]; } } } diff --git a/src/Core/Normalizer/PatchDiskPartDataCenterNormalizer.php b/src/Core/Normalizer/PatchDiskPartDataCenterNormalizer.php index 10f83e21..37e494ea 100644 --- a/src/Core/Normalizer/PatchDiskPartDataCenterNormalizer.php +++ b/src/Core/Normalizer/PatchDiskPartDataCenterNormalizer.php @@ -31,12 +31,12 @@ class PatchDiskPartDataCenterNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchDiskPartDataCenter'; + return $type === \KatapultAPI\Core\Model\PatchDiskPartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchDiskPartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchDiskPartDataCenter::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchDiskPartDataCenter' => false]; + return [\KatapultAPI\Core\Model\PatchDiskPartDataCenter::class => false]; } } } else { @@ -108,12 +108,12 @@ class PatchDiskPartDataCenterNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchDiskPartDataCenter'; + return $type === \KatapultAPI\Core\Model\PatchDiskPartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchDiskPartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchDiskPartDataCenter::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchDiskPartDataCenter' => false]; + return [\KatapultAPI\Core\Model\PatchDiskPartDataCenter::class => false]; } } } diff --git a/src/Core/Normalizer/PatchDiskPartVirtualMachineDiskNormalizer.php b/src/Core/Normalizer/PatchDiskPartVirtualMachineDiskNormalizer.php index 6f19b1a5..b0804942 100644 --- a/src/Core/Normalizer/PatchDiskPartVirtualMachineDiskNormalizer.php +++ b/src/Core/Normalizer/PatchDiskPartVirtualMachineDiskNormalizer.php @@ -31,12 +31,12 @@ class PatchDiskPartVirtualMachineDiskNormalizer implements DenormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchDiskPartVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\PatchDiskPartVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchDiskPartVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchDiskPartVirtualMachineDisk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PatchDiskPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PatchDiskPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchDiskPartVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\PatchDiskPartVirtualMachineDisk::class => false]; } } } else { @@ -115,12 +115,12 @@ class PatchDiskPartVirtualMachineDiskNormalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchDiskPartVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\PatchDiskPartVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchDiskPartVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchDiskPartVirtualMachineDisk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -136,7 +136,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PatchDiskPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PatchDiskPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchDiskPartVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\PatchDiskPartVirtualMachineDisk::class => false]; } } } diff --git a/src/Core/Normalizer/PatchDiskPartVirtualMachineNormalizer.php b/src/Core/Normalizer/PatchDiskPartVirtualMachineNormalizer.php index a4229f16..aef3900d 100644 --- a/src/Core/Normalizer/PatchDiskPartVirtualMachineNormalizer.php +++ b/src/Core/Normalizer/PatchDiskPartVirtualMachineNormalizer.php @@ -31,12 +31,12 @@ class PatchDiskPartVirtualMachineNormalizer implements DenormalizerInterface, No public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchDiskPartVirtualMachine'; + return $type === \KatapultAPI\Core\Model\PatchDiskPartVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchDiskPartVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchDiskPartVirtualMachine::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchDiskPartVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\PatchDiskPartVirtualMachine::class => false]; } } } else { @@ -101,12 +101,12 @@ class PatchDiskPartVirtualMachineNormalizer implements DenormalizerInterface, No public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchDiskPartVirtualMachine'; + return $type === \KatapultAPI\Core\Model\PatchDiskPartVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchDiskPartVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchDiskPartVirtualMachine::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchDiskPartVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\PatchDiskPartVirtualMachine::class => false]; } } } diff --git a/src/Core/Normalizer/PatchFileStorageVolume200ResponseFileStorageVolumeNormalizer.php b/src/Core/Normalizer/PatchFileStorageVolume200ResponseFileStorageVolumeNormalizer.php index 873482f3..f8d46bf1 100644 --- a/src/Core/Normalizer/PatchFileStorageVolume200ResponseFileStorageVolumeNormalizer.php +++ b/src/Core/Normalizer/PatchFileStorageVolume200ResponseFileStorageVolumeNormalizer.php @@ -31,12 +31,12 @@ class PatchFileStorageVolume200ResponseFileStorageVolumeNormalizer implements De public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchFileStorageVolume200ResponseFileStorageVolume'; + return $type === \KatapultAPI\Core\Model\PatchFileStorageVolume200ResponseFileStorageVolume::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchFileStorageVolume200ResponseFileStorageVolume'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchFileStorageVolume200ResponseFileStorageVolume::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['name']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PatchFileStorageVolumePartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PatchFileStorageVolumePartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('associations', $data)) { @@ -135,7 +135,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchFileStorageVolume200ResponseFileStorageVolume' => false]; + return [\KatapultAPI\Core\Model\PatchFileStorageVolume200ResponseFileStorageVolume::class => false]; } } } else { @@ -148,12 +148,12 @@ class PatchFileStorageVolume200ResponseFileStorageVolumeNormalizer implements De public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchFileStorageVolume200ResponseFileStorageVolume'; + return $type === \KatapultAPI\Core\Model\PatchFileStorageVolume200ResponseFileStorageVolume::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchFileStorageVolume200ResponseFileStorageVolume'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchFileStorageVolume200ResponseFileStorageVolume::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -177,7 +177,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PatchFileStorageVolumePartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PatchFileStorageVolumePartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('associations', $data)) { @@ -255,7 +255,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchFileStorageVolume200ResponseFileStorageVolume' => false]; + return [\KatapultAPI\Core\Model\PatchFileStorageVolume200ResponseFileStorageVolume::class => false]; } } } diff --git a/src/Core/Normalizer/PatchFileStorageVolumePartDataCenterNormalizer.php b/src/Core/Normalizer/PatchFileStorageVolumePartDataCenterNormalizer.php index 76a5702b..2bce49a7 100644 --- a/src/Core/Normalizer/PatchFileStorageVolumePartDataCenterNormalizer.php +++ b/src/Core/Normalizer/PatchFileStorageVolumePartDataCenterNormalizer.php @@ -31,12 +31,12 @@ class PatchFileStorageVolumePartDataCenterNormalizer implements DenormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchFileStorageVolumePartDataCenter'; + return $type === \KatapultAPI\Core\Model\PatchFileStorageVolumePartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchFileStorageVolumePartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchFileStorageVolumePartDataCenter::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchFileStorageVolumePartDataCenter' => false]; + return [\KatapultAPI\Core\Model\PatchFileStorageVolumePartDataCenter::class => false]; } } } else { @@ -108,12 +108,12 @@ class PatchFileStorageVolumePartDataCenterNormalizer implements DenormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchFileStorageVolumePartDataCenter'; + return $type === \KatapultAPI\Core\Model\PatchFileStorageVolumePartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchFileStorageVolumePartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchFileStorageVolumePartDataCenter::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchFileStorageVolumePartDataCenter' => false]; + return [\KatapultAPI\Core\Model\PatchFileStorageVolumePartDataCenter::class => false]; } } } diff --git a/src/Core/Normalizer/PatchLoadBalancer200ResponseLoadBalancerNormalizer.php b/src/Core/Normalizer/PatchLoadBalancer200ResponseLoadBalancerNormalizer.php index 4c58f87d..173c2922 100644 --- a/src/Core/Normalizer/PatchLoadBalancer200ResponseLoadBalancerNormalizer.php +++ b/src/Core/Normalizer/PatchLoadBalancer200ResponseLoadBalancerNormalizer.php @@ -31,12 +31,12 @@ class PatchLoadBalancer200ResponseLoadBalancerNormalizer implements Denormalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchLoadBalancer200ResponseLoadBalancer'; + return $type === \KatapultAPI\Core\Model\PatchLoadBalancer200ResponseLoadBalancer::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchLoadBalancer200ResponseLoadBalancer'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchLoadBalancer200ResponseLoadBalancer::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -72,7 +72,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('resources', $data)) { $values = []; foreach ($data['resources'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\LoadBalancerResource', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\LoadBalancerResource::class, 'json', $context); } $object->setResources($values); unset($data['resources']); @@ -86,7 +86,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['resource_ids']); } if (\array_key_exists('ip_address', $data)) { - $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], 'KatapultAPI\\Core\\Model\\PatchLoadBalancerPartIPAddress', 'json', $context)); + $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], \KatapultAPI\Core\Model\PatchLoadBalancerPartIPAddress::class, 'json', $context)); unset($data['ip_address']); } if (\array_key_exists('https_redirect', $data)) { @@ -102,7 +102,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['backend_certificate_key']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PatchLoadBalancerPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PatchLoadBalancerPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('enable_weighting', $data)) { @@ -112,7 +112,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('weights', $data)) { $values_2 = []; foreach ($data['weights'] as $value_2) { - $values_2[] = $this->denormalizer->denormalize($value_2, 'KatapultAPI\\Core\\Model\\LoadBalancerWeight', 'json', $context); + $values_2[] = $this->denormalizer->denormalize($value_2, \KatapultAPI\Core\Model\LoadBalancerWeight::class, 'json', $context); } $object->setWeights($values_2); unset($data['weights']); @@ -206,7 +206,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchLoadBalancer200ResponseLoadBalancer' => false]; + return [\KatapultAPI\Core\Model\PatchLoadBalancer200ResponseLoadBalancer::class => false]; } } } else { @@ -219,12 +219,12 @@ class PatchLoadBalancer200ResponseLoadBalancerNormalizer implements Denormalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchLoadBalancer200ResponseLoadBalancer'; + return $type === \KatapultAPI\Core\Model\PatchLoadBalancer200ResponseLoadBalancer::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchLoadBalancer200ResponseLoadBalancer'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchLoadBalancer200ResponseLoadBalancer::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -260,7 +260,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('resources', $data)) { $values = []; foreach ($data['resources'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\LoadBalancerResource', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\LoadBalancerResource::class, 'json', $context); } $object->setResources($values); unset($data['resources']); @@ -274,7 +274,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['resource_ids']); } if (\array_key_exists('ip_address', $data)) { - $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], 'KatapultAPI\\Core\\Model\\PatchLoadBalancerPartIPAddress', 'json', $context)); + $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], \KatapultAPI\Core\Model\PatchLoadBalancerPartIPAddress::class, 'json', $context)); unset($data['ip_address']); } if (\array_key_exists('https_redirect', $data)) { @@ -290,7 +290,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['backend_certificate_key']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PatchLoadBalancerPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PatchLoadBalancerPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('enable_weighting', $data)) { @@ -300,7 +300,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('weights', $data)) { $values_2 = []; foreach ($data['weights'] as $value_2) { - $values_2[] = $this->denormalizer->denormalize($value_2, 'KatapultAPI\\Core\\Model\\LoadBalancerWeight', 'json', $context); + $values_2[] = $this->denormalizer->denormalize($value_2, \KatapultAPI\Core\Model\LoadBalancerWeight::class, 'json', $context); } $object->setWeights($values_2); unset($data['weights']); @@ -397,7 +397,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchLoadBalancer200ResponseLoadBalancer' => false]; + return [\KatapultAPI\Core\Model\PatchLoadBalancer200ResponseLoadBalancer::class => false]; } } } diff --git a/src/Core/Normalizer/PatchLoadBalancerPartDataCenterNormalizer.php b/src/Core/Normalizer/PatchLoadBalancerPartDataCenterNormalizer.php index 4c401056..e613064b 100644 --- a/src/Core/Normalizer/PatchLoadBalancerPartDataCenterNormalizer.php +++ b/src/Core/Normalizer/PatchLoadBalancerPartDataCenterNormalizer.php @@ -31,12 +31,12 @@ class PatchLoadBalancerPartDataCenterNormalizer implements DenormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchLoadBalancerPartDataCenter'; + return $type === \KatapultAPI\Core\Model\PatchLoadBalancerPartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchLoadBalancerPartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchLoadBalancerPartDataCenter::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchLoadBalancerPartDataCenter' => false]; + return [\KatapultAPI\Core\Model\PatchLoadBalancerPartDataCenter::class => false]; } } } else { @@ -108,12 +108,12 @@ class PatchLoadBalancerPartDataCenterNormalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchLoadBalancerPartDataCenter'; + return $type === \KatapultAPI\Core\Model\PatchLoadBalancerPartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchLoadBalancerPartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchLoadBalancerPartDataCenter::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchLoadBalancerPartDataCenter' => false]; + return [\KatapultAPI\Core\Model\PatchLoadBalancerPartDataCenter::class => false]; } } } diff --git a/src/Core/Normalizer/PatchLoadBalancerPartIPAddressNormalizer.php b/src/Core/Normalizer/PatchLoadBalancerPartIPAddressNormalizer.php index f91a2cc9..42cd0c3e 100644 --- a/src/Core/Normalizer/PatchLoadBalancerPartIPAddressNormalizer.php +++ b/src/Core/Normalizer/PatchLoadBalancerPartIPAddressNormalizer.php @@ -31,12 +31,12 @@ class PatchLoadBalancerPartIPAddressNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchLoadBalancerPartIPAddress'; + return $type === \KatapultAPI\Core\Model\PatchLoadBalancerPartIPAddress::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchLoadBalancerPartIPAddress'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchLoadBalancerPartIPAddress::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchLoadBalancerPartIPAddress' => false]; + return [\KatapultAPI\Core\Model\PatchLoadBalancerPartIPAddress::class => false]; } } } else { @@ -101,12 +101,12 @@ class PatchLoadBalancerPartIPAddressNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchLoadBalancerPartIPAddress'; + return $type === \KatapultAPI\Core\Model\PatchLoadBalancerPartIPAddress::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchLoadBalancerPartIPAddress'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchLoadBalancerPartIPAddress::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchLoadBalancerPartIPAddress' => false]; + return [\KatapultAPI\Core\Model\PatchLoadBalancerPartIPAddress::class => false]; } } } diff --git a/src/Core/Normalizer/PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer.php b/src/Core/Normalizer/PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer.php index e6572efb..addf2748 100644 --- a/src/Core/Normalizer/PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer.php +++ b/src/Core/Normalizer/PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormalizer.php @@ -31,12 +31,12 @@ class PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule'; + return $type === \KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -78,7 +78,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('certificates', $data)) { $values = []; foreach ($data['certificates'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartCertificates', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRulePartCertificates::class, 'json', $context); } $object->setCertificates($values); unset($data['certificates']); @@ -128,7 +128,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setCheckHttpStatuses(null); } if (\array_key_exists('load_balancer', $data)) { - $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer', 'json', $context)); + $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], \KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer::class, 'json', $context)); unset($data['load_balancer']); } foreach ($data as $key => $value_1) { @@ -212,7 +212,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule' => false]; + return [\KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule::class => false]; } } } else { @@ -225,12 +225,12 @@ class PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRuleNormaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule'; + return $type === \KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -272,7 +272,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('certificates', $data)) { $values = []; foreach ($data['certificates'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartCertificates', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRulePartCertificates::class, 'json', $context); } $object->setCertificates($values); unset($data['certificates']); @@ -322,7 +322,7 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setCheckHttpStatuses(null); } if (\array_key_exists('load_balancer', $data)) { - $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer', 'json', $context)); + $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], \KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer::class, 'json', $context)); unset($data['load_balancer']); } foreach ($data as $key => $value_1) { @@ -409,7 +409,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule' => false]; + return [\KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRule200ResponseLoadBalancerRule::class => false]; } } } diff --git a/src/Core/Normalizer/PatchLoadBalancersRulesLoadBalancerRulePartCertificatesNormalizer.php b/src/Core/Normalizer/PatchLoadBalancersRulesLoadBalancerRulePartCertificatesNormalizer.php index 15446887..72d3b7b5 100644 --- a/src/Core/Normalizer/PatchLoadBalancersRulesLoadBalancerRulePartCertificatesNormalizer.php +++ b/src/Core/Normalizer/PatchLoadBalancersRulesLoadBalancerRulePartCertificatesNormalizer.php @@ -31,12 +31,12 @@ class PatchLoadBalancersRulesLoadBalancerRulePartCertificatesNormalizer implemen public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartCertificates'; + return $type === \KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRulePartCertificates::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartCertificates'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRulePartCertificates::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -110,7 +110,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartCertificates' => false]; + return [\KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRulePartCertificates::class => false]; } } } else { @@ -123,12 +123,12 @@ class PatchLoadBalancersRulesLoadBalancerRulePartCertificatesNormalizer implemen public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartCertificates'; + return $type === \KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRulePartCertificates::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartCertificates'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRulePartCertificates::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -205,7 +205,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartCertificates' => false]; + return [\KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRulePartCertificates::class => false]; } } } diff --git a/src/Core/Normalizer/PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancerNormalizer.php b/src/Core/Normalizer/PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancerNormalizer.php index caeef415..7cf441c7 100644 --- a/src/Core/Normalizer/PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancerNormalizer.php +++ b/src/Core/Normalizer/PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancerNormalizer.php @@ -31,12 +31,12 @@ class PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancerNormalizer implemen public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer'; + return $type === \KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer' => false]; + return [\KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer::class => false]; } } } else { @@ -101,12 +101,12 @@ class PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancerNormalizer implemen public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer'; + return $type === \KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer' => false]; + return [\KatapultAPI\Core\Model\PatchLoadBalancersRulesLoadBalancerRulePartLoadBalancer::class => false]; } } } diff --git a/src/Core/Normalizer/PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer.php b/src/Core/Normalizer/PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer.php index ecddb5f5..ea87f5b9 100644 --- a/src/Core/Normalizer/PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer.php +++ b/src/Core/Normalizer/PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNormalizer.php @@ -31,12 +31,12 @@ class PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNorma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule'; + return $type === \KatapultAPI\Core\Model\PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -56,7 +56,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['id']); } if (\array_key_exists('security_group', $data)) { - $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'KatapultAPI\\Core\\Model\\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup', 'json', $context)); + $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], \KatapultAPI\Core\Model\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup::class, 'json', $context)); unset($data['security_group']); } if (\array_key_exists('direction', $data)) { @@ -142,7 +142,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule' => false]; + return [\KatapultAPI\Core\Model\PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule::class => false]; } } } else { @@ -155,12 +155,12 @@ class PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRuleNorma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule'; + return $type === \KatapultAPI\Core\Model\PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -180,7 +180,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('security_group', $data)) { - $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'KatapultAPI\\Core\\Model\\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup', 'json', $context)); + $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], \KatapultAPI\Core\Model\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup::class, 'json', $context)); unset($data['security_group']); } if (\array_key_exists('direction', $data)) { @@ -269,7 +269,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule' => false]; + return [\KatapultAPI\Core\Model\PatchSecurityGroupsRulesSecurityGroupRule200ResponseSecurityGroupRule::class => false]; } } } diff --git a/src/Core/Normalizer/PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroupNormalizer.php b/src/Core/Normalizer/PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroupNormalizer.php index 1284d4a1..638a27bf 100644 --- a/src/Core/Normalizer/PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroupNormalizer.php +++ b/src/Core/Normalizer/PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroupNormalizer.php @@ -31,12 +31,12 @@ class PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroupNormalizer imple public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup'; + return $type === \KatapultAPI\Core\Model\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup' => false]; + return [\KatapultAPI\Core\Model\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup::class => false]; } } } else { @@ -101,12 +101,12 @@ class PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroupNormalizer imple public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup'; + return $type === \KatapultAPI\Core\Model\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup' => false]; + return [\KatapultAPI\Core\Model\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup::class => false]; } } } diff --git a/src/Core/Normalizer/PatchVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer.php b/src/Core/Normalizer/PatchVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer.php index b4e89a5f..87ced9a0 100644 --- a/src/Core/Normalizer/PatchVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer.php +++ b/src/Core/Normalizer/PatchVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer.php @@ -31,12 +31,12 @@ class PatchVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer implemen public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineAttachedIso'; + return $type === \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineAttachedIso::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineAttachedIso'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineAttachedIso::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['name']); } if (\array_key_exists('operating_system', $data) && $data['operating_system'] !== null) { - $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'KatapultAPI\\Core\\Model\\ISOOperatingSystem', 'json', $context)); + $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], \KatapultAPI\Core\Model\ISOOperatingSystem::class, 'json', $context)); unset($data['operating_system']); } elseif (\array_key_exists('operating_system', $data) && $data['operating_system'] === null) { $object->setOperatingSystem(null); @@ -97,7 +97,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineAttachedIso' => false]; + return [\KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineAttachedIso::class => false]; } } } else { @@ -110,12 +110,12 @@ class PatchVirtualMachine200ResponseVirtualMachineAttachedIsoNormalizer implemen public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineAttachedIso'; + return $type === \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineAttachedIso::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineAttachedIso'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineAttachedIso::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -139,7 +139,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('operating_system', $data) && $data['operating_system'] !== null) { - $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'KatapultAPI\\Core\\Model\\ISOOperatingSystem', 'json', $context)); + $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], \KatapultAPI\Core\Model\ISOOperatingSystem::class, 'json', $context)); unset($data['operating_system']); } elseif (\array_key_exists('operating_system', $data) && $data['operating_system'] === null) { $object->setOperatingSystem(null); @@ -179,7 +179,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineAttachedIso' => false]; + return [\KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineAttachedIso::class => false]; } } } diff --git a/src/Core/Normalizer/PatchVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer.php b/src/Core/Normalizer/PatchVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer.php index 0c547f65..85e70d09 100644 --- a/src/Core/Normalizer/PatchVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer.php +++ b/src/Core/Normalizer/PatchVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer.php @@ -31,12 +31,12 @@ class PatchVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer implements D public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineGpuType'; + return $type === \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineGpuType::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineGpuType'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineGpuType::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -116,7 +116,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineGpuType' => false]; + return [\KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineGpuType::class => false]; } } } else { @@ -129,12 +129,12 @@ class PatchVirtualMachine200ResponseVirtualMachineGpuTypeNormalizer implements D public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineGpuType'; + return $type === \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineGpuType::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineGpuType'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineGpuType::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -217,7 +217,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineGpuType' => false]; + return [\KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineGpuType::class => false]; } } } diff --git a/src/Core/Normalizer/PatchVirtualMachine200ResponseVirtualMachineGroupNormalizer.php b/src/Core/Normalizer/PatchVirtualMachine200ResponseVirtualMachineGroupNormalizer.php index ba284aae..31fa3893 100644 --- a/src/Core/Normalizer/PatchVirtualMachine200ResponseVirtualMachineGroupNormalizer.php +++ b/src/Core/Normalizer/PatchVirtualMachine200ResponseVirtualMachineGroupNormalizer.php @@ -31,12 +31,12 @@ class PatchVirtualMachine200ResponseVirtualMachineGroupNormalizer implements Den public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineGroup'; + return $type === \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineGroup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -109,7 +109,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineGroup' => false]; + return [\KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineGroup::class => false]; } } } else { @@ -122,12 +122,12 @@ class PatchVirtualMachine200ResponseVirtualMachineGroupNormalizer implements Den public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineGroup'; + return $type === \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineGroup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -203,7 +203,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineGroup' => false]; + return [\KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineGroup::class => false]; } } } diff --git a/src/Core/Normalizer/PatchVirtualMachine200ResponseVirtualMachineHypervisorNormalizer.php b/src/Core/Normalizer/PatchVirtualMachine200ResponseVirtualMachineHypervisorNormalizer.php index 3be45711..f231f4a5 100644 --- a/src/Core/Normalizer/PatchVirtualMachine200ResponseVirtualMachineHypervisorNormalizer.php +++ b/src/Core/Normalizer/PatchVirtualMachine200ResponseVirtualMachineHypervisorNormalizer.php @@ -31,12 +31,12 @@ class PatchVirtualMachine200ResponseVirtualMachineHypervisorNormalizer implement public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineHypervisor'; + return $type === \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineHypervisor::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineHypervisor'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineHypervisor::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineHypervisor' => false]; + return [\KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineHypervisor::class => false]; } } } else { @@ -108,12 +108,12 @@ class PatchVirtualMachine200ResponseVirtualMachineHypervisorNormalizer implement public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineHypervisor'; + return $type === \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineHypervisor::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineHypervisor'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineHypervisor::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineHypervisor' => false]; + return [\KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineHypervisor::class => false]; } } } diff --git a/src/Core/Normalizer/PatchVirtualMachine200ResponseVirtualMachineNormalizer.php b/src/Core/Normalizer/PatchVirtualMachine200ResponseVirtualMachineNormalizer.php index e849b869..38eb1b53 100644 --- a/src/Core/Normalizer/PatchVirtualMachine200ResponseVirtualMachineNormalizer.php +++ b/src/Core/Normalizer/PatchVirtualMachine200ResponseVirtualMachineNormalizer.php @@ -31,12 +31,12 @@ class PatchVirtualMachine200ResponseVirtualMachineNormalizer implements Denormal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachine'; + return $type === \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachine::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,27 +88,27 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['state']); } if (\array_key_exists('zone', $data)) { - $object->setZone($this->denormalizer->denormalize($data['zone'], 'KatapultAPI\\Core\\Model\\Zone', 'json', $context)); + $object->setZone($this->denormalizer->denormalize($data['zone'], \KatapultAPI\Core\Model\Zone::class, 'json', $context)); unset($data['zone']); } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\Organization', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\Organization::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('group', $data) && $data['group'] !== null) { - $object->setGroup($this->denormalizer->denormalize($data['group'], 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineGroup', 'json', $context)); + $object->setGroup($this->denormalizer->denormalize($data['group'], \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineGroup::class, 'json', $context)); unset($data['group']); } elseif (\array_key_exists('group', $data) && $data['group'] === null) { $object->setGroup(null); } if (\array_key_exists('package', $data) && $data['package'] !== null) { - $object->setPackage($this->denormalizer->denormalize($data['package'], 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachinePackage', 'json', $context)); + $object->setPackage($this->denormalizer->denormalize($data['package'], \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachinePackage::class, 'json', $context)); unset($data['package']); } elseif (\array_key_exists('package', $data) && $data['package'] === null) { $object->setPackage(null); } if (\array_key_exists('attached_iso', $data) && $data['attached_iso'] !== null) { - $object->setAttachedIso($this->denormalizer->denormalize($data['attached_iso'], 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineAttachedIso', 'json', $context)); + $object->setAttachedIso($this->denormalizer->denormalize($data['attached_iso'], \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineAttachedIso::class, 'json', $context)); unset($data['attached_iso']); } elseif (\array_key_exists('attached_iso', $data) && $data['attached_iso'] === null) { $object->setAttachedIso(null); @@ -132,7 +132,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setUseDedicatedCpus(null); } if (\array_key_exists('gpu_type', $data) && $data['gpu_type'] !== null) { - $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineGpuType', 'json', $context)); + $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineGpuType::class, 'json', $context)); unset($data['gpu_type']); } elseif (\array_key_exists('gpu_type', $data) && $data['gpu_type'] === null) { $object->setGpuType(null); @@ -140,7 +140,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('gpus', $data)) { $values = []; foreach ($data['gpus'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\VirtualMachineGPU', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\VirtualMachineGPU::class, 'json', $context); } $object->setGpus($values); unset($data['gpus']); @@ -148,7 +148,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('tags', $data)) { $values_1 = []; foreach ($data['tags'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'KatapultAPI\\Core\\Model\\Tag', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, \KatapultAPI\Core\Model\Tag::class, 'json', $context); } $object->setTags($values_1); unset($data['tags']); @@ -164,13 +164,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('ip_addresses', $data)) { $values_3 = []; foreach ($data['ip_addresses'] as $value_3) { - $values_3[] = $this->denormalizer->denormalize($value_3, 'KatapultAPI\\Core\\Model\\IPAddress', 'json', $context); + $values_3[] = $this->denormalizer->denormalize($value_3, \KatapultAPI\Core\Model\IPAddress::class, 'json', $context); } $object->setIpAddresses($values_3); unset($data['ip_addresses']); } if (\array_key_exists('hypervisor', $data) && $data['hypervisor'] !== null) { - $object->setHypervisor($this->denormalizer->denormalize($data['hypervisor'], 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineHypervisor', 'json', $context)); + $object->setHypervisor($this->denormalizer->denormalize($data['hypervisor'], \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineHypervisor::class, 'json', $context)); unset($data['hypervisor']); } elseif (\array_key_exists('hypervisor', $data) && $data['hypervisor'] === null) { $object->setHypervisor(null); @@ -280,7 +280,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachine::class => false]; } } } else { @@ -293,12 +293,12 @@ class PatchVirtualMachine200ResponseVirtualMachineNormalizer implements Denormal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachine'; + return $type === \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachine::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -350,27 +350,27 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['state']); } if (\array_key_exists('zone', $data)) { - $object->setZone($this->denormalizer->denormalize($data['zone'], 'KatapultAPI\\Core\\Model\\Zone', 'json', $context)); + $object->setZone($this->denormalizer->denormalize($data['zone'], \KatapultAPI\Core\Model\Zone::class, 'json', $context)); unset($data['zone']); } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\Organization', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\Organization::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('group', $data) && $data['group'] !== null) { - $object->setGroup($this->denormalizer->denormalize($data['group'], 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineGroup', 'json', $context)); + $object->setGroup($this->denormalizer->denormalize($data['group'], \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineGroup::class, 'json', $context)); unset($data['group']); } elseif (\array_key_exists('group', $data) && $data['group'] === null) { $object->setGroup(null); } if (\array_key_exists('package', $data) && $data['package'] !== null) { - $object->setPackage($this->denormalizer->denormalize($data['package'], 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachinePackage', 'json', $context)); + $object->setPackage($this->denormalizer->denormalize($data['package'], \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachinePackage::class, 'json', $context)); unset($data['package']); } elseif (\array_key_exists('package', $data) && $data['package'] === null) { $object->setPackage(null); } if (\array_key_exists('attached_iso', $data) && $data['attached_iso'] !== null) { - $object->setAttachedIso($this->denormalizer->denormalize($data['attached_iso'], 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineAttachedIso', 'json', $context)); + $object->setAttachedIso($this->denormalizer->denormalize($data['attached_iso'], \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineAttachedIso::class, 'json', $context)); unset($data['attached_iso']); } elseif (\array_key_exists('attached_iso', $data) && $data['attached_iso'] === null) { $object->setAttachedIso(null); @@ -394,7 +394,7 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setUseDedicatedCpus(null); } if (\array_key_exists('gpu_type', $data) && $data['gpu_type'] !== null) { - $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineGpuType', 'json', $context)); + $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineGpuType::class, 'json', $context)); unset($data['gpu_type']); } elseif (\array_key_exists('gpu_type', $data) && $data['gpu_type'] === null) { $object->setGpuType(null); @@ -402,7 +402,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('gpus', $data)) { $values = []; foreach ($data['gpus'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\VirtualMachineGPU', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\VirtualMachineGPU::class, 'json', $context); } $object->setGpus($values); unset($data['gpus']); @@ -410,7 +410,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('tags', $data)) { $values_1 = []; foreach ($data['tags'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'KatapultAPI\\Core\\Model\\Tag', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, \KatapultAPI\Core\Model\Tag::class, 'json', $context); } $object->setTags($values_1); unset($data['tags']); @@ -426,13 +426,13 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('ip_addresses', $data)) { $values_3 = []; foreach ($data['ip_addresses'] as $value_3) { - $values_3[] = $this->denormalizer->denormalize($value_3, 'KatapultAPI\\Core\\Model\\IPAddress', 'json', $context); + $values_3[] = $this->denormalizer->denormalize($value_3, \KatapultAPI\Core\Model\IPAddress::class, 'json', $context); } $object->setIpAddresses($values_3); unset($data['ip_addresses']); } if (\array_key_exists('hypervisor', $data) && $data['hypervisor'] !== null) { - $object->setHypervisor($this->denormalizer->denormalize($data['hypervisor'], 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineHypervisor', 'json', $context)); + $object->setHypervisor($this->denormalizer->denormalize($data['hypervisor'], \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineHypervisor::class, 'json', $context)); unset($data['hypervisor']); } elseif (\array_key_exists('hypervisor', $data) && $data['hypervisor'] === null) { $object->setHypervisor(null); @@ -545,7 +545,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachine::class => false]; } } } diff --git a/src/Core/Normalizer/PatchVirtualMachine200ResponseVirtualMachinePackageNormalizer.php b/src/Core/Normalizer/PatchVirtualMachine200ResponseVirtualMachinePackageNormalizer.php index 924ce777..f8ecbe76 100644 --- a/src/Core/Normalizer/PatchVirtualMachine200ResponseVirtualMachinePackageNormalizer.php +++ b/src/Core/Normalizer/PatchVirtualMachine200ResponseVirtualMachinePackageNormalizer.php @@ -31,12 +31,12 @@ class PatchVirtualMachine200ResponseVirtualMachinePackageNormalizer implements D public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachinePackage'; + return $type === \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachinePackage::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachinePackage'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachinePackage::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -90,7 +90,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['privacy']); } if (\array_key_exists('icon', $data) && $data['icon'] !== null) { - $object->setIcon($this->denormalizer->denormalize($data['icon'], 'KatapultAPI\\Core\\Model\\VirtualMachinePackageIcon', 'json', $context)); + $object->setIcon($this->denormalizer->denormalize($data['icon'], \KatapultAPI\Core\Model\VirtualMachinePackageIcon::class, 'json', $context)); unset($data['icon']); } elseif (\array_key_exists('icon', $data) && $data['icon'] === null) { $object->setIcon(null); @@ -100,7 +100,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['use_dedicated_cpus']); } if (\array_key_exists('group', $data)) { - $object->setGroup($this->denormalizer->denormalize($data['group'], 'KatapultAPI\\Core\\Model\\VirtualMachinePackageGroup', 'json', $context)); + $object->setGroup($this->denormalizer->denormalize($data['group'], \KatapultAPI\Core\Model\VirtualMachinePackageGroup::class, 'json', $context)); unset($data['group']); } foreach ($data as $key => $value) { @@ -162,7 +162,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachinePackage' => false]; + return [\KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachinePackage::class => false]; } } } else { @@ -175,12 +175,12 @@ class PatchVirtualMachine200ResponseVirtualMachinePackageNormalizer implements D public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachinePackage'; + return $type === \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachinePackage::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachinePackage'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachinePackage::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -234,7 +234,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['privacy']); } if (\array_key_exists('icon', $data) && $data['icon'] !== null) { - $object->setIcon($this->denormalizer->denormalize($data['icon'], 'KatapultAPI\\Core\\Model\\VirtualMachinePackageIcon', 'json', $context)); + $object->setIcon($this->denormalizer->denormalize($data['icon'], \KatapultAPI\Core\Model\VirtualMachinePackageIcon::class, 'json', $context)); unset($data['icon']); } elseif (\array_key_exists('icon', $data) && $data['icon'] === null) { $object->setIcon(null); @@ -244,7 +244,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['use_dedicated_cpus']); } if (\array_key_exists('group', $data)) { - $object->setGroup($this->denormalizer->denormalize($data['group'], 'KatapultAPI\\Core\\Model\\VirtualMachinePackageGroup', 'json', $context)); + $object->setGroup($this->denormalizer->denormalize($data['group'], \KatapultAPI\Core\Model\VirtualMachinePackageGroup::class, 'json', $context)); unset($data['group']); } foreach ($data as $key => $value) { @@ -309,7 +309,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachinePackage' => false]; + return [\KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachinePackage::class => false]; } } } diff --git a/src/Core/Normalizer/PatchVirtualMachinePartGPUTypeNormalizer.php b/src/Core/Normalizer/PatchVirtualMachinePartGPUTypeNormalizer.php index 8073c733..735c43cc 100644 --- a/src/Core/Normalizer/PatchVirtualMachinePartGPUTypeNormalizer.php +++ b/src/Core/Normalizer/PatchVirtualMachinePartGPUTypeNormalizer.php @@ -31,12 +31,12 @@ class PatchVirtualMachinePartGPUTypeNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchVirtualMachinePartGPUType'; + return $type === \KatapultAPI\Core\Model\PatchVirtualMachinePartGPUType::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchVirtualMachinePartGPUType'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchVirtualMachinePartGPUType::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -116,7 +116,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchVirtualMachinePartGPUType' => false]; + return [\KatapultAPI\Core\Model\PatchVirtualMachinePartGPUType::class => false]; } } } else { @@ -129,12 +129,12 @@ class PatchVirtualMachinePartGPUTypeNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PatchVirtualMachinePartGPUType'; + return $type === \KatapultAPI\Core\Model\PatchVirtualMachinePartGPUType::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PatchVirtualMachinePartGPUType'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PatchVirtualMachinePartGPUType::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -217,7 +217,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PatchVirtualMachinePartGPUType' => false]; + return [\KatapultAPI\Core\Model\PatchVirtualMachinePartGPUType::class => false]; } } } diff --git a/src/Core/Normalizer/PermissionDeniedNormalizer.php b/src/Core/Normalizer/PermissionDeniedNormalizer.php index daa49283..1357b122 100644 --- a/src/Core/Normalizer/PermissionDeniedNormalizer.php +++ b/src/Core/Normalizer/PermissionDeniedNormalizer.php @@ -31,12 +31,12 @@ class PermissionDeniedNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PermissionDenied'; + return $type === \KatapultAPI\Core\Model\PermissionDenied::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PermissionDenied'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PermissionDenied::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -83,7 +83,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PermissionDenied' => false]; + return [\KatapultAPI\Core\Model\PermissionDenied::class => false]; } } } else { @@ -96,12 +96,12 @@ class PermissionDeniedNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PermissionDenied'; + return $type === \KatapultAPI\Core\Model\PermissionDenied::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PermissionDenied'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PermissionDenied::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -151,7 +151,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PermissionDenied' => false]; + return [\KatapultAPI\Core\Model\PermissionDenied::class => false]; } } } diff --git a/src/Core/Normalizer/PermissionDeniedSchemaNormalizer.php b/src/Core/Normalizer/PermissionDeniedSchemaNormalizer.php index 4118879b..c63e287f 100644 --- a/src/Core/Normalizer/PermissionDeniedSchemaNormalizer.php +++ b/src/Core/Normalizer/PermissionDeniedSchemaNormalizer.php @@ -31,12 +31,12 @@ class PermissionDeniedSchemaNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PermissionDeniedSchema'; + return $type === \KatapultAPI\Core\Model\PermissionDeniedSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PermissionDeniedSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PermissionDeniedSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Core\\Model\\PermissionDenied', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Core\Model\PermissionDenied::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PermissionDeniedSchema' => false]; + return [\KatapultAPI\Core\Model\PermissionDeniedSchema::class => false]; } } } else { @@ -108,12 +108,12 @@ class PermissionDeniedSchemaNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PermissionDeniedSchema'; + return $type === \KatapultAPI\Core\Model\PermissionDeniedSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PermissionDeniedSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PermissionDeniedSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -137,7 +137,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Core\\Model\\PermissionDenied', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Core\Model\PermissionDenied::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PermissionDeniedSchema' => false]; + return [\KatapultAPI\Core\Model\PermissionDeniedSchema::class => false]; } } } diff --git a/src/Core/Normalizer/PolicyFeatureNormalizer.php b/src/Core/Normalizer/PolicyFeatureNormalizer.php index 39d3d5b1..dda99fb8 100644 --- a/src/Core/Normalizer/PolicyFeatureNormalizer.php +++ b/src/Core/Normalizer/PolicyFeatureNormalizer.php @@ -31,12 +31,12 @@ class PolicyFeatureNormalizer implements DenormalizerInterface, NormalizerInterf public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PolicyFeature'; + return $type === \KatapultAPI\Core\Model\PolicyFeature::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PolicyFeature'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PolicyFeature::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PolicyFeature' => false]; + return [\KatapultAPI\Core\Model\PolicyFeature::class => false]; } } } else { @@ -94,12 +94,12 @@ class PolicyFeatureNormalizer implements DenormalizerInterface, NormalizerInterf public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PolicyFeature'; + return $type === \KatapultAPI\Core\Model\PolicyFeature::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PolicyFeature'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PolicyFeature::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PolicyFeature' => false]; + return [\KatapultAPI\Core\Model\PolicyFeature::class => false]; } } } diff --git a/src/Core/Normalizer/PolicyFeaturesNormalizer.php b/src/Core/Normalizer/PolicyFeaturesNormalizer.php index 24871d1f..30c44bb9 100644 --- a/src/Core/Normalizer/PolicyFeaturesNormalizer.php +++ b/src/Core/Normalizer/PolicyFeaturesNormalizer.php @@ -31,12 +31,12 @@ class PolicyFeaturesNormalizer implements DenormalizerInterface, NormalizerInter public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PolicyFeatures'; + return $type === \KatapultAPI\Core\Model\PolicyFeatures::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PolicyFeatures'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PolicyFeatures::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,23 +52,23 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('disk_bus_configuration', $data)) { - $object->setDiskBusConfiguration($this->denormalizer->denormalize($data['disk_bus_configuration'], 'KatapultAPI\\Core\\Model\\PolicyFeature', 'json', $context)); + $object->setDiskBusConfiguration($this->denormalizer->denormalize($data['disk_bus_configuration'], \KatapultAPI\Core\Model\PolicyFeature::class, 'json', $context)); unset($data['disk_bus_configuration']); } if (\array_key_exists('zone_selection', $data)) { - $object->setZoneSelection($this->denormalizer->denormalize($data['zone_selection'], 'KatapultAPI\\Core\\Model\\PolicyFeature', 'json', $context)); + $object->setZoneSelection($this->denormalizer->denormalize($data['zone_selection'], \KatapultAPI\Core\Model\PolicyFeature::class, 'json', $context)); unset($data['zone_selection']); } if (\array_key_exists('restricted_traffic_types', $data)) { - $object->setRestrictedTrafficTypes($this->denormalizer->denormalize($data['restricted_traffic_types'], 'KatapultAPI\\Core\\Model\\PolicyFeature', 'json', $context)); + $object->setRestrictedTrafficTypes($this->denormalizer->denormalize($data['restricted_traffic_types'], \KatapultAPI\Core\Model\PolicyFeature::class, 'json', $context)); unset($data['restricted_traffic_types']); } if (\array_key_exists('suspension', $data)) { - $object->setSuspension($this->denormalizer->denormalize($data['suspension'], 'KatapultAPI\\Core\\Model\\PolicyFeature', 'json', $context)); + $object->setSuspension($this->denormalizer->denormalize($data['suspension'], \KatapultAPI\Core\Model\PolicyFeature::class, 'json', $context)); unset($data['suspension']); } if (\array_key_exists('flexible_virtual_machine_resources', $data)) { - $object->setFlexibleVirtualMachineResources($this->denormalizer->denormalize($data['flexible_virtual_machine_resources'], 'KatapultAPI\\Core\\Model\\PolicyFeature', 'json', $context)); + $object->setFlexibleVirtualMachineResources($this->denormalizer->denormalize($data['flexible_virtual_machine_resources'], \KatapultAPI\Core\Model\PolicyFeature::class, 'json', $context)); unset($data['flexible_virtual_machine_resources']); } foreach ($data as $key => $value) { @@ -109,7 +109,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PolicyFeatures' => false]; + return [\KatapultAPI\Core\Model\PolicyFeatures::class => false]; } } } else { @@ -122,12 +122,12 @@ class PolicyFeaturesNormalizer implements DenormalizerInterface, NormalizerInter public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PolicyFeatures'; + return $type === \KatapultAPI\Core\Model\PolicyFeatures::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PolicyFeatures'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PolicyFeatures::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -143,23 +143,23 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('disk_bus_configuration', $data)) { - $object->setDiskBusConfiguration($this->denormalizer->denormalize($data['disk_bus_configuration'], 'KatapultAPI\\Core\\Model\\PolicyFeature', 'json', $context)); + $object->setDiskBusConfiguration($this->denormalizer->denormalize($data['disk_bus_configuration'], \KatapultAPI\Core\Model\PolicyFeature::class, 'json', $context)); unset($data['disk_bus_configuration']); } if (\array_key_exists('zone_selection', $data)) { - $object->setZoneSelection($this->denormalizer->denormalize($data['zone_selection'], 'KatapultAPI\\Core\\Model\\PolicyFeature', 'json', $context)); + $object->setZoneSelection($this->denormalizer->denormalize($data['zone_selection'], \KatapultAPI\Core\Model\PolicyFeature::class, 'json', $context)); unset($data['zone_selection']); } if (\array_key_exists('restricted_traffic_types', $data)) { - $object->setRestrictedTrafficTypes($this->denormalizer->denormalize($data['restricted_traffic_types'], 'KatapultAPI\\Core\\Model\\PolicyFeature', 'json', $context)); + $object->setRestrictedTrafficTypes($this->denormalizer->denormalize($data['restricted_traffic_types'], \KatapultAPI\Core\Model\PolicyFeature::class, 'json', $context)); unset($data['restricted_traffic_types']); } if (\array_key_exists('suspension', $data)) { - $object->setSuspension($this->denormalizer->denormalize($data['suspension'], 'KatapultAPI\\Core\\Model\\PolicyFeature', 'json', $context)); + $object->setSuspension($this->denormalizer->denormalize($data['suspension'], \KatapultAPI\Core\Model\PolicyFeature::class, 'json', $context)); unset($data['suspension']); } if (\array_key_exists('flexible_virtual_machine_resources', $data)) { - $object->setFlexibleVirtualMachineResources($this->denormalizer->denormalize($data['flexible_virtual_machine_resources'], 'KatapultAPI\\Core\\Model\\PolicyFeature', 'json', $context)); + $object->setFlexibleVirtualMachineResources($this->denormalizer->denormalize($data['flexible_virtual_machine_resources'], \KatapultAPI\Core\Model\PolicyFeature::class, 'json', $context)); unset($data['flexible_virtual_machine_resources']); } foreach ($data as $key => $value) { @@ -203,7 +203,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PolicyFeatures' => false]; + return [\KatapultAPI\Core\Model\PolicyFeatures::class => false]; } } } diff --git a/src/Core/Normalizer/PolicyLimitNormalizer.php b/src/Core/Normalizer/PolicyLimitNormalizer.php index b1bea317..e2ff2109 100644 --- a/src/Core/Normalizer/PolicyLimitNormalizer.php +++ b/src/Core/Normalizer/PolicyLimitNormalizer.php @@ -31,12 +31,12 @@ class PolicyLimitNormalizer implements DenormalizerInterface, NormalizerInterfac public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PolicyLimit'; + return $type === \KatapultAPI\Core\Model\PolicyLimit::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PolicyLimit'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PolicyLimit::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -97,7 +97,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PolicyLimit' => false]; + return [\KatapultAPI\Core\Model\PolicyLimit::class => false]; } } } else { @@ -110,12 +110,12 @@ class PolicyLimitNormalizer implements DenormalizerInterface, NormalizerInterfac public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PolicyLimit'; + return $type === \KatapultAPI\Core\Model\PolicyLimit::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PolicyLimit'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PolicyLimit::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -179,7 +179,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PolicyLimit' => false]; + return [\KatapultAPI\Core\Model\PolicyLimit::class => false]; } } } diff --git a/src/Core/Normalizer/PolicyLimitWithoutCurrentNormalizer.php b/src/Core/Normalizer/PolicyLimitWithoutCurrentNormalizer.php index 2f248307..2636d667 100644 --- a/src/Core/Normalizer/PolicyLimitWithoutCurrentNormalizer.php +++ b/src/Core/Normalizer/PolicyLimitWithoutCurrentNormalizer.php @@ -31,12 +31,12 @@ class PolicyLimitWithoutCurrentNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PolicyLimitWithoutCurrent'; + return $type === \KatapultAPI\Core\Model\PolicyLimitWithoutCurrent::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PolicyLimitWithoutCurrent'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PolicyLimitWithoutCurrent::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -90,7 +90,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PolicyLimitWithoutCurrent' => false]; + return [\KatapultAPI\Core\Model\PolicyLimitWithoutCurrent::class => false]; } } } else { @@ -103,12 +103,12 @@ class PolicyLimitWithoutCurrentNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PolicyLimitWithoutCurrent'; + return $type === \KatapultAPI\Core\Model\PolicyLimitWithoutCurrent::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PolicyLimitWithoutCurrent'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PolicyLimitWithoutCurrent::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -165,7 +165,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PolicyLimitWithoutCurrent' => false]; + return [\KatapultAPI\Core\Model\PolicyLimitWithoutCurrent::class => false]; } } } diff --git a/src/Core/Normalizer/PolicyLimitsNormalizer.php b/src/Core/Normalizer/PolicyLimitsNormalizer.php index d120d96c..83eed434 100644 --- a/src/Core/Normalizer/PolicyLimitsNormalizer.php +++ b/src/Core/Normalizer/PolicyLimitsNormalizer.php @@ -31,12 +31,12 @@ class PolicyLimitsNormalizer implements DenormalizerInterface, NormalizerInterfa public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PolicyLimits'; + return $type === \KatapultAPI\Core\Model\PolicyLimits::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PolicyLimits'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PolicyLimits::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,63 +52,63 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('uninvoiced_balance', $data)) { - $object->setUninvoicedBalance($this->denormalizer->denormalize($data['uninvoiced_balance'], 'KatapultAPI\\Core\\Model\\FinancialPolicyLimit', 'json', $context)); + $object->setUninvoicedBalance($this->denormalizer->denormalize($data['uninvoiced_balance'], \KatapultAPI\Core\Model\FinancialPolicyLimit::class, 'json', $context)); unset($data['uninvoiced_balance']); } if (\array_key_exists('virtual_machines', $data)) { - $object->setVirtualMachines($this->denormalizer->denormalize($data['virtual_machines'], 'KatapultAPI\\Core\\Model\\PolicyLimit', 'json', $context)); + $object->setVirtualMachines($this->denormalizer->denormalize($data['virtual_machines'], \KatapultAPI\Core\Model\PolicyLimit::class, 'json', $context)); unset($data['virtual_machines']); } if (\array_key_exists('virtual_machine_memory', $data)) { - $object->setVirtualMachineMemory($this->denormalizer->denormalize($data['virtual_machine_memory'], 'KatapultAPI\\Core\\Model\\PolicyLimit', 'json', $context)); + $object->setVirtualMachineMemory($this->denormalizer->denormalize($data['virtual_machine_memory'], \KatapultAPI\Core\Model\PolicyLimit::class, 'json', $context)); unset($data['virtual_machine_memory']); } if (\array_key_exists('managed_organizations', $data)) { - $object->setManagedOrganizations($this->denormalizer->denormalize($data['managed_organizations'], 'KatapultAPI\\Core\\Model\\PolicyLimit', 'json', $context)); + $object->setManagedOrganizations($this->denormalizer->denormalize($data['managed_organizations'], \KatapultAPI\Core\Model\PolicyLimit::class, 'json', $context)); unset($data['managed_organizations']); } if (\array_key_exists('unallocated_ip_addresses', $data)) { - $object->setUnallocatedIpAddresses($this->denormalizer->denormalize($data['unallocated_ip_addresses'], 'KatapultAPI\\Core\\Model\\PolicyLimit', 'json', $context)); + $object->setUnallocatedIpAddresses($this->denormalizer->denormalize($data['unallocated_ip_addresses'], \KatapultAPI\Core\Model\PolicyLimit::class, 'json', $context)); unset($data['unallocated_ip_addresses']); } if (\array_key_exists('disk_space', $data)) { - $object->setDiskSpace($this->denormalizer->denormalize($data['disk_space'], 'KatapultAPI\\Core\\Model\\PolicyLimit', 'json', $context)); + $object->setDiskSpace($this->denormalizer->denormalize($data['disk_space'], \KatapultAPI\Core\Model\PolicyLimit::class, 'json', $context)); unset($data['disk_space']); } if (\array_key_exists('security_groups', $data)) { - $object->setSecurityGroups($this->denormalizer->denormalize($data['security_groups'], 'KatapultAPI\\Core\\Model\\PolicyLimit', 'json', $context)); + $object->setSecurityGroups($this->denormalizer->denormalize($data['security_groups'], \KatapultAPI\Core\Model\PolicyLimit::class, 'json', $context)); unset($data['security_groups']); } if (\array_key_exists('virtual_networks', $data)) { - $object->setVirtualNetworks($this->denormalizer->denormalize($data['virtual_networks'], 'KatapultAPI\\Core\\Model\\PolicyLimit', 'json', $context)); + $object->setVirtualNetworks($this->denormalizer->denormalize($data['virtual_networks'], \KatapultAPI\Core\Model\PolicyLimit::class, 'json', $context)); unset($data['virtual_networks']); } if (\array_key_exists('load_balancers', $data)) { - $object->setLoadBalancers($this->denormalizer->denormalize($data['load_balancers'], 'KatapultAPI\\Core\\Model\\PolicyLimit', 'json', $context)); + $object->setLoadBalancers($this->denormalizer->denormalize($data['load_balancers'], \KatapultAPI\Core\Model\PolicyLimit::class, 'json', $context)); unset($data['load_balancers']); } if (\array_key_exists('dns_zones', $data)) { - $object->setDnsZones($this->denormalizer->denormalize($data['dns_zones'], 'KatapultAPI\\Core\\Model\\PolicyLimit', 'json', $context)); + $object->setDnsZones($this->denormalizer->denormalize($data['dns_zones'], \KatapultAPI\Core\Model\PolicyLimit::class, 'json', $context)); unset($data['dns_zones']); } if (\array_key_exists('certificates', $data)) { - $object->setCertificates($this->denormalizer->denormalize($data['certificates'], 'KatapultAPI\\Core\\Model\\PolicyLimit', 'json', $context)); + $object->setCertificates($this->denormalizer->denormalize($data['certificates'], \KatapultAPI\Core\Model\PolicyLimit::class, 'json', $context)); unset($data['certificates']); } if (\array_key_exists('file_storage_volumes', $data)) { - $object->setFileStorageVolumes($this->denormalizer->denormalize($data['file_storage_volumes'], 'KatapultAPI\\Core\\Model\\PolicyLimit', 'json', $context)); + $object->setFileStorageVolumes($this->denormalizer->denormalize($data['file_storage_volumes'], \KatapultAPI\Core\Model\PolicyLimit::class, 'json', $context)); unset($data['file_storage_volumes']); } if (\array_key_exists('isos', $data)) { - $object->setIsos($this->denormalizer->denormalize($data['isos'], 'KatapultAPI\\Core\\Model\\PolicyLimit', 'json', $context)); + $object->setIsos($this->denormalizer->denormalize($data['isos'], \KatapultAPI\Core\Model\PolicyLimit::class, 'json', $context)); unset($data['isos']); } if (\array_key_exists('disk_iops', $data)) { - $object->setDiskIops($this->denormalizer->denormalize($data['disk_iops'], 'KatapultAPI\\Core\\Model\\PolicyLimitWithoutCurrent', 'json', $context)); + $object->setDiskIops($this->denormalizer->denormalize($data['disk_iops'], \KatapultAPI\Core\Model\PolicyLimitWithoutCurrent::class, 'json', $context)); unset($data['disk_iops']); } if (\array_key_exists('network_speed', $data)) { - $object->setNetworkSpeed($this->denormalizer->denormalize($data['network_speed'], 'KatapultAPI\\Core\\Model\\PolicyLimitWithoutCurrent', 'json', $context)); + $object->setNetworkSpeed($this->denormalizer->denormalize($data['network_speed'], \KatapultAPI\Core\Model\PolicyLimitWithoutCurrent::class, 'json', $context)); unset($data['network_speed']); } foreach ($data as $key => $value) { @@ -179,7 +179,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PolicyLimits' => false]; + return [\KatapultAPI\Core\Model\PolicyLimits::class => false]; } } } else { @@ -192,12 +192,12 @@ class PolicyLimitsNormalizer implements DenormalizerInterface, NormalizerInterfa public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PolicyLimits'; + return $type === \KatapultAPI\Core\Model\PolicyLimits::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PolicyLimits'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PolicyLimits::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -213,63 +213,63 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('uninvoiced_balance', $data)) { - $object->setUninvoicedBalance($this->denormalizer->denormalize($data['uninvoiced_balance'], 'KatapultAPI\\Core\\Model\\FinancialPolicyLimit', 'json', $context)); + $object->setUninvoicedBalance($this->denormalizer->denormalize($data['uninvoiced_balance'], \KatapultAPI\Core\Model\FinancialPolicyLimit::class, 'json', $context)); unset($data['uninvoiced_balance']); } if (\array_key_exists('virtual_machines', $data)) { - $object->setVirtualMachines($this->denormalizer->denormalize($data['virtual_machines'], 'KatapultAPI\\Core\\Model\\PolicyLimit', 'json', $context)); + $object->setVirtualMachines($this->denormalizer->denormalize($data['virtual_machines'], \KatapultAPI\Core\Model\PolicyLimit::class, 'json', $context)); unset($data['virtual_machines']); } if (\array_key_exists('virtual_machine_memory', $data)) { - $object->setVirtualMachineMemory($this->denormalizer->denormalize($data['virtual_machine_memory'], 'KatapultAPI\\Core\\Model\\PolicyLimit', 'json', $context)); + $object->setVirtualMachineMemory($this->denormalizer->denormalize($data['virtual_machine_memory'], \KatapultAPI\Core\Model\PolicyLimit::class, 'json', $context)); unset($data['virtual_machine_memory']); } if (\array_key_exists('managed_organizations', $data)) { - $object->setManagedOrganizations($this->denormalizer->denormalize($data['managed_organizations'], 'KatapultAPI\\Core\\Model\\PolicyLimit', 'json', $context)); + $object->setManagedOrganizations($this->denormalizer->denormalize($data['managed_organizations'], \KatapultAPI\Core\Model\PolicyLimit::class, 'json', $context)); unset($data['managed_organizations']); } if (\array_key_exists('unallocated_ip_addresses', $data)) { - $object->setUnallocatedIpAddresses($this->denormalizer->denormalize($data['unallocated_ip_addresses'], 'KatapultAPI\\Core\\Model\\PolicyLimit', 'json', $context)); + $object->setUnallocatedIpAddresses($this->denormalizer->denormalize($data['unallocated_ip_addresses'], \KatapultAPI\Core\Model\PolicyLimit::class, 'json', $context)); unset($data['unallocated_ip_addresses']); } if (\array_key_exists('disk_space', $data)) { - $object->setDiskSpace($this->denormalizer->denormalize($data['disk_space'], 'KatapultAPI\\Core\\Model\\PolicyLimit', 'json', $context)); + $object->setDiskSpace($this->denormalizer->denormalize($data['disk_space'], \KatapultAPI\Core\Model\PolicyLimit::class, 'json', $context)); unset($data['disk_space']); } if (\array_key_exists('security_groups', $data)) { - $object->setSecurityGroups($this->denormalizer->denormalize($data['security_groups'], 'KatapultAPI\\Core\\Model\\PolicyLimit', 'json', $context)); + $object->setSecurityGroups($this->denormalizer->denormalize($data['security_groups'], \KatapultAPI\Core\Model\PolicyLimit::class, 'json', $context)); unset($data['security_groups']); } if (\array_key_exists('virtual_networks', $data)) { - $object->setVirtualNetworks($this->denormalizer->denormalize($data['virtual_networks'], 'KatapultAPI\\Core\\Model\\PolicyLimit', 'json', $context)); + $object->setVirtualNetworks($this->denormalizer->denormalize($data['virtual_networks'], \KatapultAPI\Core\Model\PolicyLimit::class, 'json', $context)); unset($data['virtual_networks']); } if (\array_key_exists('load_balancers', $data)) { - $object->setLoadBalancers($this->denormalizer->denormalize($data['load_balancers'], 'KatapultAPI\\Core\\Model\\PolicyLimit', 'json', $context)); + $object->setLoadBalancers($this->denormalizer->denormalize($data['load_balancers'], \KatapultAPI\Core\Model\PolicyLimit::class, 'json', $context)); unset($data['load_balancers']); } if (\array_key_exists('dns_zones', $data)) { - $object->setDnsZones($this->denormalizer->denormalize($data['dns_zones'], 'KatapultAPI\\Core\\Model\\PolicyLimit', 'json', $context)); + $object->setDnsZones($this->denormalizer->denormalize($data['dns_zones'], \KatapultAPI\Core\Model\PolicyLimit::class, 'json', $context)); unset($data['dns_zones']); } if (\array_key_exists('certificates', $data)) { - $object->setCertificates($this->denormalizer->denormalize($data['certificates'], 'KatapultAPI\\Core\\Model\\PolicyLimit', 'json', $context)); + $object->setCertificates($this->denormalizer->denormalize($data['certificates'], \KatapultAPI\Core\Model\PolicyLimit::class, 'json', $context)); unset($data['certificates']); } if (\array_key_exists('file_storage_volumes', $data)) { - $object->setFileStorageVolumes($this->denormalizer->denormalize($data['file_storage_volumes'], 'KatapultAPI\\Core\\Model\\PolicyLimit', 'json', $context)); + $object->setFileStorageVolumes($this->denormalizer->denormalize($data['file_storage_volumes'], \KatapultAPI\Core\Model\PolicyLimit::class, 'json', $context)); unset($data['file_storage_volumes']); } if (\array_key_exists('isos', $data)) { - $object->setIsos($this->denormalizer->denormalize($data['isos'], 'KatapultAPI\\Core\\Model\\PolicyLimit', 'json', $context)); + $object->setIsos($this->denormalizer->denormalize($data['isos'], \KatapultAPI\Core\Model\PolicyLimit::class, 'json', $context)); unset($data['isos']); } if (\array_key_exists('disk_iops', $data)) { - $object->setDiskIops($this->denormalizer->denormalize($data['disk_iops'], 'KatapultAPI\\Core\\Model\\PolicyLimitWithoutCurrent', 'json', $context)); + $object->setDiskIops($this->denormalizer->denormalize($data['disk_iops'], \KatapultAPI\Core\Model\PolicyLimitWithoutCurrent::class, 'json', $context)); unset($data['disk_iops']); } if (\array_key_exists('network_speed', $data)) { - $object->setNetworkSpeed($this->denormalizer->denormalize($data['network_speed'], 'KatapultAPI\\Core\\Model\\PolicyLimitWithoutCurrent', 'json', $context)); + $object->setNetworkSpeed($this->denormalizer->denormalize($data['network_speed'], \KatapultAPI\Core\Model\PolicyLimitWithoutCurrent::class, 'json', $context)); unset($data['network_speed']); } foreach ($data as $key => $value) { @@ -343,7 +343,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PolicyLimits' => false]; + return [\KatapultAPI\Core\Model\PolicyLimits::class => false]; } } } diff --git a/src/Core/Normalizer/PolicyNotAvailableForManagedOrganizationsSchemaNormalizer.php b/src/Core/Normalizer/PolicyNotAvailableForManagedOrganizationsSchemaNormalizer.php index 0d02592d..edee9938 100644 --- a/src/Core/Normalizer/PolicyNotAvailableForManagedOrganizationsSchemaNormalizer.php +++ b/src/Core/Normalizer/PolicyNotAvailableForManagedOrganizationsSchemaNormalizer.php @@ -31,12 +31,12 @@ class PolicyNotAvailableForManagedOrganizationsSchemaNormalizer implements Denor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PolicyNotAvailableForManagedOrganizationsSchema'; + return $type === \KatapultAPI\Core\Model\PolicyNotAvailableForManagedOrganizationsSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PolicyNotAvailableForManagedOrganizationsSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PolicyNotAvailableForManagedOrganizationsSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PolicyNotAvailableForManagedOrganizationsSchema' => false]; + return [\KatapultAPI\Core\Model\PolicyNotAvailableForManagedOrganizationsSchema::class => false]; } } } else { @@ -116,12 +116,12 @@ class PolicyNotAvailableForManagedOrganizationsSchemaNormalizer implements Denor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PolicyNotAvailableForManagedOrganizationsSchema'; + return $type === \KatapultAPI\Core\Model\PolicyNotAvailableForManagedOrganizationsSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PolicyNotAvailableForManagedOrganizationsSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PolicyNotAvailableForManagedOrganizationsSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PolicyNotAvailableForManagedOrganizationsSchema' => false]; + return [\KatapultAPI\Core\Model\PolicyNotAvailableForManagedOrganizationsSchema::class => false]; } } } diff --git a/src/Core/Normalizer/PostDiskAssign200ResponseDiskInstallationNormalizer.php b/src/Core/Normalizer/PostDiskAssign200ResponseDiskInstallationNormalizer.php index cef50646..088a8642 100644 --- a/src/Core/Normalizer/PostDiskAssign200ResponseDiskInstallationNormalizer.php +++ b/src/Core/Normalizer/PostDiskAssign200ResponseDiskInstallationNormalizer.php @@ -31,12 +31,12 @@ class PostDiskAssign200ResponseDiskInstallationNormalizer implements Denormalize public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskInstallation'; + return $type === \KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskInstallation::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskInstallation'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskInstallation::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -56,13 +56,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['id']); } if (\array_key_exists('disk_template_version', $data)) { - $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], 'KatapultAPI\\Core\\Model\\DiskTemplateVersion', 'json', $context)); + $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], \KatapultAPI\Core\Model\DiskTemplateVersion::class, 'json', $context)); unset($data['disk_template_version']); } if (\array_key_exists('attributes', $data)) { $values = []; foreach ($data['attributes'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\DiskInstallationAttribute', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\DiskInstallationAttribute::class, 'json', $context); } $object->setAttributes($values); unset($data['attributes']); @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskInstallation' => false]; + return [\KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskInstallation::class => false]; } } } else { @@ -116,12 +116,12 @@ class PostDiskAssign200ResponseDiskInstallationNormalizer implements Denormalize public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskInstallation'; + return $type === \KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskInstallation::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskInstallation'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskInstallation::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -141,13 +141,13 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('disk_template_version', $data)) { - $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], 'KatapultAPI\\Core\\Model\\DiskTemplateVersion', 'json', $context)); + $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], \KatapultAPI\Core\Model\DiskTemplateVersion::class, 'json', $context)); unset($data['disk_template_version']); } if (\array_key_exists('attributes', $data)) { $values = []; foreach ($data['attributes'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\DiskInstallationAttribute', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\DiskInstallationAttribute::class, 'json', $context); } $object->setAttributes($values); unset($data['attributes']); @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskInstallation' => false]; + return [\KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskInstallation::class => false]; } } } diff --git a/src/Core/Normalizer/PostDiskAssign200ResponseDiskIoProfileNormalizer.php b/src/Core/Normalizer/PostDiskAssign200ResponseDiskIoProfileNormalizer.php index 30b750c4..513a331d 100644 --- a/src/Core/Normalizer/PostDiskAssign200ResponseDiskIoProfileNormalizer.php +++ b/src/Core/Normalizer/PostDiskAssign200ResponseDiskIoProfileNormalizer.php @@ -31,12 +31,12 @@ class PostDiskAssign200ResponseDiskIoProfileNormalizer implements DenormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskIoProfile'; + return $type === \KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskIoProfile::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskIoProfile'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskIoProfile::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -113,7 +113,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskIoProfile' => false]; + return [\KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskIoProfile::class => false]; } } } else { @@ -126,12 +126,12 @@ class PostDiskAssign200ResponseDiskIoProfileNormalizer implements DenormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskIoProfile'; + return $type === \KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskIoProfile::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskIoProfile'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskIoProfile::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -211,7 +211,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskIoProfile' => false]; + return [\KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskIoProfile::class => false]; } } } diff --git a/src/Core/Normalizer/PostDiskAssign200ResponseDiskNormalizer.php b/src/Core/Normalizer/PostDiskAssign200ResponseDiskNormalizer.php index be17def4..cfdac6e1 100644 --- a/src/Core/Normalizer/PostDiskAssign200ResponseDiskNormalizer.php +++ b/src/Core/Normalizer/PostDiskAssign200ResponseDiskNormalizer.php @@ -31,12 +31,12 @@ class PostDiskAssign200ResponseDiskNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDisk'; + return $type === \KatapultAPI\Core\Model\PostDiskAssign200ResponseDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskAssign200ResponseDisk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -80,7 +80,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -92,17 +92,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PostDiskAssignPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PostDiskAssignPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -166,7 +166,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDisk' => false]; + return [\KatapultAPI\Core\Model\PostDiskAssign200ResponseDisk::class => false]; } } } else { @@ -179,12 +179,12 @@ class PostDiskAssign200ResponseDiskNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDisk'; + return $type === \KatapultAPI\Core\Model\PostDiskAssign200ResponseDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskAssign200ResponseDisk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -228,7 +228,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -240,17 +240,17 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PostDiskAssignPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PostDiskAssignPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -317,7 +317,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDisk' => false]; + return [\KatapultAPI\Core\Model\PostDiskAssign200ResponseDisk::class => false]; } } } diff --git a/src/Core/Normalizer/PostDiskAssign200ResponseDiskVirtualMachineDiskNormalizer.php b/src/Core/Normalizer/PostDiskAssign200ResponseDiskVirtualMachineDiskNormalizer.php index 22aa8173..00a06cb3 100644 --- a/src/Core/Normalizer/PostDiskAssign200ResponseDiskVirtualMachineDiskNormalizer.php +++ b/src/Core/Normalizer/PostDiskAssign200ResponseDiskVirtualMachineDiskNormalizer.php @@ -31,12 +31,12 @@ class PostDiskAssign200ResponseDiskVirtualMachineDiskNormalizer implements Denor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskVirtualMachineDisk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PostDiskAssignPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PostDiskAssignPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskVirtualMachineDisk::class => false]; } } } else { @@ -115,12 +115,12 @@ class PostDiskAssign200ResponseDiskVirtualMachineDiskNormalizer implements Denor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskVirtualMachineDisk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -136,7 +136,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PostDiskAssignPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PostDiskAssignPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskAssign200ResponseDiskVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\PostDiskAssign200ResponseDiskVirtualMachineDisk::class => false]; } } } diff --git a/src/Core/Normalizer/PostDiskAssignPartDataCenterNormalizer.php b/src/Core/Normalizer/PostDiskAssignPartDataCenterNormalizer.php index 7b9f01f4..4af1df90 100644 --- a/src/Core/Normalizer/PostDiskAssignPartDataCenterNormalizer.php +++ b/src/Core/Normalizer/PostDiskAssignPartDataCenterNormalizer.php @@ -31,12 +31,12 @@ class PostDiskAssignPartDataCenterNormalizer implements DenormalizerInterface, N public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskAssignPartDataCenter'; + return $type === \KatapultAPI\Core\Model\PostDiskAssignPartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskAssignPartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskAssignPartDataCenter::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskAssignPartDataCenter' => false]; + return [\KatapultAPI\Core\Model\PostDiskAssignPartDataCenter::class => false]; } } } else { @@ -108,12 +108,12 @@ class PostDiskAssignPartDataCenterNormalizer implements DenormalizerInterface, N public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskAssignPartDataCenter'; + return $type === \KatapultAPI\Core\Model\PostDiskAssignPartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskAssignPartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskAssignPartDataCenter::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskAssignPartDataCenter' => false]; + return [\KatapultAPI\Core\Model\PostDiskAssignPartDataCenter::class => false]; } } } diff --git a/src/Core/Normalizer/PostDiskAssignPartVirtualMachineDiskNormalizer.php b/src/Core/Normalizer/PostDiskAssignPartVirtualMachineDiskNormalizer.php index d7baf350..ca8db26d 100644 --- a/src/Core/Normalizer/PostDiskAssignPartVirtualMachineDiskNormalizer.php +++ b/src/Core/Normalizer/PostDiskAssignPartVirtualMachineDiskNormalizer.php @@ -31,12 +31,12 @@ class PostDiskAssignPartVirtualMachineDiskNormalizer implements DenormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskAssignPartVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\PostDiskAssignPartVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskAssignPartVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskAssignPartVirtualMachineDisk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PostDiskAssignPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PostDiskAssignPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskAssignPartVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\PostDiskAssignPartVirtualMachineDisk::class => false]; } } } else { @@ -115,12 +115,12 @@ class PostDiskAssignPartVirtualMachineDiskNormalizer implements DenormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskAssignPartVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\PostDiskAssignPartVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskAssignPartVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskAssignPartVirtualMachineDisk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -136,7 +136,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PostDiskAssignPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PostDiskAssignPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskAssignPartVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\PostDiskAssignPartVirtualMachineDisk::class => false]; } } } diff --git a/src/Core/Normalizer/PostDiskAssignPartVirtualMachineNormalizer.php b/src/Core/Normalizer/PostDiskAssignPartVirtualMachineNormalizer.php index e2efba38..0446affa 100644 --- a/src/Core/Normalizer/PostDiskAssignPartVirtualMachineNormalizer.php +++ b/src/Core/Normalizer/PostDiskAssignPartVirtualMachineNormalizer.php @@ -31,12 +31,12 @@ class PostDiskAssignPartVirtualMachineNormalizer implements DenormalizerInterfac public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskAssignPartVirtualMachine'; + return $type === \KatapultAPI\Core\Model\PostDiskAssignPartVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskAssignPartVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskAssignPartVirtualMachine::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskAssignPartVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\PostDiskAssignPartVirtualMachine::class => false]; } } } else { @@ -101,12 +101,12 @@ class PostDiskAssignPartVirtualMachineNormalizer implements DenormalizerInterfac public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskAssignPartVirtualMachine'; + return $type === \KatapultAPI\Core\Model\PostDiskAssignPartVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskAssignPartVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskAssignPartVirtualMachine::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskAssignPartVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\PostDiskAssignPartVirtualMachine::class => false]; } } } diff --git a/src/Core/Normalizer/PostDiskAttach200ResponseDiskInstallationNormalizer.php b/src/Core/Normalizer/PostDiskAttach200ResponseDiskInstallationNormalizer.php index a1ea131d..6033d5ca 100644 --- a/src/Core/Normalizer/PostDiskAttach200ResponseDiskInstallationNormalizer.php +++ b/src/Core/Normalizer/PostDiskAttach200ResponseDiskInstallationNormalizer.php @@ -31,12 +31,12 @@ class PostDiskAttach200ResponseDiskInstallationNormalizer implements Denormalize public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskInstallation'; + return $type === \KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskInstallation::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskInstallation'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskInstallation::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -56,13 +56,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['id']); } if (\array_key_exists('disk_template_version', $data)) { - $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], 'KatapultAPI\\Core\\Model\\DiskTemplateVersion', 'json', $context)); + $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], \KatapultAPI\Core\Model\DiskTemplateVersion::class, 'json', $context)); unset($data['disk_template_version']); } if (\array_key_exists('attributes', $data)) { $values = []; foreach ($data['attributes'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\DiskInstallationAttribute', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\DiskInstallationAttribute::class, 'json', $context); } $object->setAttributes($values); unset($data['attributes']); @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskInstallation' => false]; + return [\KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskInstallation::class => false]; } } } else { @@ -116,12 +116,12 @@ class PostDiskAttach200ResponseDiskInstallationNormalizer implements Denormalize public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskInstallation'; + return $type === \KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskInstallation::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskInstallation'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskInstallation::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -141,13 +141,13 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('disk_template_version', $data)) { - $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], 'KatapultAPI\\Core\\Model\\DiskTemplateVersion', 'json', $context)); + $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], \KatapultAPI\Core\Model\DiskTemplateVersion::class, 'json', $context)); unset($data['disk_template_version']); } if (\array_key_exists('attributes', $data)) { $values = []; foreach ($data['attributes'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\DiskInstallationAttribute', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\DiskInstallationAttribute::class, 'json', $context); } $object->setAttributes($values); unset($data['attributes']); @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskInstallation' => false]; + return [\KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskInstallation::class => false]; } } } diff --git a/src/Core/Normalizer/PostDiskAttach200ResponseDiskIoProfileNormalizer.php b/src/Core/Normalizer/PostDiskAttach200ResponseDiskIoProfileNormalizer.php index 25056354..249cb16e 100644 --- a/src/Core/Normalizer/PostDiskAttach200ResponseDiskIoProfileNormalizer.php +++ b/src/Core/Normalizer/PostDiskAttach200ResponseDiskIoProfileNormalizer.php @@ -31,12 +31,12 @@ class PostDiskAttach200ResponseDiskIoProfileNormalizer implements DenormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskIoProfile'; + return $type === \KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskIoProfile::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskIoProfile'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskIoProfile::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -113,7 +113,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskIoProfile' => false]; + return [\KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskIoProfile::class => false]; } } } else { @@ -126,12 +126,12 @@ class PostDiskAttach200ResponseDiskIoProfileNormalizer implements DenormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskIoProfile'; + return $type === \KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskIoProfile::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskIoProfile'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskIoProfile::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -211,7 +211,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskIoProfile' => false]; + return [\KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskIoProfile::class => false]; } } } diff --git a/src/Core/Normalizer/PostDiskAttach200ResponseDiskNormalizer.php b/src/Core/Normalizer/PostDiskAttach200ResponseDiskNormalizer.php index e42c4e8d..b004f841 100644 --- a/src/Core/Normalizer/PostDiskAttach200ResponseDiskNormalizer.php +++ b/src/Core/Normalizer/PostDiskAttach200ResponseDiskNormalizer.php @@ -31,12 +31,12 @@ class PostDiskAttach200ResponseDiskNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDisk'; + return $type === \KatapultAPI\Core\Model\PostDiskAttach200ResponseDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskAttach200ResponseDisk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -80,7 +80,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -92,17 +92,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PostDiskAttachPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PostDiskAttachPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -166,7 +166,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDisk' => false]; + return [\KatapultAPI\Core\Model\PostDiskAttach200ResponseDisk::class => false]; } } } else { @@ -179,12 +179,12 @@ class PostDiskAttach200ResponseDiskNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDisk'; + return $type === \KatapultAPI\Core\Model\PostDiskAttach200ResponseDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskAttach200ResponseDisk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -228,7 +228,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -240,17 +240,17 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PostDiskAttachPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PostDiskAttachPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -317,7 +317,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDisk' => false]; + return [\KatapultAPI\Core\Model\PostDiskAttach200ResponseDisk::class => false]; } } } diff --git a/src/Core/Normalizer/PostDiskAttach200ResponseDiskVirtualMachineDiskNormalizer.php b/src/Core/Normalizer/PostDiskAttach200ResponseDiskVirtualMachineDiskNormalizer.php index e643e20b..63aae918 100644 --- a/src/Core/Normalizer/PostDiskAttach200ResponseDiskVirtualMachineDiskNormalizer.php +++ b/src/Core/Normalizer/PostDiskAttach200ResponseDiskVirtualMachineDiskNormalizer.php @@ -31,12 +31,12 @@ class PostDiskAttach200ResponseDiskVirtualMachineDiskNormalizer implements Denor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskVirtualMachineDisk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PostDiskAttachPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PostDiskAttachPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskVirtualMachineDisk::class => false]; } } } else { @@ -115,12 +115,12 @@ class PostDiskAttach200ResponseDiskVirtualMachineDiskNormalizer implements Denor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskVirtualMachineDisk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -136,7 +136,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PostDiskAttachPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PostDiskAttachPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskAttach200ResponseDiskVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\PostDiskAttach200ResponseDiskVirtualMachineDisk::class => false]; } } } diff --git a/src/Core/Normalizer/PostDiskAttachPartDataCenterNormalizer.php b/src/Core/Normalizer/PostDiskAttachPartDataCenterNormalizer.php index 1f0c9546..1325f991 100644 --- a/src/Core/Normalizer/PostDiskAttachPartDataCenterNormalizer.php +++ b/src/Core/Normalizer/PostDiskAttachPartDataCenterNormalizer.php @@ -31,12 +31,12 @@ class PostDiskAttachPartDataCenterNormalizer implements DenormalizerInterface, N public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskAttachPartDataCenter'; + return $type === \KatapultAPI\Core\Model\PostDiskAttachPartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskAttachPartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskAttachPartDataCenter::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskAttachPartDataCenter' => false]; + return [\KatapultAPI\Core\Model\PostDiskAttachPartDataCenter::class => false]; } } } else { @@ -108,12 +108,12 @@ class PostDiskAttachPartDataCenterNormalizer implements DenormalizerInterface, N public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskAttachPartDataCenter'; + return $type === \KatapultAPI\Core\Model\PostDiskAttachPartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskAttachPartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskAttachPartDataCenter::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskAttachPartDataCenter' => false]; + return [\KatapultAPI\Core\Model\PostDiskAttachPartDataCenter::class => false]; } } } diff --git a/src/Core/Normalizer/PostDiskAttachPartVirtualMachineDiskNormalizer.php b/src/Core/Normalizer/PostDiskAttachPartVirtualMachineDiskNormalizer.php index 66aa35b4..bee68316 100644 --- a/src/Core/Normalizer/PostDiskAttachPartVirtualMachineDiskNormalizer.php +++ b/src/Core/Normalizer/PostDiskAttachPartVirtualMachineDiskNormalizer.php @@ -31,12 +31,12 @@ class PostDiskAttachPartVirtualMachineDiskNormalizer implements DenormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskAttachPartVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\PostDiskAttachPartVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskAttachPartVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskAttachPartVirtualMachineDisk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PostDiskAttachPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PostDiskAttachPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskAttachPartVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\PostDiskAttachPartVirtualMachineDisk::class => false]; } } } else { @@ -115,12 +115,12 @@ class PostDiskAttachPartVirtualMachineDiskNormalizer implements DenormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskAttachPartVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\PostDiskAttachPartVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskAttachPartVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskAttachPartVirtualMachineDisk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -136,7 +136,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PostDiskAttachPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PostDiskAttachPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskAttachPartVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\PostDiskAttachPartVirtualMachineDisk::class => false]; } } } diff --git a/src/Core/Normalizer/PostDiskAttachPartVirtualMachineNormalizer.php b/src/Core/Normalizer/PostDiskAttachPartVirtualMachineNormalizer.php index a275b3fc..a21819cb 100644 --- a/src/Core/Normalizer/PostDiskAttachPartVirtualMachineNormalizer.php +++ b/src/Core/Normalizer/PostDiskAttachPartVirtualMachineNormalizer.php @@ -31,12 +31,12 @@ class PostDiskAttachPartVirtualMachineNormalizer implements DenormalizerInterfac public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskAttachPartVirtualMachine'; + return $type === \KatapultAPI\Core\Model\PostDiskAttachPartVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskAttachPartVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskAttachPartVirtualMachine::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskAttachPartVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\PostDiskAttachPartVirtualMachine::class => false]; } } } else { @@ -101,12 +101,12 @@ class PostDiskAttachPartVirtualMachineNormalizer implements DenormalizerInterfac public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskAttachPartVirtualMachine'; + return $type === \KatapultAPI\Core\Model\PostDiskAttachPartVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskAttachPartVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskAttachPartVirtualMachine::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskAttachPartVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\PostDiskAttachPartVirtualMachine::class => false]; } } } diff --git a/src/Core/Normalizer/PostDiskDetach200ResponseDiskInstallationNormalizer.php b/src/Core/Normalizer/PostDiskDetach200ResponseDiskInstallationNormalizer.php index 78cf6ebe..33c91621 100644 --- a/src/Core/Normalizer/PostDiskDetach200ResponseDiskInstallationNormalizer.php +++ b/src/Core/Normalizer/PostDiskDetach200ResponseDiskInstallationNormalizer.php @@ -31,12 +31,12 @@ class PostDiskDetach200ResponseDiskInstallationNormalizer implements Denormalize public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskInstallation'; + return $type === \KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskInstallation::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskInstallation'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskInstallation::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -56,13 +56,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['id']); } if (\array_key_exists('disk_template_version', $data)) { - $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], 'KatapultAPI\\Core\\Model\\DiskTemplateVersion', 'json', $context)); + $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], \KatapultAPI\Core\Model\DiskTemplateVersion::class, 'json', $context)); unset($data['disk_template_version']); } if (\array_key_exists('attributes', $data)) { $values = []; foreach ($data['attributes'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\DiskInstallationAttribute', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\DiskInstallationAttribute::class, 'json', $context); } $object->setAttributes($values); unset($data['attributes']); @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskInstallation' => false]; + return [\KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskInstallation::class => false]; } } } else { @@ -116,12 +116,12 @@ class PostDiskDetach200ResponseDiskInstallationNormalizer implements Denormalize public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskInstallation'; + return $type === \KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskInstallation::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskInstallation'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskInstallation::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -141,13 +141,13 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('disk_template_version', $data)) { - $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], 'KatapultAPI\\Core\\Model\\DiskTemplateVersion', 'json', $context)); + $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], \KatapultAPI\Core\Model\DiskTemplateVersion::class, 'json', $context)); unset($data['disk_template_version']); } if (\array_key_exists('attributes', $data)) { $values = []; foreach ($data['attributes'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\DiskInstallationAttribute', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\DiskInstallationAttribute::class, 'json', $context); } $object->setAttributes($values); unset($data['attributes']); @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskInstallation' => false]; + return [\KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskInstallation::class => false]; } } } diff --git a/src/Core/Normalizer/PostDiskDetach200ResponseDiskIoProfileNormalizer.php b/src/Core/Normalizer/PostDiskDetach200ResponseDiskIoProfileNormalizer.php index 6e7d534a..077095fb 100644 --- a/src/Core/Normalizer/PostDiskDetach200ResponseDiskIoProfileNormalizer.php +++ b/src/Core/Normalizer/PostDiskDetach200ResponseDiskIoProfileNormalizer.php @@ -31,12 +31,12 @@ class PostDiskDetach200ResponseDiskIoProfileNormalizer implements DenormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskIoProfile'; + return $type === \KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskIoProfile::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskIoProfile'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskIoProfile::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -113,7 +113,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskIoProfile' => false]; + return [\KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskIoProfile::class => false]; } } } else { @@ -126,12 +126,12 @@ class PostDiskDetach200ResponseDiskIoProfileNormalizer implements DenormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskIoProfile'; + return $type === \KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskIoProfile::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskIoProfile'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskIoProfile::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -211,7 +211,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskIoProfile' => false]; + return [\KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskIoProfile::class => false]; } } } diff --git a/src/Core/Normalizer/PostDiskDetach200ResponseDiskNormalizer.php b/src/Core/Normalizer/PostDiskDetach200ResponseDiskNormalizer.php index 465a7f02..5bc54923 100644 --- a/src/Core/Normalizer/PostDiskDetach200ResponseDiskNormalizer.php +++ b/src/Core/Normalizer/PostDiskDetach200ResponseDiskNormalizer.php @@ -31,12 +31,12 @@ class PostDiskDetach200ResponseDiskNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDisk'; + return $type === \KatapultAPI\Core\Model\PostDiskDetach200ResponseDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskDetach200ResponseDisk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -80,7 +80,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -92,17 +92,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PostDiskDetachPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PostDiskDetachPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -166,7 +166,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDisk' => false]; + return [\KatapultAPI\Core\Model\PostDiskDetach200ResponseDisk::class => false]; } } } else { @@ -179,12 +179,12 @@ class PostDiskDetach200ResponseDiskNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDisk'; + return $type === \KatapultAPI\Core\Model\PostDiskDetach200ResponseDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskDetach200ResponseDisk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -228,7 +228,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -240,17 +240,17 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PostDiskDetachPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PostDiskDetachPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -317,7 +317,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDisk' => false]; + return [\KatapultAPI\Core\Model\PostDiskDetach200ResponseDisk::class => false]; } } } diff --git a/src/Core/Normalizer/PostDiskDetach200ResponseDiskVirtualMachineDiskNormalizer.php b/src/Core/Normalizer/PostDiskDetach200ResponseDiskVirtualMachineDiskNormalizer.php index 553cb94d..1640a2d1 100644 --- a/src/Core/Normalizer/PostDiskDetach200ResponseDiskVirtualMachineDiskNormalizer.php +++ b/src/Core/Normalizer/PostDiskDetach200ResponseDiskVirtualMachineDiskNormalizer.php @@ -31,12 +31,12 @@ class PostDiskDetach200ResponseDiskVirtualMachineDiskNormalizer implements Denor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskVirtualMachineDisk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PostDiskDetachPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PostDiskDetachPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskVirtualMachineDisk::class => false]; } } } else { @@ -115,12 +115,12 @@ class PostDiskDetach200ResponseDiskVirtualMachineDiskNormalizer implements Denor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskVirtualMachineDisk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -136,7 +136,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PostDiskDetachPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PostDiskDetachPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskDetach200ResponseDiskVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\PostDiskDetach200ResponseDiskVirtualMachineDisk::class => false]; } } } diff --git a/src/Core/Normalizer/PostDiskDetachPartDataCenterNormalizer.php b/src/Core/Normalizer/PostDiskDetachPartDataCenterNormalizer.php index e7926b80..72d8dd43 100644 --- a/src/Core/Normalizer/PostDiskDetachPartDataCenterNormalizer.php +++ b/src/Core/Normalizer/PostDiskDetachPartDataCenterNormalizer.php @@ -31,12 +31,12 @@ class PostDiskDetachPartDataCenterNormalizer implements DenormalizerInterface, N public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskDetachPartDataCenter'; + return $type === \KatapultAPI\Core\Model\PostDiskDetachPartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskDetachPartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskDetachPartDataCenter::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskDetachPartDataCenter' => false]; + return [\KatapultAPI\Core\Model\PostDiskDetachPartDataCenter::class => false]; } } } else { @@ -108,12 +108,12 @@ class PostDiskDetachPartDataCenterNormalizer implements DenormalizerInterface, N public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskDetachPartDataCenter'; + return $type === \KatapultAPI\Core\Model\PostDiskDetachPartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskDetachPartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskDetachPartDataCenter::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskDetachPartDataCenter' => false]; + return [\KatapultAPI\Core\Model\PostDiskDetachPartDataCenter::class => false]; } } } diff --git a/src/Core/Normalizer/PostDiskDetachPartVirtualMachineDiskNormalizer.php b/src/Core/Normalizer/PostDiskDetachPartVirtualMachineDiskNormalizer.php index 5b563ba5..8502463f 100644 --- a/src/Core/Normalizer/PostDiskDetachPartVirtualMachineDiskNormalizer.php +++ b/src/Core/Normalizer/PostDiskDetachPartVirtualMachineDiskNormalizer.php @@ -31,12 +31,12 @@ class PostDiskDetachPartVirtualMachineDiskNormalizer implements DenormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskDetachPartVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\PostDiskDetachPartVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskDetachPartVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskDetachPartVirtualMachineDisk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PostDiskDetachPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PostDiskDetachPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskDetachPartVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\PostDiskDetachPartVirtualMachineDisk::class => false]; } } } else { @@ -115,12 +115,12 @@ class PostDiskDetachPartVirtualMachineDiskNormalizer implements DenormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskDetachPartVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\PostDiskDetachPartVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskDetachPartVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskDetachPartVirtualMachineDisk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -136,7 +136,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PostDiskDetachPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PostDiskDetachPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskDetachPartVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\PostDiskDetachPartVirtualMachineDisk::class => false]; } } } diff --git a/src/Core/Normalizer/PostDiskDetachPartVirtualMachineNormalizer.php b/src/Core/Normalizer/PostDiskDetachPartVirtualMachineNormalizer.php index c1e5099a..a15b37fe 100644 --- a/src/Core/Normalizer/PostDiskDetachPartVirtualMachineNormalizer.php +++ b/src/Core/Normalizer/PostDiskDetachPartVirtualMachineNormalizer.php @@ -31,12 +31,12 @@ class PostDiskDetachPartVirtualMachineNormalizer implements DenormalizerInterfac public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskDetachPartVirtualMachine'; + return $type === \KatapultAPI\Core\Model\PostDiskDetachPartVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskDetachPartVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskDetachPartVirtualMachine::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskDetachPartVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\PostDiskDetachPartVirtualMachine::class => false]; } } } else { @@ -101,12 +101,12 @@ class PostDiskDetachPartVirtualMachineNormalizer implements DenormalizerInterfac public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskDetachPartVirtualMachine'; + return $type === \KatapultAPI\Core\Model\PostDiskDetachPartVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskDetachPartVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskDetachPartVirtualMachine::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskDetachPartVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\PostDiskDetachPartVirtualMachine::class => false]; } } } diff --git a/src/Core/Normalizer/PostDiskDiskBackupPolicies200ResponseDiskBackupPolicyNormalizer.php b/src/Core/Normalizer/PostDiskDiskBackupPolicies200ResponseDiskBackupPolicyNormalizer.php index 73f8efc5..0d7d9355 100644 --- a/src/Core/Normalizer/PostDiskDiskBackupPolicies200ResponseDiskBackupPolicyNormalizer.php +++ b/src/Core/Normalizer/PostDiskDiskBackupPolicies200ResponseDiskBackupPolicyNormalizer.php @@ -31,12 +31,12 @@ class PostDiskDiskBackupPolicies200ResponseDiskBackupPolicyNormalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskDiskBackupPolicies200ResponseDiskBackupPolicy'; + return $type === \KatapultAPI\Core\Model\PostDiskDiskBackupPolicies200ResponseDiskBackupPolicy::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskDiskBackupPolicies200ResponseDiskBackupPolicy'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskDiskBackupPolicies200ResponseDiskBackupPolicy::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -67,11 +67,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['total_size']); } if (\array_key_exists('target', $data)) { - $object->setTarget($this->denormalizer->denormalize($data['target'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyTarget', 'json', $context)); + $object->setTarget($this->denormalizer->denormalize($data['target'], \KatapultAPI\Core\Model\DiskBackupPolicyTarget::class, 'json', $context)); unset($data['target']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'KatapultAPI\\Core\\Model\\Schedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], \KatapultAPI\Core\Model\Schedule::class, 'json', $context)); unset($data['schedule']); } if (\array_key_exists('auto_move_to_trash_at', $data) && $data['auto_move_to_trash_at'] !== null) { @@ -121,7 +121,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskDiskBackupPolicies200ResponseDiskBackupPolicy' => false]; + return [\KatapultAPI\Core\Model\PostDiskDiskBackupPolicies200ResponseDiskBackupPolicy::class => false]; } } } else { @@ -134,12 +134,12 @@ class PostDiskDiskBackupPolicies200ResponseDiskBackupPolicyNormalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskDiskBackupPolicies200ResponseDiskBackupPolicy'; + return $type === \KatapultAPI\Core\Model\PostDiskDiskBackupPolicies200ResponseDiskBackupPolicy::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskDiskBackupPolicies200ResponseDiskBackupPolicy'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskDiskBackupPolicies200ResponseDiskBackupPolicy::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -170,11 +170,11 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['total_size']); } if (\array_key_exists('target', $data)) { - $object->setTarget($this->denormalizer->denormalize($data['target'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyTarget', 'json', $context)); + $object->setTarget($this->denormalizer->denormalize($data['target'], \KatapultAPI\Core\Model\DiskBackupPolicyTarget::class, 'json', $context)); unset($data['target']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'KatapultAPI\\Core\\Model\\Schedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], \KatapultAPI\Core\Model\Schedule::class, 'json', $context)); unset($data['schedule']); } if (\array_key_exists('auto_move_to_trash_at', $data) && $data['auto_move_to_trash_at'] !== null) { @@ -227,7 +227,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskDiskBackupPolicies200ResponseDiskBackupPolicy' => false]; + return [\KatapultAPI\Core\Model\PostDiskDiskBackupPolicies200ResponseDiskBackupPolicy::class => false]; } } } diff --git a/src/Core/Normalizer/PostDiskUnassign200ResponseDiskInstallationNormalizer.php b/src/Core/Normalizer/PostDiskUnassign200ResponseDiskInstallationNormalizer.php index 433d9826..e0ccaa26 100644 --- a/src/Core/Normalizer/PostDiskUnassign200ResponseDiskInstallationNormalizer.php +++ b/src/Core/Normalizer/PostDiskUnassign200ResponseDiskInstallationNormalizer.php @@ -31,12 +31,12 @@ class PostDiskUnassign200ResponseDiskInstallationNormalizer implements Denormali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskInstallation'; + return $type === \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskInstallation::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskInstallation'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskInstallation::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -56,13 +56,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['id']); } if (\array_key_exists('disk_template_version', $data)) { - $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], 'KatapultAPI\\Core\\Model\\DiskTemplateVersion', 'json', $context)); + $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], \KatapultAPI\Core\Model\DiskTemplateVersion::class, 'json', $context)); unset($data['disk_template_version']); } if (\array_key_exists('attributes', $data)) { $values = []; foreach ($data['attributes'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\DiskInstallationAttribute', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\DiskInstallationAttribute::class, 'json', $context); } $object->setAttributes($values); unset($data['attributes']); @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskInstallation' => false]; + return [\KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskInstallation::class => false]; } } } else { @@ -116,12 +116,12 @@ class PostDiskUnassign200ResponseDiskInstallationNormalizer implements Denormali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskInstallation'; + return $type === \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskInstallation::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskInstallation'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskInstallation::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -141,13 +141,13 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('disk_template_version', $data)) { - $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], 'KatapultAPI\\Core\\Model\\DiskTemplateVersion', 'json', $context)); + $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], \KatapultAPI\Core\Model\DiskTemplateVersion::class, 'json', $context)); unset($data['disk_template_version']); } if (\array_key_exists('attributes', $data)) { $values = []; foreach ($data['attributes'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\DiskInstallationAttribute', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\DiskInstallationAttribute::class, 'json', $context); } $object->setAttributes($values); unset($data['attributes']); @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskInstallation' => false]; + return [\KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskInstallation::class => false]; } } } diff --git a/src/Core/Normalizer/PostDiskUnassign200ResponseDiskIoProfileNormalizer.php b/src/Core/Normalizer/PostDiskUnassign200ResponseDiskIoProfileNormalizer.php index 9c05dd96..0e8a27cc 100644 --- a/src/Core/Normalizer/PostDiskUnassign200ResponseDiskIoProfileNormalizer.php +++ b/src/Core/Normalizer/PostDiskUnassign200ResponseDiskIoProfileNormalizer.php @@ -31,12 +31,12 @@ class PostDiskUnassign200ResponseDiskIoProfileNormalizer implements Denormalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskIoProfile'; + return $type === \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskIoProfile::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskIoProfile'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskIoProfile::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -113,7 +113,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskIoProfile' => false]; + return [\KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskIoProfile::class => false]; } } } else { @@ -126,12 +126,12 @@ class PostDiskUnassign200ResponseDiskIoProfileNormalizer implements Denormalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskIoProfile'; + return $type === \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskIoProfile::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskIoProfile'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskIoProfile::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -211,7 +211,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskIoProfile' => false]; + return [\KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskIoProfile::class => false]; } } } diff --git a/src/Core/Normalizer/PostDiskUnassign200ResponseDiskNormalizer.php b/src/Core/Normalizer/PostDiskUnassign200ResponseDiskNormalizer.php index 7ceb0650..6f129fe5 100644 --- a/src/Core/Normalizer/PostDiskUnassign200ResponseDiskNormalizer.php +++ b/src/Core/Normalizer/PostDiskUnassign200ResponseDiskNormalizer.php @@ -31,12 +31,12 @@ class PostDiskUnassign200ResponseDiskNormalizer implements DenormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDisk'; + return $type === \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDisk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -80,7 +80,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -92,17 +92,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PostDiskUnassignPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PostDiskUnassignPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -166,7 +166,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDisk' => false]; + return [\KatapultAPI\Core\Model\PostDiskUnassign200ResponseDisk::class => false]; } } } else { @@ -179,12 +179,12 @@ class PostDiskUnassign200ResponseDiskNormalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDisk'; + return $type === \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDisk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -228,7 +228,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -240,17 +240,17 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PostDiskUnassignPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PostDiskUnassignPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -317,7 +317,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDisk' => false]; + return [\KatapultAPI\Core\Model\PostDiskUnassign200ResponseDisk::class => false]; } } } diff --git a/src/Core/Normalizer/PostDiskUnassign200ResponseDiskVirtualMachineDiskNormalizer.php b/src/Core/Normalizer/PostDiskUnassign200ResponseDiskVirtualMachineDiskNormalizer.php index 3d96c02a..c80167fa 100644 --- a/src/Core/Normalizer/PostDiskUnassign200ResponseDiskVirtualMachineDiskNormalizer.php +++ b/src/Core/Normalizer/PostDiskUnassign200ResponseDiskVirtualMachineDiskNormalizer.php @@ -31,12 +31,12 @@ class PostDiskUnassign200ResponseDiskVirtualMachineDiskNormalizer implements Den public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskVirtualMachineDisk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PostDiskUnassignPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PostDiskUnassignPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskVirtualMachineDisk::class => false]; } } } else { @@ -115,12 +115,12 @@ class PostDiskUnassign200ResponseDiskVirtualMachineDiskNormalizer implements Den public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskVirtualMachineDisk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -136,7 +136,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PostDiskUnassignPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PostDiskUnassignPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskUnassign200ResponseDiskVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\PostDiskUnassign200ResponseDiskVirtualMachineDisk::class => false]; } } } diff --git a/src/Core/Normalizer/PostDiskUnassignPartDataCenterNormalizer.php b/src/Core/Normalizer/PostDiskUnassignPartDataCenterNormalizer.php index 49d10572..c6a794d5 100644 --- a/src/Core/Normalizer/PostDiskUnassignPartDataCenterNormalizer.php +++ b/src/Core/Normalizer/PostDiskUnassignPartDataCenterNormalizer.php @@ -31,12 +31,12 @@ class PostDiskUnassignPartDataCenterNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskUnassignPartDataCenter'; + return $type === \KatapultAPI\Core\Model\PostDiskUnassignPartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskUnassignPartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskUnassignPartDataCenter::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskUnassignPartDataCenter' => false]; + return [\KatapultAPI\Core\Model\PostDiskUnassignPartDataCenter::class => false]; } } } else { @@ -108,12 +108,12 @@ class PostDiskUnassignPartDataCenterNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskUnassignPartDataCenter'; + return $type === \KatapultAPI\Core\Model\PostDiskUnassignPartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskUnassignPartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskUnassignPartDataCenter::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskUnassignPartDataCenter' => false]; + return [\KatapultAPI\Core\Model\PostDiskUnassignPartDataCenter::class => false]; } } } diff --git a/src/Core/Normalizer/PostDiskUnassignPartVirtualMachineDiskNormalizer.php b/src/Core/Normalizer/PostDiskUnassignPartVirtualMachineDiskNormalizer.php index f1e947b8..789aa939 100644 --- a/src/Core/Normalizer/PostDiskUnassignPartVirtualMachineDiskNormalizer.php +++ b/src/Core/Normalizer/PostDiskUnassignPartVirtualMachineDiskNormalizer.php @@ -31,12 +31,12 @@ class PostDiskUnassignPartVirtualMachineDiskNormalizer implements DenormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskUnassignPartVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\PostDiskUnassignPartVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskUnassignPartVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskUnassignPartVirtualMachineDisk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PostDiskUnassignPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PostDiskUnassignPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskUnassignPartVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\PostDiskUnassignPartVirtualMachineDisk::class => false]; } } } else { @@ -115,12 +115,12 @@ class PostDiskUnassignPartVirtualMachineDiskNormalizer implements DenormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskUnassignPartVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\PostDiskUnassignPartVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskUnassignPartVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskUnassignPartVirtualMachineDisk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -136,7 +136,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PostDiskUnassignPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PostDiskUnassignPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskUnassignPartVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\PostDiskUnassignPartVirtualMachineDisk::class => false]; } } } diff --git a/src/Core/Normalizer/PostDiskUnassignPartVirtualMachineNormalizer.php b/src/Core/Normalizer/PostDiskUnassignPartVirtualMachineNormalizer.php index 0721a144..80da6abf 100644 --- a/src/Core/Normalizer/PostDiskUnassignPartVirtualMachineNormalizer.php +++ b/src/Core/Normalizer/PostDiskUnassignPartVirtualMachineNormalizer.php @@ -31,12 +31,12 @@ class PostDiskUnassignPartVirtualMachineNormalizer implements DenormalizerInterf public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskUnassignPartVirtualMachine'; + return $type === \KatapultAPI\Core\Model\PostDiskUnassignPartVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskUnassignPartVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskUnassignPartVirtualMachine::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskUnassignPartVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\PostDiskUnassignPartVirtualMachine::class => false]; } } } else { @@ -101,12 +101,12 @@ class PostDiskUnassignPartVirtualMachineNormalizer implements DenormalizerInterf public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostDiskUnassignPartVirtualMachine'; + return $type === \KatapultAPI\Core\Model\PostDiskUnassignPartVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostDiskUnassignPartVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostDiskUnassignPartVirtualMachine::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostDiskUnassignPartVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\PostDiskUnassignPartVirtualMachine::class => false]; } } } diff --git a/src/Core/Normalizer/PostLoadBalancerRules200ResponseLoadBalancerRuleNormalizer.php b/src/Core/Normalizer/PostLoadBalancerRules200ResponseLoadBalancerRuleNormalizer.php index fa8499cf..33d32aae 100644 --- a/src/Core/Normalizer/PostLoadBalancerRules200ResponseLoadBalancerRuleNormalizer.php +++ b/src/Core/Normalizer/PostLoadBalancerRules200ResponseLoadBalancerRuleNormalizer.php @@ -31,12 +31,12 @@ class PostLoadBalancerRules200ResponseLoadBalancerRuleNormalizer implements Deno public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostLoadBalancerRules200ResponseLoadBalancerRule'; + return $type === \KatapultAPI\Core\Model\PostLoadBalancerRules200ResponseLoadBalancerRule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostLoadBalancerRules200ResponseLoadBalancerRule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostLoadBalancerRules200ResponseLoadBalancerRule::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -78,7 +78,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('certificates', $data)) { $values = []; foreach ($data['certificates'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\PostLoadBalancerRulesPartCertificates', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\PostLoadBalancerRulesPartCertificates::class, 'json', $context); } $object->setCertificates($values); unset($data['certificates']); @@ -128,7 +128,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setCheckHttpStatuses(null); } if (\array_key_exists('load_balancer', $data)) { - $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'KatapultAPI\\Core\\Model\\PostLoadBalancerRulesPartLoadBalancer', 'json', $context)); + $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], \KatapultAPI\Core\Model\PostLoadBalancerRulesPartLoadBalancer::class, 'json', $context)); unset($data['load_balancer']); } foreach ($data as $key => $value_1) { @@ -212,7 +212,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostLoadBalancerRules200ResponseLoadBalancerRule' => false]; + return [\KatapultAPI\Core\Model\PostLoadBalancerRules200ResponseLoadBalancerRule::class => false]; } } } else { @@ -225,12 +225,12 @@ class PostLoadBalancerRules200ResponseLoadBalancerRuleNormalizer implements Deno public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostLoadBalancerRules200ResponseLoadBalancerRule'; + return $type === \KatapultAPI\Core\Model\PostLoadBalancerRules200ResponseLoadBalancerRule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostLoadBalancerRules200ResponseLoadBalancerRule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostLoadBalancerRules200ResponseLoadBalancerRule::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -272,7 +272,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('certificates', $data)) { $values = []; foreach ($data['certificates'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\PostLoadBalancerRulesPartCertificates', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\PostLoadBalancerRulesPartCertificates::class, 'json', $context); } $object->setCertificates($values); unset($data['certificates']); @@ -322,7 +322,7 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setCheckHttpStatuses(null); } if (\array_key_exists('load_balancer', $data)) { - $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], 'KatapultAPI\\Core\\Model\\PostLoadBalancerRulesPartLoadBalancer', 'json', $context)); + $object->setLoadBalancer($this->denormalizer->denormalize($data['load_balancer'], \KatapultAPI\Core\Model\PostLoadBalancerRulesPartLoadBalancer::class, 'json', $context)); unset($data['load_balancer']); } foreach ($data as $key => $value_1) { @@ -409,7 +409,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostLoadBalancerRules200ResponseLoadBalancerRule' => false]; + return [\KatapultAPI\Core\Model\PostLoadBalancerRules200ResponseLoadBalancerRule::class => false]; } } } diff --git a/src/Core/Normalizer/PostLoadBalancerRulesPartCertificatesNormalizer.php b/src/Core/Normalizer/PostLoadBalancerRulesPartCertificatesNormalizer.php index 02f22fc8..a2e4e1d0 100644 --- a/src/Core/Normalizer/PostLoadBalancerRulesPartCertificatesNormalizer.php +++ b/src/Core/Normalizer/PostLoadBalancerRulesPartCertificatesNormalizer.php @@ -31,12 +31,12 @@ class PostLoadBalancerRulesPartCertificatesNormalizer implements DenormalizerInt public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostLoadBalancerRulesPartCertificates'; + return $type === \KatapultAPI\Core\Model\PostLoadBalancerRulesPartCertificates::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostLoadBalancerRulesPartCertificates'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostLoadBalancerRulesPartCertificates::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -110,7 +110,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostLoadBalancerRulesPartCertificates' => false]; + return [\KatapultAPI\Core\Model\PostLoadBalancerRulesPartCertificates::class => false]; } } } else { @@ -123,12 +123,12 @@ class PostLoadBalancerRulesPartCertificatesNormalizer implements DenormalizerInt public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostLoadBalancerRulesPartCertificates'; + return $type === \KatapultAPI\Core\Model\PostLoadBalancerRulesPartCertificates::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostLoadBalancerRulesPartCertificates'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostLoadBalancerRulesPartCertificates::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -205,7 +205,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostLoadBalancerRulesPartCertificates' => false]; + return [\KatapultAPI\Core\Model\PostLoadBalancerRulesPartCertificates::class => false]; } } } diff --git a/src/Core/Normalizer/PostLoadBalancerRulesPartLoadBalancerNormalizer.php b/src/Core/Normalizer/PostLoadBalancerRulesPartLoadBalancerNormalizer.php index 3f307065..15076586 100644 --- a/src/Core/Normalizer/PostLoadBalancerRulesPartLoadBalancerNormalizer.php +++ b/src/Core/Normalizer/PostLoadBalancerRulesPartLoadBalancerNormalizer.php @@ -31,12 +31,12 @@ class PostLoadBalancerRulesPartLoadBalancerNormalizer implements DenormalizerInt public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostLoadBalancerRulesPartLoadBalancer'; + return $type === \KatapultAPI\Core\Model\PostLoadBalancerRulesPartLoadBalancer::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostLoadBalancerRulesPartLoadBalancer'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostLoadBalancerRulesPartLoadBalancer::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostLoadBalancerRulesPartLoadBalancer' => false]; + return [\KatapultAPI\Core\Model\PostLoadBalancerRulesPartLoadBalancer::class => false]; } } } else { @@ -101,12 +101,12 @@ class PostLoadBalancerRulesPartLoadBalancerNormalizer implements DenormalizerInt public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostLoadBalancerRulesPartLoadBalancer'; + return $type === \KatapultAPI\Core\Model\PostLoadBalancerRulesPartLoadBalancer::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostLoadBalancerRulesPartLoadBalancer'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostLoadBalancerRulesPartLoadBalancer::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostLoadBalancerRulesPartLoadBalancer' => false]; + return [\KatapultAPI\Core\Model\PostLoadBalancerRulesPartLoadBalancer::class => false]; } } } diff --git a/src/Core/Normalizer/PostOrganizationDisks201ResponseDiskInstallationNormalizer.php b/src/Core/Normalizer/PostOrganizationDisks201ResponseDiskInstallationNormalizer.php index f940bcfd..569b704a 100644 --- a/src/Core/Normalizer/PostOrganizationDisks201ResponseDiskInstallationNormalizer.php +++ b/src/Core/Normalizer/PostOrganizationDisks201ResponseDiskInstallationNormalizer.php @@ -31,12 +31,12 @@ class PostOrganizationDisks201ResponseDiskInstallationNormalizer implements Deno public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskInstallation'; + return $type === \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskInstallation::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskInstallation'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskInstallation::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -56,13 +56,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['id']); } if (\array_key_exists('disk_template_version', $data)) { - $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], 'KatapultAPI\\Core\\Model\\DiskTemplateVersion', 'json', $context)); + $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], \KatapultAPI\Core\Model\DiskTemplateVersion::class, 'json', $context)); unset($data['disk_template_version']); } if (\array_key_exists('attributes', $data)) { $values = []; foreach ($data['attributes'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\DiskInstallationAttribute', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\DiskInstallationAttribute::class, 'json', $context); } $object->setAttributes($values); unset($data['attributes']); @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskInstallation' => false]; + return [\KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskInstallation::class => false]; } } } else { @@ -116,12 +116,12 @@ class PostOrganizationDisks201ResponseDiskInstallationNormalizer implements Deno public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskInstallation'; + return $type === \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskInstallation::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskInstallation'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskInstallation::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -141,13 +141,13 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('disk_template_version', $data)) { - $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], 'KatapultAPI\\Core\\Model\\DiskTemplateVersion', 'json', $context)); + $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], \KatapultAPI\Core\Model\DiskTemplateVersion::class, 'json', $context)); unset($data['disk_template_version']); } if (\array_key_exists('attributes', $data)) { $values = []; foreach ($data['attributes'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\DiskInstallationAttribute', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\DiskInstallationAttribute::class, 'json', $context); } $object->setAttributes($values); unset($data['attributes']); @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskInstallation' => false]; + return [\KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskInstallation::class => false]; } } } diff --git a/src/Core/Normalizer/PostOrganizationDisks201ResponseDiskIoProfileNormalizer.php b/src/Core/Normalizer/PostOrganizationDisks201ResponseDiskIoProfileNormalizer.php index 2bcca7f4..1d439d3b 100644 --- a/src/Core/Normalizer/PostOrganizationDisks201ResponseDiskIoProfileNormalizer.php +++ b/src/Core/Normalizer/PostOrganizationDisks201ResponseDiskIoProfileNormalizer.php @@ -31,12 +31,12 @@ class PostOrganizationDisks201ResponseDiskIoProfileNormalizer implements Denorma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskIoProfile'; + return $type === \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskIoProfile::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskIoProfile'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskIoProfile::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -113,7 +113,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskIoProfile' => false]; + return [\KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskIoProfile::class => false]; } } } else { @@ -126,12 +126,12 @@ class PostOrganizationDisks201ResponseDiskIoProfileNormalizer implements Denorma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskIoProfile'; + return $type === \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskIoProfile::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskIoProfile'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskIoProfile::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -211,7 +211,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskIoProfile' => false]; + return [\KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskIoProfile::class => false]; } } } diff --git a/src/Core/Normalizer/PostOrganizationDisks201ResponseDiskNormalizer.php b/src/Core/Normalizer/PostOrganizationDisks201ResponseDiskNormalizer.php index 8a77510e..d133b422 100644 --- a/src/Core/Normalizer/PostOrganizationDisks201ResponseDiskNormalizer.php +++ b/src/Core/Normalizer/PostOrganizationDisks201ResponseDiskNormalizer.php @@ -31,12 +31,12 @@ class PostOrganizationDisks201ResponseDiskNormalizer implements DenormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDisk'; + return $type === \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDisk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -80,7 +80,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -92,17 +92,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PostOrganizationDisksPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PostOrganizationDisksPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -166,7 +166,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDisk' => false]; + return [\KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDisk::class => false]; } } } else { @@ -179,12 +179,12 @@ class PostOrganizationDisks201ResponseDiskNormalizer implements DenormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDisk'; + return $type === \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDisk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -228,7 +228,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -240,17 +240,17 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PostOrganizationDisksPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PostOrganizationDisksPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -317,7 +317,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDisk' => false]; + return [\KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDisk::class => false]; } } } diff --git a/src/Core/Normalizer/PostOrganizationDisks201ResponseDiskVirtualMachineDiskNormalizer.php b/src/Core/Normalizer/PostOrganizationDisks201ResponseDiskVirtualMachineDiskNormalizer.php index 9256d980..b2f203bc 100644 --- a/src/Core/Normalizer/PostOrganizationDisks201ResponseDiskVirtualMachineDiskNormalizer.php +++ b/src/Core/Normalizer/PostOrganizationDisks201ResponseDiskVirtualMachineDiskNormalizer.php @@ -31,12 +31,12 @@ class PostOrganizationDisks201ResponseDiskVirtualMachineDiskNormalizer implement public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskVirtualMachineDisk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PostOrganizationDisksPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PostOrganizationDisksPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskVirtualMachineDisk::class => false]; } } } else { @@ -115,12 +115,12 @@ class PostOrganizationDisks201ResponseDiskVirtualMachineDiskNormalizer implement public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskVirtualMachineDisk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -136,7 +136,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PostOrganizationDisksPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PostOrganizationDisksPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostOrganizationDisks201ResponseDiskVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\PostOrganizationDisks201ResponseDiskVirtualMachineDisk::class => false]; } } } diff --git a/src/Core/Normalizer/PostOrganizationDisksPartDataCenterNormalizer.php b/src/Core/Normalizer/PostOrganizationDisksPartDataCenterNormalizer.php index dcb30127..bef1c42f 100644 --- a/src/Core/Normalizer/PostOrganizationDisksPartDataCenterNormalizer.php +++ b/src/Core/Normalizer/PostOrganizationDisksPartDataCenterNormalizer.php @@ -31,12 +31,12 @@ class PostOrganizationDisksPartDataCenterNormalizer implements DenormalizerInter public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostOrganizationDisksPartDataCenter'; + return $type === \KatapultAPI\Core\Model\PostOrganizationDisksPartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostOrganizationDisksPartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostOrganizationDisksPartDataCenter::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostOrganizationDisksPartDataCenter' => false]; + return [\KatapultAPI\Core\Model\PostOrganizationDisksPartDataCenter::class => false]; } } } else { @@ -108,12 +108,12 @@ class PostOrganizationDisksPartDataCenterNormalizer implements DenormalizerInter public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostOrganizationDisksPartDataCenter'; + return $type === \KatapultAPI\Core\Model\PostOrganizationDisksPartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostOrganizationDisksPartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostOrganizationDisksPartDataCenter::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostOrganizationDisksPartDataCenter' => false]; + return [\KatapultAPI\Core\Model\PostOrganizationDisksPartDataCenter::class => false]; } } } diff --git a/src/Core/Normalizer/PostOrganizationDisksPartVirtualMachineDiskNormalizer.php b/src/Core/Normalizer/PostOrganizationDisksPartVirtualMachineDiskNormalizer.php index a2acaa76..e0d3ad95 100644 --- a/src/Core/Normalizer/PostOrganizationDisksPartVirtualMachineDiskNormalizer.php +++ b/src/Core/Normalizer/PostOrganizationDisksPartVirtualMachineDiskNormalizer.php @@ -31,12 +31,12 @@ class PostOrganizationDisksPartVirtualMachineDiskNormalizer implements Denormali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostOrganizationDisksPartVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\PostOrganizationDisksPartVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostOrganizationDisksPartVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostOrganizationDisksPartVirtualMachineDisk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PostOrganizationDisksPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PostOrganizationDisksPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostOrganizationDisksPartVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\PostOrganizationDisksPartVirtualMachineDisk::class => false]; } } } else { @@ -115,12 +115,12 @@ class PostOrganizationDisksPartVirtualMachineDiskNormalizer implements Denormali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostOrganizationDisksPartVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\PostOrganizationDisksPartVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostOrganizationDisksPartVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostOrganizationDisksPartVirtualMachineDisk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -136,7 +136,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PostOrganizationDisksPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PostOrganizationDisksPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostOrganizationDisksPartVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\PostOrganizationDisksPartVirtualMachineDisk::class => false]; } } } diff --git a/src/Core/Normalizer/PostOrganizationDisksPartVirtualMachineNormalizer.php b/src/Core/Normalizer/PostOrganizationDisksPartVirtualMachineNormalizer.php index 5981b5c8..3503493e 100644 --- a/src/Core/Normalizer/PostOrganizationDisksPartVirtualMachineNormalizer.php +++ b/src/Core/Normalizer/PostOrganizationDisksPartVirtualMachineNormalizer.php @@ -31,12 +31,12 @@ class PostOrganizationDisksPartVirtualMachineNormalizer implements DenormalizerI public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostOrganizationDisksPartVirtualMachine'; + return $type === \KatapultAPI\Core\Model\PostOrganizationDisksPartVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostOrganizationDisksPartVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostOrganizationDisksPartVirtualMachine::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostOrganizationDisksPartVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\PostOrganizationDisksPartVirtualMachine::class => false]; } } } else { @@ -101,12 +101,12 @@ class PostOrganizationDisksPartVirtualMachineNormalizer implements DenormalizerI public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostOrganizationDisksPartVirtualMachine'; + return $type === \KatapultAPI\Core\Model\PostOrganizationDisksPartVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostOrganizationDisksPartVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostOrganizationDisksPartVirtualMachine::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostOrganizationDisksPartVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\PostOrganizationDisksPartVirtualMachine::class => false]; } } } diff --git a/src/Core/Normalizer/PostOrganizationFileStorageVolumes201ResponseFileStorageVolumeNormalizer.php b/src/Core/Normalizer/PostOrganizationFileStorageVolumes201ResponseFileStorageVolumeNormalizer.php index 05eaa800..5a394e5a 100644 --- a/src/Core/Normalizer/PostOrganizationFileStorageVolumes201ResponseFileStorageVolumeNormalizer.php +++ b/src/Core/Normalizer/PostOrganizationFileStorageVolumes201ResponseFileStorageVolumeNormalizer.php @@ -31,12 +31,12 @@ class PostOrganizationFileStorageVolumes201ResponseFileStorageVolumeNormalizer i public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostOrganizationFileStorageVolumes201ResponseFileStorageVolume'; + return $type === \KatapultAPI\Core\Model\PostOrganizationFileStorageVolumes201ResponseFileStorageVolume::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostOrganizationFileStorageVolumes201ResponseFileStorageVolume'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostOrganizationFileStorageVolumes201ResponseFileStorageVolume::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['name']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PostOrganizationFileStorageVolumesPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PostOrganizationFileStorageVolumesPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('associations', $data)) { @@ -135,7 +135,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostOrganizationFileStorageVolumes201ResponseFileStorageVolume' => false]; + return [\KatapultAPI\Core\Model\PostOrganizationFileStorageVolumes201ResponseFileStorageVolume::class => false]; } } } else { @@ -148,12 +148,12 @@ class PostOrganizationFileStorageVolumes201ResponseFileStorageVolumeNormalizer i public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostOrganizationFileStorageVolumes201ResponseFileStorageVolume'; + return $type === \KatapultAPI\Core\Model\PostOrganizationFileStorageVolumes201ResponseFileStorageVolume::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostOrganizationFileStorageVolumes201ResponseFileStorageVolume'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostOrganizationFileStorageVolumes201ResponseFileStorageVolume::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -177,7 +177,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PostOrganizationFileStorageVolumesPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PostOrganizationFileStorageVolumesPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('associations', $data)) { @@ -255,7 +255,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostOrganizationFileStorageVolumes201ResponseFileStorageVolume' => false]; + return [\KatapultAPI\Core\Model\PostOrganizationFileStorageVolumes201ResponseFileStorageVolume::class => false]; } } } diff --git a/src/Core/Normalizer/PostOrganizationFileStorageVolumesPartDataCenterNormalizer.php b/src/Core/Normalizer/PostOrganizationFileStorageVolumesPartDataCenterNormalizer.php index 31c8552c..ece6a433 100644 --- a/src/Core/Normalizer/PostOrganizationFileStorageVolumesPartDataCenterNormalizer.php +++ b/src/Core/Normalizer/PostOrganizationFileStorageVolumesPartDataCenterNormalizer.php @@ -31,12 +31,12 @@ class PostOrganizationFileStorageVolumesPartDataCenterNormalizer implements Deno public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostOrganizationFileStorageVolumesPartDataCenter'; + return $type === \KatapultAPI\Core\Model\PostOrganizationFileStorageVolumesPartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostOrganizationFileStorageVolumesPartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostOrganizationFileStorageVolumesPartDataCenter::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostOrganizationFileStorageVolumesPartDataCenter' => false]; + return [\KatapultAPI\Core\Model\PostOrganizationFileStorageVolumesPartDataCenter::class => false]; } } } else { @@ -108,12 +108,12 @@ class PostOrganizationFileStorageVolumesPartDataCenterNormalizer implements Deno public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostOrganizationFileStorageVolumesPartDataCenter'; + return $type === \KatapultAPI\Core\Model\PostOrganizationFileStorageVolumesPartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostOrganizationFileStorageVolumesPartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostOrganizationFileStorageVolumesPartDataCenter::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostOrganizationFileStorageVolumesPartDataCenter' => false]; + return [\KatapultAPI\Core\Model\PostOrganizationFileStorageVolumesPartDataCenter::class => false]; } } } diff --git a/src/Core/Normalizer/PostOrganizationLoadBalancers201ResponseLoadBalancerNormalizer.php b/src/Core/Normalizer/PostOrganizationLoadBalancers201ResponseLoadBalancerNormalizer.php index 48845088..64118398 100644 --- a/src/Core/Normalizer/PostOrganizationLoadBalancers201ResponseLoadBalancerNormalizer.php +++ b/src/Core/Normalizer/PostOrganizationLoadBalancers201ResponseLoadBalancerNormalizer.php @@ -31,12 +31,12 @@ class PostOrganizationLoadBalancers201ResponseLoadBalancerNormalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancers201ResponseLoadBalancer'; + return $type === \KatapultAPI\Core\Model\PostOrganizationLoadBalancers201ResponseLoadBalancer::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancers201ResponseLoadBalancer'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostOrganizationLoadBalancers201ResponseLoadBalancer::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -72,7 +72,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('resources', $data)) { $values = []; foreach ($data['resources'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\LoadBalancerResource', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\LoadBalancerResource::class, 'json', $context); } $object->setResources($values); unset($data['resources']); @@ -86,7 +86,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['resource_ids']); } if (\array_key_exists('ip_address', $data)) { - $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], 'KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancersPartIPAddress', 'json', $context)); + $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], \KatapultAPI\Core\Model\PostOrganizationLoadBalancersPartIPAddress::class, 'json', $context)); unset($data['ip_address']); } if (\array_key_exists('https_redirect', $data)) { @@ -102,7 +102,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['backend_certificate_key']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancersPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PostOrganizationLoadBalancersPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('enable_weighting', $data)) { @@ -112,7 +112,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('weights', $data)) { $values_2 = []; foreach ($data['weights'] as $value_2) { - $values_2[] = $this->denormalizer->denormalize($value_2, 'KatapultAPI\\Core\\Model\\LoadBalancerWeight', 'json', $context); + $values_2[] = $this->denormalizer->denormalize($value_2, \KatapultAPI\Core\Model\LoadBalancerWeight::class, 'json', $context); } $object->setWeights($values_2); unset($data['weights']); @@ -206,7 +206,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancers201ResponseLoadBalancer' => false]; + return [\KatapultAPI\Core\Model\PostOrganizationLoadBalancers201ResponseLoadBalancer::class => false]; } } } else { @@ -219,12 +219,12 @@ class PostOrganizationLoadBalancers201ResponseLoadBalancerNormalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancers201ResponseLoadBalancer'; + return $type === \KatapultAPI\Core\Model\PostOrganizationLoadBalancers201ResponseLoadBalancer::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancers201ResponseLoadBalancer'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostOrganizationLoadBalancers201ResponseLoadBalancer::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -260,7 +260,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('resources', $data)) { $values = []; foreach ($data['resources'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\LoadBalancerResource', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\LoadBalancerResource::class, 'json', $context); } $object->setResources($values); unset($data['resources']); @@ -274,7 +274,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['resource_ids']); } if (\array_key_exists('ip_address', $data)) { - $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], 'KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancersPartIPAddress', 'json', $context)); + $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], \KatapultAPI\Core\Model\PostOrganizationLoadBalancersPartIPAddress::class, 'json', $context)); unset($data['ip_address']); } if (\array_key_exists('https_redirect', $data)) { @@ -290,7 +290,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['backend_certificate_key']); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancersPartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PostOrganizationLoadBalancersPartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('enable_weighting', $data)) { @@ -300,7 +300,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('weights', $data)) { $values_2 = []; foreach ($data['weights'] as $value_2) { - $values_2[] = $this->denormalizer->denormalize($value_2, 'KatapultAPI\\Core\\Model\\LoadBalancerWeight', 'json', $context); + $values_2[] = $this->denormalizer->denormalize($value_2, \KatapultAPI\Core\Model\LoadBalancerWeight::class, 'json', $context); } $object->setWeights($values_2); unset($data['weights']); @@ -397,7 +397,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancers201ResponseLoadBalancer' => false]; + return [\KatapultAPI\Core\Model\PostOrganizationLoadBalancers201ResponseLoadBalancer::class => false]; } } } diff --git a/src/Core/Normalizer/PostOrganizationLoadBalancersPartDataCenterNormalizer.php b/src/Core/Normalizer/PostOrganizationLoadBalancersPartDataCenterNormalizer.php index 4e2ad0fd..d6d93374 100644 --- a/src/Core/Normalizer/PostOrganizationLoadBalancersPartDataCenterNormalizer.php +++ b/src/Core/Normalizer/PostOrganizationLoadBalancersPartDataCenterNormalizer.php @@ -31,12 +31,12 @@ class PostOrganizationLoadBalancersPartDataCenterNormalizer implements Denormali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancersPartDataCenter'; + return $type === \KatapultAPI\Core\Model\PostOrganizationLoadBalancersPartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancersPartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostOrganizationLoadBalancersPartDataCenter::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancersPartDataCenter' => false]; + return [\KatapultAPI\Core\Model\PostOrganizationLoadBalancersPartDataCenter::class => false]; } } } else { @@ -108,12 +108,12 @@ class PostOrganizationLoadBalancersPartDataCenterNormalizer implements Denormali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancersPartDataCenter'; + return $type === \KatapultAPI\Core\Model\PostOrganizationLoadBalancersPartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancersPartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostOrganizationLoadBalancersPartDataCenter::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancersPartDataCenter' => false]; + return [\KatapultAPI\Core\Model\PostOrganizationLoadBalancersPartDataCenter::class => false]; } } } diff --git a/src/Core/Normalizer/PostOrganizationLoadBalancersPartIPAddressNormalizer.php b/src/Core/Normalizer/PostOrganizationLoadBalancersPartIPAddressNormalizer.php index 3682348b..d7a9acfc 100644 --- a/src/Core/Normalizer/PostOrganizationLoadBalancersPartIPAddressNormalizer.php +++ b/src/Core/Normalizer/PostOrganizationLoadBalancersPartIPAddressNormalizer.php @@ -31,12 +31,12 @@ class PostOrganizationLoadBalancersPartIPAddressNormalizer implements Denormaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancersPartIPAddress'; + return $type === \KatapultAPI\Core\Model\PostOrganizationLoadBalancersPartIPAddress::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancersPartIPAddress'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostOrganizationLoadBalancersPartIPAddress::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancersPartIPAddress' => false]; + return [\KatapultAPI\Core\Model\PostOrganizationLoadBalancersPartIPAddress::class => false]; } } } else { @@ -101,12 +101,12 @@ class PostOrganizationLoadBalancersPartIPAddressNormalizer implements Denormaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancersPartIPAddress'; + return $type === \KatapultAPI\Core\Model\PostOrganizationLoadBalancersPartIPAddress::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancersPartIPAddress'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostOrganizationLoadBalancersPartIPAddress::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostOrganizationLoadBalancersPartIPAddress' => false]; + return [\KatapultAPI\Core\Model\PostOrganizationLoadBalancersPartIPAddress::class => false]; } } } diff --git a/src/Core/Normalizer/PostOrganizationVirtualMachinesBuild201ResponseBuildNormalizer.php b/src/Core/Normalizer/PostOrganizationVirtualMachinesBuild201ResponseBuildNormalizer.php index f190dd4c..c149faff 100644 --- a/src/Core/Normalizer/PostOrganizationVirtualMachinesBuild201ResponseBuildNormalizer.php +++ b/src/Core/Normalizer/PostOrganizationVirtualMachinesBuild201ResponseBuildNormalizer.php @@ -31,12 +31,12 @@ class PostOrganizationVirtualMachinesBuild201ResponseBuildNormalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuild201ResponseBuild'; + return $type === \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuild201ResponseBuild::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuild201ResponseBuild'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuild201ResponseBuild::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuild201ResponseBuild' => false]; + return [\KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuild201ResponseBuild::class => false]; } } } else { @@ -101,12 +101,12 @@ class PostOrganizationVirtualMachinesBuild201ResponseBuildNormalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuild201ResponseBuild'; + return $type === \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuild201ResponseBuild::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuild201ResponseBuild'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuild201ResponseBuild::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuild201ResponseBuild' => false]; + return [\KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuild201ResponseBuild::class => false]; } } } diff --git a/src/Core/Normalizer/PostOrganizationVirtualMachinesBuild201ResponseTaskNormalizer.php b/src/Core/Normalizer/PostOrganizationVirtualMachinesBuild201ResponseTaskNormalizer.php index 35292a53..3f9f1ab0 100644 --- a/src/Core/Normalizer/PostOrganizationVirtualMachinesBuild201ResponseTaskNormalizer.php +++ b/src/Core/Normalizer/PostOrganizationVirtualMachinesBuild201ResponseTaskNormalizer.php @@ -31,12 +31,12 @@ class PostOrganizationVirtualMachinesBuild201ResponseTaskNormalizer implements D public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuild201ResponseTask'; + return $type === \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuild201ResponseTask::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuild201ResponseTask'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuild201ResponseTask::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuild201ResponseTask' => false]; + return [\KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuild201ResponseTask::class => false]; } } } else { @@ -108,12 +108,12 @@ class PostOrganizationVirtualMachinesBuild201ResponseTaskNormalizer implements D public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuild201ResponseTask'; + return $type === \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuild201ResponseTask::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuild201ResponseTask'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuild201ResponseTask::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuild201ResponseTask' => false]; + return [\KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuild201ResponseTask::class => false]; } } } diff --git a/src/Core/Normalizer/PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuildNormalizer.php b/src/Core/Normalizer/PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuildNormalizer.php index 24aa7ec8..17c2d024 100644 --- a/src/Core/Normalizer/PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuildNormalizer.php +++ b/src/Core/Normalizer/PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuildNormalizer.php @@ -31,12 +31,12 @@ class PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuildNormaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuild'; + return $type === \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuild::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuild'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuild::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuild' => false]; + return [\KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuild::class => false]; } } } else { @@ -101,12 +101,12 @@ class PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuildNormaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuild'; + return $type === \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuild::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuild'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuild::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuild' => false]; + return [\KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuild201ResponseVirtualMachineBuild::class => false]; } } } diff --git a/src/Core/Normalizer/PostOrganizationVirtualMachinesBuildFromSpec201ResponseBuildNormalizer.php b/src/Core/Normalizer/PostOrganizationVirtualMachinesBuildFromSpec201ResponseBuildNormalizer.php index 4146f80b..b77781c5 100644 --- a/src/Core/Normalizer/PostOrganizationVirtualMachinesBuildFromSpec201ResponseBuildNormalizer.php +++ b/src/Core/Normalizer/PostOrganizationVirtualMachinesBuildFromSpec201ResponseBuildNormalizer.php @@ -31,12 +31,12 @@ class PostOrganizationVirtualMachinesBuildFromSpec201ResponseBuildNormalizer imp public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseBuild'; + return $type === \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuildFromSpec201ResponseBuild::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseBuild'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuildFromSpec201ResponseBuild::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseBuild' => false]; + return [\KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuildFromSpec201ResponseBuild::class => false]; } } } else { @@ -101,12 +101,12 @@ class PostOrganizationVirtualMachinesBuildFromSpec201ResponseBuildNormalizer imp public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseBuild'; + return $type === \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuildFromSpec201ResponseBuild::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseBuild'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuildFromSpec201ResponseBuild::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseBuild' => false]; + return [\KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuildFromSpec201ResponseBuild::class => false]; } } } diff --git a/src/Core/Normalizer/PostOrganizationVirtualMachinesBuildFromSpec201ResponseTaskNormalizer.php b/src/Core/Normalizer/PostOrganizationVirtualMachinesBuildFromSpec201ResponseTaskNormalizer.php index 2594a263..0b9f5ffa 100644 --- a/src/Core/Normalizer/PostOrganizationVirtualMachinesBuildFromSpec201ResponseTaskNormalizer.php +++ b/src/Core/Normalizer/PostOrganizationVirtualMachinesBuildFromSpec201ResponseTaskNormalizer.php @@ -31,12 +31,12 @@ class PostOrganizationVirtualMachinesBuildFromSpec201ResponseTaskNormalizer impl public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseTask'; + return $type === \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuildFromSpec201ResponseTask::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseTask'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuildFromSpec201ResponseTask::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseTask' => false]; + return [\KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuildFromSpec201ResponseTask::class => false]; } } } else { @@ -108,12 +108,12 @@ class PostOrganizationVirtualMachinesBuildFromSpec201ResponseTaskNormalizer impl public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseTask'; + return $type === \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuildFromSpec201ResponseTask::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseTask'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuildFromSpec201ResponseTask::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseTask' => false]; + return [\KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuildFromSpec201ResponseTask::class => false]; } } } diff --git a/src/Core/Normalizer/PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuildNormalizer.php b/src/Core/Normalizer/PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuildNormalizer.php index c329268c..610329f6 100644 --- a/src/Core/Normalizer/PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuildNormalizer.php +++ b/src/Core/Normalizer/PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuildNormalizer.php @@ -31,12 +31,12 @@ class PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuild public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuild'; + return $type === \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuild::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuild'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuild::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuild' => false]; + return [\KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuild::class => false]; } } } else { @@ -101,12 +101,12 @@ class PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuild public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuild'; + return $type === \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuild::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuild'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuild::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuild' => false]; + return [\KatapultAPI\Core\Model\PostOrganizationVirtualMachinesBuildFromSpec201ResponseVirtualMachineBuild::class => false]; } } } diff --git a/src/Core/Normalizer/PostSecurityGroupRules200ResponseSecurityGroupRuleNormalizer.php b/src/Core/Normalizer/PostSecurityGroupRules200ResponseSecurityGroupRuleNormalizer.php index 6d7e947c..0f9e7f6a 100644 --- a/src/Core/Normalizer/PostSecurityGroupRules200ResponseSecurityGroupRuleNormalizer.php +++ b/src/Core/Normalizer/PostSecurityGroupRules200ResponseSecurityGroupRuleNormalizer.php @@ -31,12 +31,12 @@ class PostSecurityGroupRules200ResponseSecurityGroupRuleNormalizer implements De public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostSecurityGroupRules200ResponseSecurityGroupRule'; + return $type === \KatapultAPI\Core\Model\PostSecurityGroupRules200ResponseSecurityGroupRule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostSecurityGroupRules200ResponseSecurityGroupRule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostSecurityGroupRules200ResponseSecurityGroupRule::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -56,7 +56,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['id']); } if (\array_key_exists('security_group', $data)) { - $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'KatapultAPI\\Core\\Model\\PostSecurityGroupRulesPartSecurityGroup', 'json', $context)); + $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], \KatapultAPI\Core\Model\PostSecurityGroupRulesPartSecurityGroup::class, 'json', $context)); unset($data['security_group']); } if (\array_key_exists('direction', $data)) { @@ -142,7 +142,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostSecurityGroupRules200ResponseSecurityGroupRule' => false]; + return [\KatapultAPI\Core\Model\PostSecurityGroupRules200ResponseSecurityGroupRule::class => false]; } } } else { @@ -155,12 +155,12 @@ class PostSecurityGroupRules200ResponseSecurityGroupRuleNormalizer implements De public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostSecurityGroupRules200ResponseSecurityGroupRule'; + return $type === \KatapultAPI\Core\Model\PostSecurityGroupRules200ResponseSecurityGroupRule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostSecurityGroupRules200ResponseSecurityGroupRule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostSecurityGroupRules200ResponseSecurityGroupRule::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -180,7 +180,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('security_group', $data)) { - $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'KatapultAPI\\Core\\Model\\PostSecurityGroupRulesPartSecurityGroup', 'json', $context)); + $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], \KatapultAPI\Core\Model\PostSecurityGroupRulesPartSecurityGroup::class, 'json', $context)); unset($data['security_group']); } if (\array_key_exists('direction', $data)) { @@ -269,7 +269,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostSecurityGroupRules200ResponseSecurityGroupRule' => false]; + return [\KatapultAPI\Core\Model\PostSecurityGroupRules200ResponseSecurityGroupRule::class => false]; } } } diff --git a/src/Core/Normalizer/PostSecurityGroupRulesPartSecurityGroupNormalizer.php b/src/Core/Normalizer/PostSecurityGroupRulesPartSecurityGroupNormalizer.php index 09fbb95d..82fbef4e 100644 --- a/src/Core/Normalizer/PostSecurityGroupRulesPartSecurityGroupNormalizer.php +++ b/src/Core/Normalizer/PostSecurityGroupRulesPartSecurityGroupNormalizer.php @@ -31,12 +31,12 @@ class PostSecurityGroupRulesPartSecurityGroupNormalizer implements DenormalizerI public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostSecurityGroupRulesPartSecurityGroup'; + return $type === \KatapultAPI\Core\Model\PostSecurityGroupRulesPartSecurityGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostSecurityGroupRulesPartSecurityGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostSecurityGroupRulesPartSecurityGroup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostSecurityGroupRulesPartSecurityGroup' => false]; + return [\KatapultAPI\Core\Model\PostSecurityGroupRulesPartSecurityGroup::class => false]; } } } else { @@ -101,12 +101,12 @@ class PostSecurityGroupRulesPartSecurityGroupNormalizer implements DenormalizerI public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostSecurityGroupRulesPartSecurityGroup'; + return $type === \KatapultAPI\Core\Model\PostSecurityGroupRulesPartSecurityGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostSecurityGroupRulesPartSecurityGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostSecurityGroupRulesPartSecurityGroup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostSecurityGroupRulesPartSecurityGroup' => false]; + return [\KatapultAPI\Core\Model\PostSecurityGroupRulesPartSecurityGroup::class => false]; } } } diff --git a/src/Core/Normalizer/PostVirtualMachineConsoleSessions201ResponseConsoleSessionNormalizer.php b/src/Core/Normalizer/PostVirtualMachineConsoleSessions201ResponseConsoleSessionNormalizer.php index eccd8207..2d112d31 100644 --- a/src/Core/Normalizer/PostVirtualMachineConsoleSessions201ResponseConsoleSessionNormalizer.php +++ b/src/Core/Normalizer/PostVirtualMachineConsoleSessions201ResponseConsoleSessionNormalizer.php @@ -31,12 +31,12 @@ class PostVirtualMachineConsoleSessions201ResponseConsoleSessionNormalizer imple public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostVirtualMachineConsoleSessions201ResponseConsoleSession'; + return $type === \KatapultAPI\Core\Model\PostVirtualMachineConsoleSessions201ResponseConsoleSession::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostVirtualMachineConsoleSessions201ResponseConsoleSession'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostVirtualMachineConsoleSessions201ResponseConsoleSession::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -64,7 +64,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['expires_at']); } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PostVirtualMachineConsoleSessionsPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PostVirtualMachineConsoleSessionsPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } foreach ($data as $key => $value) { @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostVirtualMachineConsoleSessions201ResponseConsoleSession' => false]; + return [\KatapultAPI\Core\Model\PostVirtualMachineConsoleSessions201ResponseConsoleSession::class => false]; } } } else { @@ -115,12 +115,12 @@ class PostVirtualMachineConsoleSessions201ResponseConsoleSessionNormalizer imple public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostVirtualMachineConsoleSessions201ResponseConsoleSession'; + return $type === \KatapultAPI\Core\Model\PostVirtualMachineConsoleSessions201ResponseConsoleSession::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostVirtualMachineConsoleSessions201ResponseConsoleSession'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostVirtualMachineConsoleSessions201ResponseConsoleSession::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -148,7 +148,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['expires_at']); } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PostVirtualMachineConsoleSessionsPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PostVirtualMachineConsoleSessionsPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } foreach ($data as $key => $value) { @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostVirtualMachineConsoleSessions201ResponseConsoleSession' => false]; + return [\KatapultAPI\Core\Model\PostVirtualMachineConsoleSessions201ResponseConsoleSession::class => false]; } } } diff --git a/src/Core/Normalizer/PostVirtualMachineConsoleSessionsPartVirtualMachineNormalizer.php b/src/Core/Normalizer/PostVirtualMachineConsoleSessionsPartVirtualMachineNormalizer.php index 7c92d7d9..7fe0edd2 100644 --- a/src/Core/Normalizer/PostVirtualMachineConsoleSessionsPartVirtualMachineNormalizer.php +++ b/src/Core/Normalizer/PostVirtualMachineConsoleSessionsPartVirtualMachineNormalizer.php @@ -31,12 +31,12 @@ class PostVirtualMachineConsoleSessionsPartVirtualMachineNormalizer implements D public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostVirtualMachineConsoleSessionsPartVirtualMachine'; + return $type === \KatapultAPI\Core\Model\PostVirtualMachineConsoleSessionsPartVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostVirtualMachineConsoleSessionsPartVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostVirtualMachineConsoleSessionsPartVirtualMachine::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -109,7 +109,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostVirtualMachineConsoleSessionsPartVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\PostVirtualMachineConsoleSessionsPartVirtualMachine::class => false]; } } } else { @@ -122,12 +122,12 @@ class PostVirtualMachineConsoleSessionsPartVirtualMachineNormalizer implements D public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostVirtualMachineConsoleSessionsPartVirtualMachine'; + return $type === \KatapultAPI\Core\Model\PostVirtualMachineConsoleSessionsPartVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostVirtualMachineConsoleSessionsPartVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostVirtualMachineConsoleSessionsPartVirtualMachine::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -203,7 +203,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostVirtualMachineConsoleSessionsPartVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\PostVirtualMachineConsoleSessionsPartVirtualMachine::class => false]; } } } diff --git a/src/Core/Normalizer/PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicyNormalizer.php b/src/Core/Normalizer/PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicyNormalizer.php index 0ac46ae9..bf73f19f 100644 --- a/src/Core/Normalizer/PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicyNormalizer.php +++ b/src/Core/Normalizer/PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicyNormalizer.php @@ -31,12 +31,12 @@ class PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicyNormalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicy'; + return $type === \KatapultAPI\Core\Model\PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicy::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicy'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicy::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -67,11 +67,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['total_size']); } if (\array_key_exists('target', $data)) { - $object->setTarget($this->denormalizer->denormalize($data['target'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyTarget', 'json', $context)); + $object->setTarget($this->denormalizer->denormalize($data['target'], \KatapultAPI\Core\Model\DiskBackupPolicyTarget::class, 'json', $context)); unset($data['target']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'KatapultAPI\\Core\\Model\\Schedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], \KatapultAPI\Core\Model\Schedule::class, 'json', $context)); unset($data['schedule']); } if (\array_key_exists('auto_move_to_trash_at', $data) && $data['auto_move_to_trash_at'] !== null) { @@ -121,7 +121,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicy' => false]; + return [\KatapultAPI\Core\Model\PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicy::class => false]; } } } else { @@ -134,12 +134,12 @@ class PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicyNormalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicy'; + return $type === \KatapultAPI\Core\Model\PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicy::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicy'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicy::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -170,11 +170,11 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['total_size']); } if (\array_key_exists('target', $data)) { - $object->setTarget($this->denormalizer->denormalize($data['target'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyTarget', 'json', $context)); + $object->setTarget($this->denormalizer->denormalize($data['target'], \KatapultAPI\Core\Model\DiskBackupPolicyTarget::class, 'json', $context)); unset($data['target']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'KatapultAPI\\Core\\Model\\Schedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], \KatapultAPI\Core\Model\Schedule::class, 'json', $context)); unset($data['schedule']); } if (\array_key_exists('auto_move_to_trash_at', $data) && $data['auto_move_to_trash_at'] !== null) { @@ -227,7 +227,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicy' => false]; + return [\KatapultAPI\Core\Model\PostVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicy::class => false]; } } } diff --git a/src/Core/Normalizer/PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceNormalizer.php b/src/Core/Normalizer/PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceNormalizer.php index 4434ccaa..8cf948c7 100644 --- a/src/Core/Normalizer/PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceNormalizer.php +++ b/src/Core/Normalizer/PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterfaceNormalizer.php @@ -31,12 +31,12 @@ class PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetwo public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterface'; + return $type === \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterface::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterface'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterface::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -56,7 +56,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['id']); } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('name', $data)) { @@ -64,7 +64,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['name']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork::class, 'json', $context)); unset($data['network']); } if (\array_key_exists('mac_address', $data)) { @@ -78,7 +78,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('ip_addresses', $data)) { $values = []; foreach ($data['ip_addresses'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses::class, 'json', $context); } $object->setIpAddresses($values); unset($data['ip_addresses']); @@ -131,7 +131,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterface' => false]; + return [\KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterface::class => false]; } } } else { @@ -144,12 +144,12 @@ class PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetwo public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterface'; + return $type === \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterface::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterface'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterface::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -169,7 +169,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('name', $data)) { @@ -177,7 +177,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork::class, 'json', $context)); unset($data['network']); } if (\array_key_exists('mac_address', $data)) { @@ -191,7 +191,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('ip_addresses', $data)) { $values = []; foreach ($data['ip_addresses'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses::class, 'json', $context); } $object->setIpAddresses($values); unset($data['ip_addresses']); @@ -247,7 +247,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterface' => false]; + return [\KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIP200ResponseVirtualMachineNetworkInterface::class => false]; } } } diff --git a/src/Core/Normalizer/PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddressesNormalizer.php b/src/Core/Normalizer/PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddressesNormalizer.php index f12a71a8..8a369e02 100644 --- a/src/Core/Normalizer/PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddressesNormalizer.php +++ b/src/Core/Normalizer/PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddressesNormalizer.php @@ -31,12 +31,12 @@ class PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddressesNormalizer impl public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses'; + return $type === \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses' => false]; + return [\KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses::class => false]; } } } else { @@ -101,12 +101,12 @@ class PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddressesNormalizer impl public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses'; + return $type === \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses' => false]; + return [\KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses::class => false]; } } } diff --git a/src/Core/Normalizer/PostVirtualMachineNetworkInterfaceAllocateIPPartNetworkNormalizer.php b/src/Core/Normalizer/PostVirtualMachineNetworkInterfaceAllocateIPPartNetworkNormalizer.php index 73f23fe6..ca6db008 100644 --- a/src/Core/Normalizer/PostVirtualMachineNetworkInterfaceAllocateIPPartNetworkNormalizer.php +++ b/src/Core/Normalizer/PostVirtualMachineNetworkInterfaceAllocateIPPartNetworkNormalizer.php @@ -31,12 +31,12 @@ class PostVirtualMachineNetworkInterfaceAllocateIPPartNetworkNormalizer implemen public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork'; + return $type === \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork' => false]; + return [\KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork::class => false]; } } } else { @@ -101,12 +101,12 @@ class PostVirtualMachineNetworkInterfaceAllocateIPPartNetworkNormalizer implemen public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork'; + return $type === \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork' => false]; + return [\KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork::class => false]; } } } diff --git a/src/Core/Normalizer/PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachineNormalizer.php b/src/Core/Normalizer/PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachineNormalizer.php index caf009ef..c38583d0 100644 --- a/src/Core/Normalizer/PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachineNormalizer.php +++ b/src/Core/Normalizer/PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachineNormalizer.php @@ -31,12 +31,12 @@ class PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachineNormalizer i public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine'; + return $type === \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine::class => false]; } } } else { @@ -101,12 +101,12 @@ class PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachineNormalizer i public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine'; + return $type === \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine::class => false]; } } } diff --git a/src/Core/Normalizer/PostVirtualMachineReset200ResponseTaskNormalizer.php b/src/Core/Normalizer/PostVirtualMachineReset200ResponseTaskNormalizer.php index ad4619c6..d1b57498 100644 --- a/src/Core/Normalizer/PostVirtualMachineReset200ResponseTaskNormalizer.php +++ b/src/Core/Normalizer/PostVirtualMachineReset200ResponseTaskNormalizer.php @@ -31,12 +31,12 @@ class PostVirtualMachineReset200ResponseTaskNormalizer implements DenormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostVirtualMachineReset200ResponseTask'; + return $type === \KatapultAPI\Core\Model\PostVirtualMachineReset200ResponseTask::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostVirtualMachineReset200ResponseTask'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostVirtualMachineReset200ResponseTask::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostVirtualMachineReset200ResponseTask' => false]; + return [\KatapultAPI\Core\Model\PostVirtualMachineReset200ResponseTask::class => false]; } } } else { @@ -108,12 +108,12 @@ class PostVirtualMachineReset200ResponseTaskNormalizer implements DenormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostVirtualMachineReset200ResponseTask'; + return $type === \KatapultAPI\Core\Model\PostVirtualMachineReset200ResponseTask::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostVirtualMachineReset200ResponseTask'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostVirtualMachineReset200ResponseTask::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostVirtualMachineReset200ResponseTask' => false]; + return [\KatapultAPI\Core\Model\PostVirtualMachineReset200ResponseTask::class => false]; } } } diff --git a/src/Core/Normalizer/PostVirtualMachineShutdown200ResponseTaskNormalizer.php b/src/Core/Normalizer/PostVirtualMachineShutdown200ResponseTaskNormalizer.php index 65bc77e0..1ff33f5b 100644 --- a/src/Core/Normalizer/PostVirtualMachineShutdown200ResponseTaskNormalizer.php +++ b/src/Core/Normalizer/PostVirtualMachineShutdown200ResponseTaskNormalizer.php @@ -31,12 +31,12 @@ class PostVirtualMachineShutdown200ResponseTaskNormalizer implements Denormalize public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostVirtualMachineShutdown200ResponseTask'; + return $type === \KatapultAPI\Core\Model\PostVirtualMachineShutdown200ResponseTask::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostVirtualMachineShutdown200ResponseTask'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostVirtualMachineShutdown200ResponseTask::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostVirtualMachineShutdown200ResponseTask' => false]; + return [\KatapultAPI\Core\Model\PostVirtualMachineShutdown200ResponseTask::class => false]; } } } else { @@ -108,12 +108,12 @@ class PostVirtualMachineShutdown200ResponseTaskNormalizer implements Denormalize public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostVirtualMachineShutdown200ResponseTask'; + return $type === \KatapultAPI\Core\Model\PostVirtualMachineShutdown200ResponseTask::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostVirtualMachineShutdown200ResponseTask'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostVirtualMachineShutdown200ResponseTask::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostVirtualMachineShutdown200ResponseTask' => false]; + return [\KatapultAPI\Core\Model\PostVirtualMachineShutdown200ResponseTask::class => false]; } } } diff --git a/src/Core/Normalizer/PostVirtualMachineStart200ResponseTaskNormalizer.php b/src/Core/Normalizer/PostVirtualMachineStart200ResponseTaskNormalizer.php index 1c19f119..0f95b85d 100644 --- a/src/Core/Normalizer/PostVirtualMachineStart200ResponseTaskNormalizer.php +++ b/src/Core/Normalizer/PostVirtualMachineStart200ResponseTaskNormalizer.php @@ -31,12 +31,12 @@ class PostVirtualMachineStart200ResponseTaskNormalizer implements DenormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostVirtualMachineStart200ResponseTask'; + return $type === \KatapultAPI\Core\Model\PostVirtualMachineStart200ResponseTask::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostVirtualMachineStart200ResponseTask'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostVirtualMachineStart200ResponseTask::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostVirtualMachineStart200ResponseTask' => false]; + return [\KatapultAPI\Core\Model\PostVirtualMachineStart200ResponseTask::class => false]; } } } else { @@ -108,12 +108,12 @@ class PostVirtualMachineStart200ResponseTaskNormalizer implements DenormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostVirtualMachineStart200ResponseTask'; + return $type === \KatapultAPI\Core\Model\PostVirtualMachineStart200ResponseTask::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostVirtualMachineStart200ResponseTask'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostVirtualMachineStart200ResponseTask::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostVirtualMachineStart200ResponseTask' => false]; + return [\KatapultAPI\Core\Model\PostVirtualMachineStart200ResponseTask::class => false]; } } } diff --git a/src/Core/Normalizer/PostVirtualMachineStop200ResponseTaskNormalizer.php b/src/Core/Normalizer/PostVirtualMachineStop200ResponseTaskNormalizer.php index 2e00c667..ef354181 100644 --- a/src/Core/Normalizer/PostVirtualMachineStop200ResponseTaskNormalizer.php +++ b/src/Core/Normalizer/PostVirtualMachineStop200ResponseTaskNormalizer.php @@ -31,12 +31,12 @@ class PostVirtualMachineStop200ResponseTaskNormalizer implements DenormalizerInt public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostVirtualMachineStop200ResponseTask'; + return $type === \KatapultAPI\Core\Model\PostVirtualMachineStop200ResponseTask::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostVirtualMachineStop200ResponseTask'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostVirtualMachineStop200ResponseTask::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostVirtualMachineStop200ResponseTask' => false]; + return [\KatapultAPI\Core\Model\PostVirtualMachineStop200ResponseTask::class => false]; } } } else { @@ -108,12 +108,12 @@ class PostVirtualMachineStop200ResponseTaskNormalizer implements DenormalizerInt public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PostVirtualMachineStop200ResponseTask'; + return $type === \KatapultAPI\Core\Model\PostVirtualMachineStop200ResponseTask::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PostVirtualMachineStop200ResponseTask'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PostVirtualMachineStop200ResponseTask::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PostVirtualMachineStop200ResponseTask' => false]; + return [\KatapultAPI\Core\Model\PostVirtualMachineStop200ResponseTask::class => false]; } } } diff --git a/src/Core/Normalizer/PriceResourceWithSinglePriceVariantNormalizer.php b/src/Core/Normalizer/PriceResourceWithSinglePriceVariantNormalizer.php index 1bc20250..7699c96a 100644 --- a/src/Core/Normalizer/PriceResourceWithSinglePriceVariantNormalizer.php +++ b/src/Core/Normalizer/PriceResourceWithSinglePriceVariantNormalizer.php @@ -31,12 +31,12 @@ class PriceResourceWithSinglePriceVariantNormalizer implements DenormalizerInter public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PriceResourceWithSinglePriceVariant'; + return $type === \KatapultAPI\Core\Model\PriceResourceWithSinglePriceVariant::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PriceResourceWithSinglePriceVariant'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PriceResourceWithSinglePriceVariant::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -73,7 +73,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('variants', $data)) { $values = []; foreach ($data['variants'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\SinglePriceVariant', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\SinglePriceVariant::class, 'json', $context); } $object->setVariants($values); unset($data['variants']); @@ -120,7 +120,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PriceResourceWithSinglePriceVariant' => false]; + return [\KatapultAPI\Core\Model\PriceResourceWithSinglePriceVariant::class => false]; } } } else { @@ -133,12 +133,12 @@ class PriceResourceWithSinglePriceVariantNormalizer implements DenormalizerInter public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PriceResourceWithSinglePriceVariant'; + return $type === \KatapultAPI\Core\Model\PriceResourceWithSinglePriceVariant::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PriceResourceWithSinglePriceVariant'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PriceResourceWithSinglePriceVariant::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('variants', $data)) { $values = []; foreach ($data['variants'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\SinglePriceVariant', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\SinglePriceVariant::class, 'json', $context); } $object->setVariants($values); unset($data['variants']); @@ -225,7 +225,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PriceResourceWithSinglePriceVariant' => false]; + return [\KatapultAPI\Core\Model\PriceResourceWithSinglePriceVariant::class => false]; } } } diff --git a/src/Core/Normalizer/PricesNotAvailableForManagedOrganizationsSchemaNormalizer.php b/src/Core/Normalizer/PricesNotAvailableForManagedOrganizationsSchemaNormalizer.php index 3a2ff757..64f6283a 100644 --- a/src/Core/Normalizer/PricesNotAvailableForManagedOrganizationsSchemaNormalizer.php +++ b/src/Core/Normalizer/PricesNotAvailableForManagedOrganizationsSchemaNormalizer.php @@ -31,12 +31,12 @@ class PricesNotAvailableForManagedOrganizationsSchemaNormalizer implements Denor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PricesNotAvailableForManagedOrganizationsSchema'; + return $type === \KatapultAPI\Core\Model\PricesNotAvailableForManagedOrganizationsSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PricesNotAvailableForManagedOrganizationsSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PricesNotAvailableForManagedOrganizationsSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PricesNotAvailableForManagedOrganizationsSchema' => false]; + return [\KatapultAPI\Core\Model\PricesNotAvailableForManagedOrganizationsSchema::class => false]; } } } else { @@ -116,12 +116,12 @@ class PricesNotAvailableForManagedOrganizationsSchemaNormalizer implements Denor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PricesNotAvailableForManagedOrganizationsSchema'; + return $type === \KatapultAPI\Core\Model\PricesNotAvailableForManagedOrganizationsSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PricesNotAvailableForManagedOrganizationsSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PricesNotAvailableForManagedOrganizationsSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PricesNotAvailableForManagedOrganizationsSchema' => false]; + return [\KatapultAPI\Core\Model\PricesNotAvailableForManagedOrganizationsSchema::class => false]; } } } diff --git a/src/Core/Normalizer/PutDiskIOProfile200ResponseDiskInstallationNormalizer.php b/src/Core/Normalizer/PutDiskIOProfile200ResponseDiskInstallationNormalizer.php index 097d142e..76d37605 100644 --- a/src/Core/Normalizer/PutDiskIOProfile200ResponseDiskInstallationNormalizer.php +++ b/src/Core/Normalizer/PutDiskIOProfile200ResponseDiskInstallationNormalizer.php @@ -31,12 +31,12 @@ class PutDiskIOProfile200ResponseDiskInstallationNormalizer implements Denormali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskInstallation'; + return $type === \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskInstallation::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskInstallation'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskInstallation::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -56,13 +56,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['id']); } if (\array_key_exists('disk_template_version', $data)) { - $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], 'KatapultAPI\\Core\\Model\\DiskTemplateVersion', 'json', $context)); + $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], \KatapultAPI\Core\Model\DiskTemplateVersion::class, 'json', $context)); unset($data['disk_template_version']); } if (\array_key_exists('attributes', $data)) { $values = []; foreach ($data['attributes'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\DiskInstallationAttribute', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\DiskInstallationAttribute::class, 'json', $context); } $object->setAttributes($values); unset($data['attributes']); @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskInstallation' => false]; + return [\KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskInstallation::class => false]; } } } else { @@ -116,12 +116,12 @@ class PutDiskIOProfile200ResponseDiskInstallationNormalizer implements Denormali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskInstallation'; + return $type === \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskInstallation::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskInstallation'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskInstallation::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -141,13 +141,13 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('disk_template_version', $data)) { - $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], 'KatapultAPI\\Core\\Model\\DiskTemplateVersion', 'json', $context)); + $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], \KatapultAPI\Core\Model\DiskTemplateVersion::class, 'json', $context)); unset($data['disk_template_version']); } if (\array_key_exists('attributes', $data)) { $values = []; foreach ($data['attributes'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\DiskInstallationAttribute', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\DiskInstallationAttribute::class, 'json', $context); } $object->setAttributes($values); unset($data['attributes']); @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskInstallation' => false]; + return [\KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskInstallation::class => false]; } } } diff --git a/src/Core/Normalizer/PutDiskIOProfile200ResponseDiskIoProfileNormalizer.php b/src/Core/Normalizer/PutDiskIOProfile200ResponseDiskIoProfileNormalizer.php index 157ebacc..61eb900b 100644 --- a/src/Core/Normalizer/PutDiskIOProfile200ResponseDiskIoProfileNormalizer.php +++ b/src/Core/Normalizer/PutDiskIOProfile200ResponseDiskIoProfileNormalizer.php @@ -31,12 +31,12 @@ class PutDiskIOProfile200ResponseDiskIoProfileNormalizer implements Denormalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskIoProfile'; + return $type === \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskIoProfile::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskIoProfile'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskIoProfile::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -113,7 +113,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskIoProfile' => false]; + return [\KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskIoProfile::class => false]; } } } else { @@ -126,12 +126,12 @@ class PutDiskIOProfile200ResponseDiskIoProfileNormalizer implements Denormalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskIoProfile'; + return $type === \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskIoProfile::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskIoProfile'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskIoProfile::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -211,7 +211,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskIoProfile' => false]; + return [\KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskIoProfile::class => false]; } } } diff --git a/src/Core/Normalizer/PutDiskIOProfile200ResponseDiskNormalizer.php b/src/Core/Normalizer/PutDiskIOProfile200ResponseDiskNormalizer.php index 33ee8442..fdc9c96b 100644 --- a/src/Core/Normalizer/PutDiskIOProfile200ResponseDiskNormalizer.php +++ b/src/Core/Normalizer/PutDiskIOProfile200ResponseDiskNormalizer.php @@ -31,12 +31,12 @@ class PutDiskIOProfile200ResponseDiskNormalizer implements DenormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDisk'; + return $type === \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDisk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -80,7 +80,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -92,17 +92,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PutDiskIOProfilePartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PutDiskIOProfilePartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -166,7 +166,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDisk' => false]; + return [\KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDisk::class => false]; } } } else { @@ -179,12 +179,12 @@ class PutDiskIOProfile200ResponseDiskNormalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDisk'; + return $type === \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDisk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -228,7 +228,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -240,17 +240,17 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PutDiskIOProfilePartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PutDiskIOProfilePartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -317,7 +317,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDisk' => false]; + return [\KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDisk::class => false]; } } } diff --git a/src/Core/Normalizer/PutDiskIOProfile200ResponseDiskVirtualMachineDiskNormalizer.php b/src/Core/Normalizer/PutDiskIOProfile200ResponseDiskVirtualMachineDiskNormalizer.php index 8d909381..f9461fe6 100644 --- a/src/Core/Normalizer/PutDiskIOProfile200ResponseDiskVirtualMachineDiskNormalizer.php +++ b/src/Core/Normalizer/PutDiskIOProfile200ResponseDiskVirtualMachineDiskNormalizer.php @@ -31,12 +31,12 @@ class PutDiskIOProfile200ResponseDiskVirtualMachineDiskNormalizer implements Den public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskVirtualMachineDisk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PutDiskIOProfilePartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PutDiskIOProfilePartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskVirtualMachineDisk::class => false]; } } } else { @@ -115,12 +115,12 @@ class PutDiskIOProfile200ResponseDiskVirtualMachineDiskNormalizer implements Den public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskVirtualMachineDisk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -136,7 +136,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PutDiskIOProfilePartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PutDiskIOProfilePartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PutDiskIOProfile200ResponseDiskVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\PutDiskIOProfile200ResponseDiskVirtualMachineDisk::class => false]; } } } diff --git a/src/Core/Normalizer/PutDiskIOProfilePartDataCenterNormalizer.php b/src/Core/Normalizer/PutDiskIOProfilePartDataCenterNormalizer.php index eb7e6d47..6e9c7703 100644 --- a/src/Core/Normalizer/PutDiskIOProfilePartDataCenterNormalizer.php +++ b/src/Core/Normalizer/PutDiskIOProfilePartDataCenterNormalizer.php @@ -31,12 +31,12 @@ class PutDiskIOProfilePartDataCenterNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PutDiskIOProfilePartDataCenter'; + return $type === \KatapultAPI\Core\Model\PutDiskIOProfilePartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PutDiskIOProfilePartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PutDiskIOProfilePartDataCenter::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PutDiskIOProfilePartDataCenter' => false]; + return [\KatapultAPI\Core\Model\PutDiskIOProfilePartDataCenter::class => false]; } } } else { @@ -108,12 +108,12 @@ class PutDiskIOProfilePartDataCenterNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PutDiskIOProfilePartDataCenter'; + return $type === \KatapultAPI\Core\Model\PutDiskIOProfilePartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PutDiskIOProfilePartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PutDiskIOProfilePartDataCenter::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PutDiskIOProfilePartDataCenter' => false]; + return [\KatapultAPI\Core\Model\PutDiskIOProfilePartDataCenter::class => false]; } } } diff --git a/src/Core/Normalizer/PutDiskIOProfilePartVirtualMachineDiskNormalizer.php b/src/Core/Normalizer/PutDiskIOProfilePartVirtualMachineDiskNormalizer.php index 6d57c9fc..6fcf5c92 100644 --- a/src/Core/Normalizer/PutDiskIOProfilePartVirtualMachineDiskNormalizer.php +++ b/src/Core/Normalizer/PutDiskIOProfilePartVirtualMachineDiskNormalizer.php @@ -31,12 +31,12 @@ class PutDiskIOProfilePartVirtualMachineDiskNormalizer implements DenormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PutDiskIOProfilePartVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\PutDiskIOProfilePartVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PutDiskIOProfilePartVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PutDiskIOProfilePartVirtualMachineDisk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PutDiskIOProfilePartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PutDiskIOProfilePartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PutDiskIOProfilePartVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\PutDiskIOProfilePartVirtualMachineDisk::class => false]; } } } else { @@ -115,12 +115,12 @@ class PutDiskIOProfilePartVirtualMachineDiskNormalizer implements DenormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PutDiskIOProfilePartVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\PutDiskIOProfilePartVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PutDiskIOProfilePartVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PutDiskIOProfilePartVirtualMachineDisk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -136,7 +136,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PutDiskIOProfilePartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PutDiskIOProfilePartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PutDiskIOProfilePartVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\PutDiskIOProfilePartVirtualMachineDisk::class => false]; } } } diff --git a/src/Core/Normalizer/PutDiskIOProfilePartVirtualMachineNormalizer.php b/src/Core/Normalizer/PutDiskIOProfilePartVirtualMachineNormalizer.php index e11f00f6..ceffee59 100644 --- a/src/Core/Normalizer/PutDiskIOProfilePartVirtualMachineNormalizer.php +++ b/src/Core/Normalizer/PutDiskIOProfilePartVirtualMachineNormalizer.php @@ -31,12 +31,12 @@ class PutDiskIOProfilePartVirtualMachineNormalizer implements DenormalizerInterf public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PutDiskIOProfilePartVirtualMachine'; + return $type === \KatapultAPI\Core\Model\PutDiskIOProfilePartVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PutDiskIOProfilePartVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PutDiskIOProfilePartVirtualMachine::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PutDiskIOProfilePartVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\PutDiskIOProfilePartVirtualMachine::class => false]; } } } else { @@ -101,12 +101,12 @@ class PutDiskIOProfilePartVirtualMachineNormalizer implements DenormalizerInterf public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PutDiskIOProfilePartVirtualMachine'; + return $type === \KatapultAPI\Core\Model\PutDiskIOProfilePartVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PutDiskIOProfilePartVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PutDiskIOProfilePartVirtualMachine::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PutDiskIOProfilePartVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\PutDiskIOProfilePartVirtualMachine::class => false]; } } } diff --git a/src/Core/Normalizer/PutDiskResize200ResponseDiskInstallationNormalizer.php b/src/Core/Normalizer/PutDiskResize200ResponseDiskInstallationNormalizer.php index 2221a02b..4d628489 100644 --- a/src/Core/Normalizer/PutDiskResize200ResponseDiskInstallationNormalizer.php +++ b/src/Core/Normalizer/PutDiskResize200ResponseDiskInstallationNormalizer.php @@ -31,12 +31,12 @@ class PutDiskResize200ResponseDiskInstallationNormalizer implements Denormalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskInstallation'; + return $type === \KatapultAPI\Core\Model\PutDiskResize200ResponseDiskInstallation::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskInstallation'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PutDiskResize200ResponseDiskInstallation::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -56,13 +56,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['id']); } if (\array_key_exists('disk_template_version', $data)) { - $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], 'KatapultAPI\\Core\\Model\\DiskTemplateVersion', 'json', $context)); + $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], \KatapultAPI\Core\Model\DiskTemplateVersion::class, 'json', $context)); unset($data['disk_template_version']); } if (\array_key_exists('attributes', $data)) { $values = []; foreach ($data['attributes'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\DiskInstallationAttribute', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\DiskInstallationAttribute::class, 'json', $context); } $object->setAttributes($values); unset($data['attributes']); @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskInstallation' => false]; + return [\KatapultAPI\Core\Model\PutDiskResize200ResponseDiskInstallation::class => false]; } } } else { @@ -116,12 +116,12 @@ class PutDiskResize200ResponseDiskInstallationNormalizer implements Denormalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskInstallation'; + return $type === \KatapultAPI\Core\Model\PutDiskResize200ResponseDiskInstallation::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskInstallation'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PutDiskResize200ResponseDiskInstallation::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -141,13 +141,13 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('disk_template_version', $data)) { - $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], 'KatapultAPI\\Core\\Model\\DiskTemplateVersion', 'json', $context)); + $object->setDiskTemplateVersion($this->denormalizer->denormalize($data['disk_template_version'], \KatapultAPI\Core\Model\DiskTemplateVersion::class, 'json', $context)); unset($data['disk_template_version']); } if (\array_key_exists('attributes', $data)) { $values = []; foreach ($data['attributes'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\DiskInstallationAttribute', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\DiskInstallationAttribute::class, 'json', $context); } $object->setAttributes($values); unset($data['attributes']); @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskInstallation' => false]; + return [\KatapultAPI\Core\Model\PutDiskResize200ResponseDiskInstallation::class => false]; } } } diff --git a/src/Core/Normalizer/PutDiskResize200ResponseDiskIoProfileNormalizer.php b/src/Core/Normalizer/PutDiskResize200ResponseDiskIoProfileNormalizer.php index 838b5c9d..6a2df365 100644 --- a/src/Core/Normalizer/PutDiskResize200ResponseDiskIoProfileNormalizer.php +++ b/src/Core/Normalizer/PutDiskResize200ResponseDiskIoProfileNormalizer.php @@ -31,12 +31,12 @@ class PutDiskResize200ResponseDiskIoProfileNormalizer implements DenormalizerInt public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskIoProfile'; + return $type === \KatapultAPI\Core\Model\PutDiskResize200ResponseDiskIoProfile::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskIoProfile'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PutDiskResize200ResponseDiskIoProfile::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -113,7 +113,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskIoProfile' => false]; + return [\KatapultAPI\Core\Model\PutDiskResize200ResponseDiskIoProfile::class => false]; } } } else { @@ -126,12 +126,12 @@ class PutDiskResize200ResponseDiskIoProfileNormalizer implements DenormalizerInt public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskIoProfile'; + return $type === \KatapultAPI\Core\Model\PutDiskResize200ResponseDiskIoProfile::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskIoProfile'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PutDiskResize200ResponseDiskIoProfile::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -211,7 +211,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskIoProfile' => false]; + return [\KatapultAPI\Core\Model\PutDiskResize200ResponseDiskIoProfile::class => false]; } } } diff --git a/src/Core/Normalizer/PutDiskResize200ResponseDiskNormalizer.php b/src/Core/Normalizer/PutDiskResize200ResponseDiskNormalizer.php index e8b7d30e..2248bba0 100644 --- a/src/Core/Normalizer/PutDiskResize200ResponseDiskNormalizer.php +++ b/src/Core/Normalizer/PutDiskResize200ResponseDiskNormalizer.php @@ -31,12 +31,12 @@ class PutDiskResize200ResponseDiskNormalizer implements DenormalizerInterface, N public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDisk'; + return $type === \KatapultAPI\Core\Model\PutDiskResize200ResponseDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PutDiskResize200ResponseDisk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -80,7 +80,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\PutDiskResize200ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -92,17 +92,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PutDiskResizePartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PutDiskResizePartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\PutDiskResize200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\PutDiskResize200ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -166,7 +166,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDisk' => false]; + return [\KatapultAPI\Core\Model\PutDiskResize200ResponseDisk::class => false]; } } } else { @@ -179,12 +179,12 @@ class PutDiskResize200ResponseDiskNormalizer implements DenormalizerInterface, N public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDisk'; + return $type === \KatapultAPI\Core\Model\PutDiskResize200ResponseDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PutDiskResize200ResponseDisk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -228,7 +228,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['storage_speed']); } if (\array_key_exists('io_profile', $data) && $data['io_profile'] !== null) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskIoProfile', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\PutDiskResize200ResponseDiskIoProfile::class, 'json', $context)); unset($data['io_profile']); } elseif (\array_key_exists('io_profile', $data) && $data['io_profile'] === null) { $object->setIoProfile(null); @@ -240,17 +240,17 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setBusType(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\PutDiskResizePartDataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\PutDiskResizePartDataCenter::class, 'json', $context)); unset($data['data_center']); } if (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] !== null) { - $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskVirtualMachineDisk', 'json', $context)); + $object->setVirtualMachineDisk($this->denormalizer->denormalize($data['virtual_machine_disk'], \KatapultAPI\Core\Model\PutDiskResize200ResponseDiskVirtualMachineDisk::class, 'json', $context)); unset($data['virtual_machine_disk']); } elseif (\array_key_exists('virtual_machine_disk', $data) && $data['virtual_machine_disk'] === null) { $object->setVirtualMachineDisk(null); } if (\array_key_exists('installation', $data) && $data['installation'] !== null) { - $object->setInstallation($this->denormalizer->denormalize($data['installation'], 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskInstallation', 'json', $context)); + $object->setInstallation($this->denormalizer->denormalize($data['installation'], \KatapultAPI\Core\Model\PutDiskResize200ResponseDiskInstallation::class, 'json', $context)); unset($data['installation']); } elseif (\array_key_exists('installation', $data) && $data['installation'] === null) { $object->setInstallation(null); @@ -317,7 +317,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDisk' => false]; + return [\KatapultAPI\Core\Model\PutDiskResize200ResponseDisk::class => false]; } } } diff --git a/src/Core/Normalizer/PutDiskResize200ResponseDiskVirtualMachineDiskNormalizer.php b/src/Core/Normalizer/PutDiskResize200ResponseDiskVirtualMachineDiskNormalizer.php index 1aab20fc..671b408f 100644 --- a/src/Core/Normalizer/PutDiskResize200ResponseDiskVirtualMachineDiskNormalizer.php +++ b/src/Core/Normalizer/PutDiskResize200ResponseDiskVirtualMachineDiskNormalizer.php @@ -31,12 +31,12 @@ class PutDiskResize200ResponseDiskVirtualMachineDiskNormalizer implements Denorm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\PutDiskResize200ResponseDiskVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PutDiskResize200ResponseDiskVirtualMachineDisk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PutDiskResizePartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PutDiskResizePartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\PutDiskResize200ResponseDiskVirtualMachineDisk::class => false]; } } } else { @@ -115,12 +115,12 @@ class PutDiskResize200ResponseDiskVirtualMachineDiskNormalizer implements Denorm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\PutDiskResize200ResponseDiskVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PutDiskResize200ResponseDiskVirtualMachineDisk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -136,7 +136,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PutDiskResizePartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PutDiskResizePartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PutDiskResize200ResponseDiskVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\PutDiskResize200ResponseDiskVirtualMachineDisk::class => false]; } } } diff --git a/src/Core/Normalizer/PutDiskResizePartDataCenterNormalizer.php b/src/Core/Normalizer/PutDiskResizePartDataCenterNormalizer.php index 282c3243..f2944c28 100644 --- a/src/Core/Normalizer/PutDiskResizePartDataCenterNormalizer.php +++ b/src/Core/Normalizer/PutDiskResizePartDataCenterNormalizer.php @@ -31,12 +31,12 @@ class PutDiskResizePartDataCenterNormalizer implements DenormalizerInterface, No public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PutDiskResizePartDataCenter'; + return $type === \KatapultAPI\Core\Model\PutDiskResizePartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PutDiskResizePartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PutDiskResizePartDataCenter::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PutDiskResizePartDataCenter' => false]; + return [\KatapultAPI\Core\Model\PutDiskResizePartDataCenter::class => false]; } } } else { @@ -108,12 +108,12 @@ class PutDiskResizePartDataCenterNormalizer implements DenormalizerInterface, No public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PutDiskResizePartDataCenter'; + return $type === \KatapultAPI\Core\Model\PutDiskResizePartDataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PutDiskResizePartDataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PutDiskResizePartDataCenter::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PutDiskResizePartDataCenter' => false]; + return [\KatapultAPI\Core\Model\PutDiskResizePartDataCenter::class => false]; } } } diff --git a/src/Core/Normalizer/PutDiskResizePartVirtualMachineDiskNormalizer.php b/src/Core/Normalizer/PutDiskResizePartVirtualMachineDiskNormalizer.php index ad5b728a..7ac1fc30 100644 --- a/src/Core/Normalizer/PutDiskResizePartVirtualMachineDiskNormalizer.php +++ b/src/Core/Normalizer/PutDiskResizePartVirtualMachineDiskNormalizer.php @@ -31,12 +31,12 @@ class PutDiskResizePartVirtualMachineDiskNormalizer implements DenormalizerInter public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PutDiskResizePartVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\PutDiskResizePartVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PutDiskResizePartVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PutDiskResizePartVirtualMachineDisk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PutDiskResizePartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PutDiskResizePartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PutDiskResizePartVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\PutDiskResizePartVirtualMachineDisk::class => false]; } } } else { @@ -115,12 +115,12 @@ class PutDiskResizePartVirtualMachineDiskNormalizer implements DenormalizerInter public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PutDiskResizePartVirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\PutDiskResizePartVirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PutDiskResizePartVirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PutDiskResizePartVirtualMachineDisk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -136,7 +136,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PutDiskResizePartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PutDiskResizePartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PutDiskResizePartVirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\PutDiskResizePartVirtualMachineDisk::class => false]; } } } diff --git a/src/Core/Normalizer/PutDiskResizePartVirtualMachineNormalizer.php b/src/Core/Normalizer/PutDiskResizePartVirtualMachineNormalizer.php index 7f23c3b3..b144f389 100644 --- a/src/Core/Normalizer/PutDiskResizePartVirtualMachineNormalizer.php +++ b/src/Core/Normalizer/PutDiskResizePartVirtualMachineNormalizer.php @@ -31,12 +31,12 @@ class PutDiskResizePartVirtualMachineNormalizer implements DenormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PutDiskResizePartVirtualMachine'; + return $type === \KatapultAPI\Core\Model\PutDiskResizePartVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PutDiskResizePartVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PutDiskResizePartVirtualMachine::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PutDiskResizePartVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\PutDiskResizePartVirtualMachine::class => false]; } } } else { @@ -101,12 +101,12 @@ class PutDiskResizePartVirtualMachineNormalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\PutDiskResizePartVirtualMachine'; + return $type === \KatapultAPI\Core\Model\PutDiskResizePartVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\PutDiskResizePartVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\PutDiskResizePartVirtualMachine::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\PutDiskResizePartVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\PutDiskResizePartVirtualMachine::class => false]; } } } diff --git a/src/Core/Normalizer/RateLimitReachedNormalizer.php b/src/Core/Normalizer/RateLimitReachedNormalizer.php index eef5faaa..c8dfca19 100644 --- a/src/Core/Normalizer/RateLimitReachedNormalizer.php +++ b/src/Core/Normalizer/RateLimitReachedNormalizer.php @@ -31,12 +31,12 @@ class RateLimitReachedNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\RateLimitReached'; + return $type === \KatapultAPI\Core\Model\RateLimitReached::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\RateLimitReached'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\RateLimitReached::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\RateLimitReached' => false]; + return [\KatapultAPI\Core\Model\RateLimitReached::class => false]; } } } else { @@ -94,12 +94,12 @@ class RateLimitReachedNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\RateLimitReached'; + return $type === \KatapultAPI\Core\Model\RateLimitReached::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\RateLimitReached'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\RateLimitReached::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\RateLimitReached' => false]; + return [\KatapultAPI\Core\Model\RateLimitReached::class => false]; } } } diff --git a/src/Core/Normalizer/RecordContentAttributesForAAAANormalizer.php b/src/Core/Normalizer/RecordContentAttributesForAAAANormalizer.php index 2a042e8e..f62f3f41 100644 --- a/src/Core/Normalizer/RecordContentAttributesForAAAANormalizer.php +++ b/src/Core/Normalizer/RecordContentAttributesForAAAANormalizer.php @@ -31,12 +31,12 @@ class RecordContentAttributesForAAAANormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForAAAA'; + return $type === \KatapultAPI\Core\Model\RecordContentAttributesForAAAA::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForAAAA'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\RecordContentAttributesForAAAA::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -83,7 +83,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\RecordContentAttributesForAAAA' => false]; + return [\KatapultAPI\Core\Model\RecordContentAttributesForAAAA::class => false]; } } } else { @@ -96,12 +96,12 @@ class RecordContentAttributesForAAAANormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForAAAA'; + return $type === \KatapultAPI\Core\Model\RecordContentAttributesForAAAA::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForAAAA'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\RecordContentAttributesForAAAA::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -151,7 +151,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\RecordContentAttributesForAAAA' => false]; + return [\KatapultAPI\Core\Model\RecordContentAttributesForAAAA::class => false]; } } } diff --git a/src/Core/Normalizer/RecordContentAttributesForALIASNormalizer.php b/src/Core/Normalizer/RecordContentAttributesForALIASNormalizer.php index b0fa32ac..d6167b8a 100644 --- a/src/Core/Normalizer/RecordContentAttributesForALIASNormalizer.php +++ b/src/Core/Normalizer/RecordContentAttributesForALIASNormalizer.php @@ -31,12 +31,12 @@ class RecordContentAttributesForALIASNormalizer implements DenormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForALIAS'; + return $type === \KatapultAPI\Core\Model\RecordContentAttributesForALIAS::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForALIAS'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\RecordContentAttributesForALIAS::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -83,7 +83,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\RecordContentAttributesForALIAS' => false]; + return [\KatapultAPI\Core\Model\RecordContentAttributesForALIAS::class => false]; } } } else { @@ -96,12 +96,12 @@ class RecordContentAttributesForALIASNormalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForALIAS'; + return $type === \KatapultAPI\Core\Model\RecordContentAttributesForALIAS::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForALIAS'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\RecordContentAttributesForALIAS::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -151,7 +151,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\RecordContentAttributesForALIAS' => false]; + return [\KatapultAPI\Core\Model\RecordContentAttributesForALIAS::class => false]; } } } diff --git a/src/Core/Normalizer/RecordContentAttributesForANormalizer.php b/src/Core/Normalizer/RecordContentAttributesForANormalizer.php index ddaef0cb..4a198a1e 100644 --- a/src/Core/Normalizer/RecordContentAttributesForANormalizer.php +++ b/src/Core/Normalizer/RecordContentAttributesForANormalizer.php @@ -31,12 +31,12 @@ class RecordContentAttributesForANormalizer implements DenormalizerInterface, No public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForA'; + return $type === \KatapultAPI\Core\Model\RecordContentAttributesForA::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForA'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\RecordContentAttributesForA::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -83,7 +83,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\RecordContentAttributesForA' => false]; + return [\KatapultAPI\Core\Model\RecordContentAttributesForA::class => false]; } } } else { @@ -96,12 +96,12 @@ class RecordContentAttributesForANormalizer implements DenormalizerInterface, No public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForA'; + return $type === \KatapultAPI\Core\Model\RecordContentAttributesForA::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForA'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\RecordContentAttributesForA::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -151,7 +151,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\RecordContentAttributesForA' => false]; + return [\KatapultAPI\Core\Model\RecordContentAttributesForA::class => false]; } } } diff --git a/src/Core/Normalizer/RecordContentAttributesForCAANormalizer.php b/src/Core/Normalizer/RecordContentAttributesForCAANormalizer.php index d912e41f..a9342e1e 100644 --- a/src/Core/Normalizer/RecordContentAttributesForCAANormalizer.php +++ b/src/Core/Normalizer/RecordContentAttributesForCAANormalizer.php @@ -31,12 +31,12 @@ class RecordContentAttributesForCAANormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForCAA'; + return $type === \KatapultAPI\Core\Model\RecordContentAttributesForCAA::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForCAA'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\RecordContentAttributesForCAA::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -101,7 +101,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\RecordContentAttributesForCAA' => false]; + return [\KatapultAPI\Core\Model\RecordContentAttributesForCAA::class => false]; } } } else { @@ -114,12 +114,12 @@ class RecordContentAttributesForCAANormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForCAA'; + return $type === \KatapultAPI\Core\Model\RecordContentAttributesForCAA::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForCAA'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\RecordContentAttributesForCAA::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -187,7 +187,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\RecordContentAttributesForCAA' => false]; + return [\KatapultAPI\Core\Model\RecordContentAttributesForCAA::class => false]; } } } diff --git a/src/Core/Normalizer/RecordContentAttributesForCNAMENormalizer.php b/src/Core/Normalizer/RecordContentAttributesForCNAMENormalizer.php index 97f16fd4..be2210de 100644 --- a/src/Core/Normalizer/RecordContentAttributesForCNAMENormalizer.php +++ b/src/Core/Normalizer/RecordContentAttributesForCNAMENormalizer.php @@ -31,12 +31,12 @@ class RecordContentAttributesForCNAMENormalizer implements DenormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForCNAME'; + return $type === \KatapultAPI\Core\Model\RecordContentAttributesForCNAME::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForCNAME'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\RecordContentAttributesForCNAME::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -83,7 +83,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\RecordContentAttributesForCNAME' => false]; + return [\KatapultAPI\Core\Model\RecordContentAttributesForCNAME::class => false]; } } } else { @@ -96,12 +96,12 @@ class RecordContentAttributesForCNAMENormalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForCNAME'; + return $type === \KatapultAPI\Core\Model\RecordContentAttributesForCNAME::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForCNAME'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\RecordContentAttributesForCNAME::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -151,7 +151,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\RecordContentAttributesForCNAME' => false]; + return [\KatapultAPI\Core\Model\RecordContentAttributesForCNAME::class => false]; } } } diff --git a/src/Core/Normalizer/RecordContentAttributesForIPSNormalizer.php b/src/Core/Normalizer/RecordContentAttributesForIPSNormalizer.php index 1b7b90c9..ed80de77 100644 --- a/src/Core/Normalizer/RecordContentAttributesForIPSNormalizer.php +++ b/src/Core/Normalizer/RecordContentAttributesForIPSNormalizer.php @@ -31,12 +31,12 @@ class RecordContentAttributesForIPSNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForIPS'; + return $type === \KatapultAPI\Core\Model\RecordContentAttributesForIPS::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForIPS'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\RecordContentAttributesForIPS::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -83,7 +83,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\RecordContentAttributesForIPS' => false]; + return [\KatapultAPI\Core\Model\RecordContentAttributesForIPS::class => false]; } } } else { @@ -96,12 +96,12 @@ class RecordContentAttributesForIPSNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForIPS'; + return $type === \KatapultAPI\Core\Model\RecordContentAttributesForIPS::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForIPS'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\RecordContentAttributesForIPS::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -151,7 +151,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\RecordContentAttributesForIPS' => false]; + return [\KatapultAPI\Core\Model\RecordContentAttributesForIPS::class => false]; } } } diff --git a/src/Core/Normalizer/RecordContentAttributesForMXNormalizer.php b/src/Core/Normalizer/RecordContentAttributesForMXNormalizer.php index 13967a76..91d9bae2 100644 --- a/src/Core/Normalizer/RecordContentAttributesForMXNormalizer.php +++ b/src/Core/Normalizer/RecordContentAttributesForMXNormalizer.php @@ -31,12 +31,12 @@ class RecordContentAttributesForMXNormalizer implements DenormalizerInterface, N public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForMX'; + return $type === \KatapultAPI\Core\Model\RecordContentAttributesForMX::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForMX'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\RecordContentAttributesForMX::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -83,7 +83,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\RecordContentAttributesForMX' => false]; + return [\KatapultAPI\Core\Model\RecordContentAttributesForMX::class => false]; } } } else { @@ -96,12 +96,12 @@ class RecordContentAttributesForMXNormalizer implements DenormalizerInterface, N public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForMX'; + return $type === \KatapultAPI\Core\Model\RecordContentAttributesForMX::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForMX'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\RecordContentAttributesForMX::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -151,7 +151,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\RecordContentAttributesForMX' => false]; + return [\KatapultAPI\Core\Model\RecordContentAttributesForMX::class => false]; } } } diff --git a/src/Core/Normalizer/RecordContentAttributesForNSNormalizer.php b/src/Core/Normalizer/RecordContentAttributesForNSNormalizer.php index 8ca3c442..30a34974 100644 --- a/src/Core/Normalizer/RecordContentAttributesForNSNormalizer.php +++ b/src/Core/Normalizer/RecordContentAttributesForNSNormalizer.php @@ -31,12 +31,12 @@ class RecordContentAttributesForNSNormalizer implements DenormalizerInterface, N public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForNS'; + return $type === \KatapultAPI\Core\Model\RecordContentAttributesForNS::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForNS'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\RecordContentAttributesForNS::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -83,7 +83,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\RecordContentAttributesForNS' => false]; + return [\KatapultAPI\Core\Model\RecordContentAttributesForNS::class => false]; } } } else { @@ -96,12 +96,12 @@ class RecordContentAttributesForNSNormalizer implements DenormalizerInterface, N public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForNS'; + return $type === \KatapultAPI\Core\Model\RecordContentAttributesForNS::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForNS'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\RecordContentAttributesForNS::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -151,7 +151,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\RecordContentAttributesForNS' => false]; + return [\KatapultAPI\Core\Model\RecordContentAttributesForNS::class => false]; } } } diff --git a/src/Core/Normalizer/RecordContentAttributesForPTRNormalizer.php b/src/Core/Normalizer/RecordContentAttributesForPTRNormalizer.php index d9188552..4266f376 100644 --- a/src/Core/Normalizer/RecordContentAttributesForPTRNormalizer.php +++ b/src/Core/Normalizer/RecordContentAttributesForPTRNormalizer.php @@ -31,12 +31,12 @@ class RecordContentAttributesForPTRNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForPTR'; + return $type === \KatapultAPI\Core\Model\RecordContentAttributesForPTR::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForPTR'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\RecordContentAttributesForPTR::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -83,7 +83,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\RecordContentAttributesForPTR' => false]; + return [\KatapultAPI\Core\Model\RecordContentAttributesForPTR::class => false]; } } } else { @@ -96,12 +96,12 @@ class RecordContentAttributesForPTRNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForPTR'; + return $type === \KatapultAPI\Core\Model\RecordContentAttributesForPTR::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForPTR'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\RecordContentAttributesForPTR::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -151,7 +151,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\RecordContentAttributesForPTR' => false]; + return [\KatapultAPI\Core\Model\RecordContentAttributesForPTR::class => false]; } } } diff --git a/src/Core/Normalizer/RecordContentAttributesForSRVNormalizer.php b/src/Core/Normalizer/RecordContentAttributesForSRVNormalizer.php index a11f94a7..764c2f1c 100644 --- a/src/Core/Normalizer/RecordContentAttributesForSRVNormalizer.php +++ b/src/Core/Normalizer/RecordContentAttributesForSRVNormalizer.php @@ -31,12 +31,12 @@ class RecordContentAttributesForSRVNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForSRV'; + return $type === \KatapultAPI\Core\Model\RecordContentAttributesForSRV::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForSRV'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\RecordContentAttributesForSRV::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -101,7 +101,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\RecordContentAttributesForSRV' => false]; + return [\KatapultAPI\Core\Model\RecordContentAttributesForSRV::class => false]; } } } else { @@ -114,12 +114,12 @@ class RecordContentAttributesForSRVNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForSRV'; + return $type === \KatapultAPI\Core\Model\RecordContentAttributesForSRV::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForSRV'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\RecordContentAttributesForSRV::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -187,7 +187,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\RecordContentAttributesForSRV' => false]; + return [\KatapultAPI\Core\Model\RecordContentAttributesForSRV::class => false]; } } } diff --git a/src/Core/Normalizer/RecordContentAttributesForSSHFPNormalizer.php b/src/Core/Normalizer/RecordContentAttributesForSSHFPNormalizer.php index 745a1625..d64fff95 100644 --- a/src/Core/Normalizer/RecordContentAttributesForSSHFPNormalizer.php +++ b/src/Core/Normalizer/RecordContentAttributesForSSHFPNormalizer.php @@ -31,12 +31,12 @@ class RecordContentAttributesForSSHFPNormalizer implements DenormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForSSHFP'; + return $type === \KatapultAPI\Core\Model\RecordContentAttributesForSSHFP::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForSSHFP'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\RecordContentAttributesForSSHFP::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -101,7 +101,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\RecordContentAttributesForSSHFP' => false]; + return [\KatapultAPI\Core\Model\RecordContentAttributesForSSHFP::class => false]; } } } else { @@ -114,12 +114,12 @@ class RecordContentAttributesForSSHFPNormalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForSSHFP'; + return $type === \KatapultAPI\Core\Model\RecordContentAttributesForSSHFP::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForSSHFP'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\RecordContentAttributesForSSHFP::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -187,7 +187,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\RecordContentAttributesForSSHFP' => false]; + return [\KatapultAPI\Core\Model\RecordContentAttributesForSSHFP::class => false]; } } } diff --git a/src/Core/Normalizer/RecordContentAttributesForTXTNormalizer.php b/src/Core/Normalizer/RecordContentAttributesForTXTNormalizer.php index 4801821d..0e743ddc 100644 --- a/src/Core/Normalizer/RecordContentAttributesForTXTNormalizer.php +++ b/src/Core/Normalizer/RecordContentAttributesForTXTNormalizer.php @@ -31,12 +31,12 @@ class RecordContentAttributesForTXTNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForTXT'; + return $type === \KatapultAPI\Core\Model\RecordContentAttributesForTXT::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForTXT'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\RecordContentAttributesForTXT::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -83,7 +83,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\RecordContentAttributesForTXT' => false]; + return [\KatapultAPI\Core\Model\RecordContentAttributesForTXT::class => false]; } } } else { @@ -96,12 +96,12 @@ class RecordContentAttributesForTXTNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForTXT'; + return $type === \KatapultAPI\Core\Model\RecordContentAttributesForTXT::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForTXT'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\RecordContentAttributesForTXT::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -151,7 +151,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\RecordContentAttributesForTXT' => false]; + return [\KatapultAPI\Core\Model\RecordContentAttributesForTXT::class => false]; } } } diff --git a/src/Core/Normalizer/RecordContentAttributesForVirtualMachineNormalizer.php b/src/Core/Normalizer/RecordContentAttributesForVirtualMachineNormalizer.php index 0ab83965..84e42fd8 100644 --- a/src/Core/Normalizer/RecordContentAttributesForVirtualMachineNormalizer.php +++ b/src/Core/Normalizer/RecordContentAttributesForVirtualMachineNormalizer.php @@ -31,12 +31,12 @@ class RecordContentAttributesForVirtualMachineNormalizer implements Denormalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForVirtualMachine'; + return $type === \KatapultAPI\Core\Model\RecordContentAttributesForVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\RecordContentAttributesForVirtualMachine::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -83,7 +83,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\RecordContentAttributesForVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\RecordContentAttributesForVirtualMachine::class => false]; } } } else { @@ -96,12 +96,12 @@ class RecordContentAttributesForVirtualMachineNormalizer implements Denormalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForVirtualMachine'; + return $type === \KatapultAPI\Core\Model\RecordContentAttributesForVirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\RecordContentAttributesForVirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\RecordContentAttributesForVirtualMachine::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -151,7 +151,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\RecordContentAttributesForVirtualMachine' => false]; + return [\KatapultAPI\Core\Model\RecordContentAttributesForVirtualMachine::class => false]; } } } diff --git a/src/Core/Normalizer/ResourceCreationRestrictedNormalizer.php b/src/Core/Normalizer/ResourceCreationRestrictedNormalizer.php index 4a66963d..a00b7e6a 100644 --- a/src/Core/Normalizer/ResourceCreationRestrictedNormalizer.php +++ b/src/Core/Normalizer/ResourceCreationRestrictedNormalizer.php @@ -31,12 +31,12 @@ class ResourceCreationRestrictedNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResourceCreationRestricted'; + return $type === \KatapultAPI\Core\Model\ResourceCreationRestricted::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResourceCreationRestricted'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResourceCreationRestricted::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -89,7 +89,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResourceCreationRestricted' => false]; + return [\KatapultAPI\Core\Model\ResourceCreationRestricted::class => false]; } } } else { @@ -102,12 +102,12 @@ class ResourceCreationRestrictedNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResourceCreationRestricted'; + return $type === \KatapultAPI\Core\Model\ResourceCreationRestricted::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResourceCreationRestricted'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResourceCreationRestricted::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -163,7 +163,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResourceCreationRestricted' => false]; + return [\KatapultAPI\Core\Model\ResourceCreationRestricted::class => false]; } } } diff --git a/src/Core/Normalizer/ResourceCreationRestrictedSchemaNormalizer.php b/src/Core/Normalizer/ResourceCreationRestrictedSchemaNormalizer.php index 96805577..d91211d1 100644 --- a/src/Core/Normalizer/ResourceCreationRestrictedSchemaNormalizer.php +++ b/src/Core/Normalizer/ResourceCreationRestrictedSchemaNormalizer.php @@ -31,12 +31,12 @@ class ResourceCreationRestrictedSchemaNormalizer implements DenormalizerInterfac public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResourceCreationRestrictedSchema'; + return $type === \KatapultAPI\Core\Model\ResourceCreationRestrictedSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResourceCreationRestrictedSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResourceCreationRestrictedSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Core\\Model\\ResourceCreationRestricted', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Core\Model\ResourceCreationRestricted::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResourceCreationRestrictedSchema' => false]; + return [\KatapultAPI\Core\Model\ResourceCreationRestrictedSchema::class => false]; } } } else { @@ -108,12 +108,12 @@ class ResourceCreationRestrictedSchemaNormalizer implements DenormalizerInterfac public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResourceCreationRestrictedSchema'; + return $type === \KatapultAPI\Core\Model\ResourceCreationRestrictedSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResourceCreationRestrictedSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResourceCreationRestrictedSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -137,7 +137,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Core\\Model\\ResourceCreationRestricted', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Core\Model\ResourceCreationRestricted::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResourceCreationRestrictedSchema' => false]; + return [\KatapultAPI\Core\Model\ResourceCreationRestrictedSchema::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseAPIAuthenticator400ResponseNormalizer.php b/src/Core/Normalizer/ResponseAPIAuthenticator400ResponseNormalizer.php index 4136da23..e8ba0da2 100644 --- a/src/Core/Normalizer/ResponseAPIAuthenticator400ResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseAPIAuthenticator400ResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseAPIAuthenticator400ResponseNormalizer implements DenormalizerInter public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response'; + return $type === \KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response' => false]; + return [\KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseAPIAuthenticator400ResponseNormalizer implements DenormalizerInter public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response'; + return $type === \KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator400Response' => false]; + return [\KatapultAPI\Core\Model\ResponseAPIAuthenticator400Response::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseAPIAuthenticator429ResponseNormalizer.php b/src/Core/Normalizer/ResponseAPIAuthenticator429ResponseNormalizer.php index d7235c9d..dac28e7e 100644 --- a/src/Core/Normalizer/ResponseAPIAuthenticator429ResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseAPIAuthenticator429ResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseAPIAuthenticator429ResponseNormalizer implements DenormalizerInter public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response'; + return $type === \KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Core\\Model\\RateLimitReached', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Core\Model\RateLimitReached::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response' => false]; + return [\KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response::class => false]; } } } else { @@ -108,12 +108,12 @@ class ResponseAPIAuthenticator429ResponseNormalizer implements DenormalizerInter public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response'; + return $type === \KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -137,7 +137,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Core\\Model\\RateLimitReached', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Core\Model\RateLimitReached::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator429Response' => false]; + return [\KatapultAPI\Core\Model\ResponseAPIAuthenticator429Response::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseAPIAuthenticator503ResponseNormalizer.php b/src/Core/Normalizer/ResponseAPIAuthenticator503ResponseNormalizer.php index 0156e149..aecb8448 100644 --- a/src/Core/Normalizer/ResponseAPIAuthenticator503ResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseAPIAuthenticator503ResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseAPIAuthenticator503ResponseNormalizer implements DenormalizerInter public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response'; + return $type === \KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response' => false]; + return [\KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseAPIAuthenticator503ResponseNormalizer implements DenormalizerInter public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response'; + return $type === \KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseAPIAuthenticator503Response' => false]; + return [\KatapultAPI\Core\Model\ResponseAPIAuthenticator503Response::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseAPITokenNotFoundResponseNormalizer.php b/src/Core/Normalizer/ResponseAPITokenNotFoundResponseNormalizer.php index 4a12929e..1b067d1c 100644 --- a/src/Core/Normalizer/ResponseAPITokenNotFoundResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseAPITokenNotFoundResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseAPITokenNotFoundResponseNormalizer implements DenormalizerInterfac public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseAPITokenNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseAPITokenNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseAPITokenNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseAPITokenNotFoundResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseAPITokenNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseAPITokenNotFoundResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseAPITokenNotFoundResponseNormalizer implements DenormalizerInterfac public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseAPITokenNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseAPITokenNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseAPITokenNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseAPITokenNotFoundResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseAPITokenNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseAPITokenNotFoundResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseAddressListEntryNotFoundResponseNormalizer.php b/src/Core/Normalizer/ResponseAddressListEntryNotFoundResponseNormalizer.php index a086bd66..6bc3ad9d 100644 --- a/src/Core/Normalizer/ResponseAddressListEntryNotFoundResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseAddressListEntryNotFoundResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseAddressListEntryNotFoundResponseNormalizer implements Denormalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseAddressListEntryNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseAddressListEntryNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseAddressListEntryNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseAddressListEntryNotFoundResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseAddressListEntryNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseAddressListEntryNotFoundResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseAddressListEntryNotFoundResponseNormalizer implements Denormalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseAddressListEntryNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseAddressListEntryNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseAddressListEntryNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseAddressListEntryNotFoundResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseAddressListEntryNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseAddressListEntryNotFoundResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseAddressListNotFoundResponseNormalizer.php b/src/Core/Normalizer/ResponseAddressListNotFoundResponseNormalizer.php index ba5e359d..734b755f 100644 --- a/src/Core/Normalizer/ResponseAddressListNotFoundResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseAddressListNotFoundResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseAddressListNotFoundResponseNormalizer implements DenormalizerInter public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseAddressListNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseAddressListNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseAddressListNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseAddressListNotFoundResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseAddressListNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseAddressListNotFoundResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseAddressListNotFoundResponseNormalizer implements DenormalizerInter public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseAddressListNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseAddressListNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseAddressListNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseAddressListNotFoundResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseAddressListNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseAddressListNotFoundResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseCertificateNotFoundResponseNormalizer.php b/src/Core/Normalizer/ResponseCertificateNotFoundResponseNormalizer.php index 4520fff7..c414549d 100644 --- a/src/Core/Normalizer/ResponseCertificateNotFoundResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseCertificateNotFoundResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseCertificateNotFoundResponseNormalizer implements DenormalizerInter public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseCertificateNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseCertificateNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseCertificateNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseCertificateNotFoundResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseCertificateNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseCertificateNotFoundResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseCertificateNotFoundResponseNormalizer implements DenormalizerInter public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseCertificateNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseCertificateNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseCertificateNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseCertificateNotFoundResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseCertificateNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseCertificateNotFoundResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseCountryNotFoundResponseNormalizer.php b/src/Core/Normalizer/ResponseCountryNotFoundResponseNormalizer.php index 28cdd23f..f247fe47 100644 --- a/src/Core/Normalizer/ResponseCountryNotFoundResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseCountryNotFoundResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseCountryNotFoundResponseNormalizer implements DenormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseCountryNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseCountryNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseCountryNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseCountryNotFoundResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseCountryNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseCountryNotFoundResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseCountryNotFoundResponseNormalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseCountryNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseCountryNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseCountryNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseCountryNotFoundResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseCountryNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseCountryNotFoundResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseCountryStateNotFoundResponseNormalizer.php b/src/Core/Normalizer/ResponseCountryStateNotFoundResponseNormalizer.php index d54775bb..75cbff58 100644 --- a/src/Core/Normalizer/ResponseCountryStateNotFoundResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseCountryStateNotFoundResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseCountryStateNotFoundResponseNormalizer implements DenormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseCountryStateNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseCountryStateNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseCountryStateNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseCountryStateNotFoundResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseCountryStateNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseCountryStateNotFoundResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseCountryStateNotFoundResponseNormalizer implements DenormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseCountryStateNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseCountryStateNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseCountryStateNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseCountryStateNotFoundResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseCountryStateNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseCountryStateNotFoundResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseCurrencyNotFoundResponseNormalizer.php b/src/Core/Normalizer/ResponseCurrencyNotFoundResponseNormalizer.php index 022a93c2..268d3c89 100644 --- a/src/Core/Normalizer/ResponseCurrencyNotFoundResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseCurrencyNotFoundResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseCurrencyNotFoundResponseNormalizer implements DenormalizerInterfac public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseCurrencyNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseCurrencyNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseCurrencyNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseCurrencyNotFoundResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseCurrencyNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseCurrencyNotFoundResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseCurrencyNotFoundResponseNormalizer implements DenormalizerInterfac public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseCurrencyNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseCurrencyNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseCurrencyNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseCurrencyNotFoundResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseCurrencyNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseCurrencyNotFoundResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseDNSRecordNotFoundResponseNormalizer.php b/src/Core/Normalizer/ResponseDNSRecordNotFoundResponseNormalizer.php index 9e4cdc06..1bc00ba7 100644 --- a/src/Core/Normalizer/ResponseDNSRecordNotFoundResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseDNSRecordNotFoundResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseDNSRecordNotFoundResponseNormalizer implements DenormalizerInterfa public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseDNSRecordNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseDNSRecordNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseDNSRecordNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseDNSRecordNotFoundResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseDNSRecordNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseDNSRecordNotFoundResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseDNSRecordNotFoundResponseNormalizer implements DenormalizerInterfa public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseDNSRecordNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseDNSRecordNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseDNSRecordNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseDNSRecordNotFoundResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseDNSRecordNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseDNSRecordNotFoundResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseDNSZoneNotFoundResponseNormalizer.php b/src/Core/Normalizer/ResponseDNSZoneNotFoundResponseNormalizer.php index e8b4e166..a987c3de 100644 --- a/src/Core/Normalizer/ResponseDNSZoneNotFoundResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseDNSZoneNotFoundResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseDNSZoneNotFoundResponseNormalizer implements DenormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseDNSZoneNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseDNSZoneNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseDNSZoneNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseDNSZoneNotFoundResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseDNSZoneNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseDNSZoneNotFoundResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseDNSZoneNotFoundResponseNormalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseDNSZoneNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseDNSZoneNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseDNSZoneNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseDNSZoneNotFoundResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseDNSZoneNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseDNSZoneNotFoundResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseDNSZoneNotVerifiedResponseNormalizer.php b/src/Core/Normalizer/ResponseDNSZoneNotVerifiedResponseNormalizer.php index db4f059e..745f61f5 100644 --- a/src/Core/Normalizer/ResponseDNSZoneNotVerifiedResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseDNSZoneNotVerifiedResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseDNSZoneNotVerifiedResponseNormalizer implements DenormalizerInterf public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseDNSZoneNotVerifiedResponse'; + return $type === \KatapultAPI\Core\Model\ResponseDNSZoneNotVerifiedResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseDNSZoneNotVerifiedResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseDNSZoneNotVerifiedResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseDNSZoneNotVerifiedResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseDNSZoneNotVerifiedResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseDNSZoneNotVerifiedResponseNormalizer implements DenormalizerInterf public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseDNSZoneNotVerifiedResponse'; + return $type === \KatapultAPI\Core\Model\ResponseDNSZoneNotVerifiedResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseDNSZoneNotVerifiedResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseDNSZoneNotVerifiedResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseDNSZoneNotVerifiedResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseDNSZoneNotVerifiedResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseDataCenterNotFoundResponseNormalizer.php b/src/Core/Normalizer/ResponseDataCenterNotFoundResponseNormalizer.php index acecbac7..077815fd 100644 --- a/src/Core/Normalizer/ResponseDataCenterNotFoundResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseDataCenterNotFoundResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseDataCenterNotFoundResponseNormalizer implements DenormalizerInterf public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseDataCenterNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseDataCenterNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseDataCenterNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseDataCenterNotFoundResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseDataCenterNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseDataCenterNotFoundResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseDataCenterNotFoundResponseNormalizer implements DenormalizerInterf public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseDataCenterNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseDataCenterNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseDataCenterNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseDataCenterNotFoundResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseDataCenterNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseDataCenterNotFoundResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseDeletionRestrictedResponseNormalizer.php b/src/Core/Normalizer/ResponseDeletionRestrictedResponseNormalizer.php index dd9f2e82..97a19ee6 100644 --- a/src/Core/Normalizer/ResponseDeletionRestrictedResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseDeletionRestrictedResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseDeletionRestrictedResponseNormalizer implements DenormalizerInterf public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseDeletionRestrictedResponse'; + return $type === \KatapultAPI\Core\Model\ResponseDeletionRestrictedResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseDeletionRestrictedResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseDeletionRestrictedResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Core\\Model\\DeletionRestricted', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Core\Model\DeletionRestricted::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseDeletionRestrictedResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseDeletionRestrictedResponse::class => false]; } } } else { @@ -108,12 +108,12 @@ class ResponseDeletionRestrictedResponseNormalizer implements DenormalizerInterf public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseDeletionRestrictedResponse'; + return $type === \KatapultAPI\Core\Model\ResponseDeletionRestrictedResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseDeletionRestrictedResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseDeletionRestrictedResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -137,7 +137,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Core\\Model\\DeletionRestricted', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Core\Model\DeletionRestricted::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseDeletionRestrictedResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseDeletionRestrictedResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseDiskBackupPolicyNotFoundResponseNormalizer.php b/src/Core/Normalizer/ResponseDiskBackupPolicyNotFoundResponseNormalizer.php index d68f1e85..22854fb9 100644 --- a/src/Core/Normalizer/ResponseDiskBackupPolicyNotFoundResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseDiskBackupPolicyNotFoundResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseDiskBackupPolicyNotFoundResponseNormalizer implements Denormalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseDiskBackupPolicyNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseDiskBackupPolicyNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseDiskBackupPolicyNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseDiskBackupPolicyNotFoundResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseDiskBackupPolicyNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseDiskBackupPolicyNotFoundResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseDiskBackupPolicyNotFoundResponseNormalizer implements Denormalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseDiskBackupPolicyNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseDiskBackupPolicyNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseDiskBackupPolicyNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseDiskBackupPolicyNotFoundResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseDiskBackupPolicyNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseDiskBackupPolicyNotFoundResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseDiskNotFoundResponseNormalizer.php b/src/Core/Normalizer/ResponseDiskNotFoundResponseNormalizer.php index aff19875..9f3f8869 100644 --- a/src/Core/Normalizer/ResponseDiskNotFoundResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseDiskNotFoundResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseDiskNotFoundResponseNormalizer implements DenormalizerInterface, N public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseDiskNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseDiskNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseDiskNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseDiskNotFoundResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseDiskNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseDiskNotFoundResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseDiskNotFoundResponseNormalizer implements DenormalizerInterface, N public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseDiskNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseDiskNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseDiskNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseDiskNotFoundResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseDiskNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseDiskNotFoundResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseDiskTemplateNotFoundResponseNormalizer.php b/src/Core/Normalizer/ResponseDiskTemplateNotFoundResponseNormalizer.php index bf90f16d..e46b8178 100644 --- a/src/Core/Normalizer/ResponseDiskTemplateNotFoundResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseDiskTemplateNotFoundResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseDiskTemplateNotFoundResponseNormalizer implements DenormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseDiskTemplateNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseDiskTemplateNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseDiskTemplateNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseDiskTemplateNotFoundResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseDiskTemplateNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseDiskTemplateNotFoundResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseDiskTemplateNotFoundResponseNormalizer implements DenormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseDiskTemplateNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseDiskTemplateNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseDiskTemplateNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseDiskTemplateNotFoundResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseDiskTemplateNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseDiskTemplateNotFoundResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseDiskTemplateVersionNotFoundResponseNormalizer.php b/src/Core/Normalizer/ResponseDiskTemplateVersionNotFoundResponseNormalizer.php index d0e012e3..293a172c 100644 --- a/src/Core/Normalizer/ResponseDiskTemplateVersionNotFoundResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseDiskTemplateVersionNotFoundResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseDiskTemplateVersionNotFoundResponseNormalizer implements Denormali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseDiskTemplateVersionNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseDiskTemplateVersionNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseDiskTemplateVersionNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseDiskTemplateVersionNotFoundResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseDiskTemplateVersionNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseDiskTemplateVersionNotFoundResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseDiskTemplateVersionNotFoundResponseNormalizer implements Denormali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseDiskTemplateVersionNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseDiskTemplateVersionNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseDiskTemplateVersionNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseDiskTemplateVersionNotFoundResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseDiskTemplateVersionNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseDiskTemplateVersionNotFoundResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseFileStorageVolumeNotFoundResponseNormalizer.php b/src/Core/Normalizer/ResponseFileStorageVolumeNotFoundResponseNormalizer.php index f371a8bf..4044fd16 100644 --- a/src/Core/Normalizer/ResponseFileStorageVolumeNotFoundResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseFileStorageVolumeNotFoundResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseFileStorageVolumeNotFoundResponseNormalizer implements Denormalize public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseFileStorageVolumeNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseFileStorageVolumeNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseFileStorageVolumeNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseFileStorageVolumeNotFoundResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseFileStorageVolumeNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseFileStorageVolumeNotFoundResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseFileStorageVolumeNotFoundResponseNormalizer implements Denormalize public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseFileStorageVolumeNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseFileStorageVolumeNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseFileStorageVolumeNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseFileStorageVolumeNotFoundResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseFileStorageVolumeNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseFileStorageVolumeNotFoundResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseGPUTypeNotFoundResponseNormalizer.php b/src/Core/Normalizer/ResponseGPUTypeNotFoundResponseNormalizer.php index 2c431418..b011e86f 100644 --- a/src/Core/Normalizer/ResponseGPUTypeNotFoundResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseGPUTypeNotFoundResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseGPUTypeNotFoundResponseNormalizer implements DenormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseGPUTypeNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseGPUTypeNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseGPUTypeNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseGPUTypeNotFoundResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseGPUTypeNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseGPUTypeNotFoundResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseGPUTypeNotFoundResponseNormalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseGPUTypeNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseGPUTypeNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseGPUTypeNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseGPUTypeNotFoundResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseGPUTypeNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseGPUTypeNotFoundResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseIPAddressNotFoundResponseNormalizer.php b/src/Core/Normalizer/ResponseIPAddressNotFoundResponseNormalizer.php index bf0ad4e7..60635b4b 100644 --- a/src/Core/Normalizer/ResponseIPAddressNotFoundResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseIPAddressNotFoundResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseIPAddressNotFoundResponseNormalizer implements DenormalizerInterfa public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseIPAddressNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseIPAddressNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseIPAddressNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseIPAddressNotFoundResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseIPAddressNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseIPAddressNotFoundResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseIPAddressNotFoundResponseNormalizer implements DenormalizerInterfa public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseIPAddressNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseIPAddressNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseIPAddressNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseIPAddressNotFoundResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseIPAddressNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseIPAddressNotFoundResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseLoadBalancerNotFoundResponseNormalizer.php b/src/Core/Normalizer/ResponseLoadBalancerNotFoundResponseNormalizer.php index b15fd23e..a4405fb3 100644 --- a/src/Core/Normalizer/ResponseLoadBalancerNotFoundResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseLoadBalancerNotFoundResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseLoadBalancerNotFoundResponseNormalizer implements DenormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseLoadBalancerNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseLoadBalancerNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseLoadBalancerNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseLoadBalancerNotFoundResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseLoadBalancerNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseLoadBalancerNotFoundResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseLoadBalancerNotFoundResponseNormalizer implements DenormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseLoadBalancerNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseLoadBalancerNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseLoadBalancerNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseLoadBalancerNotFoundResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseLoadBalancerNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseLoadBalancerNotFoundResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseLoadBalancerRuleNotFoundResponseNormalizer.php b/src/Core/Normalizer/ResponseLoadBalancerRuleNotFoundResponseNormalizer.php index 64fd4bf5..68abce54 100644 --- a/src/Core/Normalizer/ResponseLoadBalancerRuleNotFoundResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseLoadBalancerRuleNotFoundResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseLoadBalancerRuleNotFoundResponseNormalizer implements Denormalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseLoadBalancerRuleNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseLoadBalancerRuleNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseLoadBalancerRuleNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseLoadBalancerRuleNotFoundResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseLoadBalancerRuleNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseLoadBalancerRuleNotFoundResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseLoadBalancerRuleNotFoundResponseNormalizer implements Denormalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseLoadBalancerRuleNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseLoadBalancerRuleNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseLoadBalancerRuleNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseLoadBalancerRuleNotFoundResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseLoadBalancerRuleNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseLoadBalancerRuleNotFoundResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseNetworkNotFoundResponseNormalizer.php b/src/Core/Normalizer/ResponseNetworkNotFoundResponseNormalizer.php index ecc70abf..ef17343b 100644 --- a/src/Core/Normalizer/ResponseNetworkNotFoundResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseNetworkNotFoundResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseNetworkNotFoundResponseNormalizer implements DenormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseNetworkNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseNetworkNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseNetworkNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseNetworkNotFoundResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseNetworkNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseNetworkNotFoundResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseNetworkNotFoundResponseNormalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseNetworkNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseNetworkNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseNetworkNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseNetworkNotFoundResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseNetworkNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseNetworkNotFoundResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseNoAllocationResponseNormalizer.php b/src/Core/Normalizer/ResponseNoAllocationResponseNormalizer.php index ea348710..ed53367d 100644 --- a/src/Core/Normalizer/ResponseNoAllocationResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseNoAllocationResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseNoAllocationResponseNormalizer implements DenormalizerInterface, N public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseNoAllocationResponse'; + return $type === \KatapultAPI\Core\Model\ResponseNoAllocationResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseNoAllocationResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseNoAllocationResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseNoAllocationResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseNoAllocationResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseNoAllocationResponseNormalizer implements DenormalizerInterface, N public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseNoAllocationResponse'; + return $type === \KatapultAPI\Core\Model\ResponseNoAllocationResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseNoAllocationResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseNoAllocationResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseNoAllocationResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseNoAllocationResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseNoUserAssociatedWithIdentityResponseNormalizer.php b/src/Core/Normalizer/ResponseNoUserAssociatedWithIdentityResponseNormalizer.php index 29f0d2bb..65a2e3a4 100644 --- a/src/Core/Normalizer/ResponseNoUserAssociatedWithIdentityResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseNoUserAssociatedWithIdentityResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseNoUserAssociatedWithIdentityResponseNormalizer implements Denormal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseNoUserAssociatedWithIdentityResponse'; + return $type === \KatapultAPI\Core\Model\ResponseNoUserAssociatedWithIdentityResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseNoUserAssociatedWithIdentityResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseNoUserAssociatedWithIdentityResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseNoUserAssociatedWithIdentityResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseNoUserAssociatedWithIdentityResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseNoUserAssociatedWithIdentityResponseNormalizer implements Denormal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseNoUserAssociatedWithIdentityResponse'; + return $type === \KatapultAPI\Core\Model\ResponseNoUserAssociatedWithIdentityResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseNoUserAssociatedWithIdentityResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseNoUserAssociatedWithIdentityResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseNoUserAssociatedWithIdentityResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseNoUserAssociatedWithIdentityResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseNoVirtualMachineForAPITokenResponseNormalizer.php b/src/Core/Normalizer/ResponseNoVirtualMachineForAPITokenResponseNormalizer.php index 9a9936ea..df764d08 100644 --- a/src/Core/Normalizer/ResponseNoVirtualMachineForAPITokenResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseNoVirtualMachineForAPITokenResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseNoVirtualMachineForAPITokenResponseNormalizer implements Denormali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseNoVirtualMachineForAPITokenResponse'; + return $type === \KatapultAPI\Core\Model\ResponseNoVirtualMachineForAPITokenResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseNoVirtualMachineForAPITokenResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseNoVirtualMachineForAPITokenResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseNoVirtualMachineForAPITokenResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseNoVirtualMachineForAPITokenResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseNoVirtualMachineForAPITokenResponseNormalizer implements Denormali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseNoVirtualMachineForAPITokenResponse'; + return $type === \KatapultAPI\Core\Model\ResponseNoVirtualMachineForAPITokenResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseNoVirtualMachineForAPITokenResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseNoVirtualMachineForAPITokenResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseNoVirtualMachineForAPITokenResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseNoVirtualMachineForAPITokenResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseObjectInTrashResponseNormalizer.php b/src/Core/Normalizer/ResponseObjectInTrashResponseNormalizer.php index 695b0224..b6df6e13 100644 --- a/src/Core/Normalizer/ResponseObjectInTrashResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseObjectInTrashResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseObjectInTrashResponseNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseObjectInTrashResponse'; + return $type === \KatapultAPI\Core\Model\ResponseObjectInTrashResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseObjectInTrashResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseObjectInTrashResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Core\\Model\\ObjectInTrash', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Core\Model\ObjectInTrash::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseObjectInTrashResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseObjectInTrashResponse::class => false]; } } } else { @@ -108,12 +108,12 @@ class ResponseObjectInTrashResponseNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseObjectInTrashResponse'; + return $type === \KatapultAPI\Core\Model\ResponseObjectInTrashResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseObjectInTrashResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseObjectInTrashResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -137,7 +137,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Core\\Model\\ObjectInTrash', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Core\Model\ObjectInTrash::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseObjectInTrashResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseObjectInTrashResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseOperatingSystemNotFoundResponseNormalizer.php b/src/Core/Normalizer/ResponseOperatingSystemNotFoundResponseNormalizer.php index 4d5fae5b..d67d2cd5 100644 --- a/src/Core/Normalizer/ResponseOperatingSystemNotFoundResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseOperatingSystemNotFoundResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseOperatingSystemNotFoundResponseNormalizer implements DenormalizerI public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseOperatingSystemNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseOperatingSystemNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseOperatingSystemNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseOperatingSystemNotFoundResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseOperatingSystemNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseOperatingSystemNotFoundResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseOperatingSystemNotFoundResponseNormalizer implements DenormalizerI public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseOperatingSystemNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseOperatingSystemNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseOperatingSystemNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseOperatingSystemNotFoundResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseOperatingSystemNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseOperatingSystemNotFoundResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseOrganizationNotFoundResponseNormalizer.php b/src/Core/Normalizer/ResponseOrganizationNotFoundResponseNormalizer.php index 849f4e6f..5c9b7314 100644 --- a/src/Core/Normalizer/ResponseOrganizationNotFoundResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseOrganizationNotFoundResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseOrganizationNotFoundResponseNormalizer implements DenormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseOrganizationNotFoundResponseNormalizer implements DenormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseOrganizationNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseOrganizationNotFoundResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseResourceDoesNotSupportUnallocationResponseNormalizer.php b/src/Core/Normalizer/ResponseResourceDoesNotSupportUnallocationResponseNormalizer.php index fa0e3bbe..fc641a29 100644 --- a/src/Core/Normalizer/ResponseResourceDoesNotSupportUnallocationResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseResourceDoesNotSupportUnallocationResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseResourceDoesNotSupportUnallocationResponseNormalizer implements De public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseResourceDoesNotSupportUnallocationResponse'; + return $type === \KatapultAPI\Core\Model\ResponseResourceDoesNotSupportUnallocationResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseResourceDoesNotSupportUnallocationResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseResourceDoesNotSupportUnallocationResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseResourceDoesNotSupportUnallocationResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseResourceDoesNotSupportUnallocationResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseResourceDoesNotSupportUnallocationResponseNormalizer implements De public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseResourceDoesNotSupportUnallocationResponse'; + return $type === \KatapultAPI\Core\Model\ResponseResourceDoesNotSupportUnallocationResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseResourceDoesNotSupportUnallocationResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseResourceDoesNotSupportUnallocationResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseResourceDoesNotSupportUnallocationResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseResourceDoesNotSupportUnallocationResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseSSHKeyNotFoundResponseNormalizer.php b/src/Core/Normalizer/ResponseSSHKeyNotFoundResponseNormalizer.php index 10661c70..7385f845 100644 --- a/src/Core/Normalizer/ResponseSSHKeyNotFoundResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseSSHKeyNotFoundResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseSSHKeyNotFoundResponseNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseSSHKeyNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseSSHKeyNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseSSHKeyNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseSSHKeyNotFoundResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseSSHKeyNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseSSHKeyNotFoundResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseSSHKeyNotFoundResponseNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseSSHKeyNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseSSHKeyNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseSSHKeyNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseSSHKeyNotFoundResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseSSHKeyNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseSSHKeyNotFoundResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseSecurityGroupNotFoundResponseNormalizer.php b/src/Core/Normalizer/ResponseSecurityGroupNotFoundResponseNormalizer.php index 7b3368ac..a802715d 100644 --- a/src/Core/Normalizer/ResponseSecurityGroupNotFoundResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseSecurityGroupNotFoundResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseSecurityGroupNotFoundResponseNormalizer implements DenormalizerInt public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseSecurityGroupNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseSecurityGroupNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseSecurityGroupNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseSecurityGroupNotFoundResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseSecurityGroupNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseSecurityGroupNotFoundResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseSecurityGroupNotFoundResponseNormalizer implements DenormalizerInt public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseSecurityGroupNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseSecurityGroupNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseSecurityGroupNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseSecurityGroupNotFoundResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseSecurityGroupNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseSecurityGroupNotFoundResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseSecurityGroupRuleNotFoundResponseNormalizer.php b/src/Core/Normalizer/ResponseSecurityGroupRuleNotFoundResponseNormalizer.php index a8962481..e43d0761 100644 --- a/src/Core/Normalizer/ResponseSecurityGroupRuleNotFoundResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseSecurityGroupRuleNotFoundResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseSecurityGroupRuleNotFoundResponseNormalizer implements Denormalize public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseSecurityGroupRuleNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseSecurityGroupRuleNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseSecurityGroupRuleNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseSecurityGroupRuleNotFoundResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseSecurityGroupRuleNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseSecurityGroupRuleNotFoundResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseSecurityGroupRuleNotFoundResponseNormalizer implements Denormalize public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseSecurityGroupRuleNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseSecurityGroupRuleNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseSecurityGroupRuleNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseSecurityGroupRuleNotFoundResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseSecurityGroupRuleNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseSecurityGroupRuleNotFoundResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseSpeedProfileAlreadyAssignedResponseNormalizer.php b/src/Core/Normalizer/ResponseSpeedProfileAlreadyAssignedResponseNormalizer.php index 3391e066..b72eefd3 100644 --- a/src/Core/Normalizer/ResponseSpeedProfileAlreadyAssignedResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseSpeedProfileAlreadyAssignedResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseSpeedProfileAlreadyAssignedResponseNormalizer implements Denormali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseSpeedProfileAlreadyAssignedResponse'; + return $type === \KatapultAPI\Core\Model\ResponseSpeedProfileAlreadyAssignedResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseSpeedProfileAlreadyAssignedResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseSpeedProfileAlreadyAssignedResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseSpeedProfileAlreadyAssignedResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseSpeedProfileAlreadyAssignedResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseSpeedProfileAlreadyAssignedResponseNormalizer implements Denormali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseSpeedProfileAlreadyAssignedResponse'; + return $type === \KatapultAPI\Core\Model\ResponseSpeedProfileAlreadyAssignedResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseSpeedProfileAlreadyAssignedResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseSpeedProfileAlreadyAssignedResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseSpeedProfileAlreadyAssignedResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseSpeedProfileAlreadyAssignedResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseTagNotFoundResponseNormalizer.php b/src/Core/Normalizer/ResponseTagNotFoundResponseNormalizer.php index 4da347d6..5c2a8525 100644 --- a/src/Core/Normalizer/ResponseTagNotFoundResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseTagNotFoundResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseTagNotFoundResponseNormalizer implements DenormalizerInterface, No public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseTagNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseTagNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseTagNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseTagNotFoundResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseTagNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseTagNotFoundResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseTagNotFoundResponseNormalizer implements DenormalizerInterface, No public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseTagNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseTagNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseTagNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseTagNotFoundResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseTagNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseTagNotFoundResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseTaskNotFoundResponseNormalizer.php b/src/Core/Normalizer/ResponseTaskNotFoundResponseNormalizer.php index 8004f203..df029f45 100644 --- a/src/Core/Normalizer/ResponseTaskNotFoundResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseTaskNotFoundResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseTaskNotFoundResponseNormalizer implements DenormalizerInterface, N public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseTaskNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseTaskNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseTaskNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseTaskNotFoundResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseTaskNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseTaskNotFoundResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseTaskNotFoundResponseNormalizer implements DenormalizerInterface, N public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseTaskNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseTaskNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseTaskNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseTaskNotFoundResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseTaskNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseTaskNotFoundResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseTaskQueueingErrorResponseNormalizer.php b/src/Core/Normalizer/ResponseTaskQueueingErrorResponseNormalizer.php index 2a9a649d..e3c6101f 100644 --- a/src/Core/Normalizer/ResponseTaskQueueingErrorResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseTaskQueueingErrorResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseTaskQueueingErrorResponseNormalizer implements DenormalizerInterfa public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseTaskQueueingErrorResponse'; + return $type === \KatapultAPI\Core\Model\ResponseTaskQueueingErrorResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseTaskQueueingErrorResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseTaskQueueingErrorResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Core\\Model\\TaskQueueingError', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Core\Model\TaskQueueingError::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseTaskQueueingErrorResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseTaskQueueingErrorResponse::class => false]; } } } else { @@ -108,12 +108,12 @@ class ResponseTaskQueueingErrorResponseNormalizer implements DenormalizerInterfa public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseTaskQueueingErrorResponse'; + return $type === \KatapultAPI\Core\Model\ResponseTaskQueueingErrorResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseTaskQueueingErrorResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseTaskQueueingErrorResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -137,7 +137,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Core\\Model\\TaskQueueingError', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Core\Model\TaskQueueingError::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseTaskQueueingErrorResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseTaskQueueingErrorResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseTrashObjectNotFoundResponseNormalizer.php b/src/Core/Normalizer/ResponseTrashObjectNotFoundResponseNormalizer.php index 8df5c9d0..7ed83cdf 100644 --- a/src/Core/Normalizer/ResponseTrashObjectNotFoundResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseTrashObjectNotFoundResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseTrashObjectNotFoundResponseNormalizer implements DenormalizerInter public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseTrashObjectNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseTrashObjectNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseTrashObjectNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseTrashObjectNotFoundResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseTrashObjectNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseTrashObjectNotFoundResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseTrashObjectNotFoundResponseNormalizer implements DenormalizerInter public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseTrashObjectNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseTrashObjectNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseTrashObjectNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseTrashObjectNotFoundResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseTrashObjectNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseTrashObjectNotFoundResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseUnableToAssignResponseNormalizer.php b/src/Core/Normalizer/ResponseUnableToAssignResponseNormalizer.php index 0310fb56..ee6d78bd 100644 --- a/src/Core/Normalizer/ResponseUnableToAssignResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseUnableToAssignResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseUnableToAssignResponseNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseUnableToAssignResponse'; + return $type === \KatapultAPI\Core\Model\ResponseUnableToAssignResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseUnableToAssignResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseUnableToAssignResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Core\\Model\\UnableToAssign', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Core\Model\UnableToAssign::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseUnableToAssignResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseUnableToAssignResponse::class => false]; } } } else { @@ -108,12 +108,12 @@ class ResponseUnableToAssignResponseNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseUnableToAssignResponse'; + return $type === \KatapultAPI\Core\Model\ResponseUnableToAssignResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseUnableToAssignResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseUnableToAssignResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -137,7 +137,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Core\\Model\\UnableToAssign', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Core\Model\UnableToAssign::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseUnableToAssignResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseUnableToAssignResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseUnableToUnassignResponseNormalizer.php b/src/Core/Normalizer/ResponseUnableToUnassignResponseNormalizer.php index 8b6de17e..c5a8fe46 100644 --- a/src/Core/Normalizer/ResponseUnableToUnassignResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseUnableToUnassignResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseUnableToUnassignResponseNormalizer implements DenormalizerInterfac public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseUnableToUnassignResponse'; + return $type === \KatapultAPI\Core\Model\ResponseUnableToUnassignResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseUnableToUnassignResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseUnableToUnassignResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Core\\Model\\UnableToUnassign', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Core\Model\UnableToUnassign::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseUnableToUnassignResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseUnableToUnassignResponse::class => false]; } } } else { @@ -108,12 +108,12 @@ class ResponseUnableToUnassignResponseNormalizer implements DenormalizerInterfac public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseUnableToUnassignResponse'; + return $type === \KatapultAPI\Core\Model\ResponseUnableToUnassignResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseUnableToUnassignResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseUnableToUnassignResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -137,7 +137,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Core\\Model\\UnableToUnassign', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Core\Model\UnableToUnassign::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseUnableToUnassignResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseUnableToUnassignResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseUnassignedDiskResponseNormalizer.php b/src/Core/Normalizer/ResponseUnassignedDiskResponseNormalizer.php index 4e7e5081..900a0d3c 100644 --- a/src/Core/Normalizer/ResponseUnassignedDiskResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseUnassignedDiskResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseUnassignedDiskResponseNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseUnassignedDiskResponse'; + return $type === \KatapultAPI\Core\Model\ResponseUnassignedDiskResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseUnassignedDiskResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseUnassignedDiskResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseUnassignedDiskResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseUnassignedDiskResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseUnassignedDiskResponseNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseUnassignedDiskResponse'; + return $type === \KatapultAPI\Core\Model\ResponseUnassignedDiskResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseUnassignedDiskResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseUnassignedDiskResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseUnassignedDiskResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseUnassignedDiskResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseValidationErrorResponseNormalizer.php b/src/Core/Normalizer/ResponseValidationErrorResponseNormalizer.php index 920a3cb7..cf96acce 100644 --- a/src/Core/Normalizer/ResponseValidationErrorResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseValidationErrorResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseValidationErrorResponseNormalizer implements DenormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse'; + return $type === \KatapultAPI\Core\Model\ResponseValidationErrorResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseValidationErrorResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Core\\Model\\ValidationError', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Core\Model\ValidationError::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseValidationErrorResponse::class => false]; } } } else { @@ -108,12 +108,12 @@ class ResponseValidationErrorResponseNormalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse'; + return $type === \KatapultAPI\Core\Model\ResponseValidationErrorResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseValidationErrorResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -137,7 +137,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Core\\Model\\ValidationError', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Core\Model\ValidationError::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseValidationErrorResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseValidationErrorResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseVirtualMachineBuildNotFoundResponseNormalizer.php b/src/Core/Normalizer/ResponseVirtualMachineBuildNotFoundResponseNormalizer.php index 8bbca685..8e983143 100644 --- a/src/Core/Normalizer/ResponseVirtualMachineBuildNotFoundResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseVirtualMachineBuildNotFoundResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseVirtualMachineBuildNotFoundResponseNormalizer implements Denormali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineBuildNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseVirtualMachineBuildNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineBuildNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseVirtualMachineBuildNotFoundResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseVirtualMachineBuildNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseVirtualMachineBuildNotFoundResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseVirtualMachineBuildNotFoundResponseNormalizer implements Denormali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineBuildNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseVirtualMachineBuildNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineBuildNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseVirtualMachineBuildNotFoundResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseVirtualMachineBuildNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseVirtualMachineBuildNotFoundResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseVirtualMachineGroupNotFoundResponseNormalizer.php b/src/Core/Normalizer/ResponseVirtualMachineGroupNotFoundResponseNormalizer.php index 994b71c2..2a488eb7 100644 --- a/src/Core/Normalizer/ResponseVirtualMachineGroupNotFoundResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseVirtualMachineGroupNotFoundResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseVirtualMachineGroupNotFoundResponseNormalizer implements Denormali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineGroupNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseVirtualMachineGroupNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineGroupNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseVirtualMachineGroupNotFoundResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseVirtualMachineGroupNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseVirtualMachineGroupNotFoundResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseVirtualMachineGroupNotFoundResponseNormalizer implements Denormali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineGroupNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseVirtualMachineGroupNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineGroupNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseVirtualMachineGroupNotFoundResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseVirtualMachineGroupNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseVirtualMachineGroupNotFoundResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseVirtualMachineNetworkInterfaceNotFoundResponseNormalizer.php b/src/Core/Normalizer/ResponseVirtualMachineNetworkInterfaceNotFoundResponseNormalizer.php index 42ed9c23..7c24cc94 100644 --- a/src/Core/Normalizer/ResponseVirtualMachineNetworkInterfaceNotFoundResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseVirtualMachineNetworkInterfaceNotFoundResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseVirtualMachineNetworkInterfaceNotFoundResponseNormalizer implement public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineNetworkInterfaceNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseVirtualMachineNetworkInterfaceNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineNetworkInterfaceNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseVirtualMachineNetworkInterfaceNotFoundResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseVirtualMachineNetworkInterfaceNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseVirtualMachineNetworkInterfaceNotFoundResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseVirtualMachineNetworkInterfaceNotFoundResponseNormalizer implement public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineNetworkInterfaceNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseVirtualMachineNetworkInterfaceNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineNetworkInterfaceNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseVirtualMachineNetworkInterfaceNotFoundResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseVirtualMachineNetworkInterfaceNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseVirtualMachineNetworkInterfaceNotFoundResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseVirtualMachineNotFoundResponseNormalizer.php b/src/Core/Normalizer/ResponseVirtualMachineNotFoundResponseNormalizer.php index 4a6f1f14..0d074c4f 100644 --- a/src/Core/Normalizer/ResponseVirtualMachineNotFoundResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseVirtualMachineNotFoundResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseVirtualMachineNotFoundResponseNormalizer implements DenormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseVirtualMachineNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseVirtualMachineNotFoundResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseVirtualMachineNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseVirtualMachineNotFoundResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseVirtualMachineNotFoundResponseNormalizer implements DenormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseVirtualMachineNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseVirtualMachineNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseVirtualMachineNotFoundResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseVirtualMachineNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseVirtualMachineNotFoundResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseVirtualMachinePackageNotFoundResponseNormalizer.php b/src/Core/Normalizer/ResponseVirtualMachinePackageNotFoundResponseNormalizer.php index a0e47826..4ae9ac25 100644 --- a/src/Core/Normalizer/ResponseVirtualMachinePackageNotFoundResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseVirtualMachinePackageNotFoundResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseVirtualMachinePackageNotFoundResponseNormalizer implements Denorma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseVirtualMachinePackageNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseVirtualMachinePackageNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseVirtualMachinePackageNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseVirtualMachinePackageNotFoundResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseVirtualMachinePackageNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseVirtualMachinePackageNotFoundResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseVirtualMachinePackageNotFoundResponseNormalizer implements Denorma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseVirtualMachinePackageNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseVirtualMachinePackageNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseVirtualMachinePackageNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseVirtualMachinePackageNotFoundResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseVirtualMachinePackageNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseVirtualMachinePackageNotFoundResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ResponseZoneNotFoundResponseNormalizer.php b/src/Core/Normalizer/ResponseZoneNotFoundResponseNormalizer.php index 75bffb18..b45f7031 100644 --- a/src/Core/Normalizer/ResponseZoneNotFoundResponseNormalizer.php +++ b/src/Core/Normalizer/ResponseZoneNotFoundResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseZoneNotFoundResponseNormalizer implements DenormalizerInterface, N public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseZoneNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseZoneNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseZoneNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseZoneNotFoundResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseZoneNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseZoneNotFoundResponse::class => false]; } } } else { @@ -116,12 +116,12 @@ class ResponseZoneNotFoundResponseNormalizer implements DenormalizerInterface, N public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ResponseZoneNotFoundResponse'; + return $type === \KatapultAPI\Core\Model\ResponseZoneNotFoundResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ResponseZoneNotFoundResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ResponseZoneNotFoundResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ResponseZoneNotFoundResponse' => false]; + return [\KatapultAPI\Core\Model\ResponseZoneNotFoundResponse::class => false]; } } } diff --git a/src/Core/Normalizer/ScheduleArgumentsNormalizer.php b/src/Core/Normalizer/ScheduleArgumentsNormalizer.php index db47680c..b94e8bca 100644 --- a/src/Core/Normalizer/ScheduleArgumentsNormalizer.php +++ b/src/Core/Normalizer/ScheduleArgumentsNormalizer.php @@ -31,12 +31,12 @@ class ScheduleArgumentsNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ScheduleArguments'; + return $type === \KatapultAPI\Core\Model\ScheduleArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ScheduleArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ScheduleArguments::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ScheduleArguments' => false]; + return [\KatapultAPI\Core\Model\ScheduleArguments::class => false]; } } } else { @@ -115,12 +115,12 @@ class ScheduleArgumentsNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ScheduleArguments'; + return $type === \KatapultAPI\Core\Model\ScheduleArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ScheduleArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ScheduleArguments::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ScheduleArguments' => false]; + return [\KatapultAPI\Core\Model\ScheduleArguments::class => false]; } } } diff --git a/src/Core/Normalizer/ScheduleNormalizer.php b/src/Core/Normalizer/ScheduleNormalizer.php index 3c5f4501..ef751881 100644 --- a/src/Core/Normalizer/ScheduleNormalizer.php +++ b/src/Core/Normalizer/ScheduleNormalizer.php @@ -31,12 +31,12 @@ class ScheduleNormalizer implements DenormalizerInterface, NormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\Schedule'; + return $type === \KatapultAPI\Core\Model\Schedule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\Schedule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\Schedule::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -109,7 +109,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\Schedule' => false]; + return [\KatapultAPI\Core\Model\Schedule::class => false]; } } } else { @@ -122,12 +122,12 @@ class ScheduleNormalizer implements DenormalizerInterface, NormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\Schedule'; + return $type === \KatapultAPI\Core\Model\Schedule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\Schedule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\Schedule::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -203,7 +203,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\Schedule' => false]; + return [\KatapultAPI\Core\Model\Schedule::class => false]; } } } diff --git a/src/Core/Normalizer/ScopeNotGrantedErrorNormalizer.php b/src/Core/Normalizer/ScopeNotGrantedErrorNormalizer.php index e9865adb..2572c17d 100644 --- a/src/Core/Normalizer/ScopeNotGrantedErrorNormalizer.php +++ b/src/Core/Normalizer/ScopeNotGrantedErrorNormalizer.php @@ -31,12 +31,12 @@ class ScopeNotGrantedErrorNormalizer implements DenormalizerInterface, Normalize public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ScopeNotGrantedError'; + return $type === \KatapultAPI\Core\Model\ScopeNotGrantedError::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ScopeNotGrantedError'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ScopeNotGrantedError::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -89,7 +89,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ScopeNotGrantedError' => false]; + return [\KatapultAPI\Core\Model\ScopeNotGrantedError::class => false]; } } } else { @@ -102,12 +102,12 @@ class ScopeNotGrantedErrorNormalizer implements DenormalizerInterface, Normalize public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ScopeNotGrantedError'; + return $type === \KatapultAPI\Core\Model\ScopeNotGrantedError::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ScopeNotGrantedError'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ScopeNotGrantedError::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -163,7 +163,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ScopeNotGrantedError' => false]; + return [\KatapultAPI\Core\Model\ScopeNotGrantedError::class => false]; } } } diff --git a/src/Core/Normalizer/ScopeNotGrantedErrorSchemaNormalizer.php b/src/Core/Normalizer/ScopeNotGrantedErrorSchemaNormalizer.php index 924158ce..5b33053d 100644 --- a/src/Core/Normalizer/ScopeNotGrantedErrorSchemaNormalizer.php +++ b/src/Core/Normalizer/ScopeNotGrantedErrorSchemaNormalizer.php @@ -31,12 +31,12 @@ class ScopeNotGrantedErrorSchemaNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ScopeNotGrantedErrorSchema'; + return $type === \KatapultAPI\Core\Model\ScopeNotGrantedErrorSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ScopeNotGrantedErrorSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ScopeNotGrantedErrorSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Core\\Model\\ScopeNotGrantedError', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Core\Model\ScopeNotGrantedError::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ScopeNotGrantedErrorSchema' => false]; + return [\KatapultAPI\Core\Model\ScopeNotGrantedErrorSchema::class => false]; } } } else { @@ -108,12 +108,12 @@ class ScopeNotGrantedErrorSchemaNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ScopeNotGrantedErrorSchema'; + return $type === \KatapultAPI\Core\Model\ScopeNotGrantedErrorSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ScopeNotGrantedErrorSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ScopeNotGrantedErrorSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -137,7 +137,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Core\\Model\\ScopeNotGrantedError', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Core\Model\ScopeNotGrantedError::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ScopeNotGrantedErrorSchema' => false]; + return [\KatapultAPI\Core\Model\ScopeNotGrantedErrorSchema::class => false]; } } } diff --git a/src/Core/Normalizer/SecurityGroupArgumentsNormalizer.php b/src/Core/Normalizer/SecurityGroupArgumentsNormalizer.php index ddf2b1ae..cf8841dc 100644 --- a/src/Core/Normalizer/SecurityGroupArgumentsNormalizer.php +++ b/src/Core/Normalizer/SecurityGroupArgumentsNormalizer.php @@ -31,12 +31,12 @@ class SecurityGroupArgumentsNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupArguments'; + return $type === \KatapultAPI\Core\Model\SecurityGroupArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupArguments::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -110,7 +110,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupArguments' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupArguments::class => false]; } } } else { @@ -123,12 +123,12 @@ class SecurityGroupArgumentsNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupArguments'; + return $type === \KatapultAPI\Core\Model\SecurityGroupArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupArguments::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -205,7 +205,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupArguments' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupArguments::class => false]; } } } diff --git a/src/Core/Normalizer/SecurityGroupLookupNormalizer.php b/src/Core/Normalizer/SecurityGroupLookupNormalizer.php index 45ba3b66..511dc29a 100644 --- a/src/Core/Normalizer/SecurityGroupLookupNormalizer.php +++ b/src/Core/Normalizer/SecurityGroupLookupNormalizer.php @@ -31,12 +31,12 @@ class SecurityGroupLookupNormalizer implements DenormalizerInterface, Normalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupLookup'; + return $type === \KatapultAPI\Core\Model\SecurityGroupLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupLookup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupLookup' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupLookup::class => false]; } } } else { @@ -94,12 +94,12 @@ class SecurityGroupLookupNormalizer implements DenormalizerInterface, Normalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupLookup'; + return $type === \KatapultAPI\Core\Model\SecurityGroupLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupLookup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupLookup' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupLookup::class => false]; } } } diff --git a/src/Core/Normalizer/SecurityGroupNormalizer.php b/src/Core/Normalizer/SecurityGroupNormalizer.php index c6f3f544..06a51ef7 100644 --- a/src/Core/Normalizer/SecurityGroupNormalizer.php +++ b/src/Core/Normalizer/SecurityGroupNormalizer.php @@ -31,12 +31,12 @@ class SecurityGroupNormalizer implements DenormalizerInterface, NormalizerInterf public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroup'; + return $type === \KatapultAPI\Core\Model\SecurityGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -117,7 +117,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroup' => false]; + return [\KatapultAPI\Core\Model\SecurityGroup::class => false]; } } } else { @@ -130,12 +130,12 @@ class SecurityGroupNormalizer implements DenormalizerInterface, NormalizerInterf public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroup'; + return $type === \KatapultAPI\Core\Model\SecurityGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -219,7 +219,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroup' => false]; + return [\KatapultAPI\Core\Model\SecurityGroup::class => false]; } } } diff --git a/src/Core/Normalizer/SecurityGroupRuleArgumentsNormalizer.php b/src/Core/Normalizer/SecurityGroupRuleArgumentsNormalizer.php index b715a863..28902650 100644 --- a/src/Core/Normalizer/SecurityGroupRuleArgumentsNormalizer.php +++ b/src/Core/Normalizer/SecurityGroupRuleArgumentsNormalizer.php @@ -31,12 +31,12 @@ class SecurityGroupRuleArgumentsNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupRuleArguments'; + return $type === \KatapultAPI\Core\Model\SecurityGroupRuleArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupRuleArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupRuleArguments::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -124,7 +124,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupRuleArguments' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupRuleArguments::class => false]; } } } else { @@ -137,12 +137,12 @@ class SecurityGroupRuleArgumentsNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupRuleArguments'; + return $type === \KatapultAPI\Core\Model\SecurityGroupRuleArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupRuleArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupRuleArguments::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -233,7 +233,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupRuleArguments' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupRuleArguments::class => false]; } } } diff --git a/src/Core/Normalizer/SecurityGroupRuleLookupNormalizer.php b/src/Core/Normalizer/SecurityGroupRuleLookupNormalizer.php index 06c57675..ceaeef2a 100644 --- a/src/Core/Normalizer/SecurityGroupRuleLookupNormalizer.php +++ b/src/Core/Normalizer/SecurityGroupRuleLookupNormalizer.php @@ -31,12 +31,12 @@ class SecurityGroupRuleLookupNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupRuleLookup'; + return $type === \KatapultAPI\Core\Model\SecurityGroupRuleLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupRuleLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupRuleLookup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupRuleLookup' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupRuleLookup::class => false]; } } } else { @@ -94,12 +94,12 @@ class SecurityGroupRuleLookupNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupRuleLookup'; + return $type === \KatapultAPI\Core\Model\SecurityGroupRuleLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupRuleLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupRuleLookup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupRuleLookup' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupRuleLookup::class => false]; } } } diff --git a/src/Core/Normalizer/SecurityGroupsRulesSecurityGroupRuleDeleteBodyNormalizer.php b/src/Core/Normalizer/SecurityGroupsRulesSecurityGroupRuleDeleteBodyNormalizer.php index 0537946c..15be3ea2 100644 --- a/src/Core/Normalizer/SecurityGroupsRulesSecurityGroupRuleDeleteBodyNormalizer.php +++ b/src/Core/Normalizer/SecurityGroupsRulesSecurityGroupRuleDeleteBodyNormalizer.php @@ -31,12 +31,12 @@ class SecurityGroupsRulesSecurityGroupRuleDeleteBodyNormalizer implements Denorm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteBody'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleDeleteBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('security_group_rule', $data)) { - $object->setSecurityGroupRule($this->denormalizer->denormalize($data['security_group_rule'], 'KatapultAPI\\Core\\Model\\SecurityGroupRuleLookup', 'json', $context)); + $object->setSecurityGroupRule($this->denormalizer->denormalize($data['security_group_rule'], \KatapultAPI\Core\Model\SecurityGroupRuleLookup::class, 'json', $context)); unset($data['security_group_rule']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteBody' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleDeleteBody::class => false]; } } } else { @@ -92,12 +92,12 @@ class SecurityGroupsRulesSecurityGroupRuleDeleteBodyNormalizer implements Denorm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteBody'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleDeleteBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('security_group_rule', $data)) { - $object->setSecurityGroupRule($this->denormalizer->denormalize($data['security_group_rule'], 'KatapultAPI\\Core\\Model\\SecurityGroupRuleLookup', 'json', $context)); + $object->setSecurityGroupRule($this->denormalizer->denormalize($data['security_group_rule'], \KatapultAPI\Core\Model\SecurityGroupRuleLookup::class, 'json', $context)); unset($data['security_group_rule']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteBody' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleDeleteBody::class => false]; } } } diff --git a/src/Core/Normalizer/SecurityGroupsRulesSecurityGroupRuleDeleteResponse200Normalizer.php b/src/Core/Normalizer/SecurityGroupsRulesSecurityGroupRuleDeleteResponse200Normalizer.php index cd6bb9c7..d0e84927 100644 --- a/src/Core/Normalizer/SecurityGroupsRulesSecurityGroupRuleDeleteResponse200Normalizer.php +++ b/src/Core/Normalizer/SecurityGroupsRulesSecurityGroupRuleDeleteResponse200Normalizer.php @@ -31,12 +31,12 @@ class SecurityGroupsRulesSecurityGroupRuleDeleteResponse200Normalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('security_group_rule', $data)) { - $object->setSecurityGroupRule($this->denormalizer->denormalize($data['security_group_rule'], 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRule', 'json', $context)); + $object->setSecurityGroupRule($this->denormalizer->denormalize($data['security_group_rule'], \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRule::class, 'json', $context)); unset($data['security_group_rule']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class SecurityGroupsRulesSecurityGroupRuleDeleteResponse200Normalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('security_group_rule', $data)) { - $object->setSecurityGroupRule($this->denormalizer->denormalize($data['security_group_rule'], 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRule', 'json', $context)); + $object->setSecurityGroupRule($this->denormalizer->denormalize($data['security_group_rule'], \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRule::class, 'json', $context)); unset($data['security_group_rule']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRuleNormalizer.php b/src/Core/Normalizer/SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRuleNormalizer.php index 75c01fb1..05c5027a 100644 --- a/src/Core/Normalizer/SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRuleNormalizer.php +++ b/src/Core/Normalizer/SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRuleNormalizer.php @@ -31,12 +31,12 @@ class SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRuleNorm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRule'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRule::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRule' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRule::class => false]; } } } else { @@ -94,12 +94,12 @@ class SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRuleNorm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRule'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRule::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRule' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleDeleteResponse200SecurityGroupRule::class => false]; } } } diff --git a/src/Core/Normalizer/SecurityGroupsRulesSecurityGroupRuleGetResponse200Normalizer.php b/src/Core/Normalizer/SecurityGroupsRulesSecurityGroupRuleGetResponse200Normalizer.php index b99349ca..41085700 100644 --- a/src/Core/Normalizer/SecurityGroupsRulesSecurityGroupRuleGetResponse200Normalizer.php +++ b/src/Core/Normalizer/SecurityGroupsRulesSecurityGroupRuleGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class SecurityGroupsRulesSecurityGroupRuleGetResponse200Normalizer implements De public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleGetResponse200'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('security_group_rule', $data)) { - $object->setSecurityGroupRule($this->denormalizer->denormalize($data['security_group_rule'], 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRule', 'json', $context)); + $object->setSecurityGroupRule($this->denormalizer->denormalize($data['security_group_rule'], \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRule::class, 'json', $context)); unset($data['security_group_rule']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleGetResponse200' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleGetResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class SecurityGroupsRulesSecurityGroupRuleGetResponse200Normalizer implements De public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleGetResponse200'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('security_group_rule', $data)) { - $object->setSecurityGroupRule($this->denormalizer->denormalize($data['security_group_rule'], 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRule', 'json', $context)); + $object->setSecurityGroupRule($this->denormalizer->denormalize($data['security_group_rule'], \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRule::class, 'json', $context)); unset($data['security_group_rule']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleGetResponse200' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRuleNormalizer.php b/src/Core/Normalizer/SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRuleNormalizer.php index ca14585c..4e4c3ce7 100644 --- a/src/Core/Normalizer/SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRuleNormalizer.php +++ b/src/Core/Normalizer/SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRuleNormalizer.php @@ -31,12 +31,12 @@ class SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRuleNormali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRule'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRule::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -56,7 +56,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['id']); } if (\array_key_exists('security_group', $data)) { - $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'KatapultAPI\\Core\\Model\\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup', 'json', $context)); + $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], \KatapultAPI\Core\Model\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup::class, 'json', $context)); unset($data['security_group']); } if (\array_key_exists('direction', $data)) { @@ -142,7 +142,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRule' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRule::class => false]; } } } else { @@ -155,12 +155,12 @@ class SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRuleNormali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRule'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRule::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -180,7 +180,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('security_group', $data)) { - $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'KatapultAPI\\Core\\Model\\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup', 'json', $context)); + $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], \KatapultAPI\Core\Model\GetSecurityGroupsRulesSecurityGroupRulePartSecurityGroup::class, 'json', $context)); unset($data['security_group']); } if (\array_key_exists('direction', $data)) { @@ -269,7 +269,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRule' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRuleGetResponse200SecurityGroupRule::class => false]; } } } diff --git a/src/Core/Normalizer/SecurityGroupsRulesSecurityGroupRulePatchBodyNormalizer.php b/src/Core/Normalizer/SecurityGroupsRulesSecurityGroupRulePatchBodyNormalizer.php index 1f1267ab..378623d1 100644 --- a/src/Core/Normalizer/SecurityGroupsRulesSecurityGroupRulePatchBodyNormalizer.php +++ b/src/Core/Normalizer/SecurityGroupsRulesSecurityGroupRulePatchBodyNormalizer.php @@ -31,12 +31,12 @@ class SecurityGroupsRulesSecurityGroupRulePatchBodyNormalizer implements Denorma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRulePatchBody'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRulePatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRulePatchBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRulePatchBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('security_group_rule', $data)) { - $object->setSecurityGroupRule($this->denormalizer->denormalize($data['security_group_rule'], 'KatapultAPI\\Core\\Model\\SecurityGroupRuleLookup', 'json', $context)); + $object->setSecurityGroupRule($this->denormalizer->denormalize($data['security_group_rule'], \KatapultAPI\Core\Model\SecurityGroupRuleLookup::class, 'json', $context)); unset($data['security_group_rule']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\SecurityGroupRuleArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\SecurityGroupRuleArguments::class, 'json', $context)); unset($data['properties']); } foreach ($data as $key => $value) { @@ -84,7 +84,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRulePatchBody' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRulePatchBody::class => false]; } } } else { @@ -97,12 +97,12 @@ class SecurityGroupsRulesSecurityGroupRulePatchBodyNormalizer implements Denorma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRulePatchBody'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRulePatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRulePatchBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRulePatchBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -118,11 +118,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('security_group_rule', $data)) { - $object->setSecurityGroupRule($this->denormalizer->denormalize($data['security_group_rule'], 'KatapultAPI\\Core\\Model\\SecurityGroupRuleLookup', 'json', $context)); + $object->setSecurityGroupRule($this->denormalizer->denormalize($data['security_group_rule'], \KatapultAPI\Core\Model\SecurityGroupRuleLookup::class, 'json', $context)); unset($data['security_group_rule']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\SecurityGroupRuleArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\SecurityGroupRuleArguments::class, 'json', $context)); unset($data['properties']); } foreach ($data as $key => $value) { @@ -153,7 +153,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRulePatchBody' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRulePatchBody::class => false]; } } } diff --git a/src/Core/Normalizer/SecurityGroupsRulesSecurityGroupRulePatchResponse200Normalizer.php b/src/Core/Normalizer/SecurityGroupsRulesSecurityGroupRulePatchResponse200Normalizer.php index 53e730f5..3259312f 100644 --- a/src/Core/Normalizer/SecurityGroupsRulesSecurityGroupRulePatchResponse200Normalizer.php +++ b/src/Core/Normalizer/SecurityGroupsRulesSecurityGroupRulePatchResponse200Normalizer.php @@ -31,12 +31,12 @@ class SecurityGroupsRulesSecurityGroupRulePatchResponse200Normalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRulePatchResponse200'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRulePatchResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRulePatchResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRulePatchResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('security_group_rule', $data)) { - $object->setSecurityGroupRule($this->denormalizer->denormalize($data['security_group_rule'], 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRule', 'json', $context)); + $object->setSecurityGroupRule($this->denormalizer->denormalize($data['security_group_rule'], \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRule::class, 'json', $context)); unset($data['security_group_rule']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRulePatchResponse200' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRulePatchResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class SecurityGroupsRulesSecurityGroupRulePatchResponse200Normalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRulePatchResponse200'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRulePatchResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRulePatchResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRulePatchResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('security_group_rule', $data)) { - $object->setSecurityGroupRule($this->denormalizer->denormalize($data['security_group_rule'], 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRule', 'json', $context)); + $object->setSecurityGroupRule($this->denormalizer->denormalize($data['security_group_rule'], \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRule::class, 'json', $context)); unset($data['security_group_rule']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRulePatchResponse200' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRulePatchResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRuleNormalizer.php b/src/Core/Normalizer/SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRuleNormalizer.php index b1413672..35623b1c 100644 --- a/src/Core/Normalizer/SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRuleNormalizer.php +++ b/src/Core/Normalizer/SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRuleNormalizer.php @@ -31,12 +31,12 @@ class SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRuleNorma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRule'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRule::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -56,7 +56,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['id']); } if (\array_key_exists('security_group', $data)) { - $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'KatapultAPI\\Core\\Model\\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup', 'json', $context)); + $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], \KatapultAPI\Core\Model\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup::class, 'json', $context)); unset($data['security_group']); } if (\array_key_exists('direction', $data)) { @@ -142,7 +142,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRule' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRule::class => false]; } } } else { @@ -155,12 +155,12 @@ class SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRuleNorma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRule'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRule::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -180,7 +180,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('security_group', $data)) { - $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'KatapultAPI\\Core\\Model\\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup', 'json', $context)); + $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], \KatapultAPI\Core\Model\PatchSecurityGroupsRulesSecurityGroupRulePartSecurityGroup::class, 'json', $context)); unset($data['security_group']); } if (\array_key_exists('direction', $data)) { @@ -269,7 +269,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRule' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsRulesSecurityGroupRulePatchResponse200SecurityGroupRule::class => false]; } } } diff --git a/src/Core/Normalizer/SecurityGroupsSecurityGroupDeleteBodyNormalizer.php b/src/Core/Normalizer/SecurityGroupsSecurityGroupDeleteBodyNormalizer.php index 11b3eab6..9731ec94 100644 --- a/src/Core/Normalizer/SecurityGroupsSecurityGroupDeleteBodyNormalizer.php +++ b/src/Core/Normalizer/SecurityGroupsSecurityGroupDeleteBodyNormalizer.php @@ -31,12 +31,12 @@ class SecurityGroupsSecurityGroupDeleteBodyNormalizer implements DenormalizerInt public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupDeleteBody'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupDeleteBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('security_group', $data)) { - $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'KatapultAPI\\Core\\Model\\SecurityGroupLookup', 'json', $context)); + $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], \KatapultAPI\Core\Model\SecurityGroupLookup::class, 'json', $context)); unset($data['security_group']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupDeleteBody' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsSecurityGroupDeleteBody::class => false]; } } } else { @@ -92,12 +92,12 @@ class SecurityGroupsSecurityGroupDeleteBodyNormalizer implements DenormalizerInt public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupDeleteBody'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupDeleteBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('security_group', $data)) { - $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'KatapultAPI\\Core\\Model\\SecurityGroupLookup', 'json', $context)); + $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], \KatapultAPI\Core\Model\SecurityGroupLookup::class, 'json', $context)); unset($data['security_group']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupDeleteBody' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsSecurityGroupDeleteBody::class => false]; } } } diff --git a/src/Core/Normalizer/SecurityGroupsSecurityGroupDeleteResponse200Normalizer.php b/src/Core/Normalizer/SecurityGroupsSecurityGroupDeleteResponse200Normalizer.php index fe2d332c..b1a51850 100644 --- a/src/Core/Normalizer/SecurityGroupsSecurityGroupDeleteResponse200Normalizer.php +++ b/src/Core/Normalizer/SecurityGroupsSecurityGroupDeleteResponse200Normalizer.php @@ -31,12 +31,12 @@ class SecurityGroupsSecurityGroupDeleteResponse200Normalizer implements Denormal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupDeleteResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('security_group', $data)) { - $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupDeleteResponse200SecurityGroup', 'json', $context)); + $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupDeleteResponse200SecurityGroup::class, 'json', $context)); unset($data['security_group']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsSecurityGroupDeleteResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class SecurityGroupsSecurityGroupDeleteResponse200Normalizer implements Denormal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupDeleteResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('security_group', $data)) { - $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupDeleteResponse200SecurityGroup', 'json', $context)); + $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupDeleteResponse200SecurityGroup::class, 'json', $context)); unset($data['security_group']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsSecurityGroupDeleteResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/SecurityGroupsSecurityGroupDeleteResponse200SecurityGroupNormalizer.php b/src/Core/Normalizer/SecurityGroupsSecurityGroupDeleteResponse200SecurityGroupNormalizer.php index 85812e46..d175284a 100644 --- a/src/Core/Normalizer/SecurityGroupsSecurityGroupDeleteResponse200SecurityGroupNormalizer.php +++ b/src/Core/Normalizer/SecurityGroupsSecurityGroupDeleteResponse200SecurityGroupNormalizer.php @@ -31,12 +31,12 @@ class SecurityGroupsSecurityGroupDeleteResponse200SecurityGroupNormalizer implem public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupDeleteResponse200SecurityGroup'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupDeleteResponse200SecurityGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupDeleteResponse200SecurityGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupDeleteResponse200SecurityGroup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupDeleteResponse200SecurityGroup' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsSecurityGroupDeleteResponse200SecurityGroup::class => false]; } } } else { @@ -101,12 +101,12 @@ class SecurityGroupsSecurityGroupDeleteResponse200SecurityGroupNormalizer implem public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupDeleteResponse200SecurityGroup'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupDeleteResponse200SecurityGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupDeleteResponse200SecurityGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupDeleteResponse200SecurityGroup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupDeleteResponse200SecurityGroup' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsSecurityGroupDeleteResponse200SecurityGroup::class => false]; } } } diff --git a/src/Core/Normalizer/SecurityGroupsSecurityGroupGetResponse200Normalizer.php b/src/Core/Normalizer/SecurityGroupsSecurityGroupGetResponse200Normalizer.php index 244bb676..96b0a90f 100644 --- a/src/Core/Normalizer/SecurityGroupsSecurityGroupGetResponse200Normalizer.php +++ b/src/Core/Normalizer/SecurityGroupsSecurityGroupGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class SecurityGroupsSecurityGroupGetResponse200Normalizer implements Denormalize public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupGetResponse200'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('security_group', $data)) { - $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupGetResponse200SecurityGroup', 'json', $context)); + $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupGetResponse200SecurityGroup::class, 'json', $context)); unset($data['security_group']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupGetResponse200' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsSecurityGroupGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class SecurityGroupsSecurityGroupGetResponse200Normalizer implements Denormalize public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupGetResponse200'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('security_group', $data)) { - $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupGetResponse200SecurityGroup', 'json', $context)); + $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupGetResponse200SecurityGroup::class, 'json', $context)); unset($data['security_group']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupGetResponse200' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsSecurityGroupGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/SecurityGroupsSecurityGroupGetResponse200SecurityGroupNormalizer.php b/src/Core/Normalizer/SecurityGroupsSecurityGroupGetResponse200SecurityGroupNormalizer.php index 69cac1ef..9ebbec0a 100644 --- a/src/Core/Normalizer/SecurityGroupsSecurityGroupGetResponse200SecurityGroupNormalizer.php +++ b/src/Core/Normalizer/SecurityGroupsSecurityGroupGetResponse200SecurityGroupNormalizer.php @@ -31,12 +31,12 @@ class SecurityGroupsSecurityGroupGetResponse200SecurityGroupNormalizer implement public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupGetResponse200SecurityGroup'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupGetResponse200SecurityGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupGetResponse200SecurityGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupGetResponse200SecurityGroup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -117,7 +117,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupGetResponse200SecurityGroup' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsSecurityGroupGetResponse200SecurityGroup::class => false]; } } } else { @@ -130,12 +130,12 @@ class SecurityGroupsSecurityGroupGetResponse200SecurityGroupNormalizer implement public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupGetResponse200SecurityGroup'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupGetResponse200SecurityGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupGetResponse200SecurityGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupGetResponse200SecurityGroup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -219,7 +219,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupGetResponse200SecurityGroup' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsSecurityGroupGetResponse200SecurityGroup::class => false]; } } } diff --git a/src/Core/Normalizer/SecurityGroupsSecurityGroupPatchBodyNormalizer.php b/src/Core/Normalizer/SecurityGroupsSecurityGroupPatchBodyNormalizer.php index 2a8b70e5..14ebcf47 100644 --- a/src/Core/Normalizer/SecurityGroupsSecurityGroupPatchBodyNormalizer.php +++ b/src/Core/Normalizer/SecurityGroupsSecurityGroupPatchBodyNormalizer.php @@ -31,12 +31,12 @@ class SecurityGroupsSecurityGroupPatchBodyNormalizer implements DenormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupPatchBody'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupPatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupPatchBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupPatchBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,17 +52,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('security_group', $data)) { - $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'KatapultAPI\\Core\\Model\\SecurityGroupLookup', 'json', $context)); + $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], \KatapultAPI\Core\Model\SecurityGroupLookup::class, 'json', $context)); unset($data['security_group']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\SecurityGroupArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\SecurityGroupArguments::class, 'json', $context)); unset($data['properties']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -99,7 +99,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupPatchBody' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsSecurityGroupPatchBody::class => false]; } } } else { @@ -112,12 +112,12 @@ class SecurityGroupsSecurityGroupPatchBodyNormalizer implements DenormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupPatchBody'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupPatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupPatchBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupPatchBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -133,17 +133,17 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('security_group', $data)) { - $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'KatapultAPI\\Core\\Model\\SecurityGroupLookup', 'json', $context)); + $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], \KatapultAPI\Core\Model\SecurityGroupLookup::class, 'json', $context)); unset($data['security_group']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\SecurityGroupArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\SecurityGroupArguments::class, 'json', $context)); unset($data['properties']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -183,7 +183,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupPatchBody' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsSecurityGroupPatchBody::class => false]; } } } diff --git a/src/Core/Normalizer/SecurityGroupsSecurityGroupPatchResponse200Normalizer.php b/src/Core/Normalizer/SecurityGroupsSecurityGroupPatchResponse200Normalizer.php index 220b97f6..b1da7198 100644 --- a/src/Core/Normalizer/SecurityGroupsSecurityGroupPatchResponse200Normalizer.php +++ b/src/Core/Normalizer/SecurityGroupsSecurityGroupPatchResponse200Normalizer.php @@ -31,12 +31,12 @@ class SecurityGroupsSecurityGroupPatchResponse200Normalizer implements Denormali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupPatchResponse200'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupPatchResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupPatchResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupPatchResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('security_group', $data)) { - $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupPatchResponse200SecurityGroup', 'json', $context)); + $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupPatchResponse200SecurityGroup::class, 'json', $context)); unset($data['security_group']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupPatchResponse200' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsSecurityGroupPatchResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class SecurityGroupsSecurityGroupPatchResponse200Normalizer implements Denormali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupPatchResponse200'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupPatchResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupPatchResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupPatchResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('security_group', $data)) { - $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupPatchResponse200SecurityGroup', 'json', $context)); + $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupPatchResponse200SecurityGroup::class, 'json', $context)); unset($data['security_group']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupPatchResponse200' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsSecurityGroupPatchResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/SecurityGroupsSecurityGroupPatchResponse200SecurityGroupNormalizer.php b/src/Core/Normalizer/SecurityGroupsSecurityGroupPatchResponse200SecurityGroupNormalizer.php index c46b4cbe..3efde349 100644 --- a/src/Core/Normalizer/SecurityGroupsSecurityGroupPatchResponse200SecurityGroupNormalizer.php +++ b/src/Core/Normalizer/SecurityGroupsSecurityGroupPatchResponse200SecurityGroupNormalizer.php @@ -31,12 +31,12 @@ class SecurityGroupsSecurityGroupPatchResponse200SecurityGroupNormalizer impleme public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupPatchResponse200SecurityGroup'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupPatchResponse200SecurityGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupPatchResponse200SecurityGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupPatchResponse200SecurityGroup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -117,7 +117,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupPatchResponse200SecurityGroup' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsSecurityGroupPatchResponse200SecurityGroup::class => false]; } } } else { @@ -130,12 +130,12 @@ class SecurityGroupsSecurityGroupPatchResponse200SecurityGroupNormalizer impleme public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupPatchResponse200SecurityGroup'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupPatchResponse200SecurityGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupPatchResponse200SecurityGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupPatchResponse200SecurityGroup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -219,7 +219,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupPatchResponse200SecurityGroup' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsSecurityGroupPatchResponse200SecurityGroup::class => false]; } } } diff --git a/src/Core/Normalizer/SecurityGroupsSecurityGroupRulesGetResponse200Normalizer.php b/src/Core/Normalizer/SecurityGroupsSecurityGroupRulesGetResponse200Normalizer.php index 42c4bdab..997527ab 100644 --- a/src/Core/Normalizer/SecurityGroupsSecurityGroupRulesGetResponse200Normalizer.php +++ b/src/Core/Normalizer/SecurityGroupsSecurityGroupRulesGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class SecurityGroupsSecurityGroupRulesGetResponse200Normalizer implements Denorm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesGetResponse200'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('security_group_rules', $data)) { $values = []; foreach ($data['security_group_rules'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetSecurityGroupRules200ResponseSecurityGroupRules', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetSecurityGroupRules200ResponseSecurityGroupRules::class, 'json', $context); } $object->setSecurityGroupRules($values); unset($data['security_group_rules']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class SecurityGroupsSecurityGroupRulesGetResponse200Normalizer implements Denorm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesGetResponse200'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('security_group_rules', $data)) { $values = []; foreach ($data['security_group_rules'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetSecurityGroupRules200ResponseSecurityGroupRules', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetSecurityGroupRules200ResponseSecurityGroupRules::class, 'json', $context); } $object->setSecurityGroupRules($values); unset($data['security_group_rules']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/SecurityGroupsSecurityGroupRulesPostBodyNormalizer.php b/src/Core/Normalizer/SecurityGroupsSecurityGroupRulesPostBodyNormalizer.php index bd4e99e9..528588fa 100644 --- a/src/Core/Normalizer/SecurityGroupsSecurityGroupRulesPostBodyNormalizer.php +++ b/src/Core/Normalizer/SecurityGroupsSecurityGroupRulesPostBodyNormalizer.php @@ -31,12 +31,12 @@ class SecurityGroupsSecurityGroupRulesPostBodyNormalizer implements Denormalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesPostBody'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('security_group', $data)) { - $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'KatapultAPI\\Core\\Model\\SecurityGroupLookup', 'json', $context)); + $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], \KatapultAPI\Core\Model\SecurityGroupLookup::class, 'json', $context)); unset($data['security_group']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\SecurityGroupRuleArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\SecurityGroupRuleArguments::class, 'json', $context)); unset($data['properties']); } foreach ($data as $key => $value) { @@ -84,7 +84,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesPostBody' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesPostBody::class => false]; } } } else { @@ -97,12 +97,12 @@ class SecurityGroupsSecurityGroupRulesPostBodyNormalizer implements Denormalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesPostBody'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -118,11 +118,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('security_group', $data)) { - $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'KatapultAPI\\Core\\Model\\SecurityGroupLookup', 'json', $context)); + $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], \KatapultAPI\Core\Model\SecurityGroupLookup::class, 'json', $context)); unset($data['security_group']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\SecurityGroupRuleArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\SecurityGroupRuleArguments::class, 'json', $context)); unset($data['properties']); } foreach ($data as $key => $value) { @@ -153,7 +153,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesPostBody' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/SecurityGroupsSecurityGroupRulesPostResponse200Normalizer.php b/src/Core/Normalizer/SecurityGroupsSecurityGroupRulesPostResponse200Normalizer.php index 6d0a4cae..ec053b9f 100644 --- a/src/Core/Normalizer/SecurityGroupsSecurityGroupRulesPostResponse200Normalizer.php +++ b/src/Core/Normalizer/SecurityGroupsSecurityGroupRulesPostResponse200Normalizer.php @@ -31,12 +31,12 @@ class SecurityGroupsSecurityGroupRulesPostResponse200Normalizer implements Denor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesPostResponse200'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesPostResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('security_group_rule', $data)) { - $object->setSecurityGroupRule($this->denormalizer->denormalize($data['security_group_rule'], 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRule', 'json', $context)); + $object->setSecurityGroupRule($this->denormalizer->denormalize($data['security_group_rule'], \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRule::class, 'json', $context)); unset($data['security_group_rule']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesPostResponse200' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesPostResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class SecurityGroupsSecurityGroupRulesPostResponse200Normalizer implements Denor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesPostResponse200'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesPostResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('security_group_rule', $data)) { - $object->setSecurityGroupRule($this->denormalizer->denormalize($data['security_group_rule'], 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRule', 'json', $context)); + $object->setSecurityGroupRule($this->denormalizer->denormalize($data['security_group_rule'], \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRule::class, 'json', $context)); unset($data['security_group_rule']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesPostResponse200' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesPostResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRuleNormalizer.php b/src/Core/Normalizer/SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRuleNormalizer.php index a8373fc7..e65ae635 100644 --- a/src/Core/Normalizer/SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRuleNormalizer.php +++ b/src/Core/Normalizer/SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRuleNormalizer.php @@ -31,12 +31,12 @@ class SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRuleNormalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRule'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRule::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -56,7 +56,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['id']); } if (\array_key_exists('security_group', $data)) { - $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'KatapultAPI\\Core\\Model\\PostSecurityGroupRulesPartSecurityGroup', 'json', $context)); + $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], \KatapultAPI\Core\Model\PostSecurityGroupRulesPartSecurityGroup::class, 'json', $context)); unset($data['security_group']); } if (\array_key_exists('direction', $data)) { @@ -142,7 +142,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRule' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRule::class => false]; } } } else { @@ -155,12 +155,12 @@ class SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRuleNormalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRule'; + return $type === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRule::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRule'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRule::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -180,7 +180,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('security_group', $data)) { - $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], 'KatapultAPI\\Core\\Model\\PostSecurityGroupRulesPartSecurityGroup', 'json', $context)); + $object->setSecurityGroup($this->denormalizer->denormalize($data['security_group'], \KatapultAPI\Core\Model\PostSecurityGroupRulesPartSecurityGroup::class, 'json', $context)); unset($data['security_group']); } if (\array_key_exists('direction', $data)) { @@ -269,7 +269,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRule' => false]; + return [\KatapultAPI\Core\Model\SecurityGroupsSecurityGroupRulesPostResponse200SecurityGroupRule::class => false]; } } } diff --git a/src/Core/Normalizer/SinglePriceVariantNormalizer.php b/src/Core/Normalizer/SinglePriceVariantNormalizer.php index e0841e15..a8890481 100644 --- a/src/Core/Normalizer/SinglePriceVariantNormalizer.php +++ b/src/Core/Normalizer/SinglePriceVariantNormalizer.php @@ -31,12 +31,12 @@ class SinglePriceVariantNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SinglePriceVariant'; + return $type === \KatapultAPI\Core\Model\SinglePriceVariant::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SinglePriceVariant'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SinglePriceVariant::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -100,7 +100,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SinglePriceVariant' => false]; + return [\KatapultAPI\Core\Model\SinglePriceVariant::class => false]; } } } else { @@ -113,12 +113,12 @@ class SinglePriceVariantNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SinglePriceVariant'; + return $type === \KatapultAPI\Core\Model\SinglePriceVariant::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SinglePriceVariant'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SinglePriceVariant::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -185,7 +185,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SinglePriceVariant' => false]; + return [\KatapultAPI\Core\Model\SinglePriceVariant::class => false]; } } } diff --git a/src/Core/Normalizer/SshKeysSshKeyDeleteBodyNormalizer.php b/src/Core/Normalizer/SshKeysSshKeyDeleteBodyNormalizer.php index 2bae552e..bdb5deef 100644 --- a/src/Core/Normalizer/SshKeysSshKeyDeleteBodyNormalizer.php +++ b/src/Core/Normalizer/SshKeysSshKeyDeleteBodyNormalizer.php @@ -31,12 +31,12 @@ class SshKeysSshKeyDeleteBodyNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SshKeysSshKeyDeleteBody'; + return $type === \KatapultAPI\Core\Model\SshKeysSshKeyDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SshKeysSshKeyDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SshKeysSshKeyDeleteBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('ssh_key', $data)) { - $object->setSshKey($this->denormalizer->denormalize($data['ssh_key'], 'KatapultAPI\\Core\\Model\\AuthSSHKeyLookup', 'json', $context)); + $object->setSshKey($this->denormalizer->denormalize($data['ssh_key'], \KatapultAPI\Core\Model\AuthSSHKeyLookup::class, 'json', $context)); unset($data['ssh_key']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SshKeysSshKeyDeleteBody' => false]; + return [\KatapultAPI\Core\Model\SshKeysSshKeyDeleteBody::class => false]; } } } else { @@ -92,12 +92,12 @@ class SshKeysSshKeyDeleteBodyNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SshKeysSshKeyDeleteBody'; + return $type === \KatapultAPI\Core\Model\SshKeysSshKeyDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SshKeysSshKeyDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SshKeysSshKeyDeleteBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('ssh_key', $data)) { - $object->setSshKey($this->denormalizer->denormalize($data['ssh_key'], 'KatapultAPI\\Core\\Model\\AuthSSHKeyLookup', 'json', $context)); + $object->setSshKey($this->denormalizer->denormalize($data['ssh_key'], \KatapultAPI\Core\Model\AuthSSHKeyLookup::class, 'json', $context)); unset($data['ssh_key']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SshKeysSshKeyDeleteBody' => false]; + return [\KatapultAPI\Core\Model\SshKeysSshKeyDeleteBody::class => false]; } } } diff --git a/src/Core/Normalizer/SshKeysSshKeyDeleteResponse200Normalizer.php b/src/Core/Normalizer/SshKeysSshKeyDeleteResponse200Normalizer.php index 688e18ce..dbe0de26 100644 --- a/src/Core/Normalizer/SshKeysSshKeyDeleteResponse200Normalizer.php +++ b/src/Core/Normalizer/SshKeysSshKeyDeleteResponse200Normalizer.php @@ -31,12 +31,12 @@ class SshKeysSshKeyDeleteResponse200Normalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SshKeysSshKeyDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\SshKeysSshKeyDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SshKeysSshKeyDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SshKeysSshKeyDeleteResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('ssh_key', $data)) { - $object->setSshKey($this->denormalizer->denormalize($data['ssh_key'], 'KatapultAPI\\Core\\Model\\AuthSSHKey', 'json', $context)); + $object->setSshKey($this->denormalizer->denormalize($data['ssh_key'], \KatapultAPI\Core\Model\AuthSSHKey::class, 'json', $context)); unset($data['ssh_key']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SshKeysSshKeyDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\SshKeysSshKeyDeleteResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class SshKeysSshKeyDeleteResponse200Normalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\SshKeysSshKeyDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\SshKeysSshKeyDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\SshKeysSshKeyDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\SshKeysSshKeyDeleteResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('ssh_key', $data)) { - $object->setSshKey($this->denormalizer->denormalize($data['ssh_key'], 'KatapultAPI\\Core\\Model\\AuthSSHKey', 'json', $context)); + $object->setSshKey($this->denormalizer->denormalize($data['ssh_key'], \KatapultAPI\Core\Model\AuthSSHKey::class, 'json', $context)); unset($data['ssh_key']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\SshKeysSshKeyDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\SshKeysSshKeyDeleteResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/TagArgumentsNormalizer.php b/src/Core/Normalizer/TagArgumentsNormalizer.php index c58c0d54..98898053 100644 --- a/src/Core/Normalizer/TagArgumentsNormalizer.php +++ b/src/Core/Normalizer/TagArgumentsNormalizer.php @@ -31,12 +31,12 @@ class TagArgumentsNormalizer implements DenormalizerInterface, NormalizerInterfa public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TagArguments'; + return $type === \KatapultAPI\Core\Model\TagArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TagArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TagArguments::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TagArguments' => false]; + return [\KatapultAPI\Core\Model\TagArguments::class => false]; } } } else { @@ -101,12 +101,12 @@ class TagArgumentsNormalizer implements DenormalizerInterface, NormalizerInterfa public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TagArguments'; + return $type === \KatapultAPI\Core\Model\TagArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TagArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TagArguments::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TagArguments' => false]; + return [\KatapultAPI\Core\Model\TagArguments::class => false]; } } } diff --git a/src/Core/Normalizer/TagLookupNormalizer.php b/src/Core/Normalizer/TagLookupNormalizer.php index fd0165d1..731c73b1 100644 --- a/src/Core/Normalizer/TagLookupNormalizer.php +++ b/src/Core/Normalizer/TagLookupNormalizer.php @@ -31,12 +31,12 @@ class TagLookupNormalizer implements DenormalizerInterface, NormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TagLookup'; + return $type === \KatapultAPI\Core\Model\TagLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TagLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TagLookup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TagLookup' => false]; + return [\KatapultAPI\Core\Model\TagLookup::class => false]; } } } else { @@ -94,12 +94,12 @@ class TagLookupNormalizer implements DenormalizerInterface, NormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TagLookup'; + return $type === \KatapultAPI\Core\Model\TagLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TagLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TagLookup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TagLookup' => false]; + return [\KatapultAPI\Core\Model\TagLookup::class => false]; } } } diff --git a/src/Core/Normalizer/TagNormalizer.php b/src/Core/Normalizer/TagNormalizer.php index b8e350b9..feba53da 100644 --- a/src/Core/Normalizer/TagNormalizer.php +++ b/src/Core/Normalizer/TagNormalizer.php @@ -31,12 +31,12 @@ class TagNormalizer implements DenormalizerInterface, NormalizerInterface, Denor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\Tag'; + return $type === \KatapultAPI\Core\Model\Tag::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\Tag'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\Tag::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\Tag' => false]; + return [\KatapultAPI\Core\Model\Tag::class => false]; } } } else { @@ -115,12 +115,12 @@ class TagNormalizer implements DenormalizerInterface, NormalizerInterface, Denor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\Tag'; + return $type === \KatapultAPI\Core\Model\Tag::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\Tag'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\Tag::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\Tag' => false]; + return [\KatapultAPI\Core\Model\Tag::class => false]; } } } diff --git a/src/Core/Normalizer/TagsTagDeleteBodyNormalizer.php b/src/Core/Normalizer/TagsTagDeleteBodyNormalizer.php index 7a4d84fb..33ddd5f0 100644 --- a/src/Core/Normalizer/TagsTagDeleteBodyNormalizer.php +++ b/src/Core/Normalizer/TagsTagDeleteBodyNormalizer.php @@ -31,12 +31,12 @@ class TagsTagDeleteBodyNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TagsTagDeleteBody'; + return $type === \KatapultAPI\Core\Model\TagsTagDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TagsTagDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TagsTagDeleteBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('tag', $data)) { - $object->setTag($this->denormalizer->denormalize($data['tag'], 'KatapultAPI\\Core\\Model\\TagLookup', 'json', $context)); + $object->setTag($this->denormalizer->denormalize($data['tag'], \KatapultAPI\Core\Model\TagLookup::class, 'json', $context)); unset($data['tag']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TagsTagDeleteBody' => false]; + return [\KatapultAPI\Core\Model\TagsTagDeleteBody::class => false]; } } } else { @@ -92,12 +92,12 @@ class TagsTagDeleteBodyNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TagsTagDeleteBody'; + return $type === \KatapultAPI\Core\Model\TagsTagDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TagsTagDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TagsTagDeleteBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('tag', $data)) { - $object->setTag($this->denormalizer->denormalize($data['tag'], 'KatapultAPI\\Core\\Model\\TagLookup', 'json', $context)); + $object->setTag($this->denormalizer->denormalize($data['tag'], \KatapultAPI\Core\Model\TagLookup::class, 'json', $context)); unset($data['tag']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TagsTagDeleteBody' => false]; + return [\KatapultAPI\Core\Model\TagsTagDeleteBody::class => false]; } } } diff --git a/src/Core/Normalizer/TagsTagDeleteResponse200Normalizer.php b/src/Core/Normalizer/TagsTagDeleteResponse200Normalizer.php index d4df24ab..62fea3ec 100644 --- a/src/Core/Normalizer/TagsTagDeleteResponse200Normalizer.php +++ b/src/Core/Normalizer/TagsTagDeleteResponse200Normalizer.php @@ -31,12 +31,12 @@ class TagsTagDeleteResponse200Normalizer implements DenormalizerInterface, Norma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TagsTagDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\TagsTagDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TagsTagDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TagsTagDeleteResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('tag', $data)) { - $object->setTag($this->denormalizer->denormalize($data['tag'], 'KatapultAPI\\Core\\Model\\TagsTagDeleteResponse200Tag', 'json', $context)); + $object->setTag($this->denormalizer->denormalize($data['tag'], \KatapultAPI\Core\Model\TagsTagDeleteResponse200Tag::class, 'json', $context)); unset($data['tag']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TagsTagDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\TagsTagDeleteResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class TagsTagDeleteResponse200Normalizer implements DenormalizerInterface, Norma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TagsTagDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\TagsTagDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TagsTagDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TagsTagDeleteResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('tag', $data)) { - $object->setTag($this->denormalizer->denormalize($data['tag'], 'KatapultAPI\\Core\\Model\\TagsTagDeleteResponse200Tag', 'json', $context)); + $object->setTag($this->denormalizer->denormalize($data['tag'], \KatapultAPI\Core\Model\TagsTagDeleteResponse200Tag::class, 'json', $context)); unset($data['tag']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TagsTagDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\TagsTagDeleteResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/TagsTagDeleteResponse200TagNormalizer.php b/src/Core/Normalizer/TagsTagDeleteResponse200TagNormalizer.php index 57e9ad03..00b96dfa 100644 --- a/src/Core/Normalizer/TagsTagDeleteResponse200TagNormalizer.php +++ b/src/Core/Normalizer/TagsTagDeleteResponse200TagNormalizer.php @@ -31,12 +31,12 @@ class TagsTagDeleteResponse200TagNormalizer implements DenormalizerInterface, No public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TagsTagDeleteResponse200Tag'; + return $type === \KatapultAPI\Core\Model\TagsTagDeleteResponse200Tag::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TagsTagDeleteResponse200Tag'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TagsTagDeleteResponse200Tag::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TagsTagDeleteResponse200Tag' => false]; + return [\KatapultAPI\Core\Model\TagsTagDeleteResponse200Tag::class => false]; } } } else { @@ -115,12 +115,12 @@ class TagsTagDeleteResponse200TagNormalizer implements DenormalizerInterface, No public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TagsTagDeleteResponse200Tag'; + return $type === \KatapultAPI\Core\Model\TagsTagDeleteResponse200Tag::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TagsTagDeleteResponse200Tag'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TagsTagDeleteResponse200Tag::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TagsTagDeleteResponse200Tag' => false]; + return [\KatapultAPI\Core\Model\TagsTagDeleteResponse200Tag::class => false]; } } } diff --git a/src/Core/Normalizer/TagsTagGetResponse200Normalizer.php b/src/Core/Normalizer/TagsTagGetResponse200Normalizer.php index 6d2d4e38..1ee661ce 100644 --- a/src/Core/Normalizer/TagsTagGetResponse200Normalizer.php +++ b/src/Core/Normalizer/TagsTagGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class TagsTagGetResponse200Normalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TagsTagGetResponse200'; + return $type === \KatapultAPI\Core\Model\TagsTagGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TagsTagGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TagsTagGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('tag', $data)) { - $object->setTag($this->denormalizer->denormalize($data['tag'], 'KatapultAPI\\Core\\Model\\TagsTagGetResponse200Tag', 'json', $context)); + $object->setTag($this->denormalizer->denormalize($data['tag'], \KatapultAPI\Core\Model\TagsTagGetResponse200Tag::class, 'json', $context)); unset($data['tag']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TagsTagGetResponse200' => false]; + return [\KatapultAPI\Core\Model\TagsTagGetResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class TagsTagGetResponse200Normalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TagsTagGetResponse200'; + return $type === \KatapultAPI\Core\Model\TagsTagGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TagsTagGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TagsTagGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('tag', $data)) { - $object->setTag($this->denormalizer->denormalize($data['tag'], 'KatapultAPI\\Core\\Model\\TagsTagGetResponse200Tag', 'json', $context)); + $object->setTag($this->denormalizer->denormalize($data['tag'], \KatapultAPI\Core\Model\TagsTagGetResponse200Tag::class, 'json', $context)); unset($data['tag']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TagsTagGetResponse200' => false]; + return [\KatapultAPI\Core\Model\TagsTagGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/TagsTagGetResponse200TagNormalizer.php b/src/Core/Normalizer/TagsTagGetResponse200TagNormalizer.php index 9058f7d7..2ef6807f 100644 --- a/src/Core/Normalizer/TagsTagGetResponse200TagNormalizer.php +++ b/src/Core/Normalizer/TagsTagGetResponse200TagNormalizer.php @@ -31,12 +31,12 @@ class TagsTagGetResponse200TagNormalizer implements DenormalizerInterface, Norma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TagsTagGetResponse200Tag'; + return $type === \KatapultAPI\Core\Model\TagsTagGetResponse200Tag::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TagsTagGetResponse200Tag'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TagsTagGetResponse200Tag::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TagsTagGetResponse200Tag' => false]; + return [\KatapultAPI\Core\Model\TagsTagGetResponse200Tag::class => false]; } } } else { @@ -115,12 +115,12 @@ class TagsTagGetResponse200TagNormalizer implements DenormalizerInterface, Norma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TagsTagGetResponse200Tag'; + return $type === \KatapultAPI\Core\Model\TagsTagGetResponse200Tag::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TagsTagGetResponse200Tag'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TagsTagGetResponse200Tag::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TagsTagGetResponse200Tag' => false]; + return [\KatapultAPI\Core\Model\TagsTagGetResponse200Tag::class => false]; } } } diff --git a/src/Core/Normalizer/TagsTagPatchBodyNormalizer.php b/src/Core/Normalizer/TagsTagPatchBodyNormalizer.php index 28386b5a..b668bfb1 100644 --- a/src/Core/Normalizer/TagsTagPatchBodyNormalizer.php +++ b/src/Core/Normalizer/TagsTagPatchBodyNormalizer.php @@ -31,12 +31,12 @@ class TagsTagPatchBodyNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TagsTagPatchBody'; + return $type === \KatapultAPI\Core\Model\TagsTagPatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TagsTagPatchBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TagsTagPatchBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('tag', $data)) { - $object->setTag($this->denormalizer->denormalize($data['tag'], 'KatapultAPI\\Core\\Model\\TagLookup', 'json', $context)); + $object->setTag($this->denormalizer->denormalize($data['tag'], \KatapultAPI\Core\Model\TagLookup::class, 'json', $context)); unset($data['tag']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\TagArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\TagArguments::class, 'json', $context)); unset($data['properties']); } foreach ($data as $key => $value) { @@ -84,7 +84,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TagsTagPatchBody' => false]; + return [\KatapultAPI\Core\Model\TagsTagPatchBody::class => false]; } } } else { @@ -97,12 +97,12 @@ class TagsTagPatchBodyNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TagsTagPatchBody'; + return $type === \KatapultAPI\Core\Model\TagsTagPatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TagsTagPatchBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TagsTagPatchBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -118,11 +118,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('tag', $data)) { - $object->setTag($this->denormalizer->denormalize($data['tag'], 'KatapultAPI\\Core\\Model\\TagLookup', 'json', $context)); + $object->setTag($this->denormalizer->denormalize($data['tag'], \KatapultAPI\Core\Model\TagLookup::class, 'json', $context)); unset($data['tag']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\TagArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\TagArguments::class, 'json', $context)); unset($data['properties']); } foreach ($data as $key => $value) { @@ -153,7 +153,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TagsTagPatchBody' => false]; + return [\KatapultAPI\Core\Model\TagsTagPatchBody::class => false]; } } } diff --git a/src/Core/Normalizer/TagsTagPatchResponse200Normalizer.php b/src/Core/Normalizer/TagsTagPatchResponse200Normalizer.php index 59553d5a..43111aca 100644 --- a/src/Core/Normalizer/TagsTagPatchResponse200Normalizer.php +++ b/src/Core/Normalizer/TagsTagPatchResponse200Normalizer.php @@ -31,12 +31,12 @@ class TagsTagPatchResponse200Normalizer implements DenormalizerInterface, Normal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TagsTagPatchResponse200'; + return $type === \KatapultAPI\Core\Model\TagsTagPatchResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TagsTagPatchResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TagsTagPatchResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('tag', $data)) { - $object->setTag($this->denormalizer->denormalize($data['tag'], 'KatapultAPI\\Core\\Model\\TagsTagPatchResponse200Tag', 'json', $context)); + $object->setTag($this->denormalizer->denormalize($data['tag'], \KatapultAPI\Core\Model\TagsTagPatchResponse200Tag::class, 'json', $context)); unset($data['tag']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TagsTagPatchResponse200' => false]; + return [\KatapultAPI\Core\Model\TagsTagPatchResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class TagsTagPatchResponse200Normalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TagsTagPatchResponse200'; + return $type === \KatapultAPI\Core\Model\TagsTagPatchResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TagsTagPatchResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TagsTagPatchResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('tag', $data)) { - $object->setTag($this->denormalizer->denormalize($data['tag'], 'KatapultAPI\\Core\\Model\\TagsTagPatchResponse200Tag', 'json', $context)); + $object->setTag($this->denormalizer->denormalize($data['tag'], \KatapultAPI\Core\Model\TagsTagPatchResponse200Tag::class, 'json', $context)); unset($data['tag']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TagsTagPatchResponse200' => false]; + return [\KatapultAPI\Core\Model\TagsTagPatchResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/TagsTagPatchResponse200TagNormalizer.php b/src/Core/Normalizer/TagsTagPatchResponse200TagNormalizer.php index 4913692a..26cdf5ad 100644 --- a/src/Core/Normalizer/TagsTagPatchResponse200TagNormalizer.php +++ b/src/Core/Normalizer/TagsTagPatchResponse200TagNormalizer.php @@ -31,12 +31,12 @@ class TagsTagPatchResponse200TagNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TagsTagPatchResponse200Tag'; + return $type === \KatapultAPI\Core\Model\TagsTagPatchResponse200Tag::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TagsTagPatchResponse200Tag'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TagsTagPatchResponse200Tag::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TagsTagPatchResponse200Tag' => false]; + return [\KatapultAPI\Core\Model\TagsTagPatchResponse200Tag::class => false]; } } } else { @@ -115,12 +115,12 @@ class TagsTagPatchResponse200TagNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TagsTagPatchResponse200Tag'; + return $type === \KatapultAPI\Core\Model\TagsTagPatchResponse200Tag::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TagsTagPatchResponse200Tag'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TagsTagPatchResponse200Tag::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TagsTagPatchResponse200Tag' => false]; + return [\KatapultAPI\Core\Model\TagsTagPatchResponse200Tag::class => false]; } } } diff --git a/src/Core/Normalizer/TaskNormalizer.php b/src/Core/Normalizer/TaskNormalizer.php index a2349028..61c62f17 100644 --- a/src/Core/Normalizer/TaskNormalizer.php +++ b/src/Core/Normalizer/TaskNormalizer.php @@ -31,12 +31,12 @@ class TaskNormalizer implements DenormalizerInterface, NormalizerInterface, Deno public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\Task'; + return $type === \KatapultAPI\Core\Model\Task::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\Task'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\Task::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -127,7 +127,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\Task' => false]; + return [\KatapultAPI\Core\Model\Task::class => false]; } } } else { @@ -140,12 +140,12 @@ class TaskNormalizer implements DenormalizerInterface, NormalizerInterface, Deno public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\Task'; + return $type === \KatapultAPI\Core\Model\Task::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\Task'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\Task::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -239,7 +239,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\Task' => false]; + return [\KatapultAPI\Core\Model\Task::class => false]; } } } diff --git a/src/Core/Normalizer/TaskQueueingErrorNormalizer.php b/src/Core/Normalizer/TaskQueueingErrorNormalizer.php index d590bc99..7153d009 100644 --- a/src/Core/Normalizer/TaskQueueingErrorNormalizer.php +++ b/src/Core/Normalizer/TaskQueueingErrorNormalizer.php @@ -31,12 +31,12 @@ class TaskQueueingErrorNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TaskQueueingError'; + return $type === \KatapultAPI\Core\Model\TaskQueueingError::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TaskQueueingError'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TaskQueueingError::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TaskQueueingError' => false]; + return [\KatapultAPI\Core\Model\TaskQueueingError::class => false]; } } } else { @@ -94,12 +94,12 @@ class TaskQueueingErrorNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TaskQueueingError'; + return $type === \KatapultAPI\Core\Model\TaskQueueingError::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TaskQueueingError'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TaskQueueingError::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TaskQueueingError' => false]; + return [\KatapultAPI\Core\Model\TaskQueueingError::class => false]; } } } diff --git a/src/Core/Normalizer/TaskQueueingErrorSchemaNormalizer.php b/src/Core/Normalizer/TaskQueueingErrorSchemaNormalizer.php index 6a1f3a01..eff81e7d 100644 --- a/src/Core/Normalizer/TaskQueueingErrorSchemaNormalizer.php +++ b/src/Core/Normalizer/TaskQueueingErrorSchemaNormalizer.php @@ -31,12 +31,12 @@ class TaskQueueingErrorSchemaNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TaskQueueingErrorSchema'; + return $type === \KatapultAPI\Core\Model\TaskQueueingErrorSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TaskQueueingErrorSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TaskQueueingErrorSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Core\\Model\\TaskQueueingError', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Core\Model\TaskQueueingError::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TaskQueueingErrorSchema' => false]; + return [\KatapultAPI\Core\Model\TaskQueueingErrorSchema::class => false]; } } } else { @@ -108,12 +108,12 @@ class TaskQueueingErrorSchemaNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TaskQueueingErrorSchema'; + return $type === \KatapultAPI\Core\Model\TaskQueueingErrorSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TaskQueueingErrorSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TaskQueueingErrorSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -137,7 +137,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Core\\Model\\TaskQueueingError', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Core\Model\TaskQueueingError::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TaskQueueingErrorSchema' => false]; + return [\KatapultAPI\Core\Model\TaskQueueingErrorSchema::class => false]; } } } diff --git a/src/Core/Normalizer/TasksTaskGetResponse200Normalizer.php b/src/Core/Normalizer/TasksTaskGetResponse200Normalizer.php index c860aeb8..1c9045e6 100644 --- a/src/Core/Normalizer/TasksTaskGetResponse200Normalizer.php +++ b/src/Core/Normalizer/TasksTaskGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class TasksTaskGetResponse200Normalizer implements DenormalizerInterface, Normal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TasksTaskGetResponse200'; + return $type === \KatapultAPI\Core\Model\TasksTaskGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TasksTaskGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TasksTaskGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('task', $data)) { - $object->setTask($this->denormalizer->denormalize($data['task'], 'KatapultAPI\\Core\\Model\\Task', 'json', $context)); + $object->setTask($this->denormalizer->denormalize($data['task'], \KatapultAPI\Core\Model\Task::class, 'json', $context)); unset($data['task']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TasksTaskGetResponse200' => false]; + return [\KatapultAPI\Core\Model\TasksTaskGetResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class TasksTaskGetResponse200Normalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TasksTaskGetResponse200'; + return $type === \KatapultAPI\Core\Model\TasksTaskGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TasksTaskGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TasksTaskGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('task', $data)) { - $object->setTask($this->denormalizer->denormalize($data['task'], 'KatapultAPI\\Core\\Model\\Task', 'json', $context)); + $object->setTask($this->denormalizer->denormalize($data['task'], \KatapultAPI\Core\Model\Task::class, 'json', $context)); unset($data['task']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TasksTaskGetResponse200' => false]; + return [\KatapultAPI\Core\Model\TasksTaskGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/TemplateSpecFieldNormalizer.php b/src/Core/Normalizer/TemplateSpecFieldNormalizer.php index 7e1389e2..f566fa34 100644 --- a/src/Core/Normalizer/TemplateSpecFieldNormalizer.php +++ b/src/Core/Normalizer/TemplateSpecFieldNormalizer.php @@ -31,12 +31,12 @@ class TemplateSpecFieldNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TemplateSpecField'; + return $type === \KatapultAPI\Core\Model\TemplateSpecField::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TemplateSpecField'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TemplateSpecField::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -129,7 +129,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TemplateSpecField' => false]; + return [\KatapultAPI\Core\Model\TemplateSpecField::class => false]; } } } else { @@ -142,12 +142,12 @@ class TemplateSpecFieldNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TemplateSpecField'; + return $type === \KatapultAPI\Core\Model\TemplateSpecField::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TemplateSpecField'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TemplateSpecField::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -243,7 +243,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TemplateSpecField' => false]; + return [\KatapultAPI\Core\Model\TemplateSpecField::class => false]; } } } diff --git a/src/Core/Normalizer/TemplateSpecNormalizer.php b/src/Core/Normalizer/TemplateSpecNormalizer.php index 72fd7d68..04bbb480 100644 --- a/src/Core/Normalizer/TemplateSpecNormalizer.php +++ b/src/Core/Normalizer/TemplateSpecNormalizer.php @@ -31,12 +31,12 @@ class TemplateSpecNormalizer implements DenormalizerInterface, NormalizerInterfa public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TemplateSpec'; + return $type === \KatapultAPI\Core\Model\TemplateSpec::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TemplateSpec'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TemplateSpec::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -54,7 +54,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('fields', $data)) { $values = []; foreach ($data['fields'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\TemplateSpecField', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\TemplateSpecField::class, 'json', $context); } $object->setFields($values); unset($data['fields']); @@ -89,7 +89,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TemplateSpec' => false]; + return [\KatapultAPI\Core\Model\TemplateSpec::class => false]; } } } else { @@ -102,12 +102,12 @@ class TemplateSpecNormalizer implements DenormalizerInterface, NormalizerInterfa public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TemplateSpec'; + return $type === \KatapultAPI\Core\Model\TemplateSpec::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TemplateSpec'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TemplateSpec::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -125,7 +125,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('fields', $data)) { $values = []; foreach ($data['fields'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\TemplateSpecField', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\TemplateSpecField::class, 'json', $context); } $object->setFields($values); unset($data['fields']); @@ -163,7 +163,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TemplateSpec' => false]; + return [\KatapultAPI\Core\Model\TemplateSpec::class => false]; } } } diff --git a/src/Core/Normalizer/TrashObjectLookupNormalizer.php b/src/Core/Normalizer/TrashObjectLookupNormalizer.php index bf500153..73cb2263 100644 --- a/src/Core/Normalizer/TrashObjectLookupNormalizer.php +++ b/src/Core/Normalizer/TrashObjectLookupNormalizer.php @@ -31,12 +31,12 @@ class TrashObjectLookupNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TrashObjectLookup'; + return $type === \KatapultAPI\Core\Model\TrashObjectLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TrashObjectLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TrashObjectLookup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TrashObjectLookup' => false]; + return [\KatapultAPI\Core\Model\TrashObjectLookup::class => false]; } } } else { @@ -101,12 +101,12 @@ class TrashObjectLookupNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TrashObjectLookup'; + return $type === \KatapultAPI\Core\Model\TrashObjectLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TrashObjectLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TrashObjectLookup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TrashObjectLookup' => false]; + return [\KatapultAPI\Core\Model\TrashObjectLookup::class => false]; } } } diff --git a/src/Core/Normalizer/TrashObjectNormalizer.php b/src/Core/Normalizer/TrashObjectNormalizer.php index d7bf2734..9f18d0b2 100644 --- a/src/Core/Normalizer/TrashObjectNormalizer.php +++ b/src/Core/Normalizer/TrashObjectNormalizer.php @@ -31,12 +31,12 @@ class TrashObjectNormalizer implements DenormalizerInterface, NormalizerInterfac public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TrashObject'; + return $type === \KatapultAPI\Core\Model\TrashObject::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TrashObject'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TrashObject::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TrashObject' => false]; + return [\KatapultAPI\Core\Model\TrashObject::class => false]; } } } else { @@ -115,12 +115,12 @@ class TrashObjectNormalizer implements DenormalizerInterface, NormalizerInterfac public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TrashObject'; + return $type === \KatapultAPI\Core\Model\TrashObject::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TrashObject'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TrashObject::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TrashObject' => false]; + return [\KatapultAPI\Core\Model\TrashObject::class => false]; } } } diff --git a/src/Core/Normalizer/TrashObjectsTrashObjectDeleteBodyNormalizer.php b/src/Core/Normalizer/TrashObjectsTrashObjectDeleteBodyNormalizer.php index e784d869..793777cd 100644 --- a/src/Core/Normalizer/TrashObjectsTrashObjectDeleteBodyNormalizer.php +++ b/src/Core/Normalizer/TrashObjectsTrashObjectDeleteBodyNormalizer.php @@ -31,12 +31,12 @@ class TrashObjectsTrashObjectDeleteBodyNormalizer implements DenormalizerInterfa public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectDeleteBody'; + return $type === \KatapultAPI\Core\Model\TrashObjectsTrashObjectDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TrashObjectsTrashObjectDeleteBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('trash_object', $data)) { - $object->setTrashObject($this->denormalizer->denormalize($data['trash_object'], 'KatapultAPI\\Core\\Model\\TrashObjectLookup', 'json', $context)); + $object->setTrashObject($this->denormalizer->denormalize($data['trash_object'], \KatapultAPI\Core\Model\TrashObjectLookup::class, 'json', $context)); unset($data['trash_object']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectDeleteBody' => false]; + return [\KatapultAPI\Core\Model\TrashObjectsTrashObjectDeleteBody::class => false]; } } } else { @@ -92,12 +92,12 @@ class TrashObjectsTrashObjectDeleteBodyNormalizer implements DenormalizerInterfa public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectDeleteBody'; + return $type === \KatapultAPI\Core\Model\TrashObjectsTrashObjectDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TrashObjectsTrashObjectDeleteBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('trash_object', $data)) { - $object->setTrashObject($this->denormalizer->denormalize($data['trash_object'], 'KatapultAPI\\Core\\Model\\TrashObjectLookup', 'json', $context)); + $object->setTrashObject($this->denormalizer->denormalize($data['trash_object'], \KatapultAPI\Core\Model\TrashObjectLookup::class, 'json', $context)); unset($data['trash_object']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectDeleteBody' => false]; + return [\KatapultAPI\Core\Model\TrashObjectsTrashObjectDeleteBody::class => false]; } } } diff --git a/src/Core/Normalizer/TrashObjectsTrashObjectDeleteResponse200Normalizer.php b/src/Core/Normalizer/TrashObjectsTrashObjectDeleteResponse200Normalizer.php index f2ee4d7d..338aff74 100644 --- a/src/Core/Normalizer/TrashObjectsTrashObjectDeleteResponse200Normalizer.php +++ b/src/Core/Normalizer/TrashObjectsTrashObjectDeleteResponse200Normalizer.php @@ -31,12 +31,12 @@ class TrashObjectsTrashObjectDeleteResponse200Normalizer implements Denormalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\TrashObjectsTrashObjectDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TrashObjectsTrashObjectDeleteResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('task', $data)) { - $object->setTask($this->denormalizer->denormalize($data['task'], 'KatapultAPI\\Core\\Model\\Task', 'json', $context)); + $object->setTask($this->denormalizer->denormalize($data['task'], \KatapultAPI\Core\Model\Task::class, 'json', $context)); unset($data['task']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\TrashObjectsTrashObjectDeleteResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class TrashObjectsTrashObjectDeleteResponse200Normalizer implements Denormalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\TrashObjectsTrashObjectDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TrashObjectsTrashObjectDeleteResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('task', $data)) { - $object->setTask($this->denormalizer->denormalize($data['task'], 'KatapultAPI\\Core\\Model\\Task', 'json', $context)); + $object->setTask($this->denormalizer->denormalize($data['task'], \KatapultAPI\Core\Model\Task::class, 'json', $context)); unset($data['task']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\TrashObjectsTrashObjectDeleteResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/TrashObjectsTrashObjectGetResponse200Normalizer.php b/src/Core/Normalizer/TrashObjectsTrashObjectGetResponse200Normalizer.php index dc4e4029..8a95eaf2 100644 --- a/src/Core/Normalizer/TrashObjectsTrashObjectGetResponse200Normalizer.php +++ b/src/Core/Normalizer/TrashObjectsTrashObjectGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class TrashObjectsTrashObjectGetResponse200Normalizer implements DenormalizerInt public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectGetResponse200'; + return $type === \KatapultAPI\Core\Model\TrashObjectsTrashObjectGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TrashObjectsTrashObjectGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('trash_object', $data)) { - $object->setTrashObject($this->denormalizer->denormalize($data['trash_object'], 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectGetResponse200TrashObject', 'json', $context)); + $object->setTrashObject($this->denormalizer->denormalize($data['trash_object'], \KatapultAPI\Core\Model\TrashObjectsTrashObjectGetResponse200TrashObject::class, 'json', $context)); unset($data['trash_object']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectGetResponse200' => false]; + return [\KatapultAPI\Core\Model\TrashObjectsTrashObjectGetResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class TrashObjectsTrashObjectGetResponse200Normalizer implements DenormalizerInt public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectGetResponse200'; + return $type === \KatapultAPI\Core\Model\TrashObjectsTrashObjectGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TrashObjectsTrashObjectGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('trash_object', $data)) { - $object->setTrashObject($this->denormalizer->denormalize($data['trash_object'], 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectGetResponse200TrashObject', 'json', $context)); + $object->setTrashObject($this->denormalizer->denormalize($data['trash_object'], \KatapultAPI\Core\Model\TrashObjectsTrashObjectGetResponse200TrashObject::class, 'json', $context)); unset($data['trash_object']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectGetResponse200' => false]; + return [\KatapultAPI\Core\Model\TrashObjectsTrashObjectGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/TrashObjectsTrashObjectGetResponse200TrashObjectNormalizer.php b/src/Core/Normalizer/TrashObjectsTrashObjectGetResponse200TrashObjectNormalizer.php index 0e7177da..1d474c5c 100644 --- a/src/Core/Normalizer/TrashObjectsTrashObjectGetResponse200TrashObjectNormalizer.php +++ b/src/Core/Normalizer/TrashObjectsTrashObjectGetResponse200TrashObjectNormalizer.php @@ -31,12 +31,12 @@ class TrashObjectsTrashObjectGetResponse200TrashObjectNormalizer implements Deno public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectGetResponse200TrashObject'; + return $type === \KatapultAPI\Core\Model\TrashObjectsTrashObjectGetResponse200TrashObject::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectGetResponse200TrashObject'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TrashObjectsTrashObjectGetResponse200TrashObject::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectGetResponse200TrashObject' => false]; + return [\KatapultAPI\Core\Model\TrashObjectsTrashObjectGetResponse200TrashObject::class => false]; } } } else { @@ -115,12 +115,12 @@ class TrashObjectsTrashObjectGetResponse200TrashObjectNormalizer implements Deno public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectGetResponse200TrashObject'; + return $type === \KatapultAPI\Core\Model\TrashObjectsTrashObjectGetResponse200TrashObject::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectGetResponse200TrashObject'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TrashObjectsTrashObjectGetResponse200TrashObject::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectGetResponse200TrashObject' => false]; + return [\KatapultAPI\Core\Model\TrashObjectsTrashObjectGetResponse200TrashObject::class => false]; } } } diff --git a/src/Core/Normalizer/TrashObjectsTrashObjectRestorePostBodyNormalizer.php b/src/Core/Normalizer/TrashObjectsTrashObjectRestorePostBodyNormalizer.php index c2e2bb64..b5ed5c1e 100644 --- a/src/Core/Normalizer/TrashObjectsTrashObjectRestorePostBodyNormalizer.php +++ b/src/Core/Normalizer/TrashObjectsTrashObjectRestorePostBodyNormalizer.php @@ -31,12 +31,12 @@ class TrashObjectsTrashObjectRestorePostBodyNormalizer implements DenormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectRestorePostBody'; + return $type === \KatapultAPI\Core\Model\TrashObjectsTrashObjectRestorePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectRestorePostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TrashObjectsTrashObjectRestorePostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('trash_object', $data)) { - $object->setTrashObject($this->denormalizer->denormalize($data['trash_object'], 'KatapultAPI\\Core\\Model\\TrashObjectLookup', 'json', $context)); + $object->setTrashObject($this->denormalizer->denormalize($data['trash_object'], \KatapultAPI\Core\Model\TrashObjectLookup::class, 'json', $context)); unset($data['trash_object']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectRestorePostBody' => false]; + return [\KatapultAPI\Core\Model\TrashObjectsTrashObjectRestorePostBody::class => false]; } } } else { @@ -92,12 +92,12 @@ class TrashObjectsTrashObjectRestorePostBodyNormalizer implements DenormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectRestorePostBody'; + return $type === \KatapultAPI\Core\Model\TrashObjectsTrashObjectRestorePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectRestorePostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TrashObjectsTrashObjectRestorePostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('trash_object', $data)) { - $object->setTrashObject($this->denormalizer->denormalize($data['trash_object'], 'KatapultAPI\\Core\\Model\\TrashObjectLookup', 'json', $context)); + $object->setTrashObject($this->denormalizer->denormalize($data['trash_object'], \KatapultAPI\Core\Model\TrashObjectLookup::class, 'json', $context)); unset($data['trash_object']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectRestorePostBody' => false]; + return [\KatapultAPI\Core\Model\TrashObjectsTrashObjectRestorePostBody::class => false]; } } } diff --git a/src/Core/Normalizer/TrashObjectsTrashObjectRestorePostResponse200Normalizer.php b/src/Core/Normalizer/TrashObjectsTrashObjectRestorePostResponse200Normalizer.php index 72175e18..64662772 100644 --- a/src/Core/Normalizer/TrashObjectsTrashObjectRestorePostResponse200Normalizer.php +++ b/src/Core/Normalizer/TrashObjectsTrashObjectRestorePostResponse200Normalizer.php @@ -31,12 +31,12 @@ class TrashObjectsTrashObjectRestorePostResponse200Normalizer implements Denorma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectRestorePostResponse200'; + return $type === \KatapultAPI\Core\Model\TrashObjectsTrashObjectRestorePostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectRestorePostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TrashObjectsTrashObjectRestorePostResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('trash_object', $data)) { - $object->setTrashObject($this->denormalizer->denormalize($data['trash_object'], 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectRestorePostResponse200TrashObject', 'json', $context)); + $object->setTrashObject($this->denormalizer->denormalize($data['trash_object'], \KatapultAPI\Core\Model\TrashObjectsTrashObjectRestorePostResponse200TrashObject::class, 'json', $context)); unset($data['trash_object']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectRestorePostResponse200' => false]; + return [\KatapultAPI\Core\Model\TrashObjectsTrashObjectRestorePostResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class TrashObjectsTrashObjectRestorePostResponse200Normalizer implements Denorma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectRestorePostResponse200'; + return $type === \KatapultAPI\Core\Model\TrashObjectsTrashObjectRestorePostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectRestorePostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TrashObjectsTrashObjectRestorePostResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('trash_object', $data)) { - $object->setTrashObject($this->denormalizer->denormalize($data['trash_object'], 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectRestorePostResponse200TrashObject', 'json', $context)); + $object->setTrashObject($this->denormalizer->denormalize($data['trash_object'], \KatapultAPI\Core\Model\TrashObjectsTrashObjectRestorePostResponse200TrashObject::class, 'json', $context)); unset($data['trash_object']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectRestorePostResponse200' => false]; + return [\KatapultAPI\Core\Model\TrashObjectsTrashObjectRestorePostResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/TrashObjectsTrashObjectRestorePostResponse200TrashObjectNormalizer.php b/src/Core/Normalizer/TrashObjectsTrashObjectRestorePostResponse200TrashObjectNormalizer.php index 3a3ad925..a39c545a 100644 --- a/src/Core/Normalizer/TrashObjectsTrashObjectRestorePostResponse200TrashObjectNormalizer.php +++ b/src/Core/Normalizer/TrashObjectsTrashObjectRestorePostResponse200TrashObjectNormalizer.php @@ -31,12 +31,12 @@ class TrashObjectsTrashObjectRestorePostResponse200TrashObjectNormalizer impleme public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectRestorePostResponse200TrashObject'; + return $type === \KatapultAPI\Core\Model\TrashObjectsTrashObjectRestorePostResponse200TrashObject::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectRestorePostResponse200TrashObject'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TrashObjectsTrashObjectRestorePostResponse200TrashObject::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectRestorePostResponse200TrashObject' => false]; + return [\KatapultAPI\Core\Model\TrashObjectsTrashObjectRestorePostResponse200TrashObject::class => false]; } } } else { @@ -115,12 +115,12 @@ class TrashObjectsTrashObjectRestorePostResponse200TrashObjectNormalizer impleme public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectRestorePostResponse200TrashObject'; + return $type === \KatapultAPI\Core\Model\TrashObjectsTrashObjectRestorePostResponse200TrashObject::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectRestorePostResponse200TrashObject'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\TrashObjectsTrashObjectRestorePostResponse200TrashObject::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\TrashObjectsTrashObjectRestorePostResponse200TrashObject' => false]; + return [\KatapultAPI\Core\Model\TrashObjectsTrashObjectRestorePostResponse200TrashObject::class => false]; } } } diff --git a/src/Core/Normalizer/UnableToAssignNormalizer.php b/src/Core/Normalizer/UnableToAssignNormalizer.php index deee0ea4..cb143c03 100644 --- a/src/Core/Normalizer/UnableToAssignNormalizer.php +++ b/src/Core/Normalizer/UnableToAssignNormalizer.php @@ -31,12 +31,12 @@ class UnableToAssignNormalizer implements DenormalizerInterface, NormalizerInter public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\UnableToAssign'; + return $type === \KatapultAPI\Core\Model\UnableToAssign::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\UnableToAssign'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\UnableToAssign::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -89,7 +89,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\UnableToAssign' => false]; + return [\KatapultAPI\Core\Model\UnableToAssign::class => false]; } } } else { @@ -102,12 +102,12 @@ class UnableToAssignNormalizer implements DenormalizerInterface, NormalizerInter public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\UnableToAssign'; + return $type === \KatapultAPI\Core\Model\UnableToAssign::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\UnableToAssign'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\UnableToAssign::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -163,7 +163,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\UnableToAssign' => false]; + return [\KatapultAPI\Core\Model\UnableToAssign::class => false]; } } } diff --git a/src/Core/Normalizer/UnableToUnassignNormalizer.php b/src/Core/Normalizer/UnableToUnassignNormalizer.php index eef1f6f0..175f3ab0 100644 --- a/src/Core/Normalizer/UnableToUnassignNormalizer.php +++ b/src/Core/Normalizer/UnableToUnassignNormalizer.php @@ -31,12 +31,12 @@ class UnableToUnassignNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\UnableToUnassign'; + return $type === \KatapultAPI\Core\Model\UnableToUnassign::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\UnableToUnassign'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\UnableToUnassign::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -89,7 +89,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\UnableToUnassign' => false]; + return [\KatapultAPI\Core\Model\UnableToUnassign::class => false]; } } } else { @@ -102,12 +102,12 @@ class UnableToUnassignNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\UnableToUnassign'; + return $type === \KatapultAPI\Core\Model\UnableToUnassign::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\UnableToUnassign'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\UnableToUnassign::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -163,7 +163,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\UnableToUnassign' => false]; + return [\KatapultAPI\Core\Model\UnableToUnassign::class => false]; } } } diff --git a/src/Core/Normalizer/UnassignedDiskSchemaNormalizer.php b/src/Core/Normalizer/UnassignedDiskSchemaNormalizer.php index 2e0cf510..39a1a90e 100644 --- a/src/Core/Normalizer/UnassignedDiskSchemaNormalizer.php +++ b/src/Core/Normalizer/UnassignedDiskSchemaNormalizer.php @@ -31,12 +31,12 @@ class UnassignedDiskSchemaNormalizer implements DenormalizerInterface, Normalize public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\UnassignedDiskSchema'; + return $type === \KatapultAPI\Core\Model\UnassignedDiskSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\UnassignedDiskSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\UnassignedDiskSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\UnassignedDiskSchema' => false]; + return [\KatapultAPI\Core\Model\UnassignedDiskSchema::class => false]; } } } else { @@ -116,12 +116,12 @@ class UnassignedDiskSchemaNormalizer implements DenormalizerInterface, Normalize public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\UnassignedDiskSchema'; + return $type === \KatapultAPI\Core\Model\UnassignedDiskSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\UnassignedDiskSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\UnassignedDiskSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\UnassignedDiskSchema' => false]; + return [\KatapultAPI\Core\Model\UnassignedDiskSchema::class => false]; } } } diff --git a/src/Core/Normalizer/UnauthorizedNetworkForAPITokenNormalizer.php b/src/Core/Normalizer/UnauthorizedNetworkForAPITokenNormalizer.php index 27006009..c8e91921 100644 --- a/src/Core/Normalizer/UnauthorizedNetworkForAPITokenNormalizer.php +++ b/src/Core/Normalizer/UnauthorizedNetworkForAPITokenNormalizer.php @@ -31,12 +31,12 @@ class UnauthorizedNetworkForAPITokenNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\UnauthorizedNetworkForAPIToken'; + return $type === \KatapultAPI\Core\Model\UnauthorizedNetworkForAPIToken::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\UnauthorizedNetworkForAPIToken'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\UnauthorizedNetworkForAPIToken::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\UnauthorizedNetworkForAPIToken' => false]; + return [\KatapultAPI\Core\Model\UnauthorizedNetworkForAPIToken::class => false]; } } } else { @@ -94,12 +94,12 @@ class UnauthorizedNetworkForAPITokenNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\UnauthorizedNetworkForAPIToken'; + return $type === \KatapultAPI\Core\Model\UnauthorizedNetworkForAPIToken::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\UnauthorizedNetworkForAPIToken'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\UnauthorizedNetworkForAPIToken::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\UnauthorizedNetworkForAPIToken' => false]; + return [\KatapultAPI\Core\Model\UnauthorizedNetworkForAPIToken::class => false]; } } } diff --git a/src/Core/Normalizer/UnauthorizedNetworkForAPITokenSchemaNormalizer.php b/src/Core/Normalizer/UnauthorizedNetworkForAPITokenSchemaNormalizer.php index cad75923..8a0e2b3b 100644 --- a/src/Core/Normalizer/UnauthorizedNetworkForAPITokenSchemaNormalizer.php +++ b/src/Core/Normalizer/UnauthorizedNetworkForAPITokenSchemaNormalizer.php @@ -31,12 +31,12 @@ class UnauthorizedNetworkForAPITokenSchemaNormalizer implements DenormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\UnauthorizedNetworkForAPITokenSchema'; + return $type === \KatapultAPI\Core\Model\UnauthorizedNetworkForAPITokenSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\UnauthorizedNetworkForAPITokenSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\UnauthorizedNetworkForAPITokenSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Core\\Model\\UnauthorizedNetworkForAPIToken', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Core\Model\UnauthorizedNetworkForAPIToken::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\UnauthorizedNetworkForAPITokenSchema' => false]; + return [\KatapultAPI\Core\Model\UnauthorizedNetworkForAPITokenSchema::class => false]; } } } else { @@ -108,12 +108,12 @@ class UnauthorizedNetworkForAPITokenSchemaNormalizer implements DenormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\UnauthorizedNetworkForAPITokenSchema'; + return $type === \KatapultAPI\Core\Model\UnauthorizedNetworkForAPITokenSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\UnauthorizedNetworkForAPITokenSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\UnauthorizedNetworkForAPITokenSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -137,7 +137,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Core\\Model\\UnauthorizedNetworkForAPIToken', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Core\Model\UnauthorizedNetworkForAPIToken::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\UnauthorizedNetworkForAPITokenSchema' => false]; + return [\KatapultAPI\Core\Model\UnauthorizedNetworkForAPITokenSchema::class => false]; } } } diff --git a/src/Core/Normalizer/UserNormalizer.php b/src/Core/Normalizer/UserNormalizer.php index 70d90aff..0b88627c 100644 --- a/src/Core/Normalizer/UserNormalizer.php +++ b/src/Core/Normalizer/UserNormalizer.php @@ -31,12 +31,12 @@ class UserNormalizer implements DenormalizerInterface, NormalizerInterface, Deno public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\User'; + return $type === \KatapultAPI\Core\Model\User::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\User'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\User::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\User' => false]; + return [\KatapultAPI\Core\Model\User::class => false]; } } } else { @@ -115,12 +115,12 @@ class UserNormalizer implements DenormalizerInterface, NormalizerInterface, Deno public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\User'; + return $type === \KatapultAPI\Core\Model\User::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\User'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\User::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\User' => false]; + return [\KatapultAPI\Core\Model\User::class => false]; } } } diff --git a/src/Core/Normalizer/UsersCurrentGetResponse200Normalizer.php b/src/Core/Normalizer/UsersCurrentGetResponse200Normalizer.php index 91962bf0..4e47f34f 100644 --- a/src/Core/Normalizer/UsersCurrentGetResponse200Normalizer.php +++ b/src/Core/Normalizer/UsersCurrentGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class UsersCurrentGetResponse200Normalizer implements DenormalizerInterface, Nor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\UsersCurrentGetResponse200'; + return $type === \KatapultAPI\Core\Model\UsersCurrentGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\UsersCurrentGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\UsersCurrentGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('user', $data)) { - $object->setUser($this->denormalizer->denormalize($data['user'], 'KatapultAPI\\Core\\Model\\User', 'json', $context)); + $object->setUser($this->denormalizer->denormalize($data['user'], \KatapultAPI\Core\Model\User::class, 'json', $context)); unset($data['user']); } if (\array_key_exists('organizations', $data)) { $values = []; foreach ($data['organizations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetUsersCurrent200ResponseOrganizations', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetUsersCurrent200ResponseOrganizations::class, 'json', $context); } $object->setOrganizations($values); unset($data['organizations']); @@ -99,7 +99,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\UsersCurrentGetResponse200' => false]; + return [\KatapultAPI\Core\Model\UsersCurrentGetResponse200::class => false]; } } } else { @@ -112,12 +112,12 @@ class UsersCurrentGetResponse200Normalizer implements DenormalizerInterface, Nor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\UsersCurrentGetResponse200'; + return $type === \KatapultAPI\Core\Model\UsersCurrentGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\UsersCurrentGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\UsersCurrentGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -133,13 +133,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('user', $data)) { - $object->setUser($this->denormalizer->denormalize($data['user'], 'KatapultAPI\\Core\\Model\\User', 'json', $context)); + $object->setUser($this->denormalizer->denormalize($data['user'], \KatapultAPI\Core\Model\User::class, 'json', $context)); unset($data['user']); } if (\array_key_exists('organizations', $data)) { $values = []; foreach ($data['organizations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetUsersCurrent200ResponseOrganizations', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetUsersCurrent200ResponseOrganizations::class, 'json', $context); } $object->setOrganizations($values); unset($data['organizations']); @@ -183,7 +183,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\UsersCurrentGetResponse200' => false]; + return [\KatapultAPI\Core\Model\UsersCurrentGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/ValidationErrorNormalizer.php b/src/Core/Normalizer/ValidationErrorNormalizer.php index f0ecf6b4..23f78dae 100644 --- a/src/Core/Normalizer/ValidationErrorNormalizer.php +++ b/src/Core/Normalizer/ValidationErrorNormalizer.php @@ -31,12 +31,12 @@ class ValidationErrorNormalizer implements DenormalizerInterface, NormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ValidationError'; + return $type === \KatapultAPI\Core\Model\ValidationError::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ValidationError'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ValidationError::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -89,7 +89,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ValidationError' => false]; + return [\KatapultAPI\Core\Model\ValidationError::class => false]; } } } else { @@ -102,12 +102,12 @@ class ValidationErrorNormalizer implements DenormalizerInterface, NormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ValidationError'; + return $type === \KatapultAPI\Core\Model\ValidationError::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ValidationError'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ValidationError::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -163,7 +163,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ValidationError' => false]; + return [\KatapultAPI\Core\Model\ValidationError::class => false]; } } } diff --git a/src/Core/Normalizer/ValidationErrorSchemaNormalizer.php b/src/Core/Normalizer/ValidationErrorSchemaNormalizer.php index 8dc50119..bd1ec049 100644 --- a/src/Core/Normalizer/ValidationErrorSchemaNormalizer.php +++ b/src/Core/Normalizer/ValidationErrorSchemaNormalizer.php @@ -31,12 +31,12 @@ class ValidationErrorSchemaNormalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ValidationErrorSchema'; + return $type === \KatapultAPI\Core\Model\ValidationErrorSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ValidationErrorSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ValidationErrorSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Core\\Model\\ValidationError', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Core\Model\ValidationError::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ValidationErrorSchema' => false]; + return [\KatapultAPI\Core\Model\ValidationErrorSchema::class => false]; } } } else { @@ -108,12 +108,12 @@ class ValidationErrorSchemaNormalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ValidationErrorSchema'; + return $type === \KatapultAPI\Core\Model\ValidationErrorSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ValidationErrorSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ValidationErrorSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -137,7 +137,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Core\\Model\\ValidationError', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Core\Model\ValidationError::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ValidationErrorSchema' => false]; + return [\KatapultAPI\Core\Model\ValidationErrorSchema::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineArgumentsNormalizer.php b/src/Core/Normalizer/VirtualMachineArgumentsNormalizer.php index cb742fd5..a5503e6a 100644 --- a/src/Core/Normalizer/VirtualMachineArgumentsNormalizer.php +++ b/src/Core/Normalizer/VirtualMachineArgumentsNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachineArgumentsNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineArguments'; + return $type === \KatapultAPI\Core\Model\VirtualMachineArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineArguments::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -72,11 +72,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['tag_names']); } if (\array_key_exists('gpu_type', $data)) { - $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], 'KatapultAPI\\Core\\Model\\GPUTypeLookup', 'json', $context)); + $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], \KatapultAPI\Core\Model\GPUTypeLookup::class, 'json', $context)); unset($data['gpu_type']); } if (\array_key_exists('group', $data)) { - $object->setGroup($this->denormalizer->denormalize($data['group'], 'KatapultAPI\\Core\\Model\\VirtualMachineGroupLookup', 'json', $context)); + $object->setGroup($this->denormalizer->denormalize($data['group'], \KatapultAPI\Core\Model\VirtualMachineGroupLookup::class, 'json', $context)); unset($data['group']); } foreach ($data as $key => $value_1) { @@ -124,7 +124,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineArguments' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineArguments::class => false]; } } } else { @@ -137,12 +137,12 @@ class VirtualMachineArgumentsNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineArguments'; + return $type === \KatapultAPI\Core\Model\VirtualMachineArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineArguments::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -178,11 +178,11 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['tag_names']); } if (\array_key_exists('gpu_type', $data)) { - $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], 'KatapultAPI\\Core\\Model\\GPUTypeLookup', 'json', $context)); + $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], \KatapultAPI\Core\Model\GPUTypeLookup::class, 'json', $context)); unset($data['gpu_type']); } if (\array_key_exists('group', $data)) { - $object->setGroup($this->denormalizer->denormalize($data['group'], 'KatapultAPI\\Core\\Model\\VirtualMachineGroupLookup', 'json', $context)); + $object->setGroup($this->denormalizer->denormalize($data['group'], \KatapultAPI\Core\Model\VirtualMachineGroupLookup::class, 'json', $context)); unset($data['group']); } foreach ($data as $key => $value_1) { @@ -233,7 +233,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineArguments' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineArguments::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineAttachedIsoNormalizer.php b/src/Core/Normalizer/VirtualMachineAttachedIsoNormalizer.php index 451ca615..34f8a9b9 100644 --- a/src/Core/Normalizer/VirtualMachineAttachedIsoNormalizer.php +++ b/src/Core/Normalizer/VirtualMachineAttachedIsoNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachineAttachedIsoNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineAttachedIso'; + return $type === \KatapultAPI\Core\Model\VirtualMachineAttachedIso::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineAttachedIso'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineAttachedIso::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['name']); } if (\array_key_exists('operating_system', $data) && $data['operating_system'] !== null) { - $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'KatapultAPI\\Core\\Model\\ISOOperatingSystem', 'json', $context)); + $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], \KatapultAPI\Core\Model\ISOOperatingSystem::class, 'json', $context)); unset($data['operating_system']); } elseif (\array_key_exists('operating_system', $data) && $data['operating_system'] === null) { $object->setOperatingSystem(null); @@ -97,7 +97,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineAttachedIso' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineAttachedIso::class => false]; } } } else { @@ -110,12 +110,12 @@ class VirtualMachineAttachedIsoNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineAttachedIso'; + return $type === \KatapultAPI\Core\Model\VirtualMachineAttachedIso::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineAttachedIso'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineAttachedIso::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -139,7 +139,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('operating_system', $data) && $data['operating_system'] !== null) { - $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], 'KatapultAPI\\Core\\Model\\ISOOperatingSystem', 'json', $context)); + $object->setOperatingSystem($this->denormalizer->denormalize($data['operating_system'], \KatapultAPI\Core\Model\ISOOperatingSystem::class, 'json', $context)); unset($data['operating_system']); } elseif (\array_key_exists('operating_system', $data) && $data['operating_system'] === null) { $object->setOperatingSystem(null); @@ -179,7 +179,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineAttachedIso' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineAttachedIso::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineBuildDiskArgumentsNormalizer.php b/src/Core/Normalizer/VirtualMachineBuildDiskArgumentsNormalizer.php index 96baa446..62fdd00a 100644 --- a/src/Core/Normalizer/VirtualMachineBuildDiskArgumentsNormalizer.php +++ b/src/Core/Normalizer/VirtualMachineBuildDiskArgumentsNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachineBuildDiskArgumentsNormalizer implements DenormalizerInterfac public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineBuildDiskArguments'; + return $type === \KatapultAPI\Core\Model\VirtualMachineBuildDiskArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineBuildDiskArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineBuildDiskArguments::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -68,7 +68,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['system']); } if (\array_key_exists('io_profile', $data)) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\DiskIOProfileLookup', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\DiskIOProfileLookup::class, 'json', $context)); unset($data['io_profile']); } if (\array_key_exists('storage_speed', $data)) { @@ -114,7 +114,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineBuildDiskArguments' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineBuildDiskArguments::class => false]; } } } else { @@ -127,12 +127,12 @@ class VirtualMachineBuildDiskArgumentsNormalizer implements DenormalizerInterfac public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineBuildDiskArguments'; + return $type === \KatapultAPI\Core\Model\VirtualMachineBuildDiskArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineBuildDiskArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineBuildDiskArguments::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -164,7 +164,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['system']); } if (\array_key_exists('io_profile', $data)) { - $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], 'KatapultAPI\\Core\\Model\\DiskIOProfileLookup', 'json', $context)); + $object->setIoProfile($this->denormalizer->denormalize($data['io_profile'], \KatapultAPI\Core\Model\DiskIOProfileLookup::class, 'json', $context)); unset($data['io_profile']); } if (\array_key_exists('storage_speed', $data)) { @@ -213,7 +213,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineBuildDiskArguments' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineBuildDiskArguments::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineDiskArgumentsNormalizer.php b/src/Core/Normalizer/VirtualMachineDiskArgumentsNormalizer.php index 804a7bf1..d4afd0ff 100644 --- a/src/Core/Normalizer/VirtualMachineDiskArgumentsNormalizer.php +++ b/src/Core/Normalizer/VirtualMachineDiskArgumentsNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachineDiskArgumentsNormalizer implements DenormalizerInterface, No public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineDiskArguments'; + return $type === \KatapultAPI\Core\Model\VirtualMachineDiskArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineDiskArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineDiskArguments::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -64,7 +64,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['attach']); } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\VirtualMachineLookup', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\VirtualMachineLookup::class, 'json', $context)); unset($data['virtual_machine']); } foreach ($data as $key => $value) { @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineDiskArguments' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineDiskArguments::class => false]; } } } else { @@ -115,12 +115,12 @@ class VirtualMachineDiskArgumentsNormalizer implements DenormalizerInterface, No public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineDiskArguments'; + return $type === \KatapultAPI\Core\Model\VirtualMachineDiskArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineDiskArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineDiskArguments::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -148,7 +148,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['attach']); } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\VirtualMachineLookup', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\VirtualMachineLookup::class, 'json', $context)); unset($data['virtual_machine']); } foreach ($data as $key => $value) { @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineDiskArguments' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineDiskArguments::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineDiskNormalizer.php b/src/Core/Normalizer/VirtualMachineDiskNormalizer.php index 96bc1369..eb755b59 100644 --- a/src/Core/Normalizer/VirtualMachineDiskNormalizer.php +++ b/src/Core/Normalizer/VirtualMachineDiskNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachineDiskNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\VirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineDisk::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\VirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\VirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\Disk', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\Disk::class, 'json', $context)); unset($data['disk']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -109,7 +109,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineDisk::class => false]; } } } else { @@ -122,12 +122,12 @@ class VirtualMachineDiskNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineDisk'; + return $type === \KatapultAPI\Core\Model\VirtualMachineDisk::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineDisk'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineDisk::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -143,11 +143,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\VirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\VirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('disk', $data)) { - $object->setDisk($this->denormalizer->denormalize($data['disk'], 'KatapultAPI\\Core\\Model\\Disk', 'json', $context)); + $object->setDisk($this->denormalizer->denormalize($data['disk'], \KatapultAPI\Core\Model\Disk::class, 'json', $context)); unset($data['disk']); } if (\array_key_exists('attach_on_boot', $data)) { @@ -203,7 +203,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineDisk' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineDisk::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineFlexibleResourcesNormalizer.php b/src/Core/Normalizer/VirtualMachineFlexibleResourcesNormalizer.php index b160c2a9..d570ca04 100644 --- a/src/Core/Normalizer/VirtualMachineFlexibleResourcesNormalizer.php +++ b/src/Core/Normalizer/VirtualMachineFlexibleResourcesNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachineFlexibleResourcesNormalizer implements DenormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineFlexibleResources'; + return $type === \KatapultAPI\Core\Model\VirtualMachineFlexibleResources::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineFlexibleResources'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineFlexibleResources::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -91,7 +91,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineFlexibleResources' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineFlexibleResources::class => false]; } } } else { @@ -104,12 +104,12 @@ class VirtualMachineFlexibleResourcesNormalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineFlexibleResources'; + return $type === \KatapultAPI\Core\Model\VirtualMachineFlexibleResources::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineFlexibleResources'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineFlexibleResources::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -167,7 +167,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineFlexibleResources' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineFlexibleResources::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineGPUNormalizer.php b/src/Core/Normalizer/VirtualMachineGPUNormalizer.php index 747dfe34..f1286ff9 100644 --- a/src/Core/Normalizer/VirtualMachineGPUNormalizer.php +++ b/src/Core/Normalizer/VirtualMachineGPUNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachineGPUNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineGPU'; + return $type === \KatapultAPI\Core\Model\VirtualMachineGPU::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineGPU'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineGPU::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -72,7 +72,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['available']); } if (\array_key_exists('type', $data)) { - $object->setType($this->denormalizer->denormalize($data['type'], 'KatapultAPI\\Core\\Model\\GPUType', 'json', $context)); + $object->setType($this->denormalizer->denormalize($data['type'], \KatapultAPI\Core\Model\GPUType::class, 'json', $context)); unset($data['type']); } foreach ($data as $key => $value) { @@ -113,7 +113,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineGPU' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineGPU::class => false]; } } } else { @@ -126,12 +126,12 @@ class VirtualMachineGPUNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineGPU'; + return $type === \KatapultAPI\Core\Model\VirtualMachineGPU::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineGPU'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineGPU::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -167,7 +167,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['available']); } if (\array_key_exists('type', $data)) { - $object->setType($this->denormalizer->denormalize($data['type'], 'KatapultAPI\\Core\\Model\\GPUType', 'json', $context)); + $object->setType($this->denormalizer->denormalize($data['type'], \KatapultAPI\Core\Model\GPUType::class, 'json', $context)); unset($data['type']); } foreach ($data as $key => $value) { @@ -211,7 +211,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineGPU' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineGPU::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineGpuTypeNormalizer.php b/src/Core/Normalizer/VirtualMachineGpuTypeNormalizer.php index 38ac5971..a49c4c2b 100644 --- a/src/Core/Normalizer/VirtualMachineGpuTypeNormalizer.php +++ b/src/Core/Normalizer/VirtualMachineGpuTypeNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachineGpuTypeNormalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineGpuType'; + return $type === \KatapultAPI\Core\Model\VirtualMachineGpuType::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineGpuType'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineGpuType::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -78,7 +78,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('data_centers', $data)) { $values = []; foreach ($data['data_centers'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GPUTypeDataCentersItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GPUTypeDataCentersItem::class, 'json', $context); } $object->setDataCenters($values); unset($data['data_centers']); @@ -131,7 +131,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineGpuType' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineGpuType::class => false]; } } } else { @@ -144,12 +144,12 @@ class VirtualMachineGpuTypeNormalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineGpuType'; + return $type === \KatapultAPI\Core\Model\VirtualMachineGpuType::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineGpuType'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineGpuType::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('data_centers', $data)) { $values = []; foreach ($data['data_centers'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GPUTypeDataCentersItem', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GPUTypeDataCentersItem::class, 'json', $context); } $object->setDataCenters($values); unset($data['data_centers']); @@ -247,7 +247,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineGpuType' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineGpuType::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineGroupArgumentsNormalizer.php b/src/Core/Normalizer/VirtualMachineGroupArgumentsNormalizer.php index 78164ca6..00ca32e0 100644 --- a/src/Core/Normalizer/VirtualMachineGroupArgumentsNormalizer.php +++ b/src/Core/Normalizer/VirtualMachineGroupArgumentsNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachineGroupArgumentsNormalizer implements DenormalizerInterface, N public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupArguments'; + return $type === \KatapultAPI\Core\Model\VirtualMachineGroupArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineGroupArguments::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineGroupArguments' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineGroupArguments::class => false]; } } } else { @@ -108,12 +108,12 @@ class VirtualMachineGroupArgumentsNormalizer implements DenormalizerInterface, N public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupArguments'; + return $type === \KatapultAPI\Core\Model\VirtualMachineGroupArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineGroupArguments::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineGroupArguments' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineGroupArguments::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineGroupLookupNormalizer.php b/src/Core/Normalizer/VirtualMachineGroupLookupNormalizer.php index be599054..bb04017c 100644 --- a/src/Core/Normalizer/VirtualMachineGroupLookupNormalizer.php +++ b/src/Core/Normalizer/VirtualMachineGroupLookupNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachineGroupLookupNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupLookup'; + return $type === \KatapultAPI\Core\Model\VirtualMachineGroupLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineGroupLookup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineGroupLookup' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineGroupLookup::class => false]; } } } else { @@ -94,12 +94,12 @@ class VirtualMachineGroupLookupNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupLookup'; + return $type === \KatapultAPI\Core\Model\VirtualMachineGroupLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineGroupLookup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineGroupLookup' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineGroupLookup::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineGroupNormalizer.php b/src/Core/Normalizer/VirtualMachineGroupNormalizer.php index 5372b158..d27e094e 100644 --- a/src/Core/Normalizer/VirtualMachineGroupNormalizer.php +++ b/src/Core/Normalizer/VirtualMachineGroupNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachineGroupNormalizer implements DenormalizerInterface, Normalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineGroup'; + return $type === \KatapultAPI\Core\Model\VirtualMachineGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineGroup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -109,7 +109,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineGroup' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineGroup::class => false]; } } } else { @@ -122,12 +122,12 @@ class VirtualMachineGroupNormalizer implements DenormalizerInterface, Normalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineGroup'; + return $type === \KatapultAPI\Core\Model\VirtualMachineGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineGroup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -203,7 +203,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineGroup' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineGroup::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineGroupsVirtualMachineGroupDeleteBodyNormalizer.php b/src/Core/Normalizer/VirtualMachineGroupsVirtualMachineGroupDeleteBodyNormalizer.php index 39ad382f..57b36b64 100644 --- a/src/Core/Normalizer/VirtualMachineGroupsVirtualMachineGroupDeleteBodyNormalizer.php +++ b/src/Core/Normalizer/VirtualMachineGroupsVirtualMachineGroupDeleteBodyNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachineGroupsVirtualMachineGroupDeleteBodyNormalizer implements Den public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteBody'; + return $type === \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupDeleteBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine_group', $data)) { - $object->setVirtualMachineGroup($this->denormalizer->denormalize($data['virtual_machine_group'], 'KatapultAPI\\Core\\Model\\VirtualMachineGroupLookup', 'json', $context)); + $object->setVirtualMachineGroup($this->denormalizer->denormalize($data['virtual_machine_group'], \KatapultAPI\Core\Model\VirtualMachineGroupLookup::class, 'json', $context)); unset($data['virtual_machine_group']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteBody' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupDeleteBody::class => false]; } } } else { @@ -92,12 +92,12 @@ class VirtualMachineGroupsVirtualMachineGroupDeleteBodyNormalizer implements Den public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteBody'; + return $type === \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupDeleteBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine_group', $data)) { - $object->setVirtualMachineGroup($this->denormalizer->denormalize($data['virtual_machine_group'], 'KatapultAPI\\Core\\Model\\VirtualMachineGroupLookup', 'json', $context)); + $object->setVirtualMachineGroup($this->denormalizer->denormalize($data['virtual_machine_group'], \KatapultAPI\Core\Model\VirtualMachineGroupLookup::class, 'json', $context)); unset($data['virtual_machine_group']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteBody' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupDeleteBody::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineGroupsVirtualMachineGroupDeleteResponse200Normalizer.php b/src/Core/Normalizer/VirtualMachineGroupsVirtualMachineGroupDeleteResponse200Normalizer.php index 47471982..7bd0a7b1 100644 --- a/src/Core/Normalizer/VirtualMachineGroupsVirtualMachineGroupDeleteResponse200Normalizer.php +++ b/src/Core/Normalizer/VirtualMachineGroupsVirtualMachineGroupDeleteResponse200Normalizer.php @@ -31,12 +31,12 @@ class VirtualMachineGroupsVirtualMachineGroupDeleteResponse200Normalizer impleme public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine_group', $data)) { - $object->setVirtualMachineGroup($this->denormalizer->denormalize($data['virtual_machine_group'], 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroup', 'json', $context)); + $object->setVirtualMachineGroup($this->denormalizer->denormalize($data['virtual_machine_group'], \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroup::class, 'json', $context)); unset($data['virtual_machine_group']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class VirtualMachineGroupsVirtualMachineGroupDeleteResponse200Normalizer impleme public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine_group', $data)) { - $object->setVirtualMachineGroup($this->denormalizer->denormalize($data['virtual_machine_group'], 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroup', 'json', $context)); + $object->setVirtualMachineGroup($this->denormalizer->denormalize($data['virtual_machine_group'], \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroup::class, 'json', $context)); unset($data['virtual_machine_group']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroupNormalizer.php b/src/Core/Normalizer/VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroupNormalizer.php index 3ef62773..cb934e63 100644 --- a/src/Core/Normalizer/VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroupNormalizer.php +++ b/src/Core/Normalizer/VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroupNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGrou public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroup'; + return $type === \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -109,7 +109,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroup' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroup::class => false]; } } } else { @@ -122,12 +122,12 @@ class VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGrou public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroup'; + return $type === \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -203,7 +203,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroup' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupDeleteResponse200VirtualMachineGroup::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineGroupsVirtualMachineGroupGetResponse200Normalizer.php b/src/Core/Normalizer/VirtualMachineGroupsVirtualMachineGroupGetResponse200Normalizer.php index 391a0cbe..fd4ef146 100644 --- a/src/Core/Normalizer/VirtualMachineGroupsVirtualMachineGroupGetResponse200Normalizer.php +++ b/src/Core/Normalizer/VirtualMachineGroupsVirtualMachineGroupGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class VirtualMachineGroupsVirtualMachineGroupGetResponse200Normalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupGetResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine_group', $data)) { - $object->setVirtualMachineGroup($this->denormalizer->denormalize($data['virtual_machine_group'], 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroup', 'json', $context)); + $object->setVirtualMachineGroup($this->denormalizer->denormalize($data['virtual_machine_group'], \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroup::class, 'json', $context)); unset($data['virtual_machine_group']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupGetResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupGetResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class VirtualMachineGroupsVirtualMachineGroupGetResponse200Normalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupGetResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine_group', $data)) { - $object->setVirtualMachineGroup($this->denormalizer->denormalize($data['virtual_machine_group'], 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroup', 'json', $context)); + $object->setVirtualMachineGroup($this->denormalizer->denormalize($data['virtual_machine_group'], \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroup::class, 'json', $context)); unset($data['virtual_machine_group']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupGetResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroupNormalizer.php b/src/Core/Normalizer/VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroupNormalizer.php index de528ac5..6149ae9d 100644 --- a/src/Core/Normalizer/VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroupNormalizer.php +++ b/src/Core/Normalizer/VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroupNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroupNo public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroup'; + return $type === \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -109,7 +109,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroup' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroup::class => false]; } } } else { @@ -122,12 +122,12 @@ class VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroupNo public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroup'; + return $type === \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -203,7 +203,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroup' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupGetResponse200VirtualMachineGroup::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineGroupsVirtualMachineGroupPatchBodyNormalizer.php b/src/Core/Normalizer/VirtualMachineGroupsVirtualMachineGroupPatchBodyNormalizer.php index 330f48a5..b999c258 100644 --- a/src/Core/Normalizer/VirtualMachineGroupsVirtualMachineGroupPatchBodyNormalizer.php +++ b/src/Core/Normalizer/VirtualMachineGroupsVirtualMachineGroupPatchBodyNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachineGroupsVirtualMachineGroupPatchBodyNormalizer implements Deno public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchBody'; + return $type === \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupPatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupPatchBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine_group', $data)) { - $object->setVirtualMachineGroup($this->denormalizer->denormalize($data['virtual_machine_group'], 'KatapultAPI\\Core\\Model\\VirtualMachineGroupLookup', 'json', $context)); + $object->setVirtualMachineGroup($this->denormalizer->denormalize($data['virtual_machine_group'], \KatapultAPI\Core\Model\VirtualMachineGroupLookup::class, 'json', $context)); unset($data['virtual_machine_group']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\VirtualMachineGroupArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\VirtualMachineGroupArguments::class, 'json', $context)); unset($data['properties']); } foreach ($data as $key => $value) { @@ -84,7 +84,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchBody' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupPatchBody::class => false]; } } } else { @@ -97,12 +97,12 @@ class VirtualMachineGroupsVirtualMachineGroupPatchBodyNormalizer implements Deno public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchBody'; + return $type === \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupPatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupPatchBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -118,11 +118,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine_group', $data)) { - $object->setVirtualMachineGroup($this->denormalizer->denormalize($data['virtual_machine_group'], 'KatapultAPI\\Core\\Model\\VirtualMachineGroupLookup', 'json', $context)); + $object->setVirtualMachineGroup($this->denormalizer->denormalize($data['virtual_machine_group'], \KatapultAPI\Core\Model\VirtualMachineGroupLookup::class, 'json', $context)); unset($data['virtual_machine_group']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\VirtualMachineGroupArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\VirtualMachineGroupArguments::class, 'json', $context)); unset($data['properties']); } foreach ($data as $key => $value) { @@ -153,7 +153,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchBody' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupPatchBody::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineGroupsVirtualMachineGroupPatchResponse200Normalizer.php b/src/Core/Normalizer/VirtualMachineGroupsVirtualMachineGroupPatchResponse200Normalizer.php index aab0f502..1c0364de 100644 --- a/src/Core/Normalizer/VirtualMachineGroupsVirtualMachineGroupPatchResponse200Normalizer.php +++ b/src/Core/Normalizer/VirtualMachineGroupsVirtualMachineGroupPatchResponse200Normalizer.php @@ -31,12 +31,12 @@ class VirtualMachineGroupsVirtualMachineGroupPatchResponse200Normalizer implemen public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupPatchResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupPatchResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine_group', $data)) { - $object->setVirtualMachineGroup($this->denormalizer->denormalize($data['virtual_machine_group'], 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroup', 'json', $context)); + $object->setVirtualMachineGroup($this->denormalizer->denormalize($data['virtual_machine_group'], \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroup::class, 'json', $context)); unset($data['virtual_machine_group']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupPatchResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class VirtualMachineGroupsVirtualMachineGroupPatchResponse200Normalizer implemen public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupPatchResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupPatchResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine_group', $data)) { - $object->setVirtualMachineGroup($this->denormalizer->denormalize($data['virtual_machine_group'], 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroup', 'json', $context)); + $object->setVirtualMachineGroup($this->denormalizer->denormalize($data['virtual_machine_group'], \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroup::class, 'json', $context)); unset($data['virtual_machine_group']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupPatchResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroupNormalizer.php b/src/Core/Normalizer/VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroupNormalizer.php index 938cdae9..d7cf4187 100644 --- a/src/Core/Normalizer/VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroupNormalizer.php +++ b/src/Core/Normalizer/VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroupNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroup public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroup'; + return $type === \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -109,7 +109,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroup' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroup::class => false]; } } } else { @@ -122,12 +122,12 @@ class VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroup public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroup'; + return $type === \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -203,7 +203,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroup' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineGroupsVirtualMachineGroupPatchResponse200VirtualMachineGroup::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineHypervisorNormalizer.php b/src/Core/Normalizer/VirtualMachineHypervisorNormalizer.php index fe731c73..c44592af 100644 --- a/src/Core/Normalizer/VirtualMachineHypervisorNormalizer.php +++ b/src/Core/Normalizer/VirtualMachineHypervisorNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachineHypervisorNormalizer implements DenormalizerInterface, Norma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineHypervisor'; + return $type === \KatapultAPI\Core\Model\VirtualMachineHypervisor::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineHypervisor'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineHypervisor::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineHypervisor' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineHypervisor::class => false]; } } } else { @@ -108,12 +108,12 @@ class VirtualMachineHypervisorNormalizer implements DenormalizerInterface, Norma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineHypervisor'; + return $type === \KatapultAPI\Core\Model\VirtualMachineHypervisor::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineHypervisor'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineHypervisor::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineHypervisor' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineHypervisor::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineLookupNormalizer.php b/src/Core/Normalizer/VirtualMachineLookupNormalizer.php index cfbbff94..f28eb6af 100644 --- a/src/Core/Normalizer/VirtualMachineLookupNormalizer.php +++ b/src/Core/Normalizer/VirtualMachineLookupNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachineLookupNormalizer implements DenormalizerInterface, Normalize public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineLookup'; + return $type === \KatapultAPI\Core\Model\VirtualMachineLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineLookup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineLookup' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineLookup::class => false]; } } } else { @@ -101,12 +101,12 @@ class VirtualMachineLookupNormalizer implements DenormalizerInterface, Normalize public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineLookup'; + return $type === \KatapultAPI\Core\Model\VirtualMachineLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineLookup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineLookup' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineLookup::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineMustBeStartedNormalizer.php b/src/Core/Normalizer/VirtualMachineMustBeStartedNormalizer.php index c389fff8..ef980284 100644 --- a/src/Core/Normalizer/VirtualMachineMustBeStartedNormalizer.php +++ b/src/Core/Normalizer/VirtualMachineMustBeStartedNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachineMustBeStartedNormalizer implements DenormalizerInterface, No public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineMustBeStarted'; + return $type === \KatapultAPI\Core\Model\VirtualMachineMustBeStarted::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineMustBeStarted'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineMustBeStarted::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineMustBeStarted' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineMustBeStarted::class => false]; } } } else { @@ -94,12 +94,12 @@ class VirtualMachineMustBeStartedNormalizer implements DenormalizerInterface, No public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineMustBeStarted'; + return $type === \KatapultAPI\Core\Model\VirtualMachineMustBeStarted::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineMustBeStarted'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineMustBeStarted::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineMustBeStarted' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineMustBeStarted::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineMustBeStartedSchemaNormalizer.php b/src/Core/Normalizer/VirtualMachineMustBeStartedSchemaNormalizer.php index 887479f1..5639a249 100644 --- a/src/Core/Normalizer/VirtualMachineMustBeStartedSchemaNormalizer.php +++ b/src/Core/Normalizer/VirtualMachineMustBeStartedSchemaNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachineMustBeStartedSchemaNormalizer implements DenormalizerInterfa public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineMustBeStartedSchema'; + return $type === \KatapultAPI\Core\Model\VirtualMachineMustBeStartedSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineMustBeStartedSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineMustBeStartedSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Core\\Model\\VirtualMachineMustBeStarted', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Core\Model\VirtualMachineMustBeStarted::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineMustBeStartedSchema' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineMustBeStartedSchema::class => false]; } } } else { @@ -108,12 +108,12 @@ class VirtualMachineMustBeStartedSchemaNormalizer implements DenormalizerInterfa public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineMustBeStartedSchema'; + return $type === \KatapultAPI\Core\Model\VirtualMachineMustBeStartedSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineMustBeStartedSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineMustBeStartedSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -137,7 +137,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Core\\Model\\VirtualMachineMustBeStarted', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Core\Model\VirtualMachineMustBeStarted::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineMustBeStartedSchema' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineMustBeStartedSchema::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineNetworkInterfaceLookupNormalizer.php b/src/Core/Normalizer/VirtualMachineNetworkInterfaceLookupNormalizer.php index 76e2961b..b2a9a9f3 100644 --- a/src/Core/Normalizer/VirtualMachineNetworkInterfaceLookupNormalizer.php +++ b/src/Core/Normalizer/VirtualMachineNetworkInterfaceLookupNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachineNetworkInterfaceLookupNormalizer implements DenormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfaceLookup'; + return $type === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfaceLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfaceLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfaceLookup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfaceLookup' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineNetworkInterfaceLookup::class => false]; } } } else { @@ -94,12 +94,12 @@ class VirtualMachineNetworkInterfaceLookupNormalizer implements DenormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfaceLookup'; + return $type === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfaceLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfaceLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfaceLookup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfaceLookup' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineNetworkInterfaceLookup::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineNetworkInterfaceNotFoundSchemaNormalizer.php b/src/Core/Normalizer/VirtualMachineNetworkInterfaceNotFoundSchemaNormalizer.php index b3dee0d6..b0b5b959 100644 --- a/src/Core/Normalizer/VirtualMachineNetworkInterfaceNotFoundSchemaNormalizer.php +++ b/src/Core/Normalizer/VirtualMachineNetworkInterfaceNotFoundSchemaNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachineNetworkInterfaceNotFoundSchemaNormalizer implements Denormal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfaceNotFoundSchema'; + return $type === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfaceNotFoundSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfaceNotFoundSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfaceNotFoundSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfaceNotFoundSchema' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineNetworkInterfaceNotFoundSchema::class => false]; } } } else { @@ -116,12 +116,12 @@ class VirtualMachineNetworkInterfaceNotFoundSchemaNormalizer implements Denormal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfaceNotFoundSchema'; + return $type === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfaceNotFoundSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfaceNotFoundSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfaceNotFoundSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfaceNotFoundSchema' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineNetworkInterfaceNotFoundSchema::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostBodyNormalizer.php b/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostBodyNormalizer.php index 3154f79c..ee758ce5 100644 --- a/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostBodyNormalizer.php +++ b/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostBodyNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPos public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostBody'; + return $type === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine_network_interface', $data)) { - $object->setVirtualMachineNetworkInterface($this->denormalizer->denormalize($data['virtual_machine_network_interface'], 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfaceLookup', 'json', $context)); + $object->setVirtualMachineNetworkInterface($this->denormalizer->denormalize($data['virtual_machine_network_interface'], \KatapultAPI\Core\Model\VirtualMachineNetworkInterfaceLookup::class, 'json', $context)); unset($data['virtual_machine_network_interface']); } if (\array_key_exists('ip_address', $data)) { - $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], 'KatapultAPI\\Core\\Model\\IPAddressLookup', 'json', $context)); + $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], \KatapultAPI\Core\Model\IPAddressLookup::class, 'json', $context)); unset($data['ip_address']); } foreach ($data as $key => $value) { @@ -84,7 +84,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostBody' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostBody::class => false]; } } } else { @@ -97,12 +97,12 @@ class VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPos public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostBody'; + return $type === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -118,11 +118,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine_network_interface', $data)) { - $object->setVirtualMachineNetworkInterface($this->denormalizer->denormalize($data['virtual_machine_network_interface'], 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfaceLookup', 'json', $context)); + $object->setVirtualMachineNetworkInterface($this->denormalizer->denormalize($data['virtual_machine_network_interface'], \KatapultAPI\Core\Model\VirtualMachineNetworkInterfaceLookup::class, 'json', $context)); unset($data['virtual_machine_network_interface']); } if (\array_key_exists('ip_address', $data)) { - $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], 'KatapultAPI\\Core\\Model\\IPAddressLookup', 'json', $context)); + $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], \KatapultAPI\Core\Model\IPAddressLookup::class, 'json', $context)); unset($data['ip_address']); } foreach ($data as $key => $value) { @@ -153,7 +153,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostBody' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200Normalizer.php b/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200Normalizer.php index 65146830..120847bf 100644 --- a/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200Normalizer.php +++ b/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200Normalizer.php @@ -31,12 +31,12 @@ class VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPos public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine_network_interface', $data)) { - $object->setVirtualMachineNetworkInterface($this->denormalizer->denormalize($data['virtual_machine_network_interface'], 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterface', 'json', $context)); + $object->setVirtualMachineNetworkInterface($this->denormalizer->denormalize($data['virtual_machine_network_interface'], \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterface::class, 'json', $context)); unset($data['virtual_machine_network_interface']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPos public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine_network_interface', $data)) { - $object->setVirtualMachineNetworkInterface($this->denormalizer->denormalize($data['virtual_machine_network_interface'], 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterface', 'json', $context)); + $object->setVirtualMachineNetworkInterface($this->denormalizer->denormalize($data['virtual_machine_network_interface'], \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterface::class, 'json', $context)); unset($data['virtual_machine_network_interface']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterfaceNormalizer.php b/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterfaceNormalizer.php index 6e938c24..cdd501db 100644 --- a/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterfaceNormalizer.php +++ b/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterfaceNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPos public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterface'; + return $type === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterface::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterface'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterface::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -56,7 +56,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['id']); } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('name', $data)) { @@ -64,7 +64,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['name']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork::class, 'json', $context)); unset($data['network']); } if (\array_key_exists('mac_address', $data)) { @@ -78,7 +78,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('ip_addresses', $data)) { $values = []; foreach ($data['ip_addresses'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses::class, 'json', $context); } $object->setIpAddresses($values); unset($data['ip_addresses']); @@ -131,7 +131,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterface' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterface::class => false]; } } } else { @@ -144,12 +144,12 @@ class VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPos public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterface'; + return $type === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterface::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterface'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterface::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -169,7 +169,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('name', $data)) { @@ -177,7 +177,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartNetwork::class, 'json', $context)); unset($data['network']); } if (\array_key_exists('mac_address', $data)) { @@ -191,7 +191,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('ip_addresses', $data)) { $values = []; foreach ($data['ip_addresses'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\PostVirtualMachineNetworkInterfaceAllocateIPPartIPAddresses::class, 'json', $context); } $object->setIpAddresses($values); unset($data['ip_addresses']); @@ -247,7 +247,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterface' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateIpPostResponse200VirtualMachineNetworkInterface::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostBodyNormalizer.php b/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostBodyNormalizer.php index 78572ecf..6b2b4361 100644 --- a/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostBodyNormalizer.php +++ b/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostBodyNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIp public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostBody'; + return $type === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine_network_interface', $data)) { - $object->setVirtualMachineNetworkInterface($this->denormalizer->denormalize($data['virtual_machine_network_interface'], 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfaceLookup', 'json', $context)); + $object->setVirtualMachineNetworkInterface($this->denormalizer->denormalize($data['virtual_machine_network_interface'], \KatapultAPI\Core\Model\VirtualMachineNetworkInterfaceLookup::class, 'json', $context)); unset($data['virtual_machine_network_interface']); } if (\array_key_exists('address_version', $data)) { @@ -84,7 +84,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostBody' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostBody::class => false]; } } } else { @@ -97,12 +97,12 @@ class VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIp public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostBody'; + return $type === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -118,7 +118,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine_network_interface', $data)) { - $object->setVirtualMachineNetworkInterface($this->denormalizer->denormalize($data['virtual_machine_network_interface'], 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfaceLookup', 'json', $context)); + $object->setVirtualMachineNetworkInterface($this->denormalizer->denormalize($data['virtual_machine_network_interface'], \KatapultAPI\Core\Model\VirtualMachineNetworkInterfaceLookup::class, 'json', $context)); unset($data['virtual_machine_network_interface']); } if (\array_key_exists('address_version', $data)) { @@ -153,7 +153,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostBody' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddressNormalizer.php b/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddressNormalizer.php index 29971daa..38d96df9 100644 --- a/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddressNormalizer.php +++ b/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddressNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIp public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddress'; + return $type === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddress::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddress'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddress::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -78,7 +78,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['address_with_mask']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'KatapultAPI\\Core\\Model\\Network', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], \KatapultAPI\Core\Model\Network::class, 'json', $context)); unset($data['network']); } if (\array_key_exists('allocation_id', $data) && $data['allocation_id'] !== null) { @@ -143,7 +143,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddress' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddress::class => false]; } } } else { @@ -156,12 +156,12 @@ class VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIp public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddress'; + return $type === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddress::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddress'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddress::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -203,7 +203,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['address_with_mask']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'KatapultAPI\\Core\\Model\\Network', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], \KatapultAPI\Core\Model\Network::class, 'json', $context)); unset($data['network']); } if (\array_key_exists('allocation_id', $data) && $data['allocation_id'] !== null) { @@ -271,7 +271,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddress' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddress::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200Normalizer.php b/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200Normalizer.php index 339306d6..98acbdb7 100644 --- a/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200Normalizer.php +++ b/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200Normalizer.php @@ -31,12 +31,12 @@ class VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIp public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('ip_address', $data)) { - $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddress', 'json', $context)); + $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddress::class, 'json', $context)); unset($data['ip_address']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIp public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('ip_address', $data)) { - $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddress', 'json', $context)); + $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200IpAddress::class, 'json', $context)); unset($data['ip_address']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAllocateNewIpPostResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsAddressVersionGetResponse200Normalizer.php b/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsAddressVersionGetResponse200Normalizer.php index 42c8e3ea..e2e105a4 100644 --- a/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsAddressVersionGetResponse200Normalizer.php +++ b/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsAddressVersionGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsA public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsAddressVersionGetResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsAddressVersionGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsAddressVersionGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsAddressVersionGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -54,7 +54,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('ip_addresses', $data)) { $values = []; foreach ($data['ip_addresses'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\IPAddress', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\IPAddress::class, 'json', $context); } $object->setIpAddresses($values); unset($data['ip_addresses']); @@ -87,7 +87,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsAddressVersionGetResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsAddressVersionGetResponse200::class => false]; } } } else { @@ -100,12 +100,12 @@ class VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsA public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsAddressVersionGetResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsAddressVersionGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsAddressVersionGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsAddressVersionGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -123,7 +123,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('ip_addresses', $data)) { $values = []; foreach ($data['ip_addresses'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\IPAddress', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\IPAddress::class, 'json', $context); } $object->setIpAddresses($values); unset($data['ip_addresses']); @@ -159,7 +159,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsAddressVersionGetResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceAvailableIpsAddressVersionGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200Normalizer.php b/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200Normalizer.php index c71e09d2..eab05af6 100644 --- a/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200Normalizer.php +++ b/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse20 public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine_network_interface', $data)) { - $object->setVirtualMachineNetworkInterface($this->denormalizer->denormalize($data['virtual_machine_network_interface'], 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterface', 'json', $context)); + $object->setVirtualMachineNetworkInterface($this->denormalizer->denormalize($data['virtual_machine_network_interface'], \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterface::class, 'json', $context)); unset($data['virtual_machine_network_interface']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse20 public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine_network_interface', $data)) { - $object->setVirtualMachineNetworkInterface($this->denormalizer->denormalize($data['virtual_machine_network_interface'], 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterface', 'json', $context)); + $object->setVirtualMachineNetworkInterface($this->denormalizer->denormalize($data['virtual_machine_network_interface'], \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterface::class, 'json', $context)); unset($data['virtual_machine_network_interface']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterfaceNormalizer.php b/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterfaceNormalizer.php index 41554423..d5855c99 100644 --- a/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterfaceNormalizer.php +++ b/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterfaceNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse20 public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterface'; + return $type === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterface::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterface'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterface::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -56,7 +56,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['id']); } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\GetVMNIVMNIPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('name', $data)) { @@ -64,7 +64,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['name']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartNetwork', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], \KatapultAPI\Core\Model\GetVMNIVMNIPartNetwork::class, 'json', $context)); unset($data['network']); } if (\array_key_exists('mac_address', $data)) { @@ -78,13 +78,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('ip_addresses', $data)) { $values = []; foreach ($data['ip_addresses'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartIPAddresses', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetVMNIVMNIPartIPAddresses::class, 'json', $context); } $object->setIpAddresses($values); unset($data['ip_addresses']); } if (\array_key_exists('speed_profile', $data)) { - $object->setSpeedProfile($this->denormalizer->denormalize($data['speed_profile'], 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartSpeedProfile', 'json', $context)); + $object->setSpeedProfile($this->denormalizer->denormalize($data['speed_profile'], \KatapultAPI\Core\Model\GetVMNIVMNIPartSpeedProfile::class, 'json', $context)); unset($data['speed_profile']); } foreach ($data as $key => $value_1) { @@ -138,7 +138,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterface' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterface::class => false]; } } } else { @@ -151,12 +151,12 @@ class VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse20 public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterface'; + return $type === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterface::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterface'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterface::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -176,7 +176,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\GetVMNIVMNIPartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('name', $data)) { @@ -184,7 +184,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartNetwork', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], \KatapultAPI\Core\Model\GetVMNIVMNIPartNetwork::class, 'json', $context)); unset($data['network']); } if (\array_key_exists('mac_address', $data)) { @@ -198,13 +198,13 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('ip_addresses', $data)) { $values = []; foreach ($data['ip_addresses'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartIPAddresses', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetVMNIVMNIPartIPAddresses::class, 'json', $context); } $object->setIpAddresses($values); unset($data['ip_addresses']); } if (\array_key_exists('speed_profile', $data)) { - $object->setSpeedProfile($this->denormalizer->denormalize($data['speed_profile'], 'KatapultAPI\\Core\\Model\\GetVMNIVMNIPartSpeedProfile', 'json', $context)); + $object->setSpeedProfile($this->denormalizer->denormalize($data['speed_profile'], \KatapultAPI\Core\Model\GetVMNIVMNIPartSpeedProfile::class, 'json', $context)); unset($data['speed_profile']); } foreach ($data as $key => $value_1) { @@ -261,7 +261,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterface' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceGetResponse200VirtualMachineNetworkInterface::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchBodyNormalizer.php b/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchBodyNormalizer.php index 052cad60..bcdc9159 100644 --- a/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchBodyNormalizer.php +++ b/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchBodyNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedPr public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchBody'; + return $type === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine_network_interface', $data)) { - $object->setVirtualMachineNetworkInterface($this->denormalizer->denormalize($data['virtual_machine_network_interface'], 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfaceLookup', 'json', $context)); + $object->setVirtualMachineNetworkInterface($this->denormalizer->denormalize($data['virtual_machine_network_interface'], \KatapultAPI\Core\Model\VirtualMachineNetworkInterfaceLookup::class, 'json', $context)); unset($data['virtual_machine_network_interface']); } if (\array_key_exists('speed_profile', $data)) { - $object->setSpeedProfile($this->denormalizer->denormalize($data['speed_profile'], 'KatapultAPI\\Core\\Model\\NetworkSpeedProfileLookup', 'json', $context)); + $object->setSpeedProfile($this->denormalizer->denormalize($data['speed_profile'], \KatapultAPI\Core\Model\NetworkSpeedProfileLookup::class, 'json', $context)); unset($data['speed_profile']); } foreach ($data as $key => $value) { @@ -84,7 +84,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchBody' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchBody::class => false]; } } } else { @@ -97,12 +97,12 @@ class VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedPr public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchBody'; + return $type === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -118,11 +118,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine_network_interface', $data)) { - $object->setVirtualMachineNetworkInterface($this->denormalizer->denormalize($data['virtual_machine_network_interface'], 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfaceLookup', 'json', $context)); + $object->setVirtualMachineNetworkInterface($this->denormalizer->denormalize($data['virtual_machine_network_interface'], \KatapultAPI\Core\Model\VirtualMachineNetworkInterfaceLookup::class, 'json', $context)); unset($data['virtual_machine_network_interface']); } if (\array_key_exists('speed_profile', $data)) { - $object->setSpeedProfile($this->denormalizer->denormalize($data['speed_profile'], 'KatapultAPI\\Core\\Model\\NetworkSpeedProfileLookup', 'json', $context)); + $object->setSpeedProfile($this->denormalizer->denormalize($data['speed_profile'], \KatapultAPI\Core\Model\NetworkSpeedProfileLookup::class, 'json', $context)); unset($data['speed_profile']); } foreach ($data as $key => $value) { @@ -153,7 +153,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchBody' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchBody::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Normalizer.php b/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Normalizer.php index 50384e1f..79a0d686 100644 --- a/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Normalizer.php +++ b/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Normalizer.php @@ -31,12 +31,12 @@ class VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedPr public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('task', $data)) { - $object->setTask($this->denormalizer->denormalize($data['task'], 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Task', 'json', $context)); + $object->setTask($this->denormalizer->denormalize($data['task'], \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Task::class, 'json', $context)); unset($data['task']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedPr public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('task', $data)) { - $object->setTask($this->denormalizer->denormalize($data['task'], 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Task', 'json', $context)); + $object->setTask($this->denormalizer->denormalize($data['task'], \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Task::class, 'json', $context)); unset($data['task']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200TaskNormalizer.php b/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200TaskNormalizer.php index 0613a7a8..e52ac14c 100644 --- a/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200TaskNormalizer.php +++ b/src/Core/Normalizer/VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200TaskNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedPr public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Task'; + return $type === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Task::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Task'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Task::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -127,7 +127,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Task' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Task::class => false]; } } } else { @@ -140,12 +140,12 @@ class VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedPr public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Task'; + return $type === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Task::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Task'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Task::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -239,7 +239,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Task' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineNetworkInterfacesVirtualMachineNetworkInterfaceUpdateSpeedProfilePatchResponse200Task::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineNormalizer.php b/src/Core/Normalizer/VirtualMachineNormalizer.php index aa9841c3..ec621a80 100644 --- a/src/Core/Normalizer/VirtualMachineNormalizer.php +++ b/src/Core/Normalizer/VirtualMachineNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachineNormalizer implements DenormalizerInterface, NormalizerInter public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachine'; + return $type === \KatapultAPI\Core\Model\VirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachine::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,27 +88,27 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['state']); } if (\array_key_exists('zone', $data)) { - $object->setZone($this->denormalizer->denormalize($data['zone'], 'KatapultAPI\\Core\\Model\\Zone', 'json', $context)); + $object->setZone($this->denormalizer->denormalize($data['zone'], \KatapultAPI\Core\Model\Zone::class, 'json', $context)); unset($data['zone']); } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\Organization', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\Organization::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('group', $data) && $data['group'] !== null) { - $object->setGroup($this->denormalizer->denormalize($data['group'], 'KatapultAPI\\Core\\Model\\VirtualMachineGroup', 'json', $context)); + $object->setGroup($this->denormalizer->denormalize($data['group'], \KatapultAPI\Core\Model\VirtualMachineGroup::class, 'json', $context)); unset($data['group']); } elseif (\array_key_exists('group', $data) && $data['group'] === null) { $object->setGroup(null); } if (\array_key_exists('package', $data) && $data['package'] !== null) { - $object->setPackage($this->denormalizer->denormalize($data['package'], 'KatapultAPI\\Core\\Model\\VirtualMachinePackage', 'json', $context)); + $object->setPackage($this->denormalizer->denormalize($data['package'], \KatapultAPI\Core\Model\VirtualMachinePackage::class, 'json', $context)); unset($data['package']); } elseif (\array_key_exists('package', $data) && $data['package'] === null) { $object->setPackage(null); } if (\array_key_exists('attached_iso', $data) && $data['attached_iso'] !== null) { - $object->setAttachedIso($this->denormalizer->denormalize($data['attached_iso'], 'KatapultAPI\\Core\\Model\\VirtualMachineAttachedIso', 'json', $context)); + $object->setAttachedIso($this->denormalizer->denormalize($data['attached_iso'], \KatapultAPI\Core\Model\VirtualMachineAttachedIso::class, 'json', $context)); unset($data['attached_iso']); } elseif (\array_key_exists('attached_iso', $data) && $data['attached_iso'] === null) { $object->setAttachedIso(null); @@ -132,7 +132,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setUseDedicatedCpus(null); } if (\array_key_exists('gpu_type', $data) && $data['gpu_type'] !== null) { - $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], 'KatapultAPI\\Core\\Model\\VirtualMachineGpuType', 'json', $context)); + $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], \KatapultAPI\Core\Model\VirtualMachineGpuType::class, 'json', $context)); unset($data['gpu_type']); } elseif (\array_key_exists('gpu_type', $data) && $data['gpu_type'] === null) { $object->setGpuType(null); @@ -140,7 +140,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('gpus', $data)) { $values = []; foreach ($data['gpus'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\VirtualMachineGPU', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\VirtualMachineGPU::class, 'json', $context); } $object->setGpus($values); unset($data['gpus']); @@ -148,7 +148,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('tags', $data)) { $values_1 = []; foreach ($data['tags'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'KatapultAPI\\Core\\Model\\Tag', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, \KatapultAPI\Core\Model\Tag::class, 'json', $context); } $object->setTags($values_1); unset($data['tags']); @@ -164,13 +164,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('ip_addresses', $data)) { $values_3 = []; foreach ($data['ip_addresses'] as $value_3) { - $values_3[] = $this->denormalizer->denormalize($value_3, 'KatapultAPI\\Core\\Model\\IPAddress', 'json', $context); + $values_3[] = $this->denormalizer->denormalize($value_3, \KatapultAPI\Core\Model\IPAddress::class, 'json', $context); } $object->setIpAddresses($values_3); unset($data['ip_addresses']); } if (\array_key_exists('hypervisor', $data) && $data['hypervisor'] !== null) { - $object->setHypervisor($this->denormalizer->denormalize($data['hypervisor'], 'KatapultAPI\\Core\\Model\\VirtualMachineHypervisor', 'json', $context)); + $object->setHypervisor($this->denormalizer->denormalize($data['hypervisor'], \KatapultAPI\Core\Model\VirtualMachineHypervisor::class, 'json', $context)); unset($data['hypervisor']); } elseif (\array_key_exists('hypervisor', $data) && $data['hypervisor'] === null) { $object->setHypervisor(null); @@ -280,7 +280,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachine' => false]; + return [\KatapultAPI\Core\Model\VirtualMachine::class => false]; } } } else { @@ -293,12 +293,12 @@ class VirtualMachineNormalizer implements DenormalizerInterface, NormalizerInter public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachine'; + return $type === \KatapultAPI\Core\Model\VirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachine::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -350,27 +350,27 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['state']); } if (\array_key_exists('zone', $data)) { - $object->setZone($this->denormalizer->denormalize($data['zone'], 'KatapultAPI\\Core\\Model\\Zone', 'json', $context)); + $object->setZone($this->denormalizer->denormalize($data['zone'], \KatapultAPI\Core\Model\Zone::class, 'json', $context)); unset($data['zone']); } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\Organization', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\Organization::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('group', $data) && $data['group'] !== null) { - $object->setGroup($this->denormalizer->denormalize($data['group'], 'KatapultAPI\\Core\\Model\\VirtualMachineGroup', 'json', $context)); + $object->setGroup($this->denormalizer->denormalize($data['group'], \KatapultAPI\Core\Model\VirtualMachineGroup::class, 'json', $context)); unset($data['group']); } elseif (\array_key_exists('group', $data) && $data['group'] === null) { $object->setGroup(null); } if (\array_key_exists('package', $data) && $data['package'] !== null) { - $object->setPackage($this->denormalizer->denormalize($data['package'], 'KatapultAPI\\Core\\Model\\VirtualMachinePackage', 'json', $context)); + $object->setPackage($this->denormalizer->denormalize($data['package'], \KatapultAPI\Core\Model\VirtualMachinePackage::class, 'json', $context)); unset($data['package']); } elseif (\array_key_exists('package', $data) && $data['package'] === null) { $object->setPackage(null); } if (\array_key_exists('attached_iso', $data) && $data['attached_iso'] !== null) { - $object->setAttachedIso($this->denormalizer->denormalize($data['attached_iso'], 'KatapultAPI\\Core\\Model\\VirtualMachineAttachedIso', 'json', $context)); + $object->setAttachedIso($this->denormalizer->denormalize($data['attached_iso'], \KatapultAPI\Core\Model\VirtualMachineAttachedIso::class, 'json', $context)); unset($data['attached_iso']); } elseif (\array_key_exists('attached_iso', $data) && $data['attached_iso'] === null) { $object->setAttachedIso(null); @@ -394,7 +394,7 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setUseDedicatedCpus(null); } if (\array_key_exists('gpu_type', $data) && $data['gpu_type'] !== null) { - $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], 'KatapultAPI\\Core\\Model\\VirtualMachineGpuType', 'json', $context)); + $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], \KatapultAPI\Core\Model\VirtualMachineGpuType::class, 'json', $context)); unset($data['gpu_type']); } elseif (\array_key_exists('gpu_type', $data) && $data['gpu_type'] === null) { $object->setGpuType(null); @@ -402,7 +402,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('gpus', $data)) { $values = []; foreach ($data['gpus'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\VirtualMachineGPU', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\VirtualMachineGPU::class, 'json', $context); } $object->setGpus($values); unset($data['gpus']); @@ -410,7 +410,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('tags', $data)) { $values_1 = []; foreach ($data['tags'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'KatapultAPI\\Core\\Model\\Tag', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, \KatapultAPI\Core\Model\Tag::class, 'json', $context); } $object->setTags($values_1); unset($data['tags']); @@ -426,13 +426,13 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('ip_addresses', $data)) { $values_3 = []; foreach ($data['ip_addresses'] as $value_3) { - $values_3[] = $this->denormalizer->denormalize($value_3, 'KatapultAPI\\Core\\Model\\IPAddress', 'json', $context); + $values_3[] = $this->denormalizer->denormalize($value_3, \KatapultAPI\Core\Model\IPAddress::class, 'json', $context); } $object->setIpAddresses($values_3); unset($data['ip_addresses']); } if (\array_key_exists('hypervisor', $data) && $data['hypervisor'] !== null) { - $object->setHypervisor($this->denormalizer->denormalize($data['hypervisor'], 'KatapultAPI\\Core\\Model\\VirtualMachineHypervisor', 'json', $context)); + $object->setHypervisor($this->denormalizer->denormalize($data['hypervisor'], \KatapultAPI\Core\Model\VirtualMachineHypervisor::class, 'json', $context)); unset($data['hypervisor']); } elseif (\array_key_exists('hypervisor', $data) && $data['hypervisor'] === null) { $object->setHypervisor(null); @@ -545,7 +545,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachine' => false]; + return [\KatapultAPI\Core\Model\VirtualMachine::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachineNotFoundSchemaNormalizer.php b/src/Core/Normalizer/VirtualMachineNotFoundSchemaNormalizer.php index bac9fbbd..90a847a9 100644 --- a/src/Core/Normalizer/VirtualMachineNotFoundSchemaNormalizer.php +++ b/src/Core/Normalizer/VirtualMachineNotFoundSchemaNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachineNotFoundSchemaNormalizer implements DenormalizerInterface, N public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineNotFoundSchema'; + return $type === \KatapultAPI\Core\Model\VirtualMachineNotFoundSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineNotFoundSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineNotFoundSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineNotFoundSchema' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineNotFoundSchema::class => false]; } } } else { @@ -116,12 +116,12 @@ class VirtualMachineNotFoundSchemaNormalizer implements DenormalizerInterface, N public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachineNotFoundSchema'; + return $type === \KatapultAPI\Core\Model\VirtualMachineNotFoundSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachineNotFoundSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachineNotFoundSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachineNotFoundSchema' => false]; + return [\KatapultAPI\Core\Model\VirtualMachineNotFoundSchema::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinePackageGroupNormalizer.php b/src/Core/Normalizer/VirtualMachinePackageGroupNormalizer.php index 1ac919b2..6c1992e0 100644 --- a/src/Core/Normalizer/VirtualMachinePackageGroupNormalizer.php +++ b/src/Core/Normalizer/VirtualMachinePackageGroupNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachinePackageGroupNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinePackageGroup'; + return $type === \KatapultAPI\Core\Model\VirtualMachinePackageGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinePackageGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinePackageGroup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinePackageGroup' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinePackageGroup::class => false]; } } } else { @@ -101,12 +101,12 @@ class VirtualMachinePackageGroupNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinePackageGroup'; + return $type === \KatapultAPI\Core\Model\VirtualMachinePackageGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinePackageGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinePackageGroup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinePackageGroup' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinePackageGroup::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinePackageIconNormalizer.php b/src/Core/Normalizer/VirtualMachinePackageIconNormalizer.php index acbd51a0..1da8af54 100644 --- a/src/Core/Normalizer/VirtualMachinePackageIconNormalizer.php +++ b/src/Core/Normalizer/VirtualMachinePackageIconNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachinePackageIconNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinePackageIcon'; + return $type === \KatapultAPI\Core\Model\VirtualMachinePackageIcon::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinePackageIcon'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinePackageIcon::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -116,7 +116,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinePackageIcon' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinePackageIcon::class => false]; } } } else { @@ -129,12 +129,12 @@ class VirtualMachinePackageIconNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinePackageIcon'; + return $type === \KatapultAPI\Core\Model\VirtualMachinePackageIcon::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinePackageIcon'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinePackageIcon::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -217,7 +217,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinePackageIcon' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinePackageIcon::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinePackageLookupNormalizer.php b/src/Core/Normalizer/VirtualMachinePackageLookupNormalizer.php index a6d84b39..4928f842 100644 --- a/src/Core/Normalizer/VirtualMachinePackageLookupNormalizer.php +++ b/src/Core/Normalizer/VirtualMachinePackageLookupNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachinePackageLookupNormalizer implements DenormalizerInterface, No public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinePackageLookup'; + return $type === \KatapultAPI\Core\Model\VirtualMachinePackageLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinePackageLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinePackageLookup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinePackageLookup' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinePackageLookup::class => false]; } } } else { @@ -101,12 +101,12 @@ class VirtualMachinePackageLookupNormalizer implements DenormalizerInterface, No public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinePackageLookup'; + return $type === \KatapultAPI\Core\Model\VirtualMachinePackageLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinePackageLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinePackageLookup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinePackageLookup' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinePackageLookup::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinePackageNormalizer.php b/src/Core/Normalizer/VirtualMachinePackageNormalizer.php index 25799d4c..123e57f6 100644 --- a/src/Core/Normalizer/VirtualMachinePackageNormalizer.php +++ b/src/Core/Normalizer/VirtualMachinePackageNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachinePackageNormalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinePackage'; + return $type === \KatapultAPI\Core\Model\VirtualMachinePackage::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinePackage'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinePackage::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -90,7 +90,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['privacy']); } if (\array_key_exists('icon', $data) && $data['icon'] !== null) { - $object->setIcon($this->denormalizer->denormalize($data['icon'], 'KatapultAPI\\Core\\Model\\VirtualMachinePackageIcon', 'json', $context)); + $object->setIcon($this->denormalizer->denormalize($data['icon'], \KatapultAPI\Core\Model\VirtualMachinePackageIcon::class, 'json', $context)); unset($data['icon']); } elseif (\array_key_exists('icon', $data) && $data['icon'] === null) { $object->setIcon(null); @@ -100,7 +100,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['use_dedicated_cpus']); } if (\array_key_exists('group', $data)) { - $object->setGroup($this->denormalizer->denormalize($data['group'], 'KatapultAPI\\Core\\Model\\VirtualMachinePackageGroup', 'json', $context)); + $object->setGroup($this->denormalizer->denormalize($data['group'], \KatapultAPI\Core\Model\VirtualMachinePackageGroup::class, 'json', $context)); unset($data['group']); } foreach ($data as $key => $value) { @@ -162,7 +162,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinePackage' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinePackage::class => false]; } } } else { @@ -175,12 +175,12 @@ class VirtualMachinePackageNormalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinePackage'; + return $type === \KatapultAPI\Core\Model\VirtualMachinePackage::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinePackage'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinePackage::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -234,7 +234,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['privacy']); } if (\array_key_exists('icon', $data) && $data['icon'] !== null) { - $object->setIcon($this->denormalizer->denormalize($data['icon'], 'KatapultAPI\\Core\\Model\\VirtualMachinePackageIcon', 'json', $context)); + $object->setIcon($this->denormalizer->denormalize($data['icon'], \KatapultAPI\Core\Model\VirtualMachinePackageIcon::class, 'json', $context)); unset($data['icon']); } elseif (\array_key_exists('icon', $data) && $data['icon'] === null) { $object->setIcon(null); @@ -244,7 +244,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['use_dedicated_cpus']); } if (\array_key_exists('group', $data)) { - $object->setGroup($this->denormalizer->denormalize($data['group'], 'KatapultAPI\\Core\\Model\\VirtualMachinePackageGroup', 'json', $context)); + $object->setGroup($this->denormalizer->denormalize($data['group'], \KatapultAPI\Core\Model\VirtualMachinePackageGroup::class, 'json', $context)); unset($data['group']); } foreach ($data as $key => $value) { @@ -309,7 +309,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinePackage' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinePackage::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinePackageNotFoundSchemaNormalizer.php b/src/Core/Normalizer/VirtualMachinePackageNotFoundSchemaNormalizer.php index cb8bcf21..ebd19554 100644 --- a/src/Core/Normalizer/VirtualMachinePackageNotFoundSchemaNormalizer.php +++ b/src/Core/Normalizer/VirtualMachinePackageNotFoundSchemaNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachinePackageNotFoundSchemaNormalizer implements DenormalizerInter public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinePackageNotFoundSchema'; + return $type === \KatapultAPI\Core\Model\VirtualMachinePackageNotFoundSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinePackageNotFoundSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinePackageNotFoundSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinePackageNotFoundSchema' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinePackageNotFoundSchema::class => false]; } } } else { @@ -116,12 +116,12 @@ class VirtualMachinePackageNotFoundSchemaNormalizer implements DenormalizerInter public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinePackageNotFoundSchema'; + return $type === \KatapultAPI\Core\Model\VirtualMachinePackageNotFoundSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinePackageNotFoundSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinePackageNotFoundSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinePackageNotFoundSchema' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinePackageNotFoundSchema::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinePackagesGetResponse200Normalizer.php b/src/Core/Normalizer/VirtualMachinePackagesGetResponse200Normalizer.php index b26f79e7..7439a06c 100644 --- a/src/Core/Normalizer/VirtualMachinePackagesGetResponse200Normalizer.php +++ b/src/Core/Normalizer/VirtualMachinePackagesGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class VirtualMachinePackagesGetResponse200Normalizer implements DenormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinePackagesGetResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachinePackagesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinePackagesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinePackagesGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('virtual_machine_packages', $data)) { $values = []; foreach ($data['virtual_machine_packages'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\VirtualMachinePackage', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\VirtualMachinePackage::class, 'json', $context); } $object->setVirtualMachinePackages($values); unset($data['virtual_machine_packages']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinePackagesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinePackagesGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class VirtualMachinePackagesGetResponse200Normalizer implements DenormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinePackagesGetResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachinePackagesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinePackagesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinePackagesGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('virtual_machine_packages', $data)) { $values = []; foreach ($data['virtual_machine_packages'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\VirtualMachinePackage', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\VirtualMachinePackage::class, 'json', $context); } $object->setVirtualMachinePackages($values); unset($data['virtual_machine_packages']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinePackagesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinePackagesGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinePackagesVirtualMachinePackageGetResponse200Normalizer.php b/src/Core/Normalizer/VirtualMachinePackagesVirtualMachinePackageGetResponse200Normalizer.php index 66707623..3378fb45 100644 --- a/src/Core/Normalizer/VirtualMachinePackagesVirtualMachinePackageGetResponse200Normalizer.php +++ b/src/Core/Normalizer/VirtualMachinePackagesVirtualMachinePackageGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class VirtualMachinePackagesVirtualMachinePackageGetResponse200Normalizer implem public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinePackagesVirtualMachinePackageGetResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachinePackagesVirtualMachinePackageGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinePackagesVirtualMachinePackageGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinePackagesVirtualMachinePackageGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine_package', $data)) { - $object->setVirtualMachinePackage($this->denormalizer->denormalize($data['virtual_machine_package'], 'KatapultAPI\\Core\\Model\\VirtualMachinePackage', 'json', $context)); + $object->setVirtualMachinePackage($this->denormalizer->denormalize($data['virtual_machine_package'], \KatapultAPI\Core\Model\VirtualMachinePackage::class, 'json', $context)); unset($data['virtual_machine_package']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinePackagesVirtualMachinePackageGetResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinePackagesVirtualMachinePackageGetResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class VirtualMachinePackagesVirtualMachinePackageGetResponse200Normalizer implem public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinePackagesVirtualMachinePackageGetResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachinePackagesVirtualMachinePackageGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinePackagesVirtualMachinePackageGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinePackagesVirtualMachinePackageGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine_package', $data)) { - $object->setVirtualMachinePackage($this->denormalizer->denormalize($data['virtual_machine_package'], 'KatapultAPI\\Core\\Model\\VirtualMachinePackage', 'json', $context)); + $object->setVirtualMachinePackage($this->denormalizer->denormalize($data['virtual_machine_package'], \KatapultAPI\Core\Model\VirtualMachinePackage::class, 'json', $context)); unset($data['virtual_machine_package']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinePackagesVirtualMachinePackageGetResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinePackagesVirtualMachinePackageGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinesBuildsVirtualMachineBuildGetResponse200Normalizer.php b/src/Core/Normalizer/VirtualMachinesBuildsVirtualMachineBuildGetResponse200Normalizer.php index 9fd008a2..475e2d0e 100644 --- a/src/Core/Normalizer/VirtualMachinesBuildsVirtualMachineBuildGetResponse200Normalizer.php +++ b/src/Core/Normalizer/VirtualMachinesBuildsVirtualMachineBuildGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class VirtualMachinesBuildsVirtualMachineBuildGetResponse200Normalizer implement public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesBuildsVirtualMachineBuildGetResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesBuildsVirtualMachineBuildGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesBuildsVirtualMachineBuildGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesBuildsVirtualMachineBuildGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine_build', $data)) { - $object->setVirtualMachineBuild($this->denormalizer->denormalize($data['virtual_machine_build'], 'KatapultAPI\\Core\\Model\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuild', 'json', $context)); + $object->setVirtualMachineBuild($this->denormalizer->denormalize($data['virtual_machine_build'], \KatapultAPI\Core\Model\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuild::class, 'json', $context)); unset($data['virtual_machine_build']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesBuildsVirtualMachineBuildGetResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesBuildsVirtualMachineBuildGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class VirtualMachinesBuildsVirtualMachineBuildGetResponse200Normalizer implement public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesBuildsVirtualMachineBuildGetResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesBuildsVirtualMachineBuildGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesBuildsVirtualMachineBuildGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesBuildsVirtualMachineBuildGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine_build', $data)) { - $object->setVirtualMachineBuild($this->denormalizer->denormalize($data['virtual_machine_build'], 'KatapultAPI\\Core\\Model\\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuild', 'json', $context)); + $object->setVirtualMachineBuild($this->denormalizer->denormalize($data['virtual_machine_build'], \KatapultAPI\Core\Model\GetVirtualMachinesBuildsVirtualMachineBuild200ResponseVirtualMachineBuild::class, 'json', $context)); unset($data['virtual_machine_build']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesBuildsVirtualMachineBuildGetResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesBuildsVirtualMachineBuildGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinesVirtualMachineAllocateIpPostBodyNormalizer.php b/src/Core/Normalizer/VirtualMachinesVirtualMachineAllocateIpPostBodyNormalizer.php index b68a3b31..259b7859 100644 --- a/src/Core/Normalizer/VirtualMachinesVirtualMachineAllocateIpPostBodyNormalizer.php +++ b/src/Core/Normalizer/VirtualMachinesVirtualMachineAllocateIpPostBodyNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachinesVirtualMachineAllocateIpPostBodyNormalizer implements Denor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineAllocateIpPostBody'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineAllocateIpPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineAllocateIpPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineAllocateIpPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\VirtualMachineLookup', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\VirtualMachineLookup::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('ip_address', $data)) { - $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], 'KatapultAPI\\Core\\Model\\IPAddressLookup', 'json', $context)); + $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], \KatapultAPI\Core\Model\IPAddressLookup::class, 'json', $context)); unset($data['ip_address']); } foreach ($data as $key => $value) { @@ -84,7 +84,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineAllocateIpPostBody' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineAllocateIpPostBody::class => false]; } } } else { @@ -97,12 +97,12 @@ class VirtualMachinesVirtualMachineAllocateIpPostBodyNormalizer implements Denor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineAllocateIpPostBody'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineAllocateIpPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineAllocateIpPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineAllocateIpPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -118,11 +118,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\VirtualMachineLookup', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\VirtualMachineLookup::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('ip_address', $data)) { - $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], 'KatapultAPI\\Core\\Model\\IPAddressLookup', 'json', $context)); + $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], \KatapultAPI\Core\Model\IPAddressLookup::class, 'json', $context)); unset($data['ip_address']); } foreach ($data as $key => $value) { @@ -153,7 +153,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineAllocateIpPostBody' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineAllocateIpPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddressNormalizer.php b/src/Core/Normalizer/VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddressNormalizer.php index e41a0664..f85d6b34 100644 --- a/src/Core/Normalizer/VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddressNormalizer.php +++ b/src/Core/Normalizer/VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddressNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddressNormalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddress'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddress::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddress'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddress::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -78,7 +78,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['address_with_mask']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'KatapultAPI\\Core\\Model\\Network', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], \KatapultAPI\Core\Model\Network::class, 'json', $context)); unset($data['network']); } if (\array_key_exists('allocation_id', $data) && $data['allocation_id'] !== null) { @@ -143,7 +143,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddress' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddress::class => false]; } } } else { @@ -156,12 +156,12 @@ class VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddressNormalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddress'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddress::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddress'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddress::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -203,7 +203,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['address_with_mask']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'KatapultAPI\\Core\\Model\\Network', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], \KatapultAPI\Core\Model\Network::class, 'json', $context)); unset($data['network']); } if (\array_key_exists('allocation_id', $data) && $data['allocation_id'] !== null) { @@ -271,7 +271,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddress' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddress::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinesVirtualMachineAllocateIpPostResponse200Normalizer.php b/src/Core/Normalizer/VirtualMachinesVirtualMachineAllocateIpPostResponse200Normalizer.php index c860195d..c3d91c32 100644 --- a/src/Core/Normalizer/VirtualMachinesVirtualMachineAllocateIpPostResponse200Normalizer.php +++ b/src/Core/Normalizer/VirtualMachinesVirtualMachineAllocateIpPostResponse200Normalizer.php @@ -31,12 +31,12 @@ class VirtualMachinesVirtualMachineAllocateIpPostResponse200Normalizer implement public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineAllocateIpPostResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineAllocateIpPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineAllocateIpPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineAllocateIpPostResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('ip_address', $data)) { - $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddress', 'json', $context)); + $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddress::class, 'json', $context)); unset($data['ip_address']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineAllocateIpPostResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineAllocateIpPostResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class VirtualMachinesVirtualMachineAllocateIpPostResponse200Normalizer implement public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineAllocateIpPostResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineAllocateIpPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineAllocateIpPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineAllocateIpPostResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('ip_address', $data)) { - $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddress', 'json', $context)); + $object->setIpAddress($this->denormalizer->denormalize($data['ip_address'], \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineAllocateIpPostResponse200IpAddress::class, 'json', $context)); unset($data['ip_address']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineAllocateIpPostResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineAllocateIpPostResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinesVirtualMachineConsoleSessionsPostBodyNormalizer.php b/src/Core/Normalizer/VirtualMachinesVirtualMachineConsoleSessionsPostBodyNormalizer.php index d20d9ade..6399d1b6 100644 --- a/src/Core/Normalizer/VirtualMachinesVirtualMachineConsoleSessionsPostBodyNormalizer.php +++ b/src/Core/Normalizer/VirtualMachinesVirtualMachineConsoleSessionsPostBodyNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachinesVirtualMachineConsoleSessionsPostBodyNormalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineConsoleSessionsPostBody'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineConsoleSessionsPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineConsoleSessionsPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineConsoleSessionsPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\VirtualMachineLookup', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\VirtualMachineLookup::class, 'json', $context)); unset($data['virtual_machine']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineConsoleSessionsPostBody' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineConsoleSessionsPostBody::class => false]; } } } else { @@ -92,12 +92,12 @@ class VirtualMachinesVirtualMachineConsoleSessionsPostBodyNormalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineConsoleSessionsPostBody'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineConsoleSessionsPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineConsoleSessionsPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineConsoleSessionsPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\VirtualMachineLookup', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\VirtualMachineLookup::class, 'json', $context)); unset($data['virtual_machine']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineConsoleSessionsPostBody' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineConsoleSessionsPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinesVirtualMachineConsoleSessionsPostResponse201Normalizer.php b/src/Core/Normalizer/VirtualMachinesVirtualMachineConsoleSessionsPostResponse201Normalizer.php index 2724c4c2..bf4576d2 100644 --- a/src/Core/Normalizer/VirtualMachinesVirtualMachineConsoleSessionsPostResponse201Normalizer.php +++ b/src/Core/Normalizer/VirtualMachinesVirtualMachineConsoleSessionsPostResponse201Normalizer.php @@ -31,12 +31,12 @@ class VirtualMachinesVirtualMachineConsoleSessionsPostResponse201Normalizer impl public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineConsoleSessionsPostResponse201'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineConsoleSessionsPostResponse201::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineConsoleSessionsPostResponse201'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineConsoleSessionsPostResponse201::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('console_session', $data)) { - $object->setConsoleSession($this->denormalizer->denormalize($data['console_session'], 'KatapultAPI\\Core\\Model\\PostVirtualMachineConsoleSessions201ResponseConsoleSession', 'json', $context)); + $object->setConsoleSession($this->denormalizer->denormalize($data['console_session'], \KatapultAPI\Core\Model\PostVirtualMachineConsoleSessions201ResponseConsoleSession::class, 'json', $context)); unset($data['console_session']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineConsoleSessionsPostResponse201' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineConsoleSessionsPostResponse201::class => false]; } } } else { @@ -92,12 +92,12 @@ class VirtualMachinesVirtualMachineConsoleSessionsPostResponse201Normalizer impl public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineConsoleSessionsPostResponse201'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineConsoleSessionsPostResponse201::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineConsoleSessionsPostResponse201'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineConsoleSessionsPostResponse201::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('console_session', $data)) { - $object->setConsoleSession($this->denormalizer->denormalize($data['console_session'], 'KatapultAPI\\Core\\Model\\PostVirtualMachineConsoleSessions201ResponseConsoleSession', 'json', $context)); + $object->setConsoleSession($this->denormalizer->denormalize($data['console_session'], \KatapultAPI\Core\Model\PostVirtualMachineConsoleSessions201ResponseConsoleSession::class, 'json', $context)); unset($data['console_session']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineConsoleSessionsPostResponse201' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineConsoleSessionsPostResponse201::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinesVirtualMachineDeleteBodyNormalizer.php b/src/Core/Normalizer/VirtualMachinesVirtualMachineDeleteBodyNormalizer.php index 9099fc78..23b3d042 100644 --- a/src/Core/Normalizer/VirtualMachinesVirtualMachineDeleteBodyNormalizer.php +++ b/src/Core/Normalizer/VirtualMachinesVirtualMachineDeleteBodyNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachinesVirtualMachineDeleteBodyNormalizer implements DenormalizerI public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDeleteBody'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDeleteBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\VirtualMachineLookup', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\VirtualMachineLookup::class, 'json', $context)); unset($data['virtual_machine']); } foreach ($data as $key => $value) { @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDeleteBody' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDeleteBody::class => false]; } } } else { @@ -94,12 +94,12 @@ class VirtualMachinesVirtualMachineDeleteBodyNormalizer implements DenormalizerI public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDeleteBody'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDeleteBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDeleteBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDeleteBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -115,7 +115,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\VirtualMachineLookup', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\VirtualMachineLookup::class, 'json', $context)); unset($data['virtual_machine']); } foreach ($data as $key => $value) { @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDeleteBody' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDeleteBody::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinesVirtualMachineDeleteResponse200Normalizer.php b/src/Core/Normalizer/VirtualMachinesVirtualMachineDeleteResponse200Normalizer.php index 22c6f217..7f3b5237 100644 --- a/src/Core/Normalizer/VirtualMachinesVirtualMachineDeleteResponse200Normalizer.php +++ b/src/Core/Normalizer/VirtualMachinesVirtualMachineDeleteResponse200Normalizer.php @@ -31,12 +31,12 @@ class VirtualMachinesVirtualMachineDeleteResponse200Normalizer implements Denorm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDeleteResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('trash_object', $data)) { - $object->setTrashObject($this->denormalizer->denormalize($data['trash_object'], 'KatapultAPI\\Core\\Model\\TrashObject', 'json', $context)); + $object->setTrashObject($this->denormalizer->denormalize($data['trash_object'], \KatapultAPI\Core\Model\TrashObject::class, 'json', $context)); unset($data['trash_object']); } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } foreach ($data as $key => $value) { @@ -84,7 +84,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDeleteResponse200::class => false]; } } } else { @@ -97,12 +97,12 @@ class VirtualMachinesVirtualMachineDeleteResponse200Normalizer implements Denorm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDeleteResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDeleteResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDeleteResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDeleteResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -118,11 +118,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('trash_object', $data)) { - $object->setTrashObject($this->denormalizer->denormalize($data['trash_object'], 'KatapultAPI\\Core\\Model\\TrashObject', 'json', $context)); + $object->setTrashObject($this->denormalizer->denormalize($data['trash_object'], \KatapultAPI\Core\Model\TrashObject::class, 'json', $context)); unset($data['trash_object']); } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\DeleteVirtualMachine200ResponseVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\DeleteVirtualMachine200ResponseVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } foreach ($data as $key => $value) { @@ -153,7 +153,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDeleteResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDeleteResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200Normalizer.php b/src/Core/Normalizer/VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200Normalizer.php index 24fe3293..cbc13b54 100644 --- a/src/Core/Normalizer/VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200Normalizer.php +++ b/src/Core/Normalizer/VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200Normalizer im public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('disk_backup_policies', $data)) { $values = []; foreach ($data['disk_backup_policies'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicies', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicies::class, 'json', $context); } $object->setDiskBackupPolicies($values); unset($data['disk_backup_policies']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200Normalizer im public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('disk_backup_policies', $data)) { $values = []; foreach ($data['disk_backup_policies'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicies', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetVirtualMachineDiskBackupPolicies200ResponseDiskBackupPolicies::class, 'json', $context); } $object->setDiskBackupPolicies($values); unset($data['disk_backup_policies']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinesVirtualMachineDiskBackupPoliciesPostBodyNormalizer.php b/src/Core/Normalizer/VirtualMachinesVirtualMachineDiskBackupPoliciesPostBodyNormalizer.php index c5b6bac5..565fe314 100644 --- a/src/Core/Normalizer/VirtualMachinesVirtualMachineDiskBackupPoliciesPostBodyNormalizer.php +++ b/src/Core/Normalizer/VirtualMachinesVirtualMachineDiskBackupPoliciesPostBodyNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachinesVirtualMachineDiskBackupPoliciesPostBodyNormalizer implemen public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostBody'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\VirtualMachineLookup', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\VirtualMachineLookup::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\DiskBackupPolicyArguments::class, 'json', $context)); unset($data['properties']); } foreach ($data as $key => $value) { @@ -84,7 +84,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostBody' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesPostBody::class => false]; } } } else { @@ -97,12 +97,12 @@ class VirtualMachinesVirtualMachineDiskBackupPoliciesPostBodyNormalizer implemen public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostBody'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -118,11 +118,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\VirtualMachineLookup', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\VirtualMachineLookup::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\DiskBackupPolicyArguments::class, 'json', $context)); unset($data['properties']); } foreach ($data as $key => $value) { @@ -153,7 +153,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostBody' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicyNormalizer.php b/src/Core/Normalizer/VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicyNormalizer.php index 7faafe4a..c6bda21a 100644 --- a/src/Core/Normalizer/VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicyNormalizer.php +++ b/src/Core/Normalizer/VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicyNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPo public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicy'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicy::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicy'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicy::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -67,11 +67,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['total_size']); } if (\array_key_exists('target', $data)) { - $object->setTarget($this->denormalizer->denormalize($data['target'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyTarget', 'json', $context)); + $object->setTarget($this->denormalizer->denormalize($data['target'], \KatapultAPI\Core\Model\DiskBackupPolicyTarget::class, 'json', $context)); unset($data['target']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'KatapultAPI\\Core\\Model\\Schedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], \KatapultAPI\Core\Model\Schedule::class, 'json', $context)); unset($data['schedule']); } if (\array_key_exists('auto_move_to_trash_at', $data) && $data['auto_move_to_trash_at'] !== null) { @@ -121,7 +121,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicy' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicy::class => false]; } } } else { @@ -134,12 +134,12 @@ class VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPo public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicy'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicy::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicy'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicy::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -170,11 +170,11 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['total_size']); } if (\array_key_exists('target', $data)) { - $object->setTarget($this->denormalizer->denormalize($data['target'], 'KatapultAPI\\Core\\Model\\DiskBackupPolicyTarget', 'json', $context)); + $object->setTarget($this->denormalizer->denormalize($data['target'], \KatapultAPI\Core\Model\DiskBackupPolicyTarget::class, 'json', $context)); unset($data['target']); } if (\array_key_exists('schedule', $data)) { - $object->setSchedule($this->denormalizer->denormalize($data['schedule'], 'KatapultAPI\\Core\\Model\\Schedule', 'json', $context)); + $object->setSchedule($this->denormalizer->denormalize($data['schedule'], \KatapultAPI\Core\Model\Schedule::class, 'json', $context)); unset($data['schedule']); } if (\array_key_exists('auto_move_to_trash_at', $data) && $data['auto_move_to_trash_at'] !== null) { @@ -227,7 +227,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicy' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicy::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200Normalizer.php b/src/Core/Normalizer/VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200Normalizer.php index 344b7b13..38aa2b58 100644 --- a/src/Core/Normalizer/VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200Normalizer.php +++ b/src/Core/Normalizer/VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200Normalizer.php @@ -31,12 +31,12 @@ class VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200Normalizer i public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('disk_backup_policy', $data)) { - $object->setDiskBackupPolicy($this->denormalizer->denormalize($data['disk_backup_policy'], 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicy', 'json', $context)); + $object->setDiskBackupPolicy($this->denormalizer->denormalize($data['disk_backup_policy'], \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicy::class, 'json', $context)); unset($data['disk_backup_policy']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200Normalizer i public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('disk_backup_policy', $data)) { - $object->setDiskBackupPolicy($this->denormalizer->denormalize($data['disk_backup_policy'], 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicy', 'json', $context)); + $object->setDiskBackupPolicy($this->denormalizer->denormalize($data['disk_backup_policy'], \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200DiskBackupPolicy::class, 'json', $context)); unset($data['disk_backup_policy']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDiskBackupPoliciesPostResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinesVirtualMachineDisksGetResponse200Normalizer.php b/src/Core/Normalizer/VirtualMachinesVirtualMachineDisksGetResponse200Normalizer.php index bbc60b71..ce52a49d 100644 --- a/src/Core/Normalizer/VirtualMachinesVirtualMachineDisksGetResponse200Normalizer.php +++ b/src/Core/Normalizer/VirtualMachinesVirtualMachineDisksGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class VirtualMachinesVirtualMachineDisksGetResponse200Normalizer implements Deno public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDisksGetResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDisksGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDisksGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDisksGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('disks', $data)) { $values = []; foreach ($data['disks'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetVirtualMachineDisks200ResponseDisks', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetVirtualMachineDisks200ResponseDisks::class, 'json', $context); } $object->setDisks($values); unset($data['disks']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDisksGetResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDisksGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class VirtualMachinesVirtualMachineDisksGetResponse200Normalizer implements Deno public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDisksGetResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDisksGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDisksGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDisksGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('disks', $data)) { $values = []; foreach ($data['disks'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetVirtualMachineDisks200ResponseDisks', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetVirtualMachineDisks200ResponseDisks::class, 'json', $context); } $object->setDisks($values); unset($data['disks']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineDisksGetResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineDisksGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinesVirtualMachineFlexibleResourcesPutBodyNormalizer.php b/src/Core/Normalizer/VirtualMachinesVirtualMachineFlexibleResourcesPutBodyNormalizer.php index 4fc5e474..e4992f66 100644 --- a/src/Core/Normalizer/VirtualMachinesVirtualMachineFlexibleResourcesPutBodyNormalizer.php +++ b/src/Core/Normalizer/VirtualMachinesVirtualMachineFlexibleResourcesPutBodyNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachinesVirtualMachineFlexibleResourcesPutBodyNormalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineFlexibleResourcesPutBody'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineFlexibleResourcesPutBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineFlexibleResourcesPutBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineFlexibleResourcesPutBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\VirtualMachineLookup', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\VirtualMachineLookup::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('resources', $data)) { - $object->setResources($this->denormalizer->denormalize($data['resources'], 'KatapultAPI\\Core\\Model\\VirtualMachineFlexibleResources', 'json', $context)); + $object->setResources($this->denormalizer->denormalize($data['resources'], \KatapultAPI\Core\Model\VirtualMachineFlexibleResources::class, 'json', $context)); unset($data['resources']); } foreach ($data as $key => $value) { @@ -84,7 +84,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineFlexibleResourcesPutBody' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineFlexibleResourcesPutBody::class => false]; } } } else { @@ -97,12 +97,12 @@ class VirtualMachinesVirtualMachineFlexibleResourcesPutBodyNormalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineFlexibleResourcesPutBody'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineFlexibleResourcesPutBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineFlexibleResourcesPutBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineFlexibleResourcesPutBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -118,11 +118,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\VirtualMachineLookup', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\VirtualMachineLookup::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('resources', $data)) { - $object->setResources($this->denormalizer->denormalize($data['resources'], 'KatapultAPI\\Core\\Model\\VirtualMachineFlexibleResources', 'json', $context)); + $object->setResources($this->denormalizer->denormalize($data['resources'], \KatapultAPI\Core\Model\VirtualMachineFlexibleResources::class, 'json', $context)); unset($data['resources']); } foreach ($data as $key => $value) { @@ -153,7 +153,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineFlexibleResourcesPutBody' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineFlexibleResourcesPutBody::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200Normalizer.php b/src/Core/Normalizer/VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200Normalizer.php index 6840b80d..9b5e2bef 100644 --- a/src/Core/Normalizer/VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200Normalizer.php +++ b/src/Core/Normalizer/VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200Normalizer.php @@ -31,12 +31,12 @@ class VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200Normalizer imp public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('task', $data)) { - $object->setTask($this->denormalizer->denormalize($data['task'], 'KatapultAPI\\Core\\Model\\Task', 'json', $context)); + $object->setTask($this->denormalizer->denormalize($data['task'], \KatapultAPI\Core\Model\Task::class, 'json', $context)); unset($data['task']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200Normalizer imp public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('task', $data)) { - $object->setTask($this->denormalizer->denormalize($data['task'], 'KatapultAPI\\Core\\Model\\Task', 'json', $context)); + $object->setTask($this->denormalizer->denormalize($data['task'], \KatapultAPI\Core\Model\Task::class, 'json', $context)); unset($data['task']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineFlexibleResourcesPutResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinesVirtualMachineGetResponse200Normalizer.php b/src/Core/Normalizer/VirtualMachinesVirtualMachineGetResponse200Normalizer.php index 48597cab..bbd3a0c0 100644 --- a/src/Core/Normalizer/VirtualMachinesVirtualMachineGetResponse200Normalizer.php +++ b/src/Core/Normalizer/VirtualMachinesVirtualMachineGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class VirtualMachinesVirtualMachineGetResponse200Normalizer implements Denormali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineGetResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineGetResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class VirtualMachinesVirtualMachineGetResponse200Normalizer implements Denormali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineGetResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\GetVirtualMachine200ResponseVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\GetVirtualMachine200ResponseVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineGetResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200Normalizer.php b/src/Core/Normalizer/VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200Normalizer.php index fd4f32d0..1ae6c03f 100644 --- a/src/Core/Normalizer/VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200Normalizer.php +++ b/src/Core/Normalizer/VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200Normalizer imp public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('virtual_machine_network_interfaces', $data)) { $values = []; foreach ($data['virtual_machine_network_interfaces'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfaces', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfaces::class, 'json', $context); } $object->setVirtualMachineNetworkInterfaces($values); unset($data['virtual_machine_network_interfaces']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200Normalizer imp public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Core\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Core\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('virtual_machine_network_interfaces', $data)) { $values = []; foreach ($data['virtual_machine_network_interfaces'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfaces', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfaces200ResponseVirtualMachineNetworkInterfaces::class, 'json', $context); } $object->setVirtualMachineNetworkInterfaces($values); unset($data['virtual_machine_network_interfaces']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineNetworkInterfacesGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200Normalizer.php b/src/Core/Normalizer/VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200Normalizer.php index 2ec76918..2f7bff66 100644 --- a/src/Core/Normalizer/VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200Normalizer.php +++ b/src/Core/Normalizer/VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200Normali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine_network_interface', $data)) { - $object->setVirtualMachineNetworkInterface($this->denormalizer->denormalize($data['virtual_machine_network_interface'], 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterface', 'json', $context)); + $object->setVirtualMachineNetworkInterface($this->denormalizer->denormalize($data['virtual_machine_network_interface'], \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterface::class, 'json', $context)); unset($data['virtual_machine_network_interface']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200Normali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine_network_interface', $data)) { - $object->setVirtualMachineNetworkInterface($this->denormalizer->denormalize($data['virtual_machine_network_interface'], 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterface', 'json', $context)); + $object->setVirtualMachineNetworkInterface($this->denormalizer->denormalize($data['virtual_machine_network_interface'], \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterface::class, 'json', $context)); unset($data['virtual_machine_network_interface']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterfaceNormalizer.php b/src/Core/Normalizer/VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterfaceNormalizer.php index d6ee8018..ae856444 100644 --- a/src/Core/Normalizer/VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterfaceNormalizer.php +++ b/src/Core/Normalizer/VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterfaceNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200Virtual public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterface'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterface::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterface'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterface::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -56,7 +56,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['id']); } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('name', $data)) { @@ -64,7 +64,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['name']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartNetwork', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartNetwork::class, 'json', $context)); unset($data['network']); } if (\array_key_exists('mac_address', $data)) { @@ -78,7 +78,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('ip_addresses', $data)) { $values = []; foreach ($data['ip_addresses'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartIPAddresses', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartIPAddresses::class, 'json', $context); } $object->setIpAddresses($values); unset($data['ip_addresses']); @@ -131,7 +131,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterface' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterface::class => false]; } } } else { @@ -144,12 +144,12 @@ class VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200Virtual public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterface'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterface::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterface'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterface::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -169,7 +169,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['id']); } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartVirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartVirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('name', $data)) { @@ -177,7 +177,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['name']); } if (\array_key_exists('network', $data)) { - $object->setNetwork($this->denormalizer->denormalize($data['network'], 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartNetwork', 'json', $context)); + $object->setNetwork($this->denormalizer->denormalize($data['network'], \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartNetwork::class, 'json', $context)); unset($data['network']); } if (\array_key_exists('mac_address', $data)) { @@ -191,7 +191,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('ip_addresses', $data)) { $values = []; foreach ($data['ip_addresses'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetVirtualMachineNetworkInterfacePartIPAddresses', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetVirtualMachineNetworkInterfacePartIPAddresses::class, 'json', $context); } $object->setIpAddresses($values); unset($data['ip_addresses']); @@ -247,7 +247,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterface' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineNetworksNetworkInterfaceGetResponse200VirtualMachineNetworkInterface::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinesVirtualMachinePackagePutBodyNormalizer.php b/src/Core/Normalizer/VirtualMachinesVirtualMachinePackagePutBodyNormalizer.php index d0235e55..924ab65b 100644 --- a/src/Core/Normalizer/VirtualMachinesVirtualMachinePackagePutBodyNormalizer.php +++ b/src/Core/Normalizer/VirtualMachinesVirtualMachinePackagePutBodyNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachinesVirtualMachinePackagePutBodyNormalizer implements Denormali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePackagePutBody'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePackagePutBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePackagePutBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePackagePutBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,11 +52,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\VirtualMachineLookup', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\VirtualMachineLookup::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('virtual_machine_package', $data)) { - $object->setVirtualMachinePackage($this->denormalizer->denormalize($data['virtual_machine_package'], 'KatapultAPI\\Core\\Model\\VirtualMachinePackageLookup', 'json', $context)); + $object->setVirtualMachinePackage($this->denormalizer->denormalize($data['virtual_machine_package'], \KatapultAPI\Core\Model\VirtualMachinePackageLookup::class, 'json', $context)); unset($data['virtual_machine_package']); } foreach ($data as $key => $value) { @@ -84,7 +84,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePackagePutBody' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePackagePutBody::class => false]; } } } else { @@ -97,12 +97,12 @@ class VirtualMachinesVirtualMachinePackagePutBodyNormalizer implements Denormali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePackagePutBody'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePackagePutBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePackagePutBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePackagePutBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -118,11 +118,11 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\VirtualMachineLookup', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\VirtualMachineLookup::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('virtual_machine_package', $data)) { - $object->setVirtualMachinePackage($this->denormalizer->denormalize($data['virtual_machine_package'], 'KatapultAPI\\Core\\Model\\VirtualMachinePackageLookup', 'json', $context)); + $object->setVirtualMachinePackage($this->denormalizer->denormalize($data['virtual_machine_package'], \KatapultAPI\Core\Model\VirtualMachinePackageLookup::class, 'json', $context)); unset($data['virtual_machine_package']); } foreach ($data as $key => $value) { @@ -153,7 +153,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePackagePutBody' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePackagePutBody::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinesVirtualMachinePackagePutResponse200Normalizer.php b/src/Core/Normalizer/VirtualMachinesVirtualMachinePackagePutResponse200Normalizer.php index 6f453650..be0a0951 100644 --- a/src/Core/Normalizer/VirtualMachinesVirtualMachinePackagePutResponse200Normalizer.php +++ b/src/Core/Normalizer/VirtualMachinesVirtualMachinePackagePutResponse200Normalizer.php @@ -31,12 +31,12 @@ class VirtualMachinesVirtualMachinePackagePutResponse200Normalizer implements De public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePackagePutResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePackagePutResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePackagePutResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePackagePutResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('task', $data)) { - $object->setTask($this->denormalizer->denormalize($data['task'], 'KatapultAPI\\Core\\Model\\Task', 'json', $context)); + $object->setTask($this->denormalizer->denormalize($data['task'], \KatapultAPI\Core\Model\Task::class, 'json', $context)); unset($data['task']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePackagePutResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePackagePutResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class VirtualMachinesVirtualMachinePackagePutResponse200Normalizer implements De public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePackagePutResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePackagePutResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePackagePutResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePackagePutResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('task', $data)) { - $object->setTask($this->denormalizer->denormalize($data['task'], 'KatapultAPI\\Core\\Model\\Task', 'json', $context)); + $object->setTask($this->denormalizer->denormalize($data['task'], \KatapultAPI\Core\Model\Task::class, 'json', $context)); unset($data['task']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePackagePutResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePackagePutResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinesVirtualMachinePatchBodyNormalizer.php b/src/Core/Normalizer/VirtualMachinesVirtualMachinePatchBodyNormalizer.php index 39c81448..d68412e4 100644 --- a/src/Core/Normalizer/VirtualMachinesVirtualMachinePatchBodyNormalizer.php +++ b/src/Core/Normalizer/VirtualMachinesVirtualMachinePatchBodyNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachinesVirtualMachinePatchBodyNormalizer implements DenormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePatchBody'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePatchBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePatchBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,17 +52,17 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\VirtualMachineLookup', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\VirtualMachineLookup::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\VirtualMachineArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\VirtualMachineArguments::class, 'json', $context)); unset($data['properties']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -99,7 +99,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePatchBody' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePatchBody::class => false]; } } } else { @@ -112,12 +112,12 @@ class VirtualMachinesVirtualMachinePatchBodyNormalizer implements DenormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePatchBody'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePatchBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePatchBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePatchBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -133,17 +133,17 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\VirtualMachineLookup', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\VirtualMachineLookup::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('properties', $data)) { - $object->setProperties($this->denormalizer->denormalize($data['properties'], 'KatapultAPI\\Core\\Model\\VirtualMachineArguments', 'json', $context)); + $object->setProperties($this->denormalizer->denormalize($data['properties'], \KatapultAPI\Core\Model\VirtualMachineArguments::class, 'json', $context)); unset($data['properties']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -183,7 +183,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePatchBody' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePatchBody::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinesVirtualMachinePatchResponse200Normalizer.php b/src/Core/Normalizer/VirtualMachinesVirtualMachinePatchResponse200Normalizer.php index 508a8ff1..631e0f0c 100644 --- a/src/Core/Normalizer/VirtualMachinesVirtualMachinePatchResponse200Normalizer.php +++ b/src/Core/Normalizer/VirtualMachinesVirtualMachinePatchResponse200Normalizer.php @@ -31,12 +31,12 @@ class VirtualMachinesVirtualMachinePatchResponse200Normalizer implements Denorma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePatchResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePatchResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePatchResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePatchResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePatchResponse200VirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePatchResponse200VirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePatchResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePatchResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class VirtualMachinesVirtualMachinePatchResponse200Normalizer implements Denorma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePatchResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePatchResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePatchResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePatchResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePatchResponse200VirtualMachine', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePatchResponse200VirtualMachine::class, 'json', $context)); unset($data['virtual_machine']); } if (\array_key_exists('annotations', $data)) { $values = []; foreach ($data['annotations'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\KeyValue', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\KeyValue::class, 'json', $context); } $object->setAnnotations($values); unset($data['annotations']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePatchResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePatchResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinesVirtualMachinePatchResponse200VirtualMachineNormalizer.php b/src/Core/Normalizer/VirtualMachinesVirtualMachinePatchResponse200VirtualMachineNormalizer.php index c3be1776..36314804 100644 --- a/src/Core/Normalizer/VirtualMachinesVirtualMachinePatchResponse200VirtualMachineNormalizer.php +++ b/src/Core/Normalizer/VirtualMachinesVirtualMachinePatchResponse200VirtualMachineNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachinesVirtualMachinePatchResponse200VirtualMachineNormalizer impl public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePatchResponse200VirtualMachine'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePatchResponse200VirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePatchResponse200VirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePatchResponse200VirtualMachine::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,27 +88,27 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['state']); } if (\array_key_exists('zone', $data)) { - $object->setZone($this->denormalizer->denormalize($data['zone'], 'KatapultAPI\\Core\\Model\\Zone', 'json', $context)); + $object->setZone($this->denormalizer->denormalize($data['zone'], \KatapultAPI\Core\Model\Zone::class, 'json', $context)); unset($data['zone']); } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\Organization', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\Organization::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('group', $data) && $data['group'] !== null) { - $object->setGroup($this->denormalizer->denormalize($data['group'], 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineGroup', 'json', $context)); + $object->setGroup($this->denormalizer->denormalize($data['group'], \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineGroup::class, 'json', $context)); unset($data['group']); } elseif (\array_key_exists('group', $data) && $data['group'] === null) { $object->setGroup(null); } if (\array_key_exists('package', $data) && $data['package'] !== null) { - $object->setPackage($this->denormalizer->denormalize($data['package'], 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachinePackage', 'json', $context)); + $object->setPackage($this->denormalizer->denormalize($data['package'], \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachinePackage::class, 'json', $context)); unset($data['package']); } elseif (\array_key_exists('package', $data) && $data['package'] === null) { $object->setPackage(null); } if (\array_key_exists('attached_iso', $data) && $data['attached_iso'] !== null) { - $object->setAttachedIso($this->denormalizer->denormalize($data['attached_iso'], 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineAttachedIso', 'json', $context)); + $object->setAttachedIso($this->denormalizer->denormalize($data['attached_iso'], \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineAttachedIso::class, 'json', $context)); unset($data['attached_iso']); } elseif (\array_key_exists('attached_iso', $data) && $data['attached_iso'] === null) { $object->setAttachedIso(null); @@ -132,7 +132,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setUseDedicatedCpus(null); } if (\array_key_exists('gpu_type', $data) && $data['gpu_type'] !== null) { - $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineGpuType', 'json', $context)); + $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineGpuType::class, 'json', $context)); unset($data['gpu_type']); } elseif (\array_key_exists('gpu_type', $data) && $data['gpu_type'] === null) { $object->setGpuType(null); @@ -140,7 +140,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('gpus', $data)) { $values = []; foreach ($data['gpus'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\VirtualMachineGPU', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\VirtualMachineGPU::class, 'json', $context); } $object->setGpus($values); unset($data['gpus']); @@ -148,7 +148,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('tags', $data)) { $values_1 = []; foreach ($data['tags'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'KatapultAPI\\Core\\Model\\Tag', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, \KatapultAPI\Core\Model\Tag::class, 'json', $context); } $object->setTags($values_1); unset($data['tags']); @@ -164,13 +164,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('ip_addresses', $data)) { $values_3 = []; foreach ($data['ip_addresses'] as $value_3) { - $values_3[] = $this->denormalizer->denormalize($value_3, 'KatapultAPI\\Core\\Model\\IPAddress', 'json', $context); + $values_3[] = $this->denormalizer->denormalize($value_3, \KatapultAPI\Core\Model\IPAddress::class, 'json', $context); } $object->setIpAddresses($values_3); unset($data['ip_addresses']); } if (\array_key_exists('hypervisor', $data) && $data['hypervisor'] !== null) { - $object->setHypervisor($this->denormalizer->denormalize($data['hypervisor'], 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineHypervisor', 'json', $context)); + $object->setHypervisor($this->denormalizer->denormalize($data['hypervisor'], \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineHypervisor::class, 'json', $context)); unset($data['hypervisor']); } elseif (\array_key_exists('hypervisor', $data) && $data['hypervisor'] === null) { $object->setHypervisor(null); @@ -280,7 +280,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePatchResponse200VirtualMachine' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePatchResponse200VirtualMachine::class => false]; } } } else { @@ -293,12 +293,12 @@ class VirtualMachinesVirtualMachinePatchResponse200VirtualMachineNormalizer impl public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePatchResponse200VirtualMachine'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePatchResponse200VirtualMachine::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePatchResponse200VirtualMachine'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePatchResponse200VirtualMachine::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -350,27 +350,27 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['state']); } if (\array_key_exists('zone', $data)) { - $object->setZone($this->denormalizer->denormalize($data['zone'], 'KatapultAPI\\Core\\Model\\Zone', 'json', $context)); + $object->setZone($this->denormalizer->denormalize($data['zone'], \KatapultAPI\Core\Model\Zone::class, 'json', $context)); unset($data['zone']); } if (\array_key_exists('organization', $data)) { - $object->setOrganization($this->denormalizer->denormalize($data['organization'], 'KatapultAPI\\Core\\Model\\Organization', 'json', $context)); + $object->setOrganization($this->denormalizer->denormalize($data['organization'], \KatapultAPI\Core\Model\Organization::class, 'json', $context)); unset($data['organization']); } if (\array_key_exists('group', $data) && $data['group'] !== null) { - $object->setGroup($this->denormalizer->denormalize($data['group'], 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineGroup', 'json', $context)); + $object->setGroup($this->denormalizer->denormalize($data['group'], \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineGroup::class, 'json', $context)); unset($data['group']); } elseif (\array_key_exists('group', $data) && $data['group'] === null) { $object->setGroup(null); } if (\array_key_exists('package', $data) && $data['package'] !== null) { - $object->setPackage($this->denormalizer->denormalize($data['package'], 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachinePackage', 'json', $context)); + $object->setPackage($this->denormalizer->denormalize($data['package'], \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachinePackage::class, 'json', $context)); unset($data['package']); } elseif (\array_key_exists('package', $data) && $data['package'] === null) { $object->setPackage(null); } if (\array_key_exists('attached_iso', $data) && $data['attached_iso'] !== null) { - $object->setAttachedIso($this->denormalizer->denormalize($data['attached_iso'], 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineAttachedIso', 'json', $context)); + $object->setAttachedIso($this->denormalizer->denormalize($data['attached_iso'], \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineAttachedIso::class, 'json', $context)); unset($data['attached_iso']); } elseif (\array_key_exists('attached_iso', $data) && $data['attached_iso'] === null) { $object->setAttachedIso(null); @@ -394,7 +394,7 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setUseDedicatedCpus(null); } if (\array_key_exists('gpu_type', $data) && $data['gpu_type'] !== null) { - $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineGpuType', 'json', $context)); + $object->setGpuType($this->denormalizer->denormalize($data['gpu_type'], \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineGpuType::class, 'json', $context)); unset($data['gpu_type']); } elseif (\array_key_exists('gpu_type', $data) && $data['gpu_type'] === null) { $object->setGpuType(null); @@ -402,7 +402,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('gpus', $data)) { $values = []; foreach ($data['gpus'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\VirtualMachineGPU', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\VirtualMachineGPU::class, 'json', $context); } $object->setGpus($values); unset($data['gpus']); @@ -410,7 +410,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('tags', $data)) { $values_1 = []; foreach ($data['tags'] as $value_1) { - $values_1[] = $this->denormalizer->denormalize($value_1, 'KatapultAPI\\Core\\Model\\Tag', 'json', $context); + $values_1[] = $this->denormalizer->denormalize($value_1, \KatapultAPI\Core\Model\Tag::class, 'json', $context); } $object->setTags($values_1); unset($data['tags']); @@ -426,13 +426,13 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('ip_addresses', $data)) { $values_3 = []; foreach ($data['ip_addresses'] as $value_3) { - $values_3[] = $this->denormalizer->denormalize($value_3, 'KatapultAPI\\Core\\Model\\IPAddress', 'json', $context); + $values_3[] = $this->denormalizer->denormalize($value_3, \KatapultAPI\Core\Model\IPAddress::class, 'json', $context); } $object->setIpAddresses($values_3); unset($data['ip_addresses']); } if (\array_key_exists('hypervisor', $data) && $data['hypervisor'] !== null) { - $object->setHypervisor($this->denormalizer->denormalize($data['hypervisor'], 'KatapultAPI\\Core\\Model\\PatchVirtualMachine200ResponseVirtualMachineHypervisor', 'json', $context)); + $object->setHypervisor($this->denormalizer->denormalize($data['hypervisor'], \KatapultAPI\Core\Model\PatchVirtualMachine200ResponseVirtualMachineHypervisor::class, 'json', $context)); unset($data['hypervisor']); } elseif (\array_key_exists('hypervisor', $data) && $data['hypervisor'] === null) { $object->setHypervisor(null); @@ -545,7 +545,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachinePatchResponse200VirtualMachine' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachinePatchResponse200VirtualMachine::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinesVirtualMachineResetPostBodyNormalizer.php b/src/Core/Normalizer/VirtualMachinesVirtualMachineResetPostBodyNormalizer.php index a159a4d3..fc3504f2 100644 --- a/src/Core/Normalizer/VirtualMachinesVirtualMachineResetPostBodyNormalizer.php +++ b/src/Core/Normalizer/VirtualMachinesVirtualMachineResetPostBodyNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachinesVirtualMachineResetPostBodyNormalizer implements Denormaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineResetPostBody'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineResetPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineResetPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineResetPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\VirtualMachineLookup', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\VirtualMachineLookup::class, 'json', $context)); unset($data['virtual_machine']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineResetPostBody' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineResetPostBody::class => false]; } } } else { @@ -92,12 +92,12 @@ class VirtualMachinesVirtualMachineResetPostBodyNormalizer implements Denormaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineResetPostBody'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineResetPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineResetPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineResetPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\VirtualMachineLookup', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\VirtualMachineLookup::class, 'json', $context)); unset($data['virtual_machine']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineResetPostBody' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineResetPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinesVirtualMachineResetPostResponse200Normalizer.php b/src/Core/Normalizer/VirtualMachinesVirtualMachineResetPostResponse200Normalizer.php index 4d6f76a9..0406d797 100644 --- a/src/Core/Normalizer/VirtualMachinesVirtualMachineResetPostResponse200Normalizer.php +++ b/src/Core/Normalizer/VirtualMachinesVirtualMachineResetPostResponse200Normalizer.php @@ -31,12 +31,12 @@ class VirtualMachinesVirtualMachineResetPostResponse200Normalizer implements Den public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineResetPostResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineResetPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineResetPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineResetPostResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('task', $data)) { - $object->setTask($this->denormalizer->denormalize($data['task'], 'KatapultAPI\\Core\\Model\\PostVirtualMachineReset200ResponseTask', 'json', $context)); + $object->setTask($this->denormalizer->denormalize($data['task'], \KatapultAPI\Core\Model\PostVirtualMachineReset200ResponseTask::class, 'json', $context)); unset($data['task']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineResetPostResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineResetPostResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class VirtualMachinesVirtualMachineResetPostResponse200Normalizer implements Den public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineResetPostResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineResetPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineResetPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineResetPostResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('task', $data)) { - $object->setTask($this->denormalizer->denormalize($data['task'], 'KatapultAPI\\Core\\Model\\PostVirtualMachineReset200ResponseTask', 'json', $context)); + $object->setTask($this->denormalizer->denormalize($data['task'], \KatapultAPI\Core\Model\PostVirtualMachineReset200ResponseTask::class, 'json', $context)); unset($data['task']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineResetPostResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineResetPostResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinesVirtualMachineShutdownPostBodyNormalizer.php b/src/Core/Normalizer/VirtualMachinesVirtualMachineShutdownPostBodyNormalizer.php index ab1241b8..49500aa3 100644 --- a/src/Core/Normalizer/VirtualMachinesVirtualMachineShutdownPostBodyNormalizer.php +++ b/src/Core/Normalizer/VirtualMachinesVirtualMachineShutdownPostBodyNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachinesVirtualMachineShutdownPostBodyNormalizer implements Denorma public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineShutdownPostBody'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineShutdownPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineShutdownPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineShutdownPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\VirtualMachineLookup', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\VirtualMachineLookup::class, 'json', $context)); unset($data['virtual_machine']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineShutdownPostBody' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineShutdownPostBody::class => false]; } } } else { @@ -92,12 +92,12 @@ class VirtualMachinesVirtualMachineShutdownPostBodyNormalizer implements Denorma public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineShutdownPostBody'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineShutdownPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineShutdownPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineShutdownPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\VirtualMachineLookup', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\VirtualMachineLookup::class, 'json', $context)); unset($data['virtual_machine']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineShutdownPostBody' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineShutdownPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinesVirtualMachineShutdownPostResponse200Normalizer.php b/src/Core/Normalizer/VirtualMachinesVirtualMachineShutdownPostResponse200Normalizer.php index ee2d2e23..ba661938 100644 --- a/src/Core/Normalizer/VirtualMachinesVirtualMachineShutdownPostResponse200Normalizer.php +++ b/src/Core/Normalizer/VirtualMachinesVirtualMachineShutdownPostResponse200Normalizer.php @@ -31,12 +31,12 @@ class VirtualMachinesVirtualMachineShutdownPostResponse200Normalizer implements public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineShutdownPostResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineShutdownPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineShutdownPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineShutdownPostResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('task', $data)) { - $object->setTask($this->denormalizer->denormalize($data['task'], 'KatapultAPI\\Core\\Model\\PostVirtualMachineShutdown200ResponseTask', 'json', $context)); + $object->setTask($this->denormalizer->denormalize($data['task'], \KatapultAPI\Core\Model\PostVirtualMachineShutdown200ResponseTask::class, 'json', $context)); unset($data['task']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineShutdownPostResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineShutdownPostResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class VirtualMachinesVirtualMachineShutdownPostResponse200Normalizer implements public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineShutdownPostResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineShutdownPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineShutdownPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineShutdownPostResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('task', $data)) { - $object->setTask($this->denormalizer->denormalize($data['task'], 'KatapultAPI\\Core\\Model\\PostVirtualMachineShutdown200ResponseTask', 'json', $context)); + $object->setTask($this->denormalizer->denormalize($data['task'], \KatapultAPI\Core\Model\PostVirtualMachineShutdown200ResponseTask::class, 'json', $context)); unset($data['task']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineShutdownPostResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineShutdownPostResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinesVirtualMachineStartPostBodyNormalizer.php b/src/Core/Normalizer/VirtualMachinesVirtualMachineStartPostBodyNormalizer.php index 0649c4f1..bda04546 100644 --- a/src/Core/Normalizer/VirtualMachinesVirtualMachineStartPostBodyNormalizer.php +++ b/src/Core/Normalizer/VirtualMachinesVirtualMachineStartPostBodyNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachinesVirtualMachineStartPostBodyNormalizer implements Denormaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStartPostBody'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStartPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStartPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStartPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\VirtualMachineLookup', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\VirtualMachineLookup::class, 'json', $context)); unset($data['virtual_machine']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStartPostBody' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStartPostBody::class => false]; } } } else { @@ -92,12 +92,12 @@ class VirtualMachinesVirtualMachineStartPostBodyNormalizer implements Denormaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStartPostBody'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStartPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStartPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStartPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\VirtualMachineLookup', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\VirtualMachineLookup::class, 'json', $context)); unset($data['virtual_machine']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStartPostBody' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStartPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinesVirtualMachineStartPostResponse200Normalizer.php b/src/Core/Normalizer/VirtualMachinesVirtualMachineStartPostResponse200Normalizer.php index 4a9d0f43..39f00554 100644 --- a/src/Core/Normalizer/VirtualMachinesVirtualMachineStartPostResponse200Normalizer.php +++ b/src/Core/Normalizer/VirtualMachinesVirtualMachineStartPostResponse200Normalizer.php @@ -31,12 +31,12 @@ class VirtualMachinesVirtualMachineStartPostResponse200Normalizer implements Den public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStartPostResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStartPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStartPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStartPostResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('task', $data)) { - $object->setTask($this->denormalizer->denormalize($data['task'], 'KatapultAPI\\Core\\Model\\PostVirtualMachineStart200ResponseTask', 'json', $context)); + $object->setTask($this->denormalizer->denormalize($data['task'], \KatapultAPI\Core\Model\PostVirtualMachineStart200ResponseTask::class, 'json', $context)); unset($data['task']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStartPostResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStartPostResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class VirtualMachinesVirtualMachineStartPostResponse200Normalizer implements Den public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStartPostResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStartPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStartPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStartPostResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('task', $data)) { - $object->setTask($this->denormalizer->denormalize($data['task'], 'KatapultAPI\\Core\\Model\\PostVirtualMachineStart200ResponseTask', 'json', $context)); + $object->setTask($this->denormalizer->denormalize($data['task'], \KatapultAPI\Core\Model\PostVirtualMachineStart200ResponseTask::class, 'json', $context)); unset($data['task']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStartPostResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStartPostResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinesVirtualMachineStopPostBodyNormalizer.php b/src/Core/Normalizer/VirtualMachinesVirtualMachineStopPostBodyNormalizer.php index 92944cdc..4b7697e8 100644 --- a/src/Core/Normalizer/VirtualMachinesVirtualMachineStopPostBodyNormalizer.php +++ b/src/Core/Normalizer/VirtualMachinesVirtualMachineStopPostBodyNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachinesVirtualMachineStopPostBodyNormalizer implements Denormalize public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStopPostBody'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStopPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStopPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStopPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\VirtualMachineLookup', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\VirtualMachineLookup::class, 'json', $context)); unset($data['virtual_machine']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStopPostBody' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStopPostBody::class => false]; } } } else { @@ -92,12 +92,12 @@ class VirtualMachinesVirtualMachineStopPostBodyNormalizer implements Denormalize public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStopPostBody'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStopPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStopPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStopPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('virtual_machine', $data)) { - $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], 'KatapultAPI\\Core\\Model\\VirtualMachineLookup', 'json', $context)); + $object->setVirtualMachine($this->denormalizer->denormalize($data['virtual_machine'], \KatapultAPI\Core\Model\VirtualMachineLookup::class, 'json', $context)); unset($data['virtual_machine']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStopPostBody' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStopPostBody::class => false]; } } } diff --git a/src/Core/Normalizer/VirtualMachinesVirtualMachineStopPostResponse200Normalizer.php b/src/Core/Normalizer/VirtualMachinesVirtualMachineStopPostResponse200Normalizer.php index d5208dd0..62a55ff9 100644 --- a/src/Core/Normalizer/VirtualMachinesVirtualMachineStopPostResponse200Normalizer.php +++ b/src/Core/Normalizer/VirtualMachinesVirtualMachineStopPostResponse200Normalizer.php @@ -31,12 +31,12 @@ class VirtualMachinesVirtualMachineStopPostResponse200Normalizer implements Deno public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStopPostResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStopPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStopPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStopPostResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('task', $data)) { - $object->setTask($this->denormalizer->denormalize($data['task'], 'KatapultAPI\\Core\\Model\\PostVirtualMachineStop200ResponseTask', 'json', $context)); + $object->setTask($this->denormalizer->denormalize($data['task'], \KatapultAPI\Core\Model\PostVirtualMachineStop200ResponseTask::class, 'json', $context)); unset($data['task']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStopPostResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStopPostResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class VirtualMachinesVirtualMachineStopPostResponse200Normalizer implements Deno public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStopPostResponse200'; + return $type === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStopPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStopPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStopPostResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('task', $data)) { - $object->setTask($this->denormalizer->denormalize($data['task'], 'KatapultAPI\\Core\\Model\\PostVirtualMachineStop200ResponseTask', 'json', $context)); + $object->setTask($this->denormalizer->denormalize($data['task'], \KatapultAPI\Core\Model\PostVirtualMachineStop200ResponseTask::class, 'json', $context)); unset($data['task']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\VirtualMachinesVirtualMachineStopPostResponse200' => false]; + return [\KatapultAPI\Core\Model\VirtualMachinesVirtualMachineStopPostResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/ZoneLookupNormalizer.php b/src/Core/Normalizer/ZoneLookupNormalizer.php index a5311b7c..83557543 100644 --- a/src/Core/Normalizer/ZoneLookupNormalizer.php +++ b/src/Core/Normalizer/ZoneLookupNormalizer.php @@ -31,12 +31,12 @@ class ZoneLookupNormalizer implements DenormalizerInterface, NormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ZoneLookup'; + return $type === \KatapultAPI\Core\Model\ZoneLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ZoneLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ZoneLookup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ZoneLookup' => false]; + return [\KatapultAPI\Core\Model\ZoneLookup::class => false]; } } } else { @@ -101,12 +101,12 @@ class ZoneLookupNormalizer implements DenormalizerInterface, NormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ZoneLookup'; + return $type === \KatapultAPI\Core\Model\ZoneLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ZoneLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ZoneLookup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ZoneLookup' => false]; + return [\KatapultAPI\Core\Model\ZoneLookup::class => false]; } } } diff --git a/src/Core/Normalizer/ZoneNormalizer.php b/src/Core/Normalizer/ZoneNormalizer.php index d8561639..d0478202 100644 --- a/src/Core/Normalizer/ZoneNormalizer.php +++ b/src/Core/Normalizer/ZoneNormalizer.php @@ -31,12 +31,12 @@ class ZoneNormalizer implements DenormalizerInterface, NormalizerInterface, Deno public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\Zone'; + return $type === \KatapultAPI\Core\Model\Zone::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\Zone'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\Zone::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -66,7 +66,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setPermalink(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\DataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\DataCenter::class, 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value) { @@ -104,7 +104,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\Zone' => false]; + return [\KatapultAPI\Core\Model\Zone::class => false]; } } } else { @@ -117,12 +117,12 @@ class ZoneNormalizer implements DenormalizerInterface, NormalizerInterface, Deno public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\Zone'; + return $type === \KatapultAPI\Core\Model\Zone::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\Zone'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\Zone::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -152,7 +152,7 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setPermalink(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\DataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\DataCenter::class, 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value) { @@ -193,7 +193,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\Zone' => false]; + return [\KatapultAPI\Core\Model\Zone::class => false]; } } } diff --git a/src/Core/Normalizer/ZoneNotFoundSchemaNormalizer.php b/src/Core/Normalizer/ZoneNotFoundSchemaNormalizer.php index f51dbce0..912e924e 100644 --- a/src/Core/Normalizer/ZoneNotFoundSchemaNormalizer.php +++ b/src/Core/Normalizer/ZoneNotFoundSchemaNormalizer.php @@ -31,12 +31,12 @@ class ZoneNotFoundSchemaNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ZoneNotFoundSchema'; + return $type === \KatapultAPI\Core\Model\ZoneNotFoundSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ZoneNotFoundSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ZoneNotFoundSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ZoneNotFoundSchema' => false]; + return [\KatapultAPI\Core\Model\ZoneNotFoundSchema::class => false]; } } } else { @@ -116,12 +116,12 @@ class ZoneNotFoundSchemaNormalizer implements DenormalizerInterface, NormalizerI public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ZoneNotFoundSchema'; + return $type === \KatapultAPI\Core\Model\ZoneNotFoundSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ZoneNotFoundSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ZoneNotFoundSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ZoneNotFoundSchema' => false]; + return [\KatapultAPI\Core\Model\ZoneNotFoundSchema::class => false]; } } } diff --git a/src/Core/Normalizer/ZonesGetResponse200Normalizer.php b/src/Core/Normalizer/ZonesGetResponse200Normalizer.php index 0c988041..cd26bf11 100644 --- a/src/Core/Normalizer/ZonesGetResponse200Normalizer.php +++ b/src/Core/Normalizer/ZonesGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class ZonesGetResponse200Normalizer implements DenormalizerInterface, Normalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ZonesGetResponse200'; + return $type === \KatapultAPI\Core\Model\ZonesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ZonesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ZonesGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -54,7 +54,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('zones', $data)) { $values = []; foreach ($data['zones'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetZones200ResponseZones', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetZones200ResponseZones::class, 'json', $context); } $object->setZones($values); unset($data['zones']); @@ -87,7 +87,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ZonesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\ZonesGetResponse200::class => false]; } } } else { @@ -100,12 +100,12 @@ class ZonesGetResponse200Normalizer implements DenormalizerInterface, Normalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ZonesGetResponse200'; + return $type === \KatapultAPI\Core\Model\ZonesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ZonesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ZonesGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -123,7 +123,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('zones', $data)) { $values = []; foreach ($data['zones'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Core\\Model\\GetZones200ResponseZones', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Core\Model\GetZones200ResponseZones::class, 'json', $context); } $object->setZones($values); unset($data['zones']); @@ -159,7 +159,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ZonesGetResponse200' => false]; + return [\KatapultAPI\Core\Model\ZonesGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/ZonesZoneGetResponse200Normalizer.php b/src/Core/Normalizer/ZonesZoneGetResponse200Normalizer.php index 23bc4691..c284ac71 100644 --- a/src/Core/Normalizer/ZonesZoneGetResponse200Normalizer.php +++ b/src/Core/Normalizer/ZonesZoneGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class ZonesZoneGetResponse200Normalizer implements DenormalizerInterface, Normal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ZonesZoneGetResponse200'; + return $type === \KatapultAPI\Core\Model\ZonesZoneGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ZonesZoneGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ZonesZoneGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('zone', $data)) { - $object->setZone($this->denormalizer->denormalize($data['zone'], 'KatapultAPI\\Core\\Model\\ZonesZoneGetResponse200Zone', 'json', $context)); + $object->setZone($this->denormalizer->denormalize($data['zone'], \KatapultAPI\Core\Model\ZonesZoneGetResponse200Zone::class, 'json', $context)); unset($data['zone']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ZonesZoneGetResponse200' => false]; + return [\KatapultAPI\Core\Model\ZonesZoneGetResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class ZonesZoneGetResponse200Normalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ZonesZoneGetResponse200'; + return $type === \KatapultAPI\Core\Model\ZonesZoneGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ZonesZoneGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ZonesZoneGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('zone', $data)) { - $object->setZone($this->denormalizer->denormalize($data['zone'], 'KatapultAPI\\Core\\Model\\ZonesZoneGetResponse200Zone', 'json', $context)); + $object->setZone($this->denormalizer->denormalize($data['zone'], \KatapultAPI\Core\Model\ZonesZoneGetResponse200Zone::class, 'json', $context)); unset($data['zone']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ZonesZoneGetResponse200' => false]; + return [\KatapultAPI\Core\Model\ZonesZoneGetResponse200::class => false]; } } } diff --git a/src/Core/Normalizer/ZonesZoneGetResponse200ZoneNormalizer.php b/src/Core/Normalizer/ZonesZoneGetResponse200ZoneNormalizer.php index 2282e188..d5dc86c6 100644 --- a/src/Core/Normalizer/ZonesZoneGetResponse200ZoneNormalizer.php +++ b/src/Core/Normalizer/ZonesZoneGetResponse200ZoneNormalizer.php @@ -31,12 +31,12 @@ class ZonesZoneGetResponse200ZoneNormalizer implements DenormalizerInterface, No public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ZonesZoneGetResponse200Zone'; + return $type === \KatapultAPI\Core\Model\ZonesZoneGetResponse200Zone::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ZonesZoneGetResponse200Zone'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ZonesZoneGetResponse200Zone::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -66,7 +66,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a $object->setPermalink(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\DataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\DataCenter::class, 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value) { @@ -104,7 +104,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ZonesZoneGetResponse200Zone' => false]; + return [\KatapultAPI\Core\Model\ZonesZoneGetResponse200Zone::class => false]; } } } else { @@ -117,12 +117,12 @@ class ZonesZoneGetResponse200ZoneNormalizer implements DenormalizerInterface, No public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Core\\Model\\ZonesZoneGetResponse200Zone'; + return $type === \KatapultAPI\Core\Model\ZonesZoneGetResponse200Zone::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Core\\Model\\ZonesZoneGetResponse200Zone'; + return is_object($data) && get_class($data) === \KatapultAPI\Core\Model\ZonesZoneGetResponse200Zone::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -152,7 +152,7 @@ public function denormalize($data, $type, $format = null, array $context = []) $object->setPermalink(null); } if (\array_key_exists('data_center', $data)) { - $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], 'KatapultAPI\\Core\\Model\\DataCenter', 'json', $context)); + $object->setDataCenter($this->denormalizer->denormalize($data['data_center'], \KatapultAPI\Core\Model\DataCenter::class, 'json', $context)); unset($data['data_center']); } foreach ($data as $key => $value) { @@ -193,7 +193,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Core\\Model\\ZonesZoneGetResponse200Zone' => false]; + return [\KatapultAPI\Core\Model\ZonesZoneGetResponse200Zone::class => false]; } } } diff --git a/src/Public/Endpoint/GetDataCenters.php b/src/Public/Endpoint/GetDataCenters.php index fdee2e0a..ed9d6992 100644 --- a/src/Public/Endpoint/GetDataCenters.php +++ b/src/Public/Endpoint/GetDataCenters.php @@ -45,13 +45,13 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Public\\Model\\DataCentersGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Public\Model\DataCentersGetResponse200', 'json'); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Public\Exception\GetDataCentersForbiddenException($serializer->deserialize($body, 'KatapultAPI\\Public\\Model\\ResponseAPIAuthenticator403Response', 'json'), $response); + throw new \KatapultAPI\Public\Exception\GetDataCentersForbiddenException($serializer->deserialize($body, 'KatapultAPI\Public\Model\ResponseAPIAuthenticator403Response', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Public\Exception\GetDataCentersTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Public\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Public\Exception\GetDataCentersTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Public\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } } diff --git a/src/Public/Endpoint/GetPricingPrices.php b/src/Public/Endpoint/GetPricingPrices.php index d7dbbf04..a0e66884 100644 --- a/src/Public/Endpoint/GetPricingPrices.php +++ b/src/Public/Endpoint/GetPricingPrices.php @@ -45,13 +45,13 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Public\\Model\\PricingPricesGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Public\Model\PricingPricesGetResponse200', 'json'); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Public\Exception\GetPricingPricesForbiddenException($serializer->deserialize($body, 'KatapultAPI\\Public\\Model\\ResponseAPIAuthenticator403Response', 'json'), $response); + throw new \KatapultAPI\Public\Exception\GetPricingPricesForbiddenException($serializer->deserialize($body, 'KatapultAPI\Public\Model\ResponseAPIAuthenticator403Response', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Public\Exception\GetPricingPricesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Public\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Public\Exception\GetPricingPricesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Public\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } } diff --git a/src/Public/Endpoint/GetStats.php b/src/Public/Endpoint/GetStats.php index 554bc16d..f513fa47 100644 --- a/src/Public/Endpoint/GetStats.php +++ b/src/Public/Endpoint/GetStats.php @@ -45,13 +45,13 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Public\\Model\\StatsGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Public\Model\StatsGetResponse200', 'json'); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Public\Exception\GetStatsForbiddenException($serializer->deserialize($body, 'KatapultAPI\\Public\\Model\\ResponseAPIAuthenticator403Response', 'json'), $response); + throw new \KatapultAPI\Public\Exception\GetStatsForbiddenException($serializer->deserialize($body, 'KatapultAPI\Public\Model\ResponseAPIAuthenticator403Response', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Public\Exception\GetStatsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Public\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Public\Exception\GetStatsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Public\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } } diff --git a/src/Public/Endpoint/GetVirtualMachinePackages.php b/src/Public/Endpoint/GetVirtualMachinePackages.php index 9907eca5..6013010c 100644 --- a/src/Public/Endpoint/GetVirtualMachinePackages.php +++ b/src/Public/Endpoint/GetVirtualMachinePackages.php @@ -71,13 +71,13 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Public\\Model\\VirtualMachinePackagesGetResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Public\Model\VirtualMachinePackagesGetResponse200', 'json'); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Public\Exception\GetVirtualMachinePackagesForbiddenException($serializer->deserialize($body, 'KatapultAPI\\Public\\Model\\ResponseAPIAuthenticator403Response', 'json'), $response); + throw new \KatapultAPI\Public\Exception\GetVirtualMachinePackagesForbiddenException($serializer->deserialize($body, 'KatapultAPI\Public\Model\ResponseAPIAuthenticator403Response', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Public\Exception\GetVirtualMachinePackagesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Public\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Public\Exception\GetVirtualMachinePackagesTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Public\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } } diff --git a/src/Public/Endpoint/PostPricingEstimate.php b/src/Public/Endpoint/PostPricingEstimate.php index cc7c169f..209e11c2 100644 --- a/src/Public/Endpoint/PostPricingEstimate.php +++ b/src/Public/Endpoint/PostPricingEstimate.php @@ -59,19 +59,19 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Public\\Model\\PricingEstimatePostResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Public\Model\PricingEstimatePostResponse200', 'json'); } if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Public\Exception\PostPricingEstimateBadRequestException($response); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Public\Exception\PostPricingEstimateForbiddenException($serializer->deserialize($body, 'KatapultAPI\\Public\\Model\\ResponseAPIAuthenticator403Response', 'json'), $response); + throw new \KatapultAPI\Public\Exception\PostPricingEstimateForbiddenException($serializer->deserialize($body, 'KatapultAPI\Public\Model\ResponseAPIAuthenticator403Response', 'json'), $response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { throw new \KatapultAPI\Public\Exception\PostPricingEstimateNotFoundException($response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Public\Exception\PostPricingEstimateTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Public\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Public\Exception\PostPricingEstimateTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Public\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } } diff --git a/src/Public/Endpoint/PostSignups.php b/src/Public/Endpoint/PostSignups.php index 7217f9df..72226866 100644 --- a/src/Public/Endpoint/PostSignups.php +++ b/src/Public/Endpoint/PostSignups.php @@ -59,19 +59,19 @@ protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $re $status = $response->getStatusCode(); $body = (string) $response->getBody(); if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'KatapultAPI\\Public\\Model\\SignupsPostResponse200', 'json'); + return $serializer->deserialize($body, 'KatapultAPI\Public\Model\SignupsPostResponse200', 'json'); } if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Public\Exception\PostSignupsForbiddenException($serializer->deserialize($body, 'KatapultAPI\\Public\\Model\\ResponseAPIAuthenticator403Response', 'json'), $response); + throw new \KatapultAPI\Public\Exception\PostSignupsForbiddenException($serializer->deserialize($body, 'KatapultAPI\Public\Model\ResponseAPIAuthenticator403Response', 'json'), $response); } if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Public\Exception\PostSignupsNotFoundException($serializer->deserialize($body, 'KatapultAPI\\Public\\Model\\ResponseInvalidCouponCodeResponse', 'json'), $response); + throw new \KatapultAPI\Public\Exception\PostSignupsNotFoundException($serializer->deserialize($body, 'KatapultAPI\Public\Model\ResponseInvalidCouponCodeResponse', 'json'), $response); } if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Public\Exception\PostSignupsUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\\Public\\Model\\ResponseValidationErrorResponse', 'json'), $response); + throw new \KatapultAPI\Public\Exception\PostSignupsUnprocessableEntityException($serializer->deserialize($body, 'KatapultAPI\Public\Model\ResponseValidationErrorResponse', 'json'), $response); } if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \KatapultAPI\Public\Exception\PostSignupsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\\Public\\Model\\ResponseAPIAuthenticator429Response', 'json'), $response); + throw new \KatapultAPI\Public\Exception\PostSignupsTooManyRequestsException($serializer->deserialize($body, 'KatapultAPI\Public\Model\ResponseAPIAuthenticator429Response', 'json'), $response); } } diff --git a/src/Public/Normalizer/AttachmentNormalizer.php b/src/Public/Normalizer/AttachmentNormalizer.php index 837fb78f..a1a9bc45 100644 --- a/src/Public/Normalizer/AttachmentNormalizer.php +++ b/src/Public/Normalizer/AttachmentNormalizer.php @@ -31,12 +31,12 @@ class AttachmentNormalizer implements DenormalizerInterface, NormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\Attachment'; + return $type === \KatapultAPI\Public\Model\Attachment::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\Attachment'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\Attachment::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -116,7 +116,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\Attachment' => false]; + return [\KatapultAPI\Public\Model\Attachment::class => false]; } } } else { @@ -129,12 +129,12 @@ class AttachmentNormalizer implements DenormalizerInterface, NormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\Attachment'; + return $type === \KatapultAPI\Public\Model\Attachment::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\Attachment'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\Attachment::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -217,7 +217,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\Attachment' => false]; + return [\KatapultAPI\Public\Model\Attachment::class => false]; } } } diff --git a/src/Public/Normalizer/CountryLookupNormalizer.php b/src/Public/Normalizer/CountryLookupNormalizer.php index b2f0f6f6..4cb6fcdf 100644 --- a/src/Public/Normalizer/CountryLookupNormalizer.php +++ b/src/Public/Normalizer/CountryLookupNormalizer.php @@ -31,12 +31,12 @@ class CountryLookupNormalizer implements DenormalizerInterface, NormalizerInterf public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\CountryLookup'; + return $type === \KatapultAPI\Public\Model\CountryLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\CountryLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\CountryLookup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\CountryLookup' => false]; + return [\KatapultAPI\Public\Model\CountryLookup::class => false]; } } } else { @@ -108,12 +108,12 @@ class CountryLookupNormalizer implements DenormalizerInterface, NormalizerInterf public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\CountryLookup'; + return $type === \KatapultAPI\Public\Model\CountryLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\CountryLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\CountryLookup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\CountryLookup' => false]; + return [\KatapultAPI\Public\Model\CountryLookup::class => false]; } } } diff --git a/src/Public/Normalizer/CountryNotFoundSchemaNormalizer.php b/src/Public/Normalizer/CountryNotFoundSchemaNormalizer.php index 44b6cfef..ef3b2381 100644 --- a/src/Public/Normalizer/CountryNotFoundSchemaNormalizer.php +++ b/src/Public/Normalizer/CountryNotFoundSchemaNormalizer.php @@ -31,12 +31,12 @@ class CountryNotFoundSchemaNormalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\CountryNotFoundSchema'; + return $type === \KatapultAPI\Public\Model\CountryNotFoundSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\CountryNotFoundSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\CountryNotFoundSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\CountryNotFoundSchema' => false]; + return [\KatapultAPI\Public\Model\CountryNotFoundSchema::class => false]; } } } else { @@ -116,12 +116,12 @@ class CountryNotFoundSchemaNormalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\CountryNotFoundSchema'; + return $type === \KatapultAPI\Public\Model\CountryNotFoundSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\CountryNotFoundSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\CountryNotFoundSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\CountryNotFoundSchema' => false]; + return [\KatapultAPI\Public\Model\CountryNotFoundSchema::class => false]; } } } diff --git a/src/Public/Normalizer/CurrencyLookupNormalizer.php b/src/Public/Normalizer/CurrencyLookupNormalizer.php index 1f396c14..193e6841 100644 --- a/src/Public/Normalizer/CurrencyLookupNormalizer.php +++ b/src/Public/Normalizer/CurrencyLookupNormalizer.php @@ -31,12 +31,12 @@ class CurrencyLookupNormalizer implements DenormalizerInterface, NormalizerInter public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\CurrencyLookup'; + return $type === \KatapultAPI\Public\Model\CurrencyLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\CurrencyLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\CurrencyLookup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\CurrencyLookup' => false]; + return [\KatapultAPI\Public\Model\CurrencyLookup::class => false]; } } } else { @@ -101,12 +101,12 @@ class CurrencyLookupNormalizer implements DenormalizerInterface, NormalizerInter public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\CurrencyLookup'; + return $type === \KatapultAPI\Public\Model\CurrencyLookup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\CurrencyLookup'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\CurrencyLookup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\CurrencyLookup' => false]; + return [\KatapultAPI\Public\Model\CurrencyLookup::class => false]; } } } diff --git a/src/Public/Normalizer/CurrencyNormalizer.php b/src/Public/Normalizer/CurrencyNormalizer.php index 5e2ed808..fb07d1c3 100644 --- a/src/Public/Normalizer/CurrencyNormalizer.php +++ b/src/Public/Normalizer/CurrencyNormalizer.php @@ -31,12 +31,12 @@ class CurrencyNormalizer implements DenormalizerInterface, NormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\Currency'; + return $type === \KatapultAPI\Public\Model\Currency::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\Currency'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\Currency::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\Currency' => false]; + return [\KatapultAPI\Public\Model\Currency::class => false]; } } } else { @@ -115,12 +115,12 @@ class CurrencyNormalizer implements DenormalizerInterface, NormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\Currency'; + return $type === \KatapultAPI\Public\Model\Currency::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\Currency'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\Currency::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\Currency' => false]; + return [\KatapultAPI\Public\Model\Currency::class => false]; } } } diff --git a/src/Public/Normalizer/CurrencyNotFoundSchemaNormalizer.php b/src/Public/Normalizer/CurrencyNotFoundSchemaNormalizer.php index dc2b63a6..46cc4e61 100644 --- a/src/Public/Normalizer/CurrencyNotFoundSchemaNormalizer.php +++ b/src/Public/Normalizer/CurrencyNotFoundSchemaNormalizer.php @@ -31,12 +31,12 @@ class CurrencyNotFoundSchemaNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\CurrencyNotFoundSchema'; + return $type === \KatapultAPI\Public\Model\CurrencyNotFoundSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\CurrencyNotFoundSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\CurrencyNotFoundSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\CurrencyNotFoundSchema' => false]; + return [\KatapultAPI\Public\Model\CurrencyNotFoundSchema::class => false]; } } } else { @@ -116,12 +116,12 @@ class CurrencyNotFoundSchemaNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\CurrencyNotFoundSchema'; + return $type === \KatapultAPI\Public\Model\CurrencyNotFoundSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\CurrencyNotFoundSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\CurrencyNotFoundSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\CurrencyNotFoundSchema' => false]; + return [\KatapultAPI\Public\Model\CurrencyNotFoundSchema::class => false]; } } } diff --git a/src/Public/Normalizer/DataCenterNormalizer.php b/src/Public/Normalizer/DataCenterNormalizer.php index 8c1196a3..484b7abf 100644 --- a/src/Public/Normalizer/DataCenterNormalizer.php +++ b/src/Public/Normalizer/DataCenterNormalizer.php @@ -31,12 +31,12 @@ class DataCenterNormalizer implements DenormalizerInterface, NormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\DataCenter'; + return $type === \KatapultAPI\Public\Model\DataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\DataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\DataCenter::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -102,7 +102,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\DataCenter' => false]; + return [\KatapultAPI\Public\Model\DataCenter::class => false]; } } } else { @@ -115,12 +115,12 @@ class DataCenterNormalizer implements DenormalizerInterface, NormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\DataCenter'; + return $type === \KatapultAPI\Public\Model\DataCenter::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\DataCenter'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\DataCenter::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -189,7 +189,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\DataCenter' => false]; + return [\KatapultAPI\Public\Model\DataCenter::class => false]; } } } diff --git a/src/Public/Normalizer/DataCentersGetResponse200Normalizer.php b/src/Public/Normalizer/DataCentersGetResponse200Normalizer.php index 3c40dd9c..7c183abb 100644 --- a/src/Public/Normalizer/DataCentersGetResponse200Normalizer.php +++ b/src/Public/Normalizer/DataCentersGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class DataCentersGetResponse200Normalizer implements DenormalizerInterface, Norm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\DataCentersGetResponse200'; + return $type === \KatapultAPI\Public\Model\DataCentersGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\DataCentersGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\DataCentersGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -54,7 +54,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('data_centers', $data)) { $values = []; foreach ($data['data_centers'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Public\\Model\\DataCenter', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Public\Model\DataCenter::class, 'json', $context); } $object->setDataCenters($values); unset($data['data_centers']); @@ -87,7 +87,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\DataCentersGetResponse200' => false]; + return [\KatapultAPI\Public\Model\DataCentersGetResponse200::class => false]; } } } else { @@ -100,12 +100,12 @@ class DataCentersGetResponse200Normalizer implements DenormalizerInterface, Norm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\DataCentersGetResponse200'; + return $type === \KatapultAPI\Public\Model\DataCentersGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\DataCentersGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\DataCentersGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -123,7 +123,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('data_centers', $data)) { $values = []; foreach ($data['data_centers'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Public\\Model\\DataCenter', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Public\Model\DataCenter::class, 'json', $context); } $object->setDataCenters($values); unset($data['data_centers']); @@ -159,7 +159,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\DataCentersGetResponse200' => false]; + return [\KatapultAPI\Public\Model\DataCentersGetResponse200::class => false]; } } } diff --git a/src/Public/Normalizer/GetPricingPrices200ResponsePricesNormalizer.php b/src/Public/Normalizer/GetPricingPrices200ResponsePricesNormalizer.php index 71749cf4..8c56d128 100644 --- a/src/Public/Normalizer/GetPricingPrices200ResponsePricesNormalizer.php +++ b/src/Public/Normalizer/GetPricingPrices200ResponsePricesNormalizer.php @@ -31,12 +31,12 @@ class GetPricingPrices200ResponsePricesNormalizer implements DenormalizerInterfa public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\GetPricingPrices200ResponsePrices'; + return $type === \KatapultAPI\Public\Model\GetPricingPrices200ResponsePrices::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\GetPricingPrices200ResponsePrices'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\GetPricingPrices200ResponsePrices::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -66,7 +66,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('variants', $data)) { $values = []; foreach ($data['variants'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Public\\Model\\PriceVariant', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Public\Model\PriceVariant::class, 'json', $context); } $object->setVariants($values); unset($data['variants']); @@ -110,7 +110,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\GetPricingPrices200ResponsePrices' => false]; + return [\KatapultAPI\Public\Model\GetPricingPrices200ResponsePrices::class => false]; } } } else { @@ -123,12 +123,12 @@ class GetPricingPrices200ResponsePricesNormalizer implements DenormalizerInterfa public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\GetPricingPrices200ResponsePrices'; + return $type === \KatapultAPI\Public\Model\GetPricingPrices200ResponsePrices::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\GetPricingPrices200ResponsePrices'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\GetPricingPrices200ResponsePrices::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -158,7 +158,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('variants', $data)) { $values = []; foreach ($data['variants'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Public\\Model\\PriceVariant', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Public\Model\PriceVariant::class, 'json', $context); } $object->setVariants($values); unset($data['variants']); @@ -205,7 +205,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\GetPricingPrices200ResponsePrices' => false]; + return [\KatapultAPI\Public\Model\GetPricingPrices200ResponsePrices::class => false]; } } } diff --git a/src/Public/Normalizer/InternalAuthErrorNormalizer.php b/src/Public/Normalizer/InternalAuthErrorNormalizer.php index b0eed0ca..03aefbaa 100644 --- a/src/Public/Normalizer/InternalAuthErrorNormalizer.php +++ b/src/Public/Normalizer/InternalAuthErrorNormalizer.php @@ -31,12 +31,12 @@ class InternalAuthErrorNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\InternalAuthError'; + return $type === \KatapultAPI\Public\Model\InternalAuthError::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\InternalAuthError'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\InternalAuthError::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\InternalAuthError' => false]; + return [\KatapultAPI\Public\Model\InternalAuthError::class => false]; } } } else { @@ -94,12 +94,12 @@ class InternalAuthErrorNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\InternalAuthError'; + return $type === \KatapultAPI\Public\Model\InternalAuthError::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\InternalAuthError'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\InternalAuthError::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\InternalAuthError' => false]; + return [\KatapultAPI\Public\Model\InternalAuthError::class => false]; } } } diff --git a/src/Public/Normalizer/InvalidCouponCodeNormalizer.php b/src/Public/Normalizer/InvalidCouponCodeNormalizer.php index d2ee482f..af866f9d 100644 --- a/src/Public/Normalizer/InvalidCouponCodeNormalizer.php +++ b/src/Public/Normalizer/InvalidCouponCodeNormalizer.php @@ -31,12 +31,12 @@ class InvalidCouponCodeNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\InvalidCouponCode'; + return $type === \KatapultAPI\Public\Model\InvalidCouponCode::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\InvalidCouponCode'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\InvalidCouponCode::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\InvalidCouponCode' => false]; + return [\KatapultAPI\Public\Model\InvalidCouponCode::class => false]; } } } else { @@ -94,12 +94,12 @@ class InvalidCouponCodeNormalizer implements DenormalizerInterface, NormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\InvalidCouponCode'; + return $type === \KatapultAPI\Public\Model\InvalidCouponCode::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\InvalidCouponCode'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\InvalidCouponCode::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\InvalidCouponCode' => false]; + return [\KatapultAPI\Public\Model\InvalidCouponCode::class => false]; } } } diff --git a/src/Public/Normalizer/InvalidEstimateQuantityNormalizer.php b/src/Public/Normalizer/InvalidEstimateQuantityNormalizer.php index 8b46986d..52032b8a 100644 --- a/src/Public/Normalizer/InvalidEstimateQuantityNormalizer.php +++ b/src/Public/Normalizer/InvalidEstimateQuantityNormalizer.php @@ -31,12 +31,12 @@ class InvalidEstimateQuantityNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\InvalidEstimateQuantity'; + return $type === \KatapultAPI\Public\Model\InvalidEstimateQuantity::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\InvalidEstimateQuantity'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\InvalidEstimateQuantity::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -83,7 +83,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\InvalidEstimateQuantity' => false]; + return [\KatapultAPI\Public\Model\InvalidEstimateQuantity::class => false]; } } } else { @@ -96,12 +96,12 @@ class InvalidEstimateQuantityNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\InvalidEstimateQuantity'; + return $type === \KatapultAPI\Public\Model\InvalidEstimateQuantity::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\InvalidEstimateQuantity'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\InvalidEstimateQuantity::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -151,7 +151,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\InvalidEstimateQuantity' => false]; + return [\KatapultAPI\Public\Model\InvalidEstimateQuantity::class => false]; } } } diff --git a/src/Public/Normalizer/InvalidEstimateQuantitySchemaNormalizer.php b/src/Public/Normalizer/InvalidEstimateQuantitySchemaNormalizer.php index 2e0215b1..d120e111 100644 --- a/src/Public/Normalizer/InvalidEstimateQuantitySchemaNormalizer.php +++ b/src/Public/Normalizer/InvalidEstimateQuantitySchemaNormalizer.php @@ -31,12 +31,12 @@ class InvalidEstimateQuantitySchemaNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\InvalidEstimateQuantitySchema'; + return $type === \KatapultAPI\Public\Model\InvalidEstimateQuantitySchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\InvalidEstimateQuantitySchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\InvalidEstimateQuantitySchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Public\\Model\\InvalidEstimateQuantity', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Public\Model\InvalidEstimateQuantity::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\InvalidEstimateQuantitySchema' => false]; + return [\KatapultAPI\Public\Model\InvalidEstimateQuantitySchema::class => false]; } } } else { @@ -108,12 +108,12 @@ class InvalidEstimateQuantitySchemaNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\InvalidEstimateQuantitySchema'; + return $type === \KatapultAPI\Public\Model\InvalidEstimateQuantitySchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\InvalidEstimateQuantitySchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\InvalidEstimateQuantitySchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -137,7 +137,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Public\\Model\\InvalidEstimateQuantity', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Public\Model\InvalidEstimateQuantity::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\InvalidEstimateQuantitySchema' => false]; + return [\KatapultAPI\Public\Model\InvalidEstimateQuantitySchema::class => false]; } } } diff --git a/src/Public/Normalizer/InvalidEstimateResourceNormalizer.php b/src/Public/Normalizer/InvalidEstimateResourceNormalizer.php index c70bf61f..27817ae2 100644 --- a/src/Public/Normalizer/InvalidEstimateResourceNormalizer.php +++ b/src/Public/Normalizer/InvalidEstimateResourceNormalizer.php @@ -31,12 +31,12 @@ class InvalidEstimateResourceNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\InvalidEstimateResource'; + return $type === \KatapultAPI\Public\Model\InvalidEstimateResource::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\InvalidEstimateResource'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\InvalidEstimateResource::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -83,7 +83,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\InvalidEstimateResource' => false]; + return [\KatapultAPI\Public\Model\InvalidEstimateResource::class => false]; } } } else { @@ -96,12 +96,12 @@ class InvalidEstimateResourceNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\InvalidEstimateResource'; + return $type === \KatapultAPI\Public\Model\InvalidEstimateResource::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\InvalidEstimateResource'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\InvalidEstimateResource::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -151,7 +151,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\InvalidEstimateResource' => false]; + return [\KatapultAPI\Public\Model\InvalidEstimateResource::class => false]; } } } diff --git a/src/Public/Normalizer/InvalidEstimateResourceSchemaNormalizer.php b/src/Public/Normalizer/InvalidEstimateResourceSchemaNormalizer.php index 5e71977c..e6ae226e 100644 --- a/src/Public/Normalizer/InvalidEstimateResourceSchemaNormalizer.php +++ b/src/Public/Normalizer/InvalidEstimateResourceSchemaNormalizer.php @@ -31,12 +31,12 @@ class InvalidEstimateResourceSchemaNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\InvalidEstimateResourceSchema'; + return $type === \KatapultAPI\Public\Model\InvalidEstimateResourceSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\InvalidEstimateResourceSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\InvalidEstimateResourceSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Public\\Model\\InvalidEstimateResource', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Public\Model\InvalidEstimateResource::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\InvalidEstimateResourceSchema' => false]; + return [\KatapultAPI\Public\Model\InvalidEstimateResourceSchema::class => false]; } } } else { @@ -108,12 +108,12 @@ class InvalidEstimateResourceSchemaNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\InvalidEstimateResourceSchema'; + return $type === \KatapultAPI\Public\Model\InvalidEstimateResourceSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\InvalidEstimateResourceSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\InvalidEstimateResourceSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -137,7 +137,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Public\\Model\\InvalidEstimateResource', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Public\Model\InvalidEstimateResource::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\InvalidEstimateResourceSchema' => false]; + return [\KatapultAPI\Public\Model\InvalidEstimateResourceSchema::class => false]; } } } diff --git a/src/Public/Normalizer/JaneObjectNormalizer.php b/src/Public/Normalizer/JaneObjectNormalizer.php index 60a2c6e8..4a245caa 100644 --- a/src/Public/Normalizer/JaneObjectNormalizer.php +++ b/src/Public/Normalizer/JaneObjectNormalizer.php @@ -28,48 +28,89 @@ class JaneObjectNormalizer implements DenormalizerInterface, NormalizerInterface use CheckArray; use ValidatorTrait; protected $normalizers = [ - 'KatapultAPI\\Public\\Model\\SignupCampaignArguments' => 'KatapultAPI\\Public\\Normalizer\\SignupCampaignArgumentsNormalizer', - 'KatapultAPI\\Public\\Model\\InternalAuthError' => 'KatapultAPI\\Public\\Normalizer\\InternalAuthErrorNormalizer', - 'KatapultAPI\\Public\\Model\\InvalidCouponCode' => 'KatapultAPI\\Public\\Normalizer\\InvalidCouponCodeNormalizer', - 'KatapultAPI\\Public\\Model\\ValidationError' => 'KatapultAPI\\Public\\Normalizer\\ValidationErrorNormalizer', - 'KatapultAPI\\Public\\Model\\RateLimitReached' => 'KatapultAPI\\Public\\Normalizer\\RateLimitReachedNormalizer', - 'KatapultAPI\\Public\\Model\\GetPricingPrices200ResponsePrices' => 'KatapultAPI\\Public\\Normalizer\\GetPricingPrices200ResponsePricesNormalizer', - 'KatapultAPI\\Public\\Model\\PriceVariant' => 'KatapultAPI\\Public\\Normalizer\\PriceVariantNormalizer', - 'KatapultAPI\\Public\\Model\\Price' => 'KatapultAPI\\Public\\Normalizer\\PriceNormalizer', - 'KatapultAPI\\Public\\Model\\Currency' => 'KatapultAPI\\Public\\Normalizer\\CurrencyNormalizer', - 'KatapultAPI\\Public\\Model\\PricingEstimateResourceArguments' => 'KatapultAPI\\Public\\Normalizer\\PricingEstimateResourceArgumentsNormalizer', - 'KatapultAPI\\Public\\Model\\CurrencyLookup' => 'KatapultAPI\\Public\\Normalizer\\CurrencyLookupNormalizer', - 'KatapultAPI\\Public\\Model\\CountryLookup' => 'KatapultAPI\\Public\\Normalizer\\CountryLookupNormalizer', - 'KatapultAPI\\Public\\Model\\PricingEstimate' => 'KatapultAPI\\Public\\Normalizer\\PricingEstimateNormalizer', - 'KatapultAPI\\Public\\Model\\PricingEstimateResource' => 'KatapultAPI\\Public\\Normalizer\\PricingEstimateResourceNormalizer', - 'KatapultAPI\\Public\\Model\\PricingEstimateResourcePackage' => 'KatapultAPI\\Public\\Normalizer\\PricingEstimateResourcePackageNormalizer', - 'KatapultAPI\\Public\\Model\\VirtualMachinePackage' => 'KatapultAPI\\Public\\Normalizer\\VirtualMachinePackageNormalizer', - 'KatapultAPI\\Public\\Model\\VirtualMachinePackageIcon' => 'KatapultAPI\\Public\\Normalizer\\VirtualMachinePackageIconNormalizer', - 'KatapultAPI\\Public\\Model\\Attachment' => 'KatapultAPI\\Public\\Normalizer\\AttachmentNormalizer', - 'KatapultAPI\\Public\\Model\\VirtualMachinePackageGroup' => 'KatapultAPI\\Public\\Normalizer\\VirtualMachinePackageGroupNormalizer', - 'KatapultAPI\\Public\\Model\\MissingResourcesSchema' => 'KatapultAPI\\Public\\Normalizer\\MissingResourcesSchemaNormalizer', - 'KatapultAPI\\Public\\Model\\InvalidEstimateResource' => 'KatapultAPI\\Public\\Normalizer\\InvalidEstimateResourceNormalizer', - 'KatapultAPI\\Public\\Model\\InvalidEstimateResourceSchema' => 'KatapultAPI\\Public\\Normalizer\\InvalidEstimateResourceSchemaNormalizer', - 'KatapultAPI\\Public\\Model\\InvalidEstimateQuantity' => 'KatapultAPI\\Public\\Normalizer\\InvalidEstimateQuantityNormalizer', - 'KatapultAPI\\Public\\Model\\InvalidEstimateQuantitySchema' => 'KatapultAPI\\Public\\Normalizer\\InvalidEstimateQuantitySchemaNormalizer', - 'KatapultAPI\\Public\\Model\\CurrencyNotFoundSchema' => 'KatapultAPI\\Public\\Normalizer\\CurrencyNotFoundSchemaNormalizer', - 'KatapultAPI\\Public\\Model\\CountryNotFoundSchema' => 'KatapultAPI\\Public\\Normalizer\\CountryNotFoundSchemaNormalizer', - 'KatapultAPI\\Public\\Model\\PaginationObject' => 'KatapultAPI\\Public\\Normalizer\\PaginationObjectNormalizer', - 'KatapultAPI\\Public\\Model\\DataCenter' => 'KatapultAPI\\Public\\Normalizer\\DataCenterNormalizer', - 'KatapultAPI\\Public\\Model\\ResponseAPIAuthenticator403Response' => 'KatapultAPI\\Public\\Normalizer\\ResponseAPIAuthenticator403ResponseNormalizer', - 'KatapultAPI\\Public\\Model\\ResponseInvalidCouponCodeResponse' => 'KatapultAPI\\Public\\Normalizer\\ResponseInvalidCouponCodeResponseNormalizer', - 'KatapultAPI\\Public\\Model\\ResponseValidationErrorResponse' => 'KatapultAPI\\Public\\Normalizer\\ResponseValidationErrorResponseNormalizer', - 'KatapultAPI\\Public\\Model\\ResponseAPIAuthenticator429Response' => 'KatapultAPI\\Public\\Normalizer\\ResponseAPIAuthenticator429ResponseNormalizer', - 'KatapultAPI\\Public\\Model\\DataCentersGetResponse200' => 'KatapultAPI\\Public\\Normalizer\\DataCentersGetResponse200Normalizer', - 'KatapultAPI\\Public\\Model\\PricingPricesGetResponse200' => 'KatapultAPI\\Public\\Normalizer\\PricingPricesGetResponse200Normalizer', - 'KatapultAPI\\Public\\Model\\PricingEstimatePostBody' => 'KatapultAPI\\Public\\Normalizer\\PricingEstimatePostBodyNormalizer', - 'KatapultAPI\\Public\\Model\\PricingEstimatePostResponse200' => 'KatapultAPI\\Public\\Normalizer\\PricingEstimatePostResponse200Normalizer', - 'KatapultAPI\\Public\\Model\\PricingEstimatePostResponse200Estimate' => 'KatapultAPI\\Public\\Normalizer\\PricingEstimatePostResponse200EstimateNormalizer', - 'KatapultAPI\\Public\\Model\\SignupsPostBody' => 'KatapultAPI\\Public\\Normalizer\\SignupsPostBodyNormalizer', - 'KatapultAPI\\Public\\Model\\SignupsPostResponse200' => 'KatapultAPI\\Public\\Normalizer\\SignupsPostResponse200Normalizer', - 'KatapultAPI\\Public\\Model\\StatsGetResponse200' => 'KatapultAPI\\Public\\Normalizer\\StatsGetResponse200Normalizer', - 'KatapultAPI\\Public\\Model\\VirtualMachinePackagesGetResponse200' => 'KatapultAPI\\Public\\Normalizer\\VirtualMachinePackagesGetResponse200Normalizer', - '\\Jane\\Component\\JsonSchemaRuntime\\Reference' => '\\KatapultAPI\\Public\\Runtime\\Normalizer\\ReferenceNormalizer', + \KatapultAPI\Public\Model\SignupCampaignArguments::class => SignupCampaignArgumentsNormalizer::class, + + \KatapultAPI\Public\Model\InternalAuthError::class => InternalAuthErrorNormalizer::class, + + \KatapultAPI\Public\Model\InvalidCouponCode::class => InvalidCouponCodeNormalizer::class, + + \KatapultAPI\Public\Model\ValidationError::class => ValidationErrorNormalizer::class, + + \KatapultAPI\Public\Model\RateLimitReached::class => RateLimitReachedNormalizer::class, + + \KatapultAPI\Public\Model\GetPricingPrices200ResponsePrices::class => GetPricingPrices200ResponsePricesNormalizer::class, + + \KatapultAPI\Public\Model\PriceVariant::class => PriceVariantNormalizer::class, + + \KatapultAPI\Public\Model\Price::class => PriceNormalizer::class, + + \KatapultAPI\Public\Model\Currency::class => CurrencyNormalizer::class, + + \KatapultAPI\Public\Model\PricingEstimateResourceArguments::class => PricingEstimateResourceArgumentsNormalizer::class, + + \KatapultAPI\Public\Model\CurrencyLookup::class => CurrencyLookupNormalizer::class, + + \KatapultAPI\Public\Model\CountryLookup::class => CountryLookupNormalizer::class, + + \KatapultAPI\Public\Model\PricingEstimate::class => PricingEstimateNormalizer::class, + + \KatapultAPI\Public\Model\PricingEstimateResource::class => PricingEstimateResourceNormalizer::class, + + \KatapultAPI\Public\Model\PricingEstimateResourcePackage::class => PricingEstimateResourcePackageNormalizer::class, + + \KatapultAPI\Public\Model\VirtualMachinePackage::class => VirtualMachinePackageNormalizer::class, + + \KatapultAPI\Public\Model\VirtualMachinePackageIcon::class => VirtualMachinePackageIconNormalizer::class, + + \KatapultAPI\Public\Model\Attachment::class => AttachmentNormalizer::class, + + \KatapultAPI\Public\Model\VirtualMachinePackageGroup::class => VirtualMachinePackageGroupNormalizer::class, + + \KatapultAPI\Public\Model\MissingResourcesSchema::class => MissingResourcesSchemaNormalizer::class, + + \KatapultAPI\Public\Model\InvalidEstimateResource::class => InvalidEstimateResourceNormalizer::class, + + \KatapultAPI\Public\Model\InvalidEstimateResourceSchema::class => InvalidEstimateResourceSchemaNormalizer::class, + + \KatapultAPI\Public\Model\InvalidEstimateQuantity::class => InvalidEstimateQuantityNormalizer::class, + + \KatapultAPI\Public\Model\InvalidEstimateQuantitySchema::class => InvalidEstimateQuantitySchemaNormalizer::class, + + \KatapultAPI\Public\Model\CurrencyNotFoundSchema::class => CurrencyNotFoundSchemaNormalizer::class, + + \KatapultAPI\Public\Model\CountryNotFoundSchema::class => CountryNotFoundSchemaNormalizer::class, + + \KatapultAPI\Public\Model\PaginationObject::class => PaginationObjectNormalizer::class, + + \KatapultAPI\Public\Model\DataCenter::class => DataCenterNormalizer::class, + + \KatapultAPI\Public\Model\ResponseAPIAuthenticator403Response::class => ResponseAPIAuthenticator403ResponseNormalizer::class, + + \KatapultAPI\Public\Model\ResponseInvalidCouponCodeResponse::class => ResponseInvalidCouponCodeResponseNormalizer::class, + + \KatapultAPI\Public\Model\ResponseValidationErrorResponse::class => ResponseValidationErrorResponseNormalizer::class, + + \KatapultAPI\Public\Model\ResponseAPIAuthenticator429Response::class => ResponseAPIAuthenticator429ResponseNormalizer::class, + + \KatapultAPI\Public\Model\DataCentersGetResponse200::class => DataCentersGetResponse200Normalizer::class, + + \KatapultAPI\Public\Model\PricingPricesGetResponse200::class => PricingPricesGetResponse200Normalizer::class, + + \KatapultAPI\Public\Model\PricingEstimatePostBody::class => PricingEstimatePostBodyNormalizer::class, + + \KatapultAPI\Public\Model\PricingEstimatePostResponse200::class => PricingEstimatePostResponse200Normalizer::class, + + \KatapultAPI\Public\Model\PricingEstimatePostResponse200Estimate::class => PricingEstimatePostResponse200EstimateNormalizer::class, + + \KatapultAPI\Public\Model\SignupsPostBody::class => SignupsPostBodyNormalizer::class, + + \KatapultAPI\Public\Model\SignupsPostResponse200::class => SignupsPostResponse200Normalizer::class, + + \KatapultAPI\Public\Model\StatsGetResponse200::class => StatsGetResponse200Normalizer::class, + + \KatapultAPI\Public\Model\VirtualMachinePackagesGetResponse200::class => VirtualMachinePackagesGetResponse200Normalizer::class, + + \Jane\Component\JsonSchemaRuntime\Reference::class => \KatapultAPI\Public\Runtime\Normalizer\ReferenceNormalizer::class, ]; protected $normalizersCache = []; @@ -116,7 +157,50 @@ private function initNormalizer(string $normalizerClass) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\SignupCampaignArguments' => false, 'KatapultAPI\\Public\\Model\\InternalAuthError' => false, 'KatapultAPI\\Public\\Model\\InvalidCouponCode' => false, 'KatapultAPI\\Public\\Model\\ValidationError' => false, 'KatapultAPI\\Public\\Model\\RateLimitReached' => false, 'KatapultAPI\\Public\\Model\\GetPricingPrices200ResponsePrices' => false, 'KatapultAPI\\Public\\Model\\PriceVariant' => false, 'KatapultAPI\\Public\\Model\\Price' => false, 'KatapultAPI\\Public\\Model\\Currency' => false, 'KatapultAPI\\Public\\Model\\PricingEstimateResourceArguments' => false, 'KatapultAPI\\Public\\Model\\CurrencyLookup' => false, 'KatapultAPI\\Public\\Model\\CountryLookup' => false, 'KatapultAPI\\Public\\Model\\PricingEstimate' => false, 'KatapultAPI\\Public\\Model\\PricingEstimateResource' => false, 'KatapultAPI\\Public\\Model\\PricingEstimateResourcePackage' => false, 'KatapultAPI\\Public\\Model\\VirtualMachinePackage' => false, 'KatapultAPI\\Public\\Model\\VirtualMachinePackageIcon' => false, 'KatapultAPI\\Public\\Model\\Attachment' => false, 'KatapultAPI\\Public\\Model\\VirtualMachinePackageGroup' => false, 'KatapultAPI\\Public\\Model\\MissingResourcesSchema' => false, 'KatapultAPI\\Public\\Model\\InvalidEstimateResource' => false, 'KatapultAPI\\Public\\Model\\InvalidEstimateResourceSchema' => false, 'KatapultAPI\\Public\\Model\\InvalidEstimateQuantity' => false, 'KatapultAPI\\Public\\Model\\InvalidEstimateQuantitySchema' => false, 'KatapultAPI\\Public\\Model\\CurrencyNotFoundSchema' => false, 'KatapultAPI\\Public\\Model\\CountryNotFoundSchema' => false, 'KatapultAPI\\Public\\Model\\PaginationObject' => false, 'KatapultAPI\\Public\\Model\\DataCenter' => false, 'KatapultAPI\\Public\\Model\\ResponseAPIAuthenticator403Response' => false, 'KatapultAPI\\Public\\Model\\ResponseInvalidCouponCodeResponse' => false, 'KatapultAPI\\Public\\Model\\ResponseValidationErrorResponse' => false, 'KatapultAPI\\Public\\Model\\ResponseAPIAuthenticator429Response' => false, 'KatapultAPI\\Public\\Model\\DataCentersGetResponse200' => false, 'KatapultAPI\\Public\\Model\\PricingPricesGetResponse200' => false, 'KatapultAPI\\Public\\Model\\PricingEstimatePostBody' => false, 'KatapultAPI\\Public\\Model\\PricingEstimatePostResponse200' => false, 'KatapultAPI\\Public\\Model\\PricingEstimatePostResponse200Estimate' => false, 'KatapultAPI\\Public\\Model\\SignupsPostBody' => false, 'KatapultAPI\\Public\\Model\\SignupsPostResponse200' => false, 'KatapultAPI\\Public\\Model\\StatsGetResponse200' => false, 'KatapultAPI\\Public\\Model\\VirtualMachinePackagesGetResponse200' => false, '\\Jane\\Component\\JsonSchemaRuntime\\Reference' => false]; + return [ + \KatapultAPI\Public\Model\SignupCampaignArguments::class => false, + \KatapultAPI\Public\Model\InternalAuthError::class => false, + \KatapultAPI\Public\Model\InvalidCouponCode::class => false, + \KatapultAPI\Public\Model\ValidationError::class => false, + \KatapultAPI\Public\Model\RateLimitReached::class => false, + \KatapultAPI\Public\Model\GetPricingPrices200ResponsePrices::class => false, + \KatapultAPI\Public\Model\PriceVariant::class => false, + \KatapultAPI\Public\Model\Price::class => false, + \KatapultAPI\Public\Model\Currency::class => false, + \KatapultAPI\Public\Model\PricingEstimateResourceArguments::class => false, + \KatapultAPI\Public\Model\CurrencyLookup::class => false, + \KatapultAPI\Public\Model\CountryLookup::class => false, + \KatapultAPI\Public\Model\PricingEstimate::class => false, + \KatapultAPI\Public\Model\PricingEstimateResource::class => false, + \KatapultAPI\Public\Model\PricingEstimateResourcePackage::class => false, + \KatapultAPI\Public\Model\VirtualMachinePackage::class => false, + \KatapultAPI\Public\Model\VirtualMachinePackageIcon::class => false, + \KatapultAPI\Public\Model\Attachment::class => false, + \KatapultAPI\Public\Model\VirtualMachinePackageGroup::class => false, + \KatapultAPI\Public\Model\MissingResourcesSchema::class => false, + \KatapultAPI\Public\Model\InvalidEstimateResource::class => false, + \KatapultAPI\Public\Model\InvalidEstimateResourceSchema::class => false, + \KatapultAPI\Public\Model\InvalidEstimateQuantity::class => false, + \KatapultAPI\Public\Model\InvalidEstimateQuantitySchema::class => false, + \KatapultAPI\Public\Model\CurrencyNotFoundSchema::class => false, + \KatapultAPI\Public\Model\CountryNotFoundSchema::class => false, + \KatapultAPI\Public\Model\PaginationObject::class => false, + \KatapultAPI\Public\Model\DataCenter::class => false, + \KatapultAPI\Public\Model\ResponseAPIAuthenticator403Response::class => false, + \KatapultAPI\Public\Model\ResponseInvalidCouponCodeResponse::class => false, + \KatapultAPI\Public\Model\ResponseValidationErrorResponse::class => false, + \KatapultAPI\Public\Model\ResponseAPIAuthenticator429Response::class => false, + \KatapultAPI\Public\Model\DataCentersGetResponse200::class => false, + \KatapultAPI\Public\Model\PricingPricesGetResponse200::class => false, + \KatapultAPI\Public\Model\PricingEstimatePostBody::class => false, + \KatapultAPI\Public\Model\PricingEstimatePostResponse200::class => false, + \KatapultAPI\Public\Model\PricingEstimatePostResponse200Estimate::class => false, + \KatapultAPI\Public\Model\SignupsPostBody::class => false, + \KatapultAPI\Public\Model\SignupsPostResponse200::class => false, + \KatapultAPI\Public\Model\StatsGetResponse200::class => false, + \KatapultAPI\Public\Model\VirtualMachinePackagesGetResponse200::class => false, + \Jane\Component\JsonSchemaRuntime\Reference::class => false, + ]; } } } else { @@ -127,48 +211,89 @@ class JaneObjectNormalizer implements DenormalizerInterface, NormalizerInterface use CheckArray; use ValidatorTrait; protected $normalizers = [ - 'KatapultAPI\\Public\\Model\\SignupCampaignArguments' => 'KatapultAPI\\Public\\Normalizer\\SignupCampaignArgumentsNormalizer', - 'KatapultAPI\\Public\\Model\\InternalAuthError' => 'KatapultAPI\\Public\\Normalizer\\InternalAuthErrorNormalizer', - 'KatapultAPI\\Public\\Model\\InvalidCouponCode' => 'KatapultAPI\\Public\\Normalizer\\InvalidCouponCodeNormalizer', - 'KatapultAPI\\Public\\Model\\ValidationError' => 'KatapultAPI\\Public\\Normalizer\\ValidationErrorNormalizer', - 'KatapultAPI\\Public\\Model\\RateLimitReached' => 'KatapultAPI\\Public\\Normalizer\\RateLimitReachedNormalizer', - 'KatapultAPI\\Public\\Model\\GetPricingPrices200ResponsePrices' => 'KatapultAPI\\Public\\Normalizer\\GetPricingPrices200ResponsePricesNormalizer', - 'KatapultAPI\\Public\\Model\\PriceVariant' => 'KatapultAPI\\Public\\Normalizer\\PriceVariantNormalizer', - 'KatapultAPI\\Public\\Model\\Price' => 'KatapultAPI\\Public\\Normalizer\\PriceNormalizer', - 'KatapultAPI\\Public\\Model\\Currency' => 'KatapultAPI\\Public\\Normalizer\\CurrencyNormalizer', - 'KatapultAPI\\Public\\Model\\PricingEstimateResourceArguments' => 'KatapultAPI\\Public\\Normalizer\\PricingEstimateResourceArgumentsNormalizer', - 'KatapultAPI\\Public\\Model\\CurrencyLookup' => 'KatapultAPI\\Public\\Normalizer\\CurrencyLookupNormalizer', - 'KatapultAPI\\Public\\Model\\CountryLookup' => 'KatapultAPI\\Public\\Normalizer\\CountryLookupNormalizer', - 'KatapultAPI\\Public\\Model\\PricingEstimate' => 'KatapultAPI\\Public\\Normalizer\\PricingEstimateNormalizer', - 'KatapultAPI\\Public\\Model\\PricingEstimateResource' => 'KatapultAPI\\Public\\Normalizer\\PricingEstimateResourceNormalizer', - 'KatapultAPI\\Public\\Model\\PricingEstimateResourcePackage' => 'KatapultAPI\\Public\\Normalizer\\PricingEstimateResourcePackageNormalizer', - 'KatapultAPI\\Public\\Model\\VirtualMachinePackage' => 'KatapultAPI\\Public\\Normalizer\\VirtualMachinePackageNormalizer', - 'KatapultAPI\\Public\\Model\\VirtualMachinePackageIcon' => 'KatapultAPI\\Public\\Normalizer\\VirtualMachinePackageIconNormalizer', - 'KatapultAPI\\Public\\Model\\Attachment' => 'KatapultAPI\\Public\\Normalizer\\AttachmentNormalizer', - 'KatapultAPI\\Public\\Model\\VirtualMachinePackageGroup' => 'KatapultAPI\\Public\\Normalizer\\VirtualMachinePackageGroupNormalizer', - 'KatapultAPI\\Public\\Model\\MissingResourcesSchema' => 'KatapultAPI\\Public\\Normalizer\\MissingResourcesSchemaNormalizer', - 'KatapultAPI\\Public\\Model\\InvalidEstimateResource' => 'KatapultAPI\\Public\\Normalizer\\InvalidEstimateResourceNormalizer', - 'KatapultAPI\\Public\\Model\\InvalidEstimateResourceSchema' => 'KatapultAPI\\Public\\Normalizer\\InvalidEstimateResourceSchemaNormalizer', - 'KatapultAPI\\Public\\Model\\InvalidEstimateQuantity' => 'KatapultAPI\\Public\\Normalizer\\InvalidEstimateQuantityNormalizer', - 'KatapultAPI\\Public\\Model\\InvalidEstimateQuantitySchema' => 'KatapultAPI\\Public\\Normalizer\\InvalidEstimateQuantitySchemaNormalizer', - 'KatapultAPI\\Public\\Model\\CurrencyNotFoundSchema' => 'KatapultAPI\\Public\\Normalizer\\CurrencyNotFoundSchemaNormalizer', - 'KatapultAPI\\Public\\Model\\CountryNotFoundSchema' => 'KatapultAPI\\Public\\Normalizer\\CountryNotFoundSchemaNormalizer', - 'KatapultAPI\\Public\\Model\\PaginationObject' => 'KatapultAPI\\Public\\Normalizer\\PaginationObjectNormalizer', - 'KatapultAPI\\Public\\Model\\DataCenter' => 'KatapultAPI\\Public\\Normalizer\\DataCenterNormalizer', - 'KatapultAPI\\Public\\Model\\ResponseAPIAuthenticator403Response' => 'KatapultAPI\\Public\\Normalizer\\ResponseAPIAuthenticator403ResponseNormalizer', - 'KatapultAPI\\Public\\Model\\ResponseInvalidCouponCodeResponse' => 'KatapultAPI\\Public\\Normalizer\\ResponseInvalidCouponCodeResponseNormalizer', - 'KatapultAPI\\Public\\Model\\ResponseValidationErrorResponse' => 'KatapultAPI\\Public\\Normalizer\\ResponseValidationErrorResponseNormalizer', - 'KatapultAPI\\Public\\Model\\ResponseAPIAuthenticator429Response' => 'KatapultAPI\\Public\\Normalizer\\ResponseAPIAuthenticator429ResponseNormalizer', - 'KatapultAPI\\Public\\Model\\DataCentersGetResponse200' => 'KatapultAPI\\Public\\Normalizer\\DataCentersGetResponse200Normalizer', - 'KatapultAPI\\Public\\Model\\PricingPricesGetResponse200' => 'KatapultAPI\\Public\\Normalizer\\PricingPricesGetResponse200Normalizer', - 'KatapultAPI\\Public\\Model\\PricingEstimatePostBody' => 'KatapultAPI\\Public\\Normalizer\\PricingEstimatePostBodyNormalizer', - 'KatapultAPI\\Public\\Model\\PricingEstimatePostResponse200' => 'KatapultAPI\\Public\\Normalizer\\PricingEstimatePostResponse200Normalizer', - 'KatapultAPI\\Public\\Model\\PricingEstimatePostResponse200Estimate' => 'KatapultAPI\\Public\\Normalizer\\PricingEstimatePostResponse200EstimateNormalizer', - 'KatapultAPI\\Public\\Model\\SignupsPostBody' => 'KatapultAPI\\Public\\Normalizer\\SignupsPostBodyNormalizer', - 'KatapultAPI\\Public\\Model\\SignupsPostResponse200' => 'KatapultAPI\\Public\\Normalizer\\SignupsPostResponse200Normalizer', - 'KatapultAPI\\Public\\Model\\StatsGetResponse200' => 'KatapultAPI\\Public\\Normalizer\\StatsGetResponse200Normalizer', - 'KatapultAPI\\Public\\Model\\VirtualMachinePackagesGetResponse200' => 'KatapultAPI\\Public\\Normalizer\\VirtualMachinePackagesGetResponse200Normalizer', - '\\Jane\\Component\\JsonSchemaRuntime\\Reference' => '\\KatapultAPI\\Public\\Runtime\\Normalizer\\ReferenceNormalizer', + \KatapultAPI\Public\Model\SignupCampaignArguments::class => SignupCampaignArgumentsNormalizer::class, + + \KatapultAPI\Public\Model\InternalAuthError::class => InternalAuthErrorNormalizer::class, + + \KatapultAPI\Public\Model\InvalidCouponCode::class => InvalidCouponCodeNormalizer::class, + + \KatapultAPI\Public\Model\ValidationError::class => ValidationErrorNormalizer::class, + + \KatapultAPI\Public\Model\RateLimitReached::class => RateLimitReachedNormalizer::class, + + \KatapultAPI\Public\Model\GetPricingPrices200ResponsePrices::class => GetPricingPrices200ResponsePricesNormalizer::class, + + \KatapultAPI\Public\Model\PriceVariant::class => PriceVariantNormalizer::class, + + \KatapultAPI\Public\Model\Price::class => PriceNormalizer::class, + + \KatapultAPI\Public\Model\Currency::class => CurrencyNormalizer::class, + + \KatapultAPI\Public\Model\PricingEstimateResourceArguments::class => PricingEstimateResourceArgumentsNormalizer::class, + + \KatapultAPI\Public\Model\CurrencyLookup::class => CurrencyLookupNormalizer::class, + + \KatapultAPI\Public\Model\CountryLookup::class => CountryLookupNormalizer::class, + + \KatapultAPI\Public\Model\PricingEstimate::class => PricingEstimateNormalizer::class, + + \KatapultAPI\Public\Model\PricingEstimateResource::class => PricingEstimateResourceNormalizer::class, + + \KatapultAPI\Public\Model\PricingEstimateResourcePackage::class => PricingEstimateResourcePackageNormalizer::class, + + \KatapultAPI\Public\Model\VirtualMachinePackage::class => VirtualMachinePackageNormalizer::class, + + \KatapultAPI\Public\Model\VirtualMachinePackageIcon::class => VirtualMachinePackageIconNormalizer::class, + + \KatapultAPI\Public\Model\Attachment::class => AttachmentNormalizer::class, + + \KatapultAPI\Public\Model\VirtualMachinePackageGroup::class => VirtualMachinePackageGroupNormalizer::class, + + \KatapultAPI\Public\Model\MissingResourcesSchema::class => MissingResourcesSchemaNormalizer::class, + + \KatapultAPI\Public\Model\InvalidEstimateResource::class => InvalidEstimateResourceNormalizer::class, + + \KatapultAPI\Public\Model\InvalidEstimateResourceSchema::class => InvalidEstimateResourceSchemaNormalizer::class, + + \KatapultAPI\Public\Model\InvalidEstimateQuantity::class => InvalidEstimateQuantityNormalizer::class, + + \KatapultAPI\Public\Model\InvalidEstimateQuantitySchema::class => InvalidEstimateQuantitySchemaNormalizer::class, + + \KatapultAPI\Public\Model\CurrencyNotFoundSchema::class => CurrencyNotFoundSchemaNormalizer::class, + + \KatapultAPI\Public\Model\CountryNotFoundSchema::class => CountryNotFoundSchemaNormalizer::class, + + \KatapultAPI\Public\Model\PaginationObject::class => PaginationObjectNormalizer::class, + + \KatapultAPI\Public\Model\DataCenter::class => DataCenterNormalizer::class, + + \KatapultAPI\Public\Model\ResponseAPIAuthenticator403Response::class => ResponseAPIAuthenticator403ResponseNormalizer::class, + + \KatapultAPI\Public\Model\ResponseInvalidCouponCodeResponse::class => ResponseInvalidCouponCodeResponseNormalizer::class, + + \KatapultAPI\Public\Model\ResponseValidationErrorResponse::class => ResponseValidationErrorResponseNormalizer::class, + + \KatapultAPI\Public\Model\ResponseAPIAuthenticator429Response::class => ResponseAPIAuthenticator429ResponseNormalizer::class, + + \KatapultAPI\Public\Model\DataCentersGetResponse200::class => DataCentersGetResponse200Normalizer::class, + + \KatapultAPI\Public\Model\PricingPricesGetResponse200::class => PricingPricesGetResponse200Normalizer::class, + + \KatapultAPI\Public\Model\PricingEstimatePostBody::class => PricingEstimatePostBodyNormalizer::class, + + \KatapultAPI\Public\Model\PricingEstimatePostResponse200::class => PricingEstimatePostResponse200Normalizer::class, + + \KatapultAPI\Public\Model\PricingEstimatePostResponse200Estimate::class => PricingEstimatePostResponse200EstimateNormalizer::class, + + \KatapultAPI\Public\Model\SignupsPostBody::class => SignupsPostBodyNormalizer::class, + + \KatapultAPI\Public\Model\SignupsPostResponse200::class => SignupsPostResponse200Normalizer::class, + + \KatapultAPI\Public\Model\StatsGetResponse200::class => StatsGetResponse200Normalizer::class, + + \KatapultAPI\Public\Model\VirtualMachinePackagesGetResponse200::class => VirtualMachinePackagesGetResponse200Normalizer::class, + + \Jane\Component\JsonSchemaRuntime\Reference::class => \KatapultAPI\Public\Runtime\Normalizer\ReferenceNormalizer::class, ]; protected $normalizersCache = []; @@ -218,7 +343,50 @@ private function initNormalizer(string $normalizerClass) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\SignupCampaignArguments' => false, 'KatapultAPI\\Public\\Model\\InternalAuthError' => false, 'KatapultAPI\\Public\\Model\\InvalidCouponCode' => false, 'KatapultAPI\\Public\\Model\\ValidationError' => false, 'KatapultAPI\\Public\\Model\\RateLimitReached' => false, 'KatapultAPI\\Public\\Model\\GetPricingPrices200ResponsePrices' => false, 'KatapultAPI\\Public\\Model\\PriceVariant' => false, 'KatapultAPI\\Public\\Model\\Price' => false, 'KatapultAPI\\Public\\Model\\Currency' => false, 'KatapultAPI\\Public\\Model\\PricingEstimateResourceArguments' => false, 'KatapultAPI\\Public\\Model\\CurrencyLookup' => false, 'KatapultAPI\\Public\\Model\\CountryLookup' => false, 'KatapultAPI\\Public\\Model\\PricingEstimate' => false, 'KatapultAPI\\Public\\Model\\PricingEstimateResource' => false, 'KatapultAPI\\Public\\Model\\PricingEstimateResourcePackage' => false, 'KatapultAPI\\Public\\Model\\VirtualMachinePackage' => false, 'KatapultAPI\\Public\\Model\\VirtualMachinePackageIcon' => false, 'KatapultAPI\\Public\\Model\\Attachment' => false, 'KatapultAPI\\Public\\Model\\VirtualMachinePackageGroup' => false, 'KatapultAPI\\Public\\Model\\MissingResourcesSchema' => false, 'KatapultAPI\\Public\\Model\\InvalidEstimateResource' => false, 'KatapultAPI\\Public\\Model\\InvalidEstimateResourceSchema' => false, 'KatapultAPI\\Public\\Model\\InvalidEstimateQuantity' => false, 'KatapultAPI\\Public\\Model\\InvalidEstimateQuantitySchema' => false, 'KatapultAPI\\Public\\Model\\CurrencyNotFoundSchema' => false, 'KatapultAPI\\Public\\Model\\CountryNotFoundSchema' => false, 'KatapultAPI\\Public\\Model\\PaginationObject' => false, 'KatapultAPI\\Public\\Model\\DataCenter' => false, 'KatapultAPI\\Public\\Model\\ResponseAPIAuthenticator403Response' => false, 'KatapultAPI\\Public\\Model\\ResponseInvalidCouponCodeResponse' => false, 'KatapultAPI\\Public\\Model\\ResponseValidationErrorResponse' => false, 'KatapultAPI\\Public\\Model\\ResponseAPIAuthenticator429Response' => false, 'KatapultAPI\\Public\\Model\\DataCentersGetResponse200' => false, 'KatapultAPI\\Public\\Model\\PricingPricesGetResponse200' => false, 'KatapultAPI\\Public\\Model\\PricingEstimatePostBody' => false, 'KatapultAPI\\Public\\Model\\PricingEstimatePostResponse200' => false, 'KatapultAPI\\Public\\Model\\PricingEstimatePostResponse200Estimate' => false, 'KatapultAPI\\Public\\Model\\SignupsPostBody' => false, 'KatapultAPI\\Public\\Model\\SignupsPostResponse200' => false, 'KatapultAPI\\Public\\Model\\StatsGetResponse200' => false, 'KatapultAPI\\Public\\Model\\VirtualMachinePackagesGetResponse200' => false, '\\Jane\\Component\\JsonSchemaRuntime\\Reference' => false]; + return [ + \KatapultAPI\Public\Model\SignupCampaignArguments::class => false, + \KatapultAPI\Public\Model\InternalAuthError::class => false, + \KatapultAPI\Public\Model\InvalidCouponCode::class => false, + \KatapultAPI\Public\Model\ValidationError::class => false, + \KatapultAPI\Public\Model\RateLimitReached::class => false, + \KatapultAPI\Public\Model\GetPricingPrices200ResponsePrices::class => false, + \KatapultAPI\Public\Model\PriceVariant::class => false, + \KatapultAPI\Public\Model\Price::class => false, + \KatapultAPI\Public\Model\Currency::class => false, + \KatapultAPI\Public\Model\PricingEstimateResourceArguments::class => false, + \KatapultAPI\Public\Model\CurrencyLookup::class => false, + \KatapultAPI\Public\Model\CountryLookup::class => false, + \KatapultAPI\Public\Model\PricingEstimate::class => false, + \KatapultAPI\Public\Model\PricingEstimateResource::class => false, + \KatapultAPI\Public\Model\PricingEstimateResourcePackage::class => false, + \KatapultAPI\Public\Model\VirtualMachinePackage::class => false, + \KatapultAPI\Public\Model\VirtualMachinePackageIcon::class => false, + \KatapultAPI\Public\Model\Attachment::class => false, + \KatapultAPI\Public\Model\VirtualMachinePackageGroup::class => false, + \KatapultAPI\Public\Model\MissingResourcesSchema::class => false, + \KatapultAPI\Public\Model\InvalidEstimateResource::class => false, + \KatapultAPI\Public\Model\InvalidEstimateResourceSchema::class => false, + \KatapultAPI\Public\Model\InvalidEstimateQuantity::class => false, + \KatapultAPI\Public\Model\InvalidEstimateQuantitySchema::class => false, + \KatapultAPI\Public\Model\CurrencyNotFoundSchema::class => false, + \KatapultAPI\Public\Model\CountryNotFoundSchema::class => false, + \KatapultAPI\Public\Model\PaginationObject::class => false, + \KatapultAPI\Public\Model\DataCenter::class => false, + \KatapultAPI\Public\Model\ResponseAPIAuthenticator403Response::class => false, + \KatapultAPI\Public\Model\ResponseInvalidCouponCodeResponse::class => false, + \KatapultAPI\Public\Model\ResponseValidationErrorResponse::class => false, + \KatapultAPI\Public\Model\ResponseAPIAuthenticator429Response::class => false, + \KatapultAPI\Public\Model\DataCentersGetResponse200::class => false, + \KatapultAPI\Public\Model\PricingPricesGetResponse200::class => false, + \KatapultAPI\Public\Model\PricingEstimatePostBody::class => false, + \KatapultAPI\Public\Model\PricingEstimatePostResponse200::class => false, + \KatapultAPI\Public\Model\PricingEstimatePostResponse200Estimate::class => false, + \KatapultAPI\Public\Model\SignupsPostBody::class => false, + \KatapultAPI\Public\Model\SignupsPostResponse200::class => false, + \KatapultAPI\Public\Model\StatsGetResponse200::class => false, + \KatapultAPI\Public\Model\VirtualMachinePackagesGetResponse200::class => false, + \Jane\Component\JsonSchemaRuntime\Reference::class => false, + ]; } } } diff --git a/src/Public/Normalizer/MissingResourcesSchemaNormalizer.php b/src/Public/Normalizer/MissingResourcesSchemaNormalizer.php index 834d7cfb..bdb51642 100644 --- a/src/Public/Normalizer/MissingResourcesSchemaNormalizer.php +++ b/src/Public/Normalizer/MissingResourcesSchemaNormalizer.php @@ -31,12 +31,12 @@ class MissingResourcesSchemaNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\MissingResourcesSchema'; + return $type === \KatapultAPI\Public\Model\MissingResourcesSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\MissingResourcesSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\MissingResourcesSchema::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -103,7 +103,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\MissingResourcesSchema' => false]; + return [\KatapultAPI\Public\Model\MissingResourcesSchema::class => false]; } } } else { @@ -116,12 +116,12 @@ class MissingResourcesSchemaNormalizer implements DenormalizerInterface, Normali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\MissingResourcesSchema'; + return $type === \KatapultAPI\Public\Model\MissingResourcesSchema::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\MissingResourcesSchema'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\MissingResourcesSchema::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -191,7 +191,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\MissingResourcesSchema' => false]; + return [\KatapultAPI\Public\Model\MissingResourcesSchema::class => false]; } } } diff --git a/src/Public/Normalizer/PaginationObjectNormalizer.php b/src/Public/Normalizer/PaginationObjectNormalizer.php index ab25bbc8..bce9f071 100644 --- a/src/Public/Normalizer/PaginationObjectNormalizer.php +++ b/src/Public/Normalizer/PaginationObjectNormalizer.php @@ -31,12 +31,12 @@ class PaginationObjectNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\PaginationObject'; + return $type === \KatapultAPI\Public\Model\PaginationObject::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\PaginationObject'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\PaginationObject::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -113,7 +113,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\PaginationObject' => false]; + return [\KatapultAPI\Public\Model\PaginationObject::class => false]; } } } else { @@ -126,12 +126,12 @@ class PaginationObjectNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\PaginationObject'; + return $type === \KatapultAPI\Public\Model\PaginationObject::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\PaginationObject'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\PaginationObject::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -211,7 +211,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\PaginationObject' => false]; + return [\KatapultAPI\Public\Model\PaginationObject::class => false]; } } } diff --git a/src/Public/Normalizer/PriceNormalizer.php b/src/Public/Normalizer/PriceNormalizer.php index f3916c28..30e0d86b 100644 --- a/src/Public/Normalizer/PriceNormalizer.php +++ b/src/Public/Normalizer/PriceNormalizer.php @@ -31,12 +31,12 @@ class PriceNormalizer implements DenormalizerInterface, NormalizerInterface, Den public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\Price'; + return $type === \KatapultAPI\Public\Model\Price::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\Price'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\Price::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -65,7 +65,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('currency', $data)) { $values = []; foreach ($data['currency'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Public\\Model\\Currency', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Public\Model\Currency::class, 'json', $context); } $object->setCurrency($values); unset($data['currency']); @@ -106,7 +106,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\Price' => false]; + return [\KatapultAPI\Public\Model\Price::class => false]; } } } else { @@ -119,12 +119,12 @@ class PriceNormalizer implements DenormalizerInterface, NormalizerInterface, Den public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\Price'; + return $type === \KatapultAPI\Public\Model\Price::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\Price'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\Price::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -153,7 +153,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('currency', $data)) { $values = []; foreach ($data['currency'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Public\\Model\\Currency', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Public\Model\Currency::class, 'json', $context); } $object->setCurrency($values); unset($data['currency']); @@ -197,7 +197,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\Price' => false]; + return [\KatapultAPI\Public\Model\Price::class => false]; } } } diff --git a/src/Public/Normalizer/PriceVariantNormalizer.php b/src/Public/Normalizer/PriceVariantNormalizer.php index 039fecee..e6e4db3c 100644 --- a/src/Public/Normalizer/PriceVariantNormalizer.php +++ b/src/Public/Normalizer/PriceVariantNormalizer.php @@ -31,12 +31,12 @@ class PriceVariantNormalizer implements DenormalizerInterface, NormalizerInterfa public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\PriceVariant'; + return $type === \KatapultAPI\Public\Model\PriceVariant::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\PriceVariant'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\PriceVariant::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -70,7 +70,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('prices', $data)) { $values = []; foreach ($data['prices'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Public\\Model\\Price', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Public\Model\Price::class, 'json', $context); } $object->setPrices($values); unset($data['prices']); @@ -114,7 +114,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\PriceVariant' => false]; + return [\KatapultAPI\Public\Model\PriceVariant::class => false]; } } } else { @@ -127,12 +127,12 @@ class PriceVariantNormalizer implements DenormalizerInterface, NormalizerInterfa public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\PriceVariant'; + return $type === \KatapultAPI\Public\Model\PriceVariant::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\PriceVariant'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\PriceVariant::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -166,7 +166,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('prices', $data)) { $values = []; foreach ($data['prices'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Public\\Model\\Price', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Public\Model\Price::class, 'json', $context); } $object->setPrices($values); unset($data['prices']); @@ -213,7 +213,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\PriceVariant' => false]; + return [\KatapultAPI\Public\Model\PriceVariant::class => false]; } } } diff --git a/src/Public/Normalizer/PricingEstimateNormalizer.php b/src/Public/Normalizer/PricingEstimateNormalizer.php index b236b9c8..bbe5dd9a 100644 --- a/src/Public/Normalizer/PricingEstimateNormalizer.php +++ b/src/Public/Normalizer/PricingEstimateNormalizer.php @@ -31,12 +31,12 @@ class PricingEstimateNormalizer implements DenormalizerInterface, NormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\PricingEstimate'; + return $type === \KatapultAPI\Public\Model\PricingEstimate::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\PricingEstimate'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\PricingEstimate::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -69,7 +69,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('resources', $data)) { $values = []; foreach ($data['resources'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Public\\Model\\PricingEstimateResource', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Public\Model\PricingEstimateResource::class, 'json', $context); } $object->setResources($values); unset($data['resources']); @@ -91,7 +91,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['per_hour_inc_tax']); } if (\array_key_exists('currency', $data)) { - $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'KatapultAPI\\Public\\Model\\Currency', 'json', $context)); + $object->setCurrency($this->denormalizer->denormalize($data['currency'], \KatapultAPI\Public\Model\Currency::class, 'json', $context)); unset($data['currency']); } if (\array_key_exists('tax_rate', $data)) { @@ -153,7 +153,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\PricingEstimate' => false]; + return [\KatapultAPI\Public\Model\PricingEstimate::class => false]; } } } else { @@ -166,12 +166,12 @@ class PricingEstimateNormalizer implements DenormalizerInterface, NormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\PricingEstimate'; + return $type === \KatapultAPI\Public\Model\PricingEstimate::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\PricingEstimate'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\PricingEstimate::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -204,7 +204,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('resources', $data)) { $values = []; foreach ($data['resources'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Public\\Model\\PricingEstimateResource', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Public\Model\PricingEstimateResource::class, 'json', $context); } $object->setResources($values); unset($data['resources']); @@ -226,7 +226,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['per_hour_inc_tax']); } if (\array_key_exists('currency', $data)) { - $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'KatapultAPI\\Public\\Model\\Currency', 'json', $context)); + $object->setCurrency($this->denormalizer->denormalize($data['currency'], \KatapultAPI\Public\Model\Currency::class, 'json', $context)); unset($data['currency']); } if (\array_key_exists('tax_rate', $data)) { @@ -291,7 +291,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\PricingEstimate' => false]; + return [\KatapultAPI\Public\Model\PricingEstimate::class => false]; } } } diff --git a/src/Public/Normalizer/PricingEstimatePostBodyNormalizer.php b/src/Public/Normalizer/PricingEstimatePostBodyNormalizer.php index dd3c655b..6f52c0fa 100644 --- a/src/Public/Normalizer/PricingEstimatePostBodyNormalizer.php +++ b/src/Public/Normalizer/PricingEstimatePostBodyNormalizer.php @@ -31,12 +31,12 @@ class PricingEstimatePostBodyNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\PricingEstimatePostBody'; + return $type === \KatapultAPI\Public\Model\PricingEstimatePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\PricingEstimatePostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\PricingEstimatePostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -58,7 +58,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('resources', $data)) { $values = []; foreach ($data['resources'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Public\\Model\\PricingEstimateResourceArguments', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Public\Model\PricingEstimateResourceArguments::class, 'json', $context); } $object->setResources($values); unset($data['resources']); @@ -68,11 +68,11 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['customer_type']); } if (\array_key_exists('currency', $data)) { - $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'KatapultAPI\\Public\\Model\\CurrencyLookup', 'json', $context)); + $object->setCurrency($this->denormalizer->denormalize($data['currency'], \KatapultAPI\Public\Model\CurrencyLookup::class, 'json', $context)); unset($data['currency']); } if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'KatapultAPI\\Public\\Model\\CountryLookup', 'json', $context)); + $object->setCountry($this->denormalizer->denormalize($data['country'], \KatapultAPI\Public\Model\CountryLookup::class, 'json', $context)); unset($data['country']); } foreach ($data as $key => $value_1) { @@ -107,7 +107,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\PricingEstimatePostBody' => false]; + return [\KatapultAPI\Public\Model\PricingEstimatePostBody::class => false]; } } } else { @@ -120,12 +120,12 @@ class PricingEstimatePostBodyNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\PricingEstimatePostBody'; + return $type === \KatapultAPI\Public\Model\PricingEstimatePostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\PricingEstimatePostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\PricingEstimatePostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('resources', $data)) { $values = []; foreach ($data['resources'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Public\\Model\\PricingEstimateResourceArguments', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Public\Model\PricingEstimateResourceArguments::class, 'json', $context); } $object->setResources($values); unset($data['resources']); @@ -157,11 +157,11 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['customer_type']); } if (\array_key_exists('currency', $data)) { - $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'KatapultAPI\\Public\\Model\\CurrencyLookup', 'json', $context)); + $object->setCurrency($this->denormalizer->denormalize($data['currency'], \KatapultAPI\Public\Model\CurrencyLookup::class, 'json', $context)); unset($data['currency']); } if (\array_key_exists('country', $data)) { - $object->setCountry($this->denormalizer->denormalize($data['country'], 'KatapultAPI\\Public\\Model\\CountryLookup', 'json', $context)); + $object->setCountry($this->denormalizer->denormalize($data['country'], \KatapultAPI\Public\Model\CountryLookup::class, 'json', $context)); unset($data['country']); } foreach ($data as $key => $value_1) { @@ -199,7 +199,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\PricingEstimatePostBody' => false]; + return [\KatapultAPI\Public\Model\PricingEstimatePostBody::class => false]; } } } diff --git a/src/Public/Normalizer/PricingEstimatePostResponse200EstimateNormalizer.php b/src/Public/Normalizer/PricingEstimatePostResponse200EstimateNormalizer.php index a22a541b..5d5a55a6 100644 --- a/src/Public/Normalizer/PricingEstimatePostResponse200EstimateNormalizer.php +++ b/src/Public/Normalizer/PricingEstimatePostResponse200EstimateNormalizer.php @@ -31,12 +31,12 @@ class PricingEstimatePostResponse200EstimateNormalizer implements DenormalizerIn public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\PricingEstimatePostResponse200Estimate'; + return $type === \KatapultAPI\Public\Model\PricingEstimatePostResponse200Estimate::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\PricingEstimatePostResponse200Estimate'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\PricingEstimatePostResponse200Estimate::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -69,7 +69,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('resources', $data)) { $values = []; foreach ($data['resources'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Public\\Model\\PricingEstimateResource', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Public\Model\PricingEstimateResource::class, 'json', $context); } $object->setResources($values); unset($data['resources']); @@ -91,7 +91,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['per_hour_inc_tax']); } if (\array_key_exists('currency', $data)) { - $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'KatapultAPI\\Public\\Model\\Currency', 'json', $context)); + $object->setCurrency($this->denormalizer->denormalize($data['currency'], \KatapultAPI\Public\Model\Currency::class, 'json', $context)); unset($data['currency']); } if (\array_key_exists('tax_rate', $data)) { @@ -153,7 +153,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\PricingEstimatePostResponse200Estimate' => false]; + return [\KatapultAPI\Public\Model\PricingEstimatePostResponse200Estimate::class => false]; } } } else { @@ -166,12 +166,12 @@ class PricingEstimatePostResponse200EstimateNormalizer implements DenormalizerIn public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\PricingEstimatePostResponse200Estimate'; + return $type === \KatapultAPI\Public\Model\PricingEstimatePostResponse200Estimate::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\PricingEstimatePostResponse200Estimate'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\PricingEstimatePostResponse200Estimate::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -204,7 +204,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('resources', $data)) { $values = []; foreach ($data['resources'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Public\\Model\\PricingEstimateResource', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Public\Model\PricingEstimateResource::class, 'json', $context); } $object->setResources($values); unset($data['resources']); @@ -226,7 +226,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['per_hour_inc_tax']); } if (\array_key_exists('currency', $data)) { - $object->setCurrency($this->denormalizer->denormalize($data['currency'], 'KatapultAPI\\Public\\Model\\Currency', 'json', $context)); + $object->setCurrency($this->denormalizer->denormalize($data['currency'], \KatapultAPI\Public\Model\Currency::class, 'json', $context)); unset($data['currency']); } if (\array_key_exists('tax_rate', $data)) { @@ -291,7 +291,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\PricingEstimatePostResponse200Estimate' => false]; + return [\KatapultAPI\Public\Model\PricingEstimatePostResponse200Estimate::class => false]; } } } diff --git a/src/Public/Normalizer/PricingEstimatePostResponse200Normalizer.php b/src/Public/Normalizer/PricingEstimatePostResponse200Normalizer.php index 7df777d8..c65715f5 100644 --- a/src/Public/Normalizer/PricingEstimatePostResponse200Normalizer.php +++ b/src/Public/Normalizer/PricingEstimatePostResponse200Normalizer.php @@ -31,12 +31,12 @@ class PricingEstimatePostResponse200Normalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\PricingEstimatePostResponse200'; + return $type === \KatapultAPI\Public\Model\PricingEstimatePostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\PricingEstimatePostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\PricingEstimatePostResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,7 +52,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('estimate', $data)) { - $object->setEstimate($this->denormalizer->denormalize($data['estimate'], 'KatapultAPI\\Public\\Model\\PricingEstimatePostResponse200Estimate', 'json', $context)); + $object->setEstimate($this->denormalizer->denormalize($data['estimate'], \KatapultAPI\Public\Model\PricingEstimatePostResponse200Estimate::class, 'json', $context)); unset($data['estimate']); } foreach ($data as $key => $value) { @@ -79,7 +79,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\PricingEstimatePostResponse200' => false]; + return [\KatapultAPI\Public\Model\PricingEstimatePostResponse200::class => false]; } } } else { @@ -92,12 +92,12 @@ class PricingEstimatePostResponse200Normalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\PricingEstimatePostResponse200'; + return $type === \KatapultAPI\Public\Model\PricingEstimatePostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\PricingEstimatePostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\PricingEstimatePostResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -113,7 +113,7 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('estimate', $data)) { - $object->setEstimate($this->denormalizer->denormalize($data['estimate'], 'KatapultAPI\\Public\\Model\\PricingEstimatePostResponse200Estimate', 'json', $context)); + $object->setEstimate($this->denormalizer->denormalize($data['estimate'], \KatapultAPI\Public\Model\PricingEstimatePostResponse200Estimate::class, 'json', $context)); unset($data['estimate']); } foreach ($data as $key => $value) { @@ -143,7 +143,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\PricingEstimatePostResponse200' => false]; + return [\KatapultAPI\Public\Model\PricingEstimatePostResponse200::class => false]; } } } diff --git a/src/Public/Normalizer/PricingEstimateResourceArgumentsNormalizer.php b/src/Public/Normalizer/PricingEstimateResourceArgumentsNormalizer.php index cac1dc9e..e3e91482 100644 --- a/src/Public/Normalizer/PricingEstimateResourceArgumentsNormalizer.php +++ b/src/Public/Normalizer/PricingEstimateResourceArgumentsNormalizer.php @@ -31,12 +31,12 @@ class PricingEstimateResourceArgumentsNormalizer implements DenormalizerInterfac public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\PricingEstimateResourceArguments'; + return $type === \KatapultAPI\Public\Model\PricingEstimateResourceArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\PricingEstimateResourceArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\PricingEstimateResourceArguments::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\PricingEstimateResourceArguments' => false]; + return [\KatapultAPI\Public\Model\PricingEstimateResourceArguments::class => false]; } } } else { @@ -101,12 +101,12 @@ class PricingEstimateResourceArgumentsNormalizer implements DenormalizerInterfac public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\PricingEstimateResourceArguments'; + return $type === \KatapultAPI\Public\Model\PricingEstimateResourceArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\PricingEstimateResourceArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\PricingEstimateResourceArguments::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\PricingEstimateResourceArguments' => false]; + return [\KatapultAPI\Public\Model\PricingEstimateResourceArguments::class => false]; } } } diff --git a/src/Public/Normalizer/PricingEstimateResourceNormalizer.php b/src/Public/Normalizer/PricingEstimateResourceNormalizer.php index d4e71fc9..1da44e8f 100644 --- a/src/Public/Normalizer/PricingEstimateResourceNormalizer.php +++ b/src/Public/Normalizer/PricingEstimateResourceNormalizer.php @@ -31,12 +31,12 @@ class PricingEstimateResourceNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\PricingEstimateResource'; + return $type === \KatapultAPI\Public\Model\PricingEstimateResource::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\PricingEstimateResource'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\PricingEstimateResource::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -106,7 +106,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['per_hour_each']); } if (\array_key_exists('package', $data) && $data['package'] !== null) { - $object->setPackage($this->denormalizer->denormalize($data['package'], 'KatapultAPI\\Public\\Model\\PricingEstimateResourcePackage', 'json', $context)); + $object->setPackage($this->denormalizer->denormalize($data['package'], \KatapultAPI\Public\Model\PricingEstimateResourcePackage::class, 'json', $context)); unset($data['package']); } elseif (\array_key_exists('package', $data) && $data['package'] === null) { $object->setPackage(null); @@ -164,7 +164,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\PricingEstimateResource' => false]; + return [\KatapultAPI\Public\Model\PricingEstimateResource::class => false]; } } } else { @@ -177,12 +177,12 @@ class PricingEstimateResourceNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\PricingEstimateResource'; + return $type === \KatapultAPI\Public\Model\PricingEstimateResource::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\PricingEstimateResource'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\PricingEstimateResource::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -252,7 +252,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['per_hour_each']); } if (\array_key_exists('package', $data) && $data['package'] !== null) { - $object->setPackage($this->denormalizer->denormalize($data['package'], 'KatapultAPI\\Public\\Model\\PricingEstimateResourcePackage', 'json', $context)); + $object->setPackage($this->denormalizer->denormalize($data['package'], \KatapultAPI\Public\Model\PricingEstimateResourcePackage::class, 'json', $context)); unset($data['package']); } elseif (\array_key_exists('package', $data) && $data['package'] === null) { $object->setPackage(null); @@ -313,7 +313,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\PricingEstimateResource' => false]; + return [\KatapultAPI\Public\Model\PricingEstimateResource::class => false]; } } } diff --git a/src/Public/Normalizer/PricingEstimateResourcePackageNormalizer.php b/src/Public/Normalizer/PricingEstimateResourcePackageNormalizer.php index 561251f1..eddaed61 100644 --- a/src/Public/Normalizer/PricingEstimateResourcePackageNormalizer.php +++ b/src/Public/Normalizer/PricingEstimateResourcePackageNormalizer.php @@ -31,12 +31,12 @@ class PricingEstimateResourcePackageNormalizer implements DenormalizerInterface, public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\PricingEstimateResourcePackage'; + return $type === \KatapultAPI\Public\Model\PricingEstimateResourcePackage::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\PricingEstimateResourcePackage'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\PricingEstimateResourcePackage::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -90,7 +90,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['privacy']); } if (\array_key_exists('icon', $data) && $data['icon'] !== null) { - $object->setIcon($this->denormalizer->denormalize($data['icon'], 'KatapultAPI\\Public\\Model\\VirtualMachinePackageIcon', 'json', $context)); + $object->setIcon($this->denormalizer->denormalize($data['icon'], \KatapultAPI\Public\Model\VirtualMachinePackageIcon::class, 'json', $context)); unset($data['icon']); } elseif (\array_key_exists('icon', $data) && $data['icon'] === null) { $object->setIcon(null); @@ -100,7 +100,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['use_dedicated_cpus']); } if (\array_key_exists('group', $data)) { - $object->setGroup($this->denormalizer->denormalize($data['group'], 'KatapultAPI\\Public\\Model\\VirtualMachinePackageGroup', 'json', $context)); + $object->setGroup($this->denormalizer->denormalize($data['group'], \KatapultAPI\Public\Model\VirtualMachinePackageGroup::class, 'json', $context)); unset($data['group']); } foreach ($data as $key => $value) { @@ -162,7 +162,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\PricingEstimateResourcePackage' => false]; + return [\KatapultAPI\Public\Model\PricingEstimateResourcePackage::class => false]; } } } else { @@ -175,12 +175,12 @@ class PricingEstimateResourcePackageNormalizer implements DenormalizerInterface, public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\PricingEstimateResourcePackage'; + return $type === \KatapultAPI\Public\Model\PricingEstimateResourcePackage::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\PricingEstimateResourcePackage'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\PricingEstimateResourcePackage::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -234,7 +234,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['privacy']); } if (\array_key_exists('icon', $data) && $data['icon'] !== null) { - $object->setIcon($this->denormalizer->denormalize($data['icon'], 'KatapultAPI\\Public\\Model\\VirtualMachinePackageIcon', 'json', $context)); + $object->setIcon($this->denormalizer->denormalize($data['icon'], \KatapultAPI\Public\Model\VirtualMachinePackageIcon::class, 'json', $context)); unset($data['icon']); } elseif (\array_key_exists('icon', $data) && $data['icon'] === null) { $object->setIcon(null); @@ -244,7 +244,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['use_dedicated_cpus']); } if (\array_key_exists('group', $data)) { - $object->setGroup($this->denormalizer->denormalize($data['group'], 'KatapultAPI\\Public\\Model\\VirtualMachinePackageGroup', 'json', $context)); + $object->setGroup($this->denormalizer->denormalize($data['group'], \KatapultAPI\Public\Model\VirtualMachinePackageGroup::class, 'json', $context)); unset($data['group']); } foreach ($data as $key => $value) { @@ -309,7 +309,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\PricingEstimateResourcePackage' => false]; + return [\KatapultAPI\Public\Model\PricingEstimateResourcePackage::class => false]; } } } diff --git a/src/Public/Normalizer/PricingPricesGetResponse200Normalizer.php b/src/Public/Normalizer/PricingPricesGetResponse200Normalizer.php index 1adcf691..30abc7df 100644 --- a/src/Public/Normalizer/PricingPricesGetResponse200Normalizer.php +++ b/src/Public/Normalizer/PricingPricesGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class PricingPricesGetResponse200Normalizer implements DenormalizerInterface, No public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\PricingPricesGetResponse200'; + return $type === \KatapultAPI\Public\Model\PricingPricesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\PricingPricesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\PricingPricesGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -54,7 +54,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a if (\array_key_exists('prices', $data)) { $values = []; foreach ($data['prices'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Public\\Model\\GetPricingPrices200ResponsePrices', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Public\Model\GetPricingPrices200ResponsePrices::class, 'json', $context); } $object->setPrices($values); unset($data['prices']); @@ -87,7 +87,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\PricingPricesGetResponse200' => false]; + return [\KatapultAPI\Public\Model\PricingPricesGetResponse200::class => false]; } } } else { @@ -100,12 +100,12 @@ class PricingPricesGetResponse200Normalizer implements DenormalizerInterface, No public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\PricingPricesGetResponse200'; + return $type === \KatapultAPI\Public\Model\PricingPricesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\PricingPricesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\PricingPricesGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -123,7 +123,7 @@ public function denormalize($data, $type, $format = null, array $context = []) if (\array_key_exists('prices', $data)) { $values = []; foreach ($data['prices'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Public\\Model\\GetPricingPrices200ResponsePrices', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Public\Model\GetPricingPrices200ResponsePrices::class, 'json', $context); } $object->setPrices($values); unset($data['prices']); @@ -159,7 +159,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\PricingPricesGetResponse200' => false]; + return [\KatapultAPI\Public\Model\PricingPricesGetResponse200::class => false]; } } } diff --git a/src/Public/Normalizer/RateLimitReachedNormalizer.php b/src/Public/Normalizer/RateLimitReachedNormalizer.php index b1119799..b3a24dff 100644 --- a/src/Public/Normalizer/RateLimitReachedNormalizer.php +++ b/src/Public/Normalizer/RateLimitReachedNormalizer.php @@ -31,12 +31,12 @@ class RateLimitReachedNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\RateLimitReached'; + return $type === \KatapultAPI\Public\Model\RateLimitReached::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\RateLimitReached'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\RateLimitReached::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -81,7 +81,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\RateLimitReached' => false]; + return [\KatapultAPI\Public\Model\RateLimitReached::class => false]; } } } else { @@ -94,12 +94,12 @@ class RateLimitReachedNormalizer implements DenormalizerInterface, NormalizerInt public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\RateLimitReached'; + return $type === \KatapultAPI\Public\Model\RateLimitReached::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\RateLimitReached'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\RateLimitReached::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -147,7 +147,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\RateLimitReached' => false]; + return [\KatapultAPI\Public\Model\RateLimitReached::class => false]; } } } diff --git a/src/Public/Normalizer/ResponseAPIAuthenticator403ResponseNormalizer.php b/src/Public/Normalizer/ResponseAPIAuthenticator403ResponseNormalizer.php index 596bf56d..1abd87c7 100644 --- a/src/Public/Normalizer/ResponseAPIAuthenticator403ResponseNormalizer.php +++ b/src/Public/Normalizer/ResponseAPIAuthenticator403ResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseAPIAuthenticator403ResponseNormalizer implements DenormalizerInter public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\ResponseAPIAuthenticator403Response'; + return $type === \KatapultAPI\Public\Model\ResponseAPIAuthenticator403Response::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\ResponseAPIAuthenticator403Response'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\ResponseAPIAuthenticator403Response::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Public\\Model\\InternalAuthError', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Public\Model\InternalAuthError::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\ResponseAPIAuthenticator403Response' => false]; + return [\KatapultAPI\Public\Model\ResponseAPIAuthenticator403Response::class => false]; } } } else { @@ -108,12 +108,12 @@ class ResponseAPIAuthenticator403ResponseNormalizer implements DenormalizerInter public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\ResponseAPIAuthenticator403Response'; + return $type === \KatapultAPI\Public\Model\ResponseAPIAuthenticator403Response::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\ResponseAPIAuthenticator403Response'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\ResponseAPIAuthenticator403Response::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -137,7 +137,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Public\\Model\\InternalAuthError', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Public\Model\InternalAuthError::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\ResponseAPIAuthenticator403Response' => false]; + return [\KatapultAPI\Public\Model\ResponseAPIAuthenticator403Response::class => false]; } } } diff --git a/src/Public/Normalizer/ResponseAPIAuthenticator429ResponseNormalizer.php b/src/Public/Normalizer/ResponseAPIAuthenticator429ResponseNormalizer.php index ec81e522..fa0d33f1 100644 --- a/src/Public/Normalizer/ResponseAPIAuthenticator429ResponseNormalizer.php +++ b/src/Public/Normalizer/ResponseAPIAuthenticator429ResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseAPIAuthenticator429ResponseNormalizer implements DenormalizerInter public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\ResponseAPIAuthenticator429Response'; + return $type === \KatapultAPI\Public\Model\ResponseAPIAuthenticator429Response::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\ResponseAPIAuthenticator429Response'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\ResponseAPIAuthenticator429Response::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Public\\Model\\RateLimitReached', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Public\Model\RateLimitReached::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\ResponseAPIAuthenticator429Response' => false]; + return [\KatapultAPI\Public\Model\ResponseAPIAuthenticator429Response::class => false]; } } } else { @@ -108,12 +108,12 @@ class ResponseAPIAuthenticator429ResponseNormalizer implements DenormalizerInter public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\ResponseAPIAuthenticator429Response'; + return $type === \KatapultAPI\Public\Model\ResponseAPIAuthenticator429Response::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\ResponseAPIAuthenticator429Response'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\ResponseAPIAuthenticator429Response::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -137,7 +137,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Public\\Model\\RateLimitReached', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Public\Model\RateLimitReached::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\ResponseAPIAuthenticator429Response' => false]; + return [\KatapultAPI\Public\Model\ResponseAPIAuthenticator429Response::class => false]; } } } diff --git a/src/Public/Normalizer/ResponseInvalidCouponCodeResponseNormalizer.php b/src/Public/Normalizer/ResponseInvalidCouponCodeResponseNormalizer.php index 12c38e36..9fff29e5 100644 --- a/src/Public/Normalizer/ResponseInvalidCouponCodeResponseNormalizer.php +++ b/src/Public/Normalizer/ResponseInvalidCouponCodeResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseInvalidCouponCodeResponseNormalizer implements DenormalizerInterfa public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\ResponseInvalidCouponCodeResponse'; + return $type === \KatapultAPI\Public\Model\ResponseInvalidCouponCodeResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\ResponseInvalidCouponCodeResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\ResponseInvalidCouponCodeResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Public\\Model\\InvalidCouponCode', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Public\Model\InvalidCouponCode::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\ResponseInvalidCouponCodeResponse' => false]; + return [\KatapultAPI\Public\Model\ResponseInvalidCouponCodeResponse::class => false]; } } } else { @@ -108,12 +108,12 @@ class ResponseInvalidCouponCodeResponseNormalizer implements DenormalizerInterfa public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\ResponseInvalidCouponCodeResponse'; + return $type === \KatapultAPI\Public\Model\ResponseInvalidCouponCodeResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\ResponseInvalidCouponCodeResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\ResponseInvalidCouponCodeResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -137,7 +137,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Public\\Model\\InvalidCouponCode', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Public\Model\InvalidCouponCode::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\ResponseInvalidCouponCodeResponse' => false]; + return [\KatapultAPI\Public\Model\ResponseInvalidCouponCodeResponse::class => false]; } } } diff --git a/src/Public/Normalizer/ResponseValidationErrorResponseNormalizer.php b/src/Public/Normalizer/ResponseValidationErrorResponseNormalizer.php index d3b34c63..5aac22ec 100644 --- a/src/Public/Normalizer/ResponseValidationErrorResponseNormalizer.php +++ b/src/Public/Normalizer/ResponseValidationErrorResponseNormalizer.php @@ -31,12 +31,12 @@ class ResponseValidationErrorResponseNormalizer implements DenormalizerInterface public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\ResponseValidationErrorResponse'; + return $type === \KatapultAPI\Public\Model\ResponseValidationErrorResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\ResponseValidationErrorResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\ResponseValidationErrorResponse::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Public\\Model\\ValidationError', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Public\Model\ValidationError::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -95,7 +95,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\ResponseValidationErrorResponse' => false]; + return [\KatapultAPI\Public\Model\ResponseValidationErrorResponse::class => false]; } } } else { @@ -108,12 +108,12 @@ class ResponseValidationErrorResponseNormalizer implements DenormalizerInterface public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\ResponseValidationErrorResponse'; + return $type === \KatapultAPI\Public\Model\ResponseValidationErrorResponse::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\ResponseValidationErrorResponse'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\ResponseValidationErrorResponse::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -137,7 +137,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['description']); } if (\array_key_exists('detail', $data)) { - $object->setDetail($this->denormalizer->denormalize($data['detail'], 'KatapultAPI\\Public\\Model\\ValidationError', 'json', $context)); + $object->setDetail($this->denormalizer->denormalize($data['detail'], \KatapultAPI\Public\Model\ValidationError::class, 'json', $context)); unset($data['detail']); } foreach ($data as $key => $value) { @@ -175,7 +175,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\ResponseValidationErrorResponse' => false]; + return [\KatapultAPI\Public\Model\ResponseValidationErrorResponse::class => false]; } } } diff --git a/src/Public/Normalizer/SignupCampaignArgumentsNormalizer.php b/src/Public/Normalizer/SignupCampaignArgumentsNormalizer.php index 78eb59e5..bac7d5e5 100644 --- a/src/Public/Normalizer/SignupCampaignArgumentsNormalizer.php +++ b/src/Public/Normalizer/SignupCampaignArgumentsNormalizer.php @@ -31,12 +31,12 @@ class SignupCampaignArgumentsNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\SignupCampaignArguments'; + return $type === \KatapultAPI\Public\Model\SignupCampaignArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\SignupCampaignArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\SignupCampaignArguments::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -116,7 +116,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\SignupCampaignArguments' => false]; + return [\KatapultAPI\Public\Model\SignupCampaignArguments::class => false]; } } } else { @@ -129,12 +129,12 @@ class SignupCampaignArgumentsNormalizer implements DenormalizerInterface, Normal public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\SignupCampaignArguments'; + return $type === \KatapultAPI\Public\Model\SignupCampaignArguments::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\SignupCampaignArguments'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\SignupCampaignArguments::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -217,7 +217,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\SignupCampaignArguments' => false]; + return [\KatapultAPI\Public\Model\SignupCampaignArguments::class => false]; } } } diff --git a/src/Public/Normalizer/SignupsPostBodyNormalizer.php b/src/Public/Normalizer/SignupsPostBodyNormalizer.php index 06376594..9761dd16 100644 --- a/src/Public/Normalizer/SignupsPostBodyNormalizer.php +++ b/src/Public/Normalizer/SignupsPostBodyNormalizer.php @@ -31,12 +31,12 @@ class SignupsPostBodyNormalizer implements DenormalizerInterface, NormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\SignupsPostBody'; + return $type === \KatapultAPI\Public\Model\SignupsPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\SignupsPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\SignupsPostBody::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -60,7 +60,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['coupon']); } if (\array_key_exists('campaign', $data)) { - $object->setCampaign($this->denormalizer->denormalize($data['campaign'], 'KatapultAPI\\Public\\Model\\SignupCampaignArguments', 'json', $context)); + $object->setCampaign($this->denormalizer->denormalize($data['campaign'], \KatapultAPI\Public\Model\SignupCampaignArguments::class, 'json', $context)); unset($data['campaign']); } foreach ($data as $key => $value) { @@ -93,7 +93,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\SignupsPostBody' => false]; + return [\KatapultAPI\Public\Model\SignupsPostBody::class => false]; } } } else { @@ -106,12 +106,12 @@ class SignupsPostBodyNormalizer implements DenormalizerInterface, NormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\SignupsPostBody'; + return $type === \KatapultAPI\Public\Model\SignupsPostBody::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\SignupsPostBody'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\SignupsPostBody::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -135,7 +135,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['coupon']); } if (\array_key_exists('campaign', $data)) { - $object->setCampaign($this->denormalizer->denormalize($data['campaign'], 'KatapultAPI\\Public\\Model\\SignupCampaignArguments', 'json', $context)); + $object->setCampaign($this->denormalizer->denormalize($data['campaign'], \KatapultAPI\Public\Model\SignupCampaignArguments::class, 'json', $context)); unset($data['campaign']); } foreach ($data as $key => $value) { @@ -171,7 +171,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\SignupsPostBody' => false]; + return [\KatapultAPI\Public\Model\SignupsPostBody::class => false]; } } } diff --git a/src/Public/Normalizer/SignupsPostResponse200Normalizer.php b/src/Public/Normalizer/SignupsPostResponse200Normalizer.php index 5bbf0096..7178f693 100644 --- a/src/Public/Normalizer/SignupsPostResponse200Normalizer.php +++ b/src/Public/Normalizer/SignupsPostResponse200Normalizer.php @@ -31,12 +31,12 @@ class SignupsPostResponse200Normalizer implements DenormalizerInterface, Normali public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\SignupsPostResponse200'; + return $type === \KatapultAPI\Public\Model\SignupsPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\SignupsPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\SignupsPostResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -84,7 +84,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\SignupsPostResponse200' => false]; + return [\KatapultAPI\Public\Model\SignupsPostResponse200::class => false]; } } } else { @@ -97,12 +97,12 @@ class SignupsPostResponse200Normalizer implements DenormalizerInterface, Normali public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\SignupsPostResponse200'; + return $type === \KatapultAPI\Public\Model\SignupsPostResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\SignupsPostResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\SignupsPostResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -153,7 +153,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\SignupsPostResponse200' => false]; + return [\KatapultAPI\Public\Model\SignupsPostResponse200::class => false]; } } } diff --git a/src/Public/Normalizer/StatsGetResponse200Normalizer.php b/src/Public/Normalizer/StatsGetResponse200Normalizer.php index 1967c684..bc2f1b4e 100644 --- a/src/Public/Normalizer/StatsGetResponse200Normalizer.php +++ b/src/Public/Normalizer/StatsGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class StatsGetResponse200Normalizer implements DenormalizerInterface, Normalizer public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\StatsGetResponse200'; + return $type === \KatapultAPI\Public\Model\StatsGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\StatsGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\StatsGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -104,7 +104,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\StatsGetResponse200' => false]; + return [\KatapultAPI\Public\Model\StatsGetResponse200::class => false]; } } } else { @@ -117,12 +117,12 @@ class StatsGetResponse200Normalizer implements DenormalizerInterface, Normalizer public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\StatsGetResponse200'; + return $type === \KatapultAPI\Public\Model\StatsGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\StatsGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\StatsGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -193,7 +193,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\StatsGetResponse200' => false]; + return [\KatapultAPI\Public\Model\StatsGetResponse200::class => false]; } } } diff --git a/src/Public/Normalizer/ValidationErrorNormalizer.php b/src/Public/Normalizer/ValidationErrorNormalizer.php index 732c7aea..7196082a 100644 --- a/src/Public/Normalizer/ValidationErrorNormalizer.php +++ b/src/Public/Normalizer/ValidationErrorNormalizer.php @@ -31,12 +31,12 @@ class ValidationErrorNormalizer implements DenormalizerInterface, NormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\ValidationError'; + return $type === \KatapultAPI\Public\Model\ValidationError::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\ValidationError'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\ValidationError::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -89,7 +89,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\ValidationError' => false]; + return [\KatapultAPI\Public\Model\ValidationError::class => false]; } } } else { @@ -102,12 +102,12 @@ class ValidationErrorNormalizer implements DenormalizerInterface, NormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\ValidationError'; + return $type === \KatapultAPI\Public\Model\ValidationError::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\ValidationError'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\ValidationError::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -163,7 +163,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\ValidationError' => false]; + return [\KatapultAPI\Public\Model\ValidationError::class => false]; } } } diff --git a/src/Public/Normalizer/VirtualMachinePackageGroupNormalizer.php b/src/Public/Normalizer/VirtualMachinePackageGroupNormalizer.php index 80394321..5906ba88 100644 --- a/src/Public/Normalizer/VirtualMachinePackageGroupNormalizer.php +++ b/src/Public/Normalizer/VirtualMachinePackageGroupNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachinePackageGroupNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\VirtualMachinePackageGroup'; + return $type === \KatapultAPI\Public\Model\VirtualMachinePackageGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\VirtualMachinePackageGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\VirtualMachinePackageGroup::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -88,7 +88,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\VirtualMachinePackageGroup' => false]; + return [\KatapultAPI\Public\Model\VirtualMachinePackageGroup::class => false]; } } } else { @@ -101,12 +101,12 @@ class VirtualMachinePackageGroupNormalizer implements DenormalizerInterface, Nor public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\VirtualMachinePackageGroup'; + return $type === \KatapultAPI\Public\Model\VirtualMachinePackageGroup::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\VirtualMachinePackageGroup'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\VirtualMachinePackageGroup::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -161,7 +161,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\VirtualMachinePackageGroup' => false]; + return [\KatapultAPI\Public\Model\VirtualMachinePackageGroup::class => false]; } } } diff --git a/src/Public/Normalizer/VirtualMachinePackageIconNormalizer.php b/src/Public/Normalizer/VirtualMachinePackageIconNormalizer.php index 288499c9..0a18e8c2 100644 --- a/src/Public/Normalizer/VirtualMachinePackageIconNormalizer.php +++ b/src/Public/Normalizer/VirtualMachinePackageIconNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachinePackageIconNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\VirtualMachinePackageIcon'; + return $type === \KatapultAPI\Public\Model\VirtualMachinePackageIcon::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\VirtualMachinePackageIcon'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\VirtualMachinePackageIcon::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -116,7 +116,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\VirtualMachinePackageIcon' => false]; + return [\KatapultAPI\Public\Model\VirtualMachinePackageIcon::class => false]; } } } else { @@ -129,12 +129,12 @@ class VirtualMachinePackageIconNormalizer implements DenormalizerInterface, Norm public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\VirtualMachinePackageIcon'; + return $type === \KatapultAPI\Public\Model\VirtualMachinePackageIcon::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\VirtualMachinePackageIcon'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\VirtualMachinePackageIcon::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -217,7 +217,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\VirtualMachinePackageIcon' => false]; + return [\KatapultAPI\Public\Model\VirtualMachinePackageIcon::class => false]; } } } diff --git a/src/Public/Normalizer/VirtualMachinePackageNormalizer.php b/src/Public/Normalizer/VirtualMachinePackageNormalizer.php index 53c4cf92..a95f91f9 100644 --- a/src/Public/Normalizer/VirtualMachinePackageNormalizer.php +++ b/src/Public/Normalizer/VirtualMachinePackageNormalizer.php @@ -31,12 +31,12 @@ class VirtualMachinePackageNormalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\VirtualMachinePackage'; + return $type === \KatapultAPI\Public\Model\VirtualMachinePackage::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\VirtualMachinePackage'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\VirtualMachinePackage::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -90,7 +90,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['privacy']); } if (\array_key_exists('icon', $data) && $data['icon'] !== null) { - $object->setIcon($this->denormalizer->denormalize($data['icon'], 'KatapultAPI\\Public\\Model\\VirtualMachinePackageIcon', 'json', $context)); + $object->setIcon($this->denormalizer->denormalize($data['icon'], \KatapultAPI\Public\Model\VirtualMachinePackageIcon::class, 'json', $context)); unset($data['icon']); } elseif (\array_key_exists('icon', $data) && $data['icon'] === null) { $object->setIcon(null); @@ -100,7 +100,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a unset($data['use_dedicated_cpus']); } if (\array_key_exists('group', $data)) { - $object->setGroup($this->denormalizer->denormalize($data['group'], 'KatapultAPI\\Public\\Model\\VirtualMachinePackageGroup', 'json', $context)); + $object->setGroup($this->denormalizer->denormalize($data['group'], \KatapultAPI\Public\Model\VirtualMachinePackageGroup::class, 'json', $context)); unset($data['group']); } foreach ($data as $key => $value) { @@ -162,7 +162,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\VirtualMachinePackage' => false]; + return [\KatapultAPI\Public\Model\VirtualMachinePackage::class => false]; } } } else { @@ -175,12 +175,12 @@ class VirtualMachinePackageNormalizer implements DenormalizerInterface, Normaliz public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\VirtualMachinePackage'; + return $type === \KatapultAPI\Public\Model\VirtualMachinePackage::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\VirtualMachinePackage'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\VirtualMachinePackage::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -234,7 +234,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['privacy']); } if (\array_key_exists('icon', $data) && $data['icon'] !== null) { - $object->setIcon($this->denormalizer->denormalize($data['icon'], 'KatapultAPI\\Public\\Model\\VirtualMachinePackageIcon', 'json', $context)); + $object->setIcon($this->denormalizer->denormalize($data['icon'], \KatapultAPI\Public\Model\VirtualMachinePackageIcon::class, 'json', $context)); unset($data['icon']); } elseif (\array_key_exists('icon', $data) && $data['icon'] === null) { $object->setIcon(null); @@ -244,7 +244,7 @@ public function denormalize($data, $type, $format = null, array $context = []) unset($data['use_dedicated_cpus']); } if (\array_key_exists('group', $data)) { - $object->setGroup($this->denormalizer->denormalize($data['group'], 'KatapultAPI\\Public\\Model\\VirtualMachinePackageGroup', 'json', $context)); + $object->setGroup($this->denormalizer->denormalize($data['group'], \KatapultAPI\Public\Model\VirtualMachinePackageGroup::class, 'json', $context)); unset($data['group']); } foreach ($data as $key => $value) { @@ -309,7 +309,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\VirtualMachinePackage' => false]; + return [\KatapultAPI\Public\Model\VirtualMachinePackage::class => false]; } } } diff --git a/src/Public/Normalizer/VirtualMachinePackagesGetResponse200Normalizer.php b/src/Public/Normalizer/VirtualMachinePackagesGetResponse200Normalizer.php index e300f11b..5fc96c08 100644 --- a/src/Public/Normalizer/VirtualMachinePackagesGetResponse200Normalizer.php +++ b/src/Public/Normalizer/VirtualMachinePackagesGetResponse200Normalizer.php @@ -31,12 +31,12 @@ class VirtualMachinePackagesGetResponse200Normalizer implements DenormalizerInte public function supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\VirtualMachinePackagesGetResponse200'; + return $type === \KatapultAPI\Public\Model\VirtualMachinePackagesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\VirtualMachinePackagesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\VirtualMachinePackagesGetResponse200::class; } public function denormalize(mixed $data, string $type, ?string $format = null, array $context = []): mixed @@ -52,13 +52,13 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Public\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Public\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('packages', $data)) { $values = []; foreach ($data['packages'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Public\\Model\\VirtualMachinePackage', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Public\Model\VirtualMachinePackage::class, 'json', $context); } $object->setPackages($values); unset($data['packages']); @@ -92,7 +92,7 @@ public function normalize(mixed $object, ?string $format = null, array $context public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\VirtualMachinePackagesGetResponse200' => false]; + return [\KatapultAPI\Public\Model\VirtualMachinePackagesGetResponse200::class => false]; } } } else { @@ -105,12 +105,12 @@ class VirtualMachinePackagesGetResponse200Normalizer implements DenormalizerInte public function supportsDenormalization($data, $type, ?string $format = null, array $context = []): bool { - return $type === 'KatapultAPI\\Public\\Model\\VirtualMachinePackagesGetResponse200'; + return $type === \KatapultAPI\Public\Model\VirtualMachinePackagesGetResponse200::class; } public function supportsNormalization(mixed $data, ?string $format = null, array $context = []): bool { - return is_object($data) && get_class($data) === 'KatapultAPI\\Public\\Model\\VirtualMachinePackagesGetResponse200'; + return is_object($data) && get_class($data) === \KatapultAPI\Public\Model\VirtualMachinePackagesGetResponse200::class; } public function denormalize($data, $type, $format = null, array $context = []) @@ -126,13 +126,13 @@ public function denormalize($data, $type, $format = null, array $context = []) return $object; } if (\array_key_exists('pagination', $data)) { - $object->setPagination($this->denormalizer->denormalize($data['pagination'], 'KatapultAPI\\Public\\Model\\PaginationObject', 'json', $context)); + $object->setPagination($this->denormalizer->denormalize($data['pagination'], \KatapultAPI\Public\Model\PaginationObject::class, 'json', $context)); unset($data['pagination']); } if (\array_key_exists('packages', $data)) { $values = []; foreach ($data['packages'] as $value) { - $values[] = $this->denormalizer->denormalize($value, 'KatapultAPI\\Public\\Model\\VirtualMachinePackage', 'json', $context); + $values[] = $this->denormalizer->denormalize($value, \KatapultAPI\Public\Model\VirtualMachinePackage::class, 'json', $context); } $object->setPackages($values); unset($data['packages']); @@ -169,7 +169,7 @@ public function normalize($object, $format = null, array $context = []) public function getSupportedTypes(?string $format = null): array { - return ['KatapultAPI\\Public\\Model\\VirtualMachinePackagesGetResponse200' => false]; + return [\KatapultAPI\Public\Model\VirtualMachinePackagesGetResponse200::class => false]; } } }